Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-41067

Exception in logs when clicking 'expand/collapse tools' button when not logged in

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 12.5, 19.0, 20.0 [Tentative]
    • Fix Version/s: 19.1, 20.0 [Tentative]
    • Component/s: Portal
    • Labels:
      None
    • 19 status:
      Verified
    • 12 status:
      Please Merge
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      Exception in logs when clicking 'expand/collapse tool' button when not logged in

      11-Dec-2018 15:29:40.572 ERROR [http-nio-20013-exec-13] org.sakaiproject.user.tool.entity.UserPrefsEntityProvider.getPreferencesEdit getPreferencesEdit: user=null lock=prefs.upd resource=/prefs/sakai:portal:sitenav
      11-Dec-2018 15:29:40.580 ERROR [http-nio-20013-exec-13] org.sakaiproject.entitybroker.impl.external.SakaiExternalIntegrationProvider.handleEntityError Direct request failure: RuntimeException:Fatal error trying to execute custom action method: updateKey:edit:updateKeyProperties:Direct request failure: RuntimeException:Fatal error trying to execute custom action method: updateKey:edit:updateKeyProperties:
       Sakai version: 20-SNAPSHOT(83a79963)
       
      Server: trunk-mysql.nightly.sakaiproject.org(ip-172-31-7-189) [ip-172-31-7-189-1544549840524]
       
      Request URI: /direct/userPrefs/updateKey//sakai:portal:sitenav
       Path Info: /userPrefs/updateKey/sakai:portal:sitenav
       Context path: /direct
       Method: PUT
       
      
      Full stacktrace:
      RuntimeException:Fatal error trying to execute custom action method: updateKey:edit:updateKeyProperties:
      
      11-Dec-2018 15:29:40.580 WARN [http-nio-20013-exec-13] org.sakaiproject.entitybroker.util.servlet.DirectServlet.dispatch Direct request failure: RuntimeException:Fatal error trying to execute custom action method: updateKey:edit:updateKeyProperties:Direct request failure: RuntimeException:Fatal error trying to execute custom action method: updateKey:edit:updateKeyProperties:
       Sakai version: 20-SNAPSHOT(83a79963)
       
      Server: trunk-mysql.nightly.sakaiproject.org(ip-172-31-7-189) [ip-172-31-7-189-1544549840524]
       
      Request URI: /direct/userPrefs/updateKey//sakai:portal:sitenav
       Path Info: /userPrefs/updateKey/sakai:portal:sitenav
       Context path: /direct
       Method: PUT
       
       :{}
      java.lang.RuntimeException: Fatal error trying to execute custom action method: updateKey:edit:updateKeyProperties
      	at org.sakaiproject.entitybroker.rest.EntityActionsManager.handleCustomActionExecution(EntityActionsManager.java:231)
      	at org.sakaiproject.entitybroker.rest.EntityActionsManager.handleCustomActionRequest(EntityActionsManager.java:96)
      	at org.sakaiproject.entitybroker.rest.EntityHandlerImpl.handleEntityAccess(EntityHandlerImpl.java:409)
      	at org.sakaiproject.entitybroker.util.servlet.DirectServlet.dispatch(DirectServlet.java:189)
      	at org.sakaiproject.entitybroker.servlet.SakaiDirectServlet.dispatch(SakaiDirectServlet.java:148)
      	at org.sakaiproject.entitybroker.util.servlet.DirectServlet.handleRequest(DirectServlet.java:159)
      	at org.sakaiproject.entitybroker.util.servlet.DirectServlet.service(DirectServlet.java:134)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.sakaiproject.oauth.filter.OAuthPostFilter.doFilter(OAuthPostFilter.java:76)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:475)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.sakaiproject.oauth.filter.OAuthPreFilter.doFilter(OAuthPreFilter.java:74)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
      	at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:685)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
      	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
      	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:764)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1388)
      	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.sakaiproject.entitybroker.rest.EntityActionsManager.handleCustomActionExecution(EntityActionsManager.java:206)
      	... 38 more
      Caused by: java.lang.NullPointerException
      	at org.sakaiproject.user.tool.entity.UserPrefsEntityProvider.updateKeyProperties(UserPrefsEntityProvider.java:360)
      	... 43 more
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                chmaurer@iupui.edu Chris Maurer
                Reporter:
                austinUH Austin
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code