Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
OpenCMIS 0.9.0 beta 1
-
None
-
<opencmis.version>0.9.0-beta-1</opencmis.version>
Description
Have a simple server running based on 0.9.0-beta-1. Have been testing with REST binding all along and everything working ok so far. Tried doing a GET today for the first time on the browser binding service document passing same credentials, etc. and I get this error. (see trace below)
Not sure if this is something special that needs to be done to support the JSON binding, but seems like this should not happen. E.g. Something that needs to be initialized but only for JSON.
Please advise.
Stack trace ------------------------
{ "message": null, "stacktrace": "java.lang.NullPointerException at org.apache.chemistry.opencmis.commons.impl.JSONConverter.convertExtension(JSONConverter.java:2736) at org.apache.chemistry.opencmis.commons.impl.JSONConverter.convert(JSONConverter.java:239) at org.apache.chemistry.opencmis.server.impl.browser.RepositoryService.getRepositories(RepositoryService.java:78) at org.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet.dispatch(CmisBrowserBindingServlet.java:332) at org.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet.service(CmisBrowserBindingServlet.java:292) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) 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:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) 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:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) at java.lang.Thread.run(Thread.java:738) ", "exception": "runtime" }