This seems to be the "root error" on the console. 
However, that line is monitor.serviceException.  The
actual exception it is trying to service when I step
thru in the debugger is the hivemind error I was
talking about in the previous email.  

If you don't have any better ideas, I'll try with a
clean slate and introduce Trails a piece at a time
until I see what is causing it to break.  This was my
attempt to upgrade an existing Trails example to 4.0.

getRootCause():
java.lang.NullPointerException
        at
org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:264)
        at
org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:60)
        at
$WebRequestServicer_104f6c08586.service($WebRequestServicer_104f6c08586.java)
        at
$WebRequestServicer_104f6c08585.service($WebRequestServicer_104f6c08585.java)
        at
$WebRequestServicer_104f6c08582.service($WebRequestServicer_104f6c08582.java)
        at
$WebRequestServicer_104f6c08581.service($WebRequestServicer_104f6c08581.java)
        at
org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:56)
        at
$ServletRequestServicer_104f6c08566.service($ServletRequestServicer_104f6c08566.java)
        at
$ServletRequestServicer_104f6c08565.service($ServletRequestServicer_104f6c08565.java)
        at
org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55)
        at
$ServletRequestServicerFilter_104f6c08562.service($ServletRequestServicerFilter_104f6c08562.java)
        at
$ServletRequestServicerFilter_104f6c08561.service($ServletRequestServicerFilter_104f6c08561.java)
        at
$ServletRequestServicer_104f6c08567.service($ServletRequestServicer_104f6c08567.java)
        at
org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52)
        at
$ServletRequestServicerFilter_104f6c08560.service($ServletRequestServicerFilter_104f6c08560.java)
        at
$ServletRequestServicerFilter_104f6c0855f.service($ServletRequestServicerFilter_104f6c0855f.java)
        at
$ServletRequestServicer_104f6c08567.service($ServletRequestServicer_104f6c08567.java)
        at
org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)
        at
$ServletRequestServicerFilter_104f6c08564.service($ServletRequestServicerFilter_104f6c08564.java)
        at
$ServletRequestServicerFilter_104f6c08563.service($ServletRequestServicerFilter_104f6c08563.java)
        at
$ServletRequestServicer_104f6c08567.service($ServletRequestServicer_104f6c08567.java)
        at
$ServletRequestServicer_104f6c0855a.service($ServletRequestServicer_104f6c0855a.java)
        at
$ServletRequestServicer_104f6c08559.service($ServletRequestServicer_104f6c08559.java)
        at
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:145)
        at
org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:101)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
        at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:822)
        at
org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:103)
        at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:813)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:494)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:569)
        at
org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
        at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:624)
        at
org.mortbay.http.HttpContext.handle(HttpContext.java:1434)
        at
org.mortbay.http.HttpServer.service(HttpServer.java:896)
        at
org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
        at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
        at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:366)
        at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

--- Howard Lewis Ship <[EMAIL PROTECTED]> wrote:

> That looks like the top exception, can you get the
> nested exceptions?
> 
> What's in your web.xml/hivemodule.xml?
> 
> On 7/7/05, Chris Nelson <[EMAIL PROTECTED]>
> wrote:
> > Been trying to get Trails running using Tapestry
> 4.0
> > and ran into something I can't decipher.  Hitting
> the
> > first page I get an NPE in the log and a 500
> error.
> > In stepping thru the code in the debugger, it
> blows up
> > at AbstractEngine line 231.  Looking at the
> exception
> > thrown I see this message:
> > 
> > org.apache.hivemind.ApplicationRuntimeException:
> > Unable to construct service
> > tapestry.request.RequestCycleFactory: Error
> building
> > service tapestry.request.RequestCycleFactory:
> Error at
> >
>
jar:file:/C:/java/tapestry-4.0-beta-1/tapestry-4.0-beta-1.jar!/META-INF/tapestry.request.xml,
> > line 212, 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/tapestry-4.0-beta-1/tapestry-4.0-beta-1.jar!/META-INF/tapestry.request.xml,
> > line 209, column 21]
> > 
> > I'm sure this is something dumb I have done, as I
> was
> > able to get another Tap4 app running, but I could
> use
> > pointers as to what to look at.
> > 
> > Thanks,
> > 
> > Chris Nelson
> > 
> > 
> > 
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - You care about security. So do we.
> > http://promotions.yahoo.com/new_mail
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> > 
> 
> 
> -- 
> Howard M. Lewis Ship
> Independent J2EE / Open-Source Java Consultant
> Creator, Jakarta Tapestry
> Creator, Jakarta HiveMind
> 
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

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

Reply via email to