id summary reporter owner description type status priority milestone component version resolution keywords cc 1583 NullPointerException in ProjectKey.getPermissions(Project) and ItemKey.getPermissions(Group/User) Nicklas Nordborg Nicklas Nordborg "Calling one of the above methods with a `Project/Group/User` that hasn't been assigned any permissions result in a `NullPointerException`: {{{ java.lang.NullPointerException at net.sf.basedb.core.ProjectKey.getPermissions(ProjectKey.java:275) at net.sf.basedb.reggie.servlet.InstallServlet$PermissionOptions.checkPermissions(InstallServlet.java:435) at net.sf.basedb.reggie.servlet.InstallServlet.checkAnnotationType(InstallServlet.java:218) at net.sf.basedb.reggie.servlet.InstallServlet.doGet(InstallServlet.java:107) }}} The reason is that an ''Integer'' (which is null) is auto-unboxed to an ''int'' in a call to `Permission.fromInt(int)`. " defect closed major BASE 2.17.1 core fixed