You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Hugo Palma (JIRA)" <ta...@jakarta.apache.org> on 2005/06/09 13:24:28 UTC

[jira] Commented: (TAPESTRY-338) Formating error in tapestry.request.xml xml

    [ http://issues.apache.org/jira/browse/TAPESTRY-338?page=comments#action_12313151 ] 

Hugo Palma commented on TAPESTRY-338:
-------------------------------------

I just figured this out, it has nothing to do with what i commented here. 
You can close the bug.
Sorry.

> Formating error in tapestry.request.xml xml
> -------------------------------------------
>
>          Key: TAPESTRY-338
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-338
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>  Environment: Windows
>     Reporter: Hugo Palma
>  Attachments: tapestry.request.xml
>
> I just tried the alpha-3 build but i got an exception before i can even see a single page the exception that show on screen is this:
> java.lang.NullPointerException
> org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:263)
> After some debugging inside tapestry i found the the cause of the error is that AbstractEngine is not being able to get the request cycle.
> So line 230 of org.apache.tapestry.engine.AbstractEngine that is:
> cycle = _infrastructure.getRequestCycleFactory().newRequestCycle(this);
> throws an exception with the following message:
> org.apache.hivemind.ApplicationRuntimeException: Error building service tapestry.request.RequestCycleFactory: Error at jar:file:/C:/java/jakarta-tomcat-5.5.7/webapps/siges/WEB-INF/lib/tapestry-4.0-alpha-3.jar!/META-INF/tapestry.request.xml, line 206, column 88: Unable to read property serviceEncoders of object <SingletonProxy for tapestry.url.LinkFactory(org.apache.tapestry.services.LinkFactory)>: java.lang.reflect.InvocationTargetException [jar:file:/C:/java/jakarta-tomcat-5.5.7/webapps/siges/WEB-INF/lib/tapestry-4.0-alpha-3.jar!/META-INF/tapestry.request.xml, line 203, column 21]
> After looking at line 206 i noticed that only "strange" thing about it was that the "set-object" element was broken in half with a new line. So i removed the new line and the error was gone.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org