You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Sebastian Hoehn <ho...@in.tum.de> on 2003/07/24 17:59:18 UTC

Error with default publication

Hi,

I am evaluating lenya and I would like to get the default application 
running. When I want to view the reader's view (or the editor's view) I 
get the following Error:

<error:notify error:type="error" error:sender="org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper" xmlns:error="http://apache.org/cocoon/error/2.1">
<error:title>An Error Occurred</error:title>
<error:source>org.xml.sax.SAXException</error:source>
<error:message>Could not get sitemap source cocoon://uri-parameter/default/doctype/live/index.html</error:message>
<error:description>java.lang.NullPointerException</error:description>
<error:extra error:description="cause">java.lang.NullPointerException</error:extra>
<error:extra error:description="stacktrace">java.lang.NullPointerException
	at org.apache.xerces.parsers.DTDConfiguration.configurePipeline(Unknown Source)
	at org.apache.xerces.parsers.StandardParserConfiguration.configurePipeline(Unknown Source)
	at org.apache.xerces.parsers.DTDConfiguration.reset(Unknown Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
	at org.cyberneko.pull.parsers.Xerces2.nextEvent(Xerces2.java:181)

I've cut the exception here.

Does anyone have a suggestion how to fix that?

--
Sebastian


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Error with default publication

Posted by Michael Wechner <mi...@wyona.org>.
Sebastian Hoehn wrote:
> Hi,
> 
> I am evaluating lenya and I would like to get the default application 
> running. When I want to view the reader's view 

The reader's view will throw an exception, because the page has not
been published yet. I will try to add a handle-error or resource-exists 
action in order to show a nicer screen.

The editor's view should actually work (it does in my case), but I just
realized that the access control policies are not set correctly.
I fixed it.

Please update your CVS

HTH

Michael



(or the editor's view) I
> get the following Error:
> 
> <error:notify error:type="error" 
> error:sender="org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper" 
> xmlns:error="http://apache.org/cocoon/error/2.1">
> <error:title>An Error Occurred</error:title>
> <error:source>org.xml.sax.SAXException</error:source>
> <error:message>Could not get sitemap source 
> cocoon://uri-parameter/default/doctype/live/index.html</error:message>
> <error:description>java.lang.NullPointerException</error:description>
> <error:extra 
> error:description="cause">java.lang.NullPointerException</error:extra>
> <error:extra error:description="stacktrace">java.lang.NullPointerException
>     at 
> org.apache.xerces.parsers.DTDConfiguration.configurePipeline(Unknown 
> Source)
>     at 
> org.apache.xerces.parsers.StandardParserConfiguration.configurePipeline(Unknown 
> Source)
>     at org.apache.xerces.parsers.DTDConfiguration.reset(Unknown Source)
>     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
>     at org.cyberneko.pull.parsers.Xerces2.nextEvent(Xerces2.java:181)
> 
> I've cut the exception here.
> 
> Does anyone have a suggestion how to fix that?
> 
> -- 
> Sebastian
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> 
> 


-- 
Michael Wechner
Wyona Ltd.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org