Skip to content
This repository has been archived by the owner on Oct 26, 2018. It is now read-only.

NPE inside ReasonableSakaiServlet #6

Open
buckett opened this issue Feb 4, 2014 · 0 comments
Open

NPE inside ReasonableSakaiServlet #6

buckett opened this issue Feb 4, 2014 · 0 comments

Comments

@buckett
Copy link

buckett commented Feb 4, 2014

We just had a exception from ReasonableSakaiServlet:

NullPointerException

java.lang.Class in isAssignableFrom at line -2
uk.ac.cam.caret.sakai.rsf.servlet.ReasonableSakaiServlet in service at line 70 (application)
javax.servlet.http.HttpServlet in service at line 729
org.apache.catalina.core.ApplicationFilterChain in internalDoFilter at line 269 (application)
org.apache.catalina.core.ApplicationFilterChain in doFilter at line 188 (application)
org.sakaiproject.util.RequestFilter in doFilter at line 669 (application)

it looks like:

      if (t instanceof UniversalRuntimeException) {
        UniversalRuntimeException ure = (UniversalRuntimeException) t;
        if (ForcibleException.class.isAssignableFrom(ure.getCategory())) { // Line 70
          throw (ure);
        }
      }

so I think that the category returned from the UniversalRuntimeException is null.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant