Re: Odd breaking exception in 5.4

Richard Frovarp <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <[email protected]>
Yep, I've looked. There isn't any exception in there.

On 05/24/2018 02:13 AM, Dmitry Gusev wrote:
> Hi, Richard!
>
> Have you checked tomcat logs? catalina.out namely. They can shed some light.
>
> On Thu, May 24, 2018 at 2:07 AM, Richard Frovarp <[email protected]>
> wrote:
>
>> I'm having some very odd problems with Tapestry 5.4.3. Most of my stuff is
>> on 5.3, so I haven't been able to dig very deep on this, and I'm not quite
>> sure what I'm missing. I'm running Tomcat 8.5.x. Now, it appears that might
>> be from classpath:org/apache/tapestry5/corelib/pages/ExceptionReport.tml.
>> But something else must be generating the error. I've been able to make it
>> go away with a restart of Tomcat, but not of just the app itself. I'm
>> fairly confused. I think that the exception being reported isn't the actual
>> root cause, but rather the exception that is reported due to an error with
>> reporting the actual exception.
>>
>> 2018-05-23 17:57:10,697 [ERROR] ioc.Registry java.lang.NullPointerException
>> 2018-05-23 17:57:10,698 [ERROR] ioc.Registry Operations trace:
>> 2018-05-23 17:57:10,698 [ERROR] ioc.Registry [ 1] Handling page render
>> request for page Index
>> 2018-05-23 17:57:10,698 [ERROR] ioc.Registry [ 2] Constructing instance of
>> page class edu.ndsu.eci.international_capstone_exchange.pages.Index
>> 2018-05-23 17:57:10,698 [ERROR] ioc.Registry [ 3] Creating
>> ComponentAssembler for edu.ndsu.eci.international_cap
>> stone_exchange.pages.Index
>> 2018-05-23 17:57:10,698 [ERROR] ioc.Registry [ 4] Parsing component
>> template classpath:edu/ndsu/eci/international_capstone_exchange/
>> pages/Index.tml
>> 2018-05-23 17:57:10,712 [ERROR] TapestryModule.RequestExceptionHandler
>> Processing of request failed with uncaught exception:
>> org.apache.tapestry5.ioc.internal.OperationException
>> org.apache.tapestry5.ioc.internal.OperationException
>>          at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAn
>> dRethrow(OperationTrackerImpl.java:186)
>>          at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invok
>> e(OperationTrackerImpl.java:90)
>>          at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.
>> invoke(PerThreadOperationTracker.java:72)
>>          at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(Regist
>> ryImpl.java:1260)
>>          at org.apache.tapestry5.internal.services.TemplateParserImpl.pa
>> rseTemplate(TemplateParserImpl.java:57)
>>          at $TemplateParser_95423bef7.parseTemplate(Unknown Source)
>>          at org.apache.tapestry5.internal.services.ComponentTemplateSour
>> ceImpl.parseTemplate(ComponentTemplateSourceImpl.java:190)
>>          at org.apache.tapestry5.internal.services.ComponentTemplateSour
>> ceImpl.getTemplate(ComponentTemplateSourceImpl.java:162)
>>          at $ComponentTemplateSource_95423bef6.getTemplate(Unknown Source)
>>          at org.apache.tapestry5.internal.pageload.PageLoaderImpl$4.invo
>> ke(PageLoaderImpl.java:258)
>>          at org.apache.tapestry5.internal.pageload.PageLoaderImpl$4.invo
>> ke(PageLoaderImpl.java:251)
>>          at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invok
>> e(OperationTrackerImpl.java:82)
>>          at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.
>> invoke(PerThreadOperationTracker.java:72)
>>          at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(Regist
>> ryImpl.java:1260)
>>
>> snip
>>
>> Caused by: java.lang.NullPointerException
>>          at org.apache.tapestry5.internal.services.XMLTokenStream.getLoc
>> ation(XMLTokenStream.java:487)
>>          at org.apache.tapestry5.internal.services.SaxTemplateParser.par
>> se(SaxTemplateParser.java:181)
>>          at org.apache.tapestry5.internal.services.TemplateParserImpl$1.
>> invoke(TemplateParserImpl.java:61)
>>          at org.apache.tapestry5.internal.services.TemplateParserImpl$1.
>> invoke(TemplateParserImpl.java:58)
>>          at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invok
>> e(OperationTrackerImpl.java:82)
>>          ... 102 more
>> 2018-05-23 17:57:10,804 [ERROR] ioc.Registry java.lang.NullPointerException
>> 2018-05-23 17:57:10,804 [ERROR] ioc.Registry Operations trace:
>> 2018-05-23 17:57:10,804 [ERROR] ioc.Registry [ 1] Constructing instance of
>> page class org.apache.tapestry5.corelib.pages.ExceptionReport
>> 2018-05-23 17:57:10,804 [ERROR] ioc.Registry [ 2] Creating
>> ComponentAssembler for org.apache.tapestry5.corelib.pages.ExceptionReport
>> 2018-05-23 17:57:10,804 [ERROR] ioc.Registry [ 3] Parsing component
>> template classpath:org/apache/tapestry5/corelib/pages/ExceptionReport.tml
>>
>>
>> To add to the confusion, I've never had the error trigger when running on
>> my workstation using Tomcat, just as installed on our server. Almost makes
>> me think that it is trying to write somewhere that is causing problems. I
>> just restarted Tomcat, and it now loads. How do I find root cause? I've
>> turned logging all the way up, and then there is too much noise. Since I
>> can't get it to trigger on my workstation, I can't get a debugger connected
>> to figure it out from there.
>>
>> Thanks,
>>
>> Richard
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.