NullPointerException while requesting group details via API

Create issue
Issue #2563 resolved
Daniel Zoller created an issue

Accessing /api/groups/public/ throws NPE

java.lang.NullPointerException
        at org.bibsonomy.database.managers.PermissionDatabaseManager.hasGroupRoleOrHigher(PermissionDatabaseManager.java:461)
        at org.bibsonomy.database.managers.PermissionDatabaseManager.isAdminOrHasGroupRoleOrHigher(PermissionDatabaseManager.java:428)
        at org.bibsonomy.database.DBLogic.getGroupDetails(DBLogic.java:906)
        at org.bibsonomy.rest.strategy.groups.GetGroupStrategy.perform(GetGroupStrategy.java:58)
        at org.bibsonomy.rest.strategy.Context.perform(Context.java:194)
        at org.bibsonomy.rest.RestServlet.handle(RestServlet.java:251)
        at org.bibsonomy.rest.RestServlet.doGet(RestServlet.java:177)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)

Comments (4)

  1. Log in to comment