com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.roda.core.data.v2.user.User org.roda.wui.client.management.UserManagementService.createUser(org.roda.core.data.v2.user.User,java.lang.String) throws org.roda.core.data.exceptions.AuthorizationDeniedException,org.roda.core.data.exceptions.NotFoundException,org.roda.core.data.exceptions.EmailAlreadyExistsException,org.roda.core.data.exceptions.UserAlreadyExistsException,org.roda.core.data.exceptions.GenericException,org.roda.core.data.exceptions.IllegalOperationException' threw an unexpected exception: java.lang.NullPointerException

GitHub | hsilva-keep | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    NPE when updating ApacheDS to newer versions

    GitHub | 6 months ago | hsilva-keep
    com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.roda.core.data.v2.user.User org.roda.wui.client.management.UserManagementService.createUser(org.roda.core.data.v2.user.User,java.lang.String) throws org.roda.core.data.exceptions.AuthorizationDeniedException,org.roda.core.data.exceptions.NotFoundException,org.roda.core.data.exceptions.EmailAlreadyExistsException,org.roda.core.data.exceptions.UserAlreadyExistsException,org.roda.core.data.exceptions.GenericException,org.roda.core.data.exceptions.IllegalOperationException' threw an unexpected exception: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.apache.directory.api.ldap.model.schema.AttributeTypeOptions.hashCode()
    2. Apache Directory
      AttributeTypeOptions.hashCode
      1. org.apache.directory.api.ldap.model.schema.AttributeTypeOptions.hashCode(AttributeTypeOptions.java:156)
      1 frame
    3. Java RT
      HashSet.contains
      1. java.util.HashMap.hash(HashMap.java:338)
      2. java.util.HashMap.containsKey(HashMap.java:595)
      3. java.util.HashSet.contains(HashSet.java:203)
      3 frames
    4. ApacheDS All
      OperationalAttributeInterceptor.lookup
      1. org.apache.directory.server.core.operational.OperationalAttributeInterceptor.processSubordinates(OperationalAttributeInterceptor.java:660)
      2. org.apache.directory.server.core.operational.OperationalAttributeInterceptor.lookup(OperationalAttributeInterceptor.java:334)
      2 frames
    5. ApacheDS
      BaseInterceptor.next
      1. org.apache.directory.server.core.api.interceptor.BaseInterceptor.next(BaseInterceptor.java:483)
      1 frame
    6. ApacheDS All
      SchemaInterceptor.lookup
      1. org.apache.directory.server.core.schema.SchemaInterceptor.lookup(SchemaInterceptor.java:1142)
      1 frame
    7. ApacheDS
      BaseInterceptor.next
      1. org.apache.directory.server.core.api.interceptor.BaseInterceptor.next(BaseInterceptor.java:483)
      1 frame
    8. ApacheDS All
      DefaultAuthorizationInterceptor.lookup
      1. org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.lookup(DefaultAuthorizationInterceptor.java:231)
      1 frame
    9. ApacheDS
      BaseInterceptor.next
      1. org.apache.directory.server.core.api.interceptor.BaseInterceptor.next(BaseInterceptor.java:483)
      1 frame
    10. ApacheDS All
      AciAuthorizationInterceptor.lookup
      1. org.apache.directory.server.core.authz.AciAuthorizationInterceptor.lookup(AciAuthorizationInterceptor.java:779)
      1 frame
    11. ApacheDS
      BaseInterceptor.next
      1. org.apache.directory.server.core.api.interceptor.BaseInterceptor.next(BaseInterceptor.java:483)
      1 frame
    12. ApacheDS All
      AuthenticationInterceptor.lookup
      1. org.apache.directory.server.core.authn.AuthenticationInterceptor.lookup(AuthenticationInterceptor.java:852)
      1 frame
    13. ApacheDS
      BaseInterceptor.next
      1. org.apache.directory.server.core.api.interceptor.BaseInterceptor.next(BaseInterceptor.java:483)
      1 frame
    14. ApacheDS All
      NormalizationInterceptor.lookup
      1. org.apache.directory.server.core.normalization.NormalizationInterceptor.lookup(NormalizationInterceptor.java:196)
      1 frame
    15. ApacheDS Core
      DefaultOperationManager.lookup
      1. org.apache.directory.server.core.DefaultOperationManager.lookup(DefaultOperationManager.java:775)
      1 frame
    16. ApacheDS Core Shared
      DefaultCoreSession.lookup
      1. org.apache.directory.server.core.shared.DefaultCoreSession.lookup(DefaultCoreSession.java:560)
      1 frame
    17. org.roda.core
      ModelService.addUser
      1. org.roda.core.common.LdapUtility.addMemberToRoleOrGroup(LdapUtility.java:1577)
      2. org.roda.core.common.LdapUtility.addMemberToGroup(LdapUtility.java:1557)
      3. org.roda.core.common.LdapUtility.setMemberGroups(LdapUtility.java:1807)
      4. org.roda.core.common.LdapUtility.addUser(LdapUtility.java:483)
      5. org.roda.core.model.ModelService.addUser(ModelService.java:1345)
      5 frames
    18. org.roda.wui
      UserManagementServiceImpl.createUser
      1. org.roda.wui.api.controllers.UserManagementHelper.createUser(UserManagementHelper.java:102)
      2. org.roda.wui.api.controllers.UserManagement.createUser(UserManagement.java:224)
      3. org.roda.wui.server.management.UserManagementServiceImpl.createUser(UserManagementServiceImpl.java:101)
      3 frames
    19. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    20. Jetty Contrib :: jetty-gwt RemoteServiceServlet
      AbstractRemoteServiceServlet.doPost
      1. com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:587)
      2. com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:333)
      3. com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:303)
      4. com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)
      5. com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
      5 frames
    21. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      2 frames
    22. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      12. org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:68)
      13. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      14. org.eclipse.jetty.server.Server.handle(Server.java:370)
      15. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
      16. org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)
      17. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)
      18. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
      19. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
      20. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      20 frames
    23. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
      2 frames
    24. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
      2 frames
    25. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame