chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sagara Paranagama <sagara89...@gmail.com>
Subject Re: Create and Delete Folder test throwing Unexpected Exception
Date Wed, 08 Aug 2012 11:46:28 GMT
Hi Florian,

I didn't know the HTML source had the stacktrace. Thanks for that tip!!. It
seems there was a Null Pointer Exception somewhere in my implementation.
I'll look into it. I'm sure that was the problem. Anyway the stacktrace is
provided below.

org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: null
    at
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:452)
    at
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.read(AbstractAtomPubService.java:554)
    at
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getObjectInternal(AbstractAtomPubService.java:778)
    at
org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.getObjectByPath(ObjectServiceImpl.java:518)
    at
org.apache.chemistry.opencmis.client.runtime.SessionImpl.getObjectByPath(SessionImpl.java:430)
    at
org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.checkChild(AbstractSessionTest.java:1674)
    at
org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.checkChildren(AbstractSessionTest.java:1542)
    at
org.apache.chemistry.opencmis.tck.tests.crud.CreateAndDeleteFolderTest.run(CreateAndDeleteFolderTest.java:66)
    at
org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.run(AbstractSessionTest.java:149)
    at
org.apache.chemistry.opencmis.tck.impl.AbstractCmisTestGroup.run(AbstractCmisTestGroup.java:109)
    at
org.apache.chemistry.opencmis.tck.runner.AbstractRunner.run(AbstractRunner.java:250)
    at
org.apache.chemistry.opencmis.workbench.TckDialog$TckTask.doInBackground(TckDialog.java:658)
    at
org.apache.chemistry.opencmis.workbench.TckDialog$TckTask.doInBackground(TckDialog.java:646)
    at javax.swing.SwingWorker$1.call(SwingWorker.java:277)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at javax.swing.SwingWorker.run(SwingWorker.java:316)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)


org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException
    at
org.apache.chemistry.opencmis.server.support.CmisServiceWrapper.createCmisException(CmisServiceWrapper.java:139)
    at
org.apache.chemistry.opencmis.server.support.CmisServiceWrapper.getObjectByPath(CmisServiceWrapper.java:841)
    at
org.apache.chemistry.opencmis.server.impl.atompub.ObjectService.getObjectByPath(ObjectService.java:345)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.chemistry.opencmis.server.shared.Dispatcher.dispatch(Dispatcher.java:92)
    at
org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.dispatch(CmisAtomPubServlet.java:229)
    at
org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.service(CmisAtomPubServlet.java:178)
    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:225)
    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:98)
    at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
    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:1001)
    at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
    at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
    at
org.mycmis.registry.chemistry.greg.impl.DocumentTypeHandler.getGregNode(DocumentTypeHandler.java:74)
    at
org.mycmis.registry.chemistry.greg.GregFolder.create(GregFolder.java:377)
    at
org.mycmis.registry.chemistry.greg.GregObject.getNode(GregObject.java:205)
    at
org.mycmis.registry.chemistry.greg.GregRepository.getObjectByPath(GregRepository.java:593)
    at
org.mycmis.registry.chemistry.greg.GregService.getObjectByPath(GregService.java:247)
    at
org.apache.chemistry.opencmis.server.support.CmisServiceWrapper.getObjectByPath(CmisServiceWrapper.java:838)
    ... 25 more

Thanks again!
Sagara

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message