I just tried the alpha-3 build but i'm getting 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.
It looks like a bug, that i wanted to check with the mailing list first
before i created the bug in JIRA.
So, is it ?
Cheers
Hugo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]