javax.ws.rs.WebApplicationException: java.lang.NullPointerException

Sakai JIRA | Bill Branan | 8 years 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

    [FCREPO-390] REST API - NullPointerException on modifyDatastream - DuraSpace JIRA

    duraspace.org | 2 years ago
    javax.ws.rs.WebApplicationException: java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.ws.rs.WebApplicationException

      java.lang.NullPointerException

      at fedora.server.rest.BaseRestResource.handleException()
    2. fedora.server.rest
      DatastreamResource.modifyDatastream
      1. fedora.server.rest.BaseRestResource.handleException(BaseRestResource.java:98)
      2. fedora.server.rest.DatastreamResource.addOrUpdateDatastream(DatastreamResource.java:417)
      3. fedora.server.rest.DatastreamResource.modifyDatastream(DatastreamResource.java:268)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    4. com.sun.ws
      EntityParamDispatchProvider$ResponseOutInvoker._dispatch
      1. com.sun.ws.rest.impl.model.method.dispatch.EntityParamDispatchProvider$ResponseOutInvoker._dispatch(EntityParamDispatchProvider.java:128)
      1 frame