DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44111>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44111

           Summary: NPE in (Aggregating)FallbackSourceFactory
           Product: Lenya
           Version: 2.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Miscellaneous
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When using Cocoon from the command line to generate a static version of a 
Lenya site, a NullPointerException is thrown from 
org.apache.lenya.cms.cocoon.source.FallbackSourceFactory.getSource() (line 
120) and 
org.apache.lenya.cms.cocoon.source.AggregatingFallbackSourceFactory.getSource() 
(line 95).

In looking at the Cocoon CLI sources, it looks like this is because the 
Request has a null context path. If that's correct, then NPE is thrown because 
we try to request.getContextPath().length() without first checking if 
request.getContextPath() might return null.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to