Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-5750

java.lang.IllegalStateException: Insufficient permissions

    XMLWordPrintable

    Details

      Description

      Gitty nodes are logging this exception:

      java.lang.IllegalStateException: Insufficient permissions
      	at com.nuxeo.connect.security.ConnectAuthHelper.ensureCorrectUser(ConnectAuthHelper.java:248)
      	at com.nuxeo.connect.rest.impl.UserRightResourceImpl.getRights(UserRightResourceImpl.java:48)
      	at sun.reflect.GeneratedMethodAccessor299.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
      	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
      	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
      	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
      	at 
      ...
      

      Need to investigate if this exception worth to be checked/logged or if we can improve it.
      It seems to me we miss an Exception handler for this exception, and we need to ensure the response is correctly sent if raised.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d