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

NPE inside ReasonableSakaiServlet #6

@buckett

Description

@buckett

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions