Hi,

 

  I just configured a tapestry 4 app to use friendly URLs but whenever I
click on a link an exception shows in my container's output. Note that the
page renders without a problem AND the exception shows up in the output.
This is what I get (with part of the stack trace):

 

14:16:11,859 ERROR [[webstore]] Servlet.service() for servlet webstore threw
exception

java.lang.NullPointerException

      at
org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:264)

      at
org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngin
eTerminator.java:60)

      at
$WebRequestServicer_104f24badee.service($WebRequestServicer_104f24badee.java
)

      at
$WebRequestServicer_104f24badea.service($WebRequestServicer_104f24badea.java
)

      at
org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(W
ebRequestServicerPipelineBridge.java:56)

      at
$ServletRequestServicer_104f24badce.service($ServletRequestServicer_104f24ba
dce.java)

      at
org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInj
ector.java:55)

      ...

 

 

If I disable the service encoder entries from my hivemodule.xml everything
is fine again (only without the friendly urls, of course).

Has anyone here experienced this?

 

Denis Souza

 

Reply via email to