java.lang.RuntimeException: java.lang.NullPointerException

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via lenya-user by Petteri Sulonen, 1 year ago
via lenya-user by florent andré, 1 year ago
via lenya-user by florent andré, 1 year ago
via lenya-user by Petteri Sulonen, 1 year ago
via lenya-user by Florent André, 1 year ago
via lenya-user by Florent André, 1 year ago
java.lang.RuntimeException: java.lang.NullPointerException
at org.apache.lenya.cms.repository.SourceWrapper.getContentLength(SourceWrapper.java:364)
at org.apache.lenya.cms.repository.SourceNode.getContentLength(SourceNode.java:423)
at org.apache.lenya.cms.site.tree2.SaxTreeBuilder.buildTree(SaxTreeBuilder.java:39)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.avalon.excalibur.component.ComponentProxyGenerator$ComponentInvocationHandler.invoke(ComponentProxyGenerator.java:143)
at undefined.$Proxy67.buildTree(Unknown Source)
at org.apache.lenya.cms.site.tree2.SiteTreeImpl.load(SiteTreeImpl.java:107)
at org.apache.lenya.cms.site.tree2.SiteTreeImpl.load(SiteTreeImpl.java:121)
at org.apache.lenya.cms.site.tree2.SiteTreeImpl.contains(SiteTreeImpl.java:270)
at org.apache.lenya.cms.site.tree2.DelegatingSiteTree.contains(DelegatingSiteTree.java:87)
at org.apache.lenya.cms.publication.DefaultDocumentBuilder.isDocument(DefaultDocumentBuilder.java:111)
at org.apache.lenya.cms.publication.DefaultDocumentBuilder.isDocument(DefaultDocumentBuilder.java:119)
at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.avalon.excalibur.component.ComponentProxyGenerator$ComponentInvocationHandler.invoke(ComponentProxyGenerator.java:143)
at undefined.$Proxy44.isDocument(Unknown Source)
at org.apache.lenya.cms.publication.DocumentFactoryImpl.isDocument(DocumentFactoryImpl.java:190)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.