Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-782

InMemory Server throws NPE on changes request

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • OpenCMIS 0.11.0
    • None
    • None
    • OpenCMIS 0.11.0 on Mac OS X 10.9.2, Java 1.7.0_51, Tomcat 7.0.32

    Description

      Running 0.11.0 of the InMemory server, when I request changes using this URL:
      http://localhost:8081/chemistry/atom/A1/changes

      I get the following exception:

      2014-04-15 15:55:10,706 ERROR [http-bio-8081-exec-10] org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet:
      org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException
      at org.apache.chemistry.opencmis.server.shared.Dispatcher.dispatch(Dispatcher.java:99)
      at org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.dispatch(CmisAtomPubServlet.java:226)
      at org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.service(CmisAtomPubServlet.java:173)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:744)
      Caused by: java.lang.NullPointerException
      at org.apache.chemistry.opencmis.inmemory.server.InMemoryDiscoveryServiceImpl.getContentChanges(InMemoryDiscoveryServiceImpl.java:84)
      at org.apache.chemistry.opencmis.inmemory.server.InMemoryService.getContentChanges(InMemoryService.java:393)
      at org.apache.chemistry.opencmis.server.impl.atompub.DiscoveryService$GetContentChanges.serve(DiscoveryService.java:238)
      at org.apache.chemistry.opencmis.server.shared.Dispatcher.dispatch(Dispatcher.java:91)
      ... 19 more

      Attachments

        Activity

          People

            Unassigned Unassigned
            jpotts Jeffrey Taylor Potts
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: