Hi,
I'm using a fresh install of OpenKM 6.2.14. I tried with both versions the community and professional ones. After a successfully login using the web services and getting the session token, I cannot get the folder childs of the root folder.
Every time I call getChilds(token, "/okm:root/") I got this stack trace:
Some time ago I used the OpenKM v5, and this worked like a charm.... please someone could help me?
Thanks in advance!
I'm using a fresh install of OpenKM 6.2.14. I tried with both versions the community and professional ones. After a successfully login using the web services and getting the session token, I cannot get the folder childs of the root folder.
Every time I call getChilds(token, "/okm:root/") I got this stack trace:
Code: Select all
I changed the folder path to "", "/", "/okm:root", "okm:root" and no one works.2013-04-23 12:26:23,158 [http-bio-0.0.0.0-8080-exec-5] WARN com.openkm.f.b.b.e
- com.openkm.f.b.b.q -> a (null:-1)
2013-04-23 12:26:23,159 [http-bio-0.0.0.0-8080-exec-5] WARN com.openkm.f.b.b.e
- com.openkm.dao.NodeFolderDAO -> findByParent (null:-1)
2013-04-23 12:26:23,159 [http-bio-0.0.0.0-8080-exec-5] WARN com.openkm.f.b.b.e
- com.openkm.f.b.g -> getChildren (null:-1)
2013-04-23 12:26:23,159 [http-bio-0.0.0.0-8080-exec-5] WARN com.openkm.f.b.b.e
- com.openkm.f.b.g -> getChilds (null:-1)
2013-04-23 12:26:23,159 [http-bio-0.0.0.0-8080-exec-5] WARN com.openkm.f.b.b.e
- com.openkm.ws.endpoint.FolderService -> getChilds (null:-1)
2013-04-23 12:26:23,159 [http-bio-0.0.0.0-8080-exec-5] INFO com.openkm.f.b.b.e
- ***************************
2013-04-23 12:26:23,159 [http-bio-0.0.0.0-8080-exec-5] INFO com.openkm.f.b.b.e
- ***************************
2013-04-23 12:26:23,160 [http-bio-0.0.0.0-8080-exec-5] INFO com.openkm.f.b.b.e
- ***************************
2013-04-23 12:26:23,161 [http-bio-0.0.0.0-8080-exec-5] INFO com.openkm.f.b.b.e
- ***************************
2013-04-23 12:26:23,161 [http-bio-0.0.0.0-8080-exec-5] WARN com.openkm.f.b.b.e
- com.openkm.f.b.b.q -> a (null:-1)
2013-04-23 12:26:23,161 [http-bio-0.0.0.0-8080-exec-5] WARN com.openkm.f.b.b.e
- com.openkm.dao.NodeFolderDAO -> findByParent (null:-1)
2013-04-23 12:26:23,161 [http-bio-0.0.0.0-8080-exec-5] WARN com.openkm.f.b.b.e
- com.openkm.f.b.g -> getChildren (null:-1)
2013-04-23 12:26:23,161 [http-bio-0.0.0.0-8080-exec-5] WARN com.openkm.f.b.b.e
- com.openkm.f.b.g -> getChilds (null:-1)
2013-04-23 12:26:23,161 [http-bio-0.0.0.0-8080-exec-5] WARN com.openkm.f.b.b.e
- com.openkm.ws.endpoint.FolderService -> getChilds (null:-1)
2013-04-23 12:26:23,161 [http-bio-0.0.0.0-8080-exec-5] INFO com.openkm.f.b.b.e
- ***************************
2013-04-23 12:26:23,161 [http-bio-0.0.0.0-8080-exec-5] INFO com.openkm.f.b.b.e
- ***************************
2013-04-23 12:26:23,162 [http-bio-0.0.0.0-8080-exec-5] INFO com.openkm.f.b.b.e
- ***************************
2013-04-23 12:26:23,162 [http-bio-0.0.0.0-8080-exec-5] INFO com.openkm.f.b.b.e
- ***************************
2013-04-23 12:26:23,162 [http-bio-0.0.0.0-8080-exec-5] WARN com.openkm.f.b.b.e
- com.openkm.f.b.b.q -> a (null:-1)
2013-04-23 12:26:23,162 [http-bio-0.0.0.0-8080-exec-5] WARN com.openkm.f.b.b.e
- com.openkm.dao.NodeFolderDAO -> findByParent (null:-1)
2013-04-23 12:26:23,162 [http-bio-0.0.0.0-8080-exec-5] WARN com.openkm.f.b.b.e
- com.openkm.f.b.g -> getChildren (null:-1)
2013-04-23 12:26:23,162 [http-bio-0.0.0.0-8080-exec-5] WARN com.openkm.f.b.b.e
- com.openkm.f.b.g -> getChilds (null:-1)
2013-04-23 12:26:23,163 [http-bio-0.0.0.0-8080-exec-5] WARN com.openkm.f.b.b.e
- com.openkm.ws.endpoint.FolderService -> getChilds (null:-1)
2013-04-23 12:26:23,163 [http-bio-0.0.0.0-8080-exec-5] INFO com.openkm.f.b.b.e
- ***************************
2013-04-23 12:26:23,163 [http-bio-0.0.0.0-8080-exec-5] INFO com.openkm.f.b.b.e
- ***************************
2013-04-23 12:26:23,167 [http-bio-0.0.0.0-8080-exec-5] WARN org.apache.cxf.phase.PhaseInterceptorChain - Application {http://ws.openkm.com}OKMFolder#{http://ws.openkm.com}getChilds has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault
at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:155)
at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:86)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:121)
at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:61)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:123)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:207)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:193)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:126)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:185)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:108)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:164)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
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:169)
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:999)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.openkm.f.b.g.getChildren(Unknown Source)
at com.openkm.f.b.g.getChilds(Unknown Source)
at com.openkm.ws.endpoint.FolderService.getChilds(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)
... 53 more
Some time ago I used the OpenKM v5, and this worked like a charm.... please someone could help me?
Thanks in advance!