java.lang.RuntimeException

java.lang.NullPointerException >>>>>         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) >>>>>         ... 48 more >>>>> Caused by: 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)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19629

  • via lenya-user by Petteri Sulonen, 9 months ago
    >>>>> >>>>> 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)
  • via lenya-user by Petteri Sulonen, 1 year ago
    >>>>> >>>>> 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)
  • via lenya-user by Petteri Sulonen, 1 year ago
    java.lang.NullPointerException at >>> org.apache.lenya.cms.publication.DefaultDocumentBuilder.isDocument(DefaultDocumentBuilder.java:119)
  • Stack trace

    • java.lang.RuntimeException: java.lang.NullPointerException >>>>>         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) >>>>>         ... 48 more >>>>> Caused by: 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 $Proxy67.buildTree(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.