exception on page render

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

exception on page render

Qbyte Consulting
I'm writing a T5.4 app from scratch rather than a migration.

I keep getting this stack dump, I've taken out the got5 dependency, but
still get much the same error.

Any pointers to what this could be? I'm basing my code off the hotel
booking example.

John

HTTP ERROR 500

Problem accessing /Context/. Reason:

    INTERNAL_SERVER_ERROR

Caused by:

java.lang.AbstractMethodError
        at org.apache.tapestry5.internal.services.ajax.JavaScriptSupportImpl.getModuleNameToStackName(JavaScriptSupportImpl.java:340)
        at org.apache.tapestry5.internal.services.ajax.JavaScriptSupportImpl.findStackForModule(JavaScriptSupportImpl.java:328)
        at org.apache.tapestry5.internal.services.ajax.JavaScriptSupportImpl.require(JavaScriptSupportImpl.java:451)
        at $JavaScriptSupport_149ab64e3d59.require(Unknown Source)
        at $JavaScriptSupport_149ab64e3cc1.require(Unknown Source)
        at org.apache.tapestry5.internal.transform.ImportWorker$ModuleImport.apply(ImportWorker.java:168)
        at org.apache.tapestry5.internal.transform.ImportWorker$5.advise(ImportWorker.java:197)
        at org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.proceed(AbstractMethodInvocation.java:92)
        at org.apache.tapestry5.internal.transform.ImportWorker$8.advise(ImportWorker.java:271)
        at org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.proceed(AbstractMethodInvocation.java:92)
        at org.apache.tapestry5.corelib.components.ExceptionDisplay.setupRender(ExceptionDisplay.java)
        at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$SetupRenderPhase.invokeComponent(ComponentPageElementImpl.java:174)
        at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.invoke(ComponentPageElementImpl.java:133)
        at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$SetupRenderPhase.render(ComponentPageElementImpl.java:181)
        at org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:79)
        at org.apache.tapestry5.internal.services.PageRenderQueueImpl.render(PageRenderQueueImpl.java:121)
        at $PageRenderQueue_149ab64e3d54.render(Unknown Source)
        at $PageRenderQueue_149ab64e3d53.render(Unknown Source)
        at org.apache.tapestry5.internal.services.MarkupRendererTerminator.renderMarkup(MarkupRendererTerminator.java:37)
        at org.got5.tapestry5.jquery.services.js.JSModule$1.renderMarkup(JSModule.java:40)
        at $MarkupRenderer_149ab64e3d57.renderMarkup(Unknown Source)
        at org.apache.tapestry5.internal.services.PageNameMetaInjector.renderMarkup(PageNameMetaInjector.java:41)
        at $MarkupRenderer_149ab64e3d57.renderMarkup(Unknown Source)
        at org.apache.tapestry5.modules.TapestryModule$29.renderMarkup(TapestryModule.java:1807)
Reply | Threaded
Open this post in threaded view
|

Re: exception on page render

Barry Books-2
Which hotel booking app?

On Thursday, August 11, 2016, Qbyte Consulting <[hidden email]>
wrote:

> I'm writing a T5.4 app from scratch rather than a migration.
>
> I keep getting this stack dump, I've taken out the got5 dependency, but
> still get much the same error.
>
> Any pointers to what this could be? I'm basing my code off the hotel
> booking example.
>
> John
>
> HTTP ERROR 500
>
> Problem accessing /Context/. Reason:
>
>     INTERNAL_SERVER_ERROR
>
> Caused by:
>
> java.lang.AbstractMethodError
>         at org.apache.tapestry5.internal.services.ajax.
> JavaScriptSupportImpl.getModuleNameToStackName(JavaScriptSupportImpl.java:
> 340)
>         at org.apache.tapestry5.internal.services.ajax.
> JavaScriptSupportImpl.findStackForModule(JavaScriptSupportImpl.java:328)
>         at org.apache.tapestry5.internal.services.ajax.
> JavaScriptSupportImpl.require(JavaScriptSupportImpl.java:451)
>         at $JavaScriptSupport_149ab64e3d59.require(Unknown Source)
>         at $JavaScriptSupport_149ab64e3cc1.require(Unknown Source)
>         at org.apache.tapestry5.internal.transform.ImportWorker$
> ModuleImport.apply(ImportWorker.java:168)
>         at org.apache.tapestry5.internal.transform.ImportWorker$5.
> advise(ImportWorker.java:197)
>         at org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.
> proceed(AbstractMethodInvocation.java:92)
>         at org.apache.tapestry5.internal.transform.ImportWorker$8.
> advise(ImportWorker.java:271)
>         at org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.
> proceed(AbstractMethodInvocation.java:92)
>         at org.apache.tapestry5.corelib.components.ExceptionDisplay.
> setupRender(ExceptionDisplay.java)
>         at org.apache.tapestry5.internal.structure.
> ComponentPageElementImpl$SetupRenderPhase.invokeComponent(
> ComponentPageElementImpl.java:174)
>         at org.apache.tapestry5.internal.structure.
> ComponentPageElementImpl$AbstractPhase.invoke(
> ComponentPageElementImpl.java:133)
>         at org.apache.tapestry5.internal.structure.
> ComponentPageElementImpl$SetupRenderPhase.render(
> ComponentPageElementImpl.java:181)
>         at org.apache.tapestry5.internal.services.RenderQueueImpl.run(
> RenderQueueImpl.java:79)
>         at org.apache.tapestry5.internal.services.PageRenderQueueImpl.
> render(PageRenderQueueImpl.java:121)
>         at $PageRenderQueue_149ab64e3d54.render(Unknown Source)
>         at $PageRenderQueue_149ab64e3d53.render(Unknown Source)
>         at org.apache.tapestry5.internal.services.
> MarkupRendererTerminator.renderMarkup(MarkupRendererTerminator.java:37)
>         at org.got5.tapestry5.jquery.services.js.JSModule$1.
> renderMarkup(JSModule.java:40)
>         at $MarkupRenderer_149ab64e3d57.renderMarkup(Unknown Source)
>         at org.apache.tapestry5.internal.services.PageNameMetaInjector.
> renderMarkup(PageNameMetaInjector.java:41)
>         at $MarkupRenderer_149ab64e3d57.renderMarkup(Unknown Source)
>         at org.apache.tapestry5.modules.TapestryModule$29.
> renderMarkup(TapestryModule.java:1807)
>
Reply | Threaded
Open this post in threaded view
|

Re: exception on page render

Qbyte Consulting
I've been copying code from here https://tapestry-app.apache.org/hotels/
but with my own database and other project dependencies.

On Fri, Aug 12, 2016 at 12:39 PM, Barry Books <[hidden email]> wrote:

> Which hotel booking app?
>
> On Thursday, August 11, 2016, Qbyte Consulting <[hidden email]>
> wrote:
>
> > I'm writing a T5.4 app from scratch rather than a migration.
> >
> > I keep getting this stack dump, I've taken out the got5 dependency, but
> > still get much the same error.
> >
> > Any pointers to what this could be? I'm basing my code off the hotel
> > booking example.
> >
> > John
> >
> > HTTP ERROR 500
> >
> > Problem accessing /Context/. Reason:
> >
> >     INTERNAL_SERVER_ERROR
> >
> > Caused by:
> >
> > java.lang.AbstractMethodError
> >         at org.apache.tapestry5.internal.services.ajax.
> > JavaScriptSupportImpl.getModuleNameToStackName(
> JavaScriptSupportImpl.java:
> > 340)
> >         at org.apache.tapestry5.internal.services.ajax.
> > JavaScriptSupportImpl.findStackForModule(JavaScriptSupportImpl.java:328)
> >         at org.apache.tapestry5.internal.services.ajax.
> > JavaScriptSupportImpl.require(JavaScriptSupportImpl.java:451)
> >         at $JavaScriptSupport_149ab64e3d59.require(Unknown Source)
> >         at $JavaScriptSupport_149ab64e3cc1.require(Unknown Source)
> >         at org.apache.tapestry5.internal.transform.ImportWorker$
> > ModuleImport.apply(ImportWorker.java:168)
> >         at org.apache.tapestry5.internal.transform.ImportWorker$5.
> > advise(ImportWorker.java:197)
> >         at org.apache.tapestry5.internal.plastic.
> AbstractMethodInvocation.
> > proceed(AbstractMethodInvocation.java:92)
> >         at org.apache.tapestry5.internal.transform.ImportWorker$8.
> > advise(ImportWorker.java:271)
> >         at org.apache.tapestry5.internal.plastic.
> AbstractMethodInvocation.
> > proceed(AbstractMethodInvocation.java:92)
> >         at org.apache.tapestry5.corelib.components.ExceptionDisplay.
> > setupRender(ExceptionDisplay.java)
> >         at org.apache.tapestry5.internal.structure.
> > ComponentPageElementImpl$SetupRenderPhase.invokeComponent(
> > ComponentPageElementImpl.java:174)
> >         at org.apache.tapestry5.internal.structure.
> > ComponentPageElementImpl$AbstractPhase.invoke(
> > ComponentPageElementImpl.java:133)
> >         at org.apache.tapestry5.internal.structure.
> > ComponentPageElementImpl$SetupRenderPhase.render(
> > ComponentPageElementImpl.java:181)
> >         at org.apache.tapestry5.internal.services.RenderQueueImpl.run(
> > RenderQueueImpl.java:79)
> >         at org.apache.tapestry5.internal.services.PageRenderQueueImpl.
> > render(PageRenderQueueImpl.java:121)
> >         at $PageRenderQueue_149ab64e3d54.render(Unknown Source)
> >         at $PageRenderQueue_149ab64e3d53.render(Unknown Source)
> >         at org.apache.tapestry5.internal.services.
> > MarkupRendererTerminator.renderMarkup(MarkupRendererTerminator.java:37)
> >         at org.got5.tapestry5.jquery.services.js.JSModule$1.
> > renderMarkup(JSModule.java:40)
> >         at $MarkupRenderer_149ab64e3d57.renderMarkup(Unknown Source)
> >         at org.apache.tapestry5.internal.services.PageNameMetaInjector.
> > renderMarkup(PageNameMetaInjector.java:41)
> >         at $MarkupRenderer_149ab64e3d57.renderMarkup(Unknown Source)
> >         at org.apache.tapestry5.modules.TapestryModule$29.
> > renderMarkup(TapestryModule.java:1807)
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: exception on page render

Chris Poulsen
org.got5....is still in your stacktrace... So maybe you have a jar
lingering somewhere.

--
Chris

On Fri, Aug 12, 2016 at 2:02 PM, Qbyte Consulting <[hidden email]
> wrote:

> I've been copying code from here https://tapestry-app.apache.org/hotels/
> but with my own database and other project dependencies.
>
> On Fri, Aug 12, 2016 at 12:39 PM, Barry Books <[hidden email]> wrote:
>
> > Which hotel booking app?
> >
> > On Thursday, August 11, 2016, Qbyte Consulting <
> [hidden email]>
> > wrote:
> >
> > > I'm writing a T5.4 app from scratch rather than a migration.
> > >
> > > I keep getting this stack dump, I've taken out the got5 dependency, but
> > > still get much the same error.
> > >
> > > Any pointers to what this could be? I'm basing my code off the hotel
> > > booking example.
> > >
> > > John
> > >
> > > HTTP ERROR 500
> > >
> > > Problem accessing /Context/. Reason:
> > >
> > >     INTERNAL_SERVER_ERROR
> > >
> > > Caused by:
> > >
> > > java.lang.AbstractMethodError
> > >         at org.apache.tapestry5.internal.services.ajax.
> > > JavaScriptSupportImpl.getModuleNameToStackName(
> > JavaScriptSupportImpl.java:
> > > 340)
> > >         at org.apache.tapestry5.internal.services.ajax.
> > > JavaScriptSupportImpl.findStackForModule(JavaScriptSupportImpl.java:
> 328)
> > >         at org.apache.tapestry5.internal.services.ajax.
> > > JavaScriptSupportImpl.require(JavaScriptSupportImpl.java:451)
> > >         at $JavaScriptSupport_149ab64e3d59.require(Unknown Source)
> > >         at $JavaScriptSupport_149ab64e3cc1.require(Unknown Source)
> > >         at org.apache.tapestry5.internal.transform.ImportWorker$
> > > ModuleImport.apply(ImportWorker.java:168)
> > >         at org.apache.tapestry5.internal.transform.ImportWorker$5.
> > > advise(ImportWorker.java:197)
> > >         at org.apache.tapestry5.internal.plastic.
> > AbstractMethodInvocation.
> > > proceed(AbstractMethodInvocation.java:92)
> > >         at org.apache.tapestry5.internal.transform.ImportWorker$8.
> > > advise(ImportWorker.java:271)
> > >         at org.apache.tapestry5.internal.plastic.
> > AbstractMethodInvocation.
> > > proceed(AbstractMethodInvocation.java:92)
> > >         at org.apache.tapestry5.corelib.components.ExceptionDisplay.
> > > setupRender(ExceptionDisplay.java)
> > >         at org.apache.tapestry5.internal.structure.
> > > ComponentPageElementImpl$SetupRenderPhase.invokeComponent(
> > > ComponentPageElementImpl.java:174)
> > >         at org.apache.tapestry5.internal.structure.
> > > ComponentPageElementImpl$AbstractPhase.invoke(
> > > ComponentPageElementImpl.java:133)
> > >         at org.apache.tapestry5.internal.structure.
> > > ComponentPageElementImpl$SetupRenderPhase.render(
> > > ComponentPageElementImpl.java:181)
> > >         at org.apache.tapestry5.internal.services.RenderQueueImpl.run(
> > > RenderQueueImpl.java:79)
> > >         at org.apache.tapestry5.internal.services.PageRenderQueueImpl.
> > > render(PageRenderQueueImpl.java:121)
> > >         at $PageRenderQueue_149ab64e3d54.render(Unknown Source)
> > >         at $PageRenderQueue_149ab64e3d53.render(Unknown Source)
> > >         at org.apache.tapestry5.internal.services.
> > > MarkupRendererTerminator.renderMarkup(MarkupRendererTerminator.java:
> 37)
> > >         at org.got5.tapestry5.jquery.services.js.JSModule$1.
> > > renderMarkup(JSModule.java:40)
> > >         at $MarkupRenderer_149ab64e3d57.renderMarkup(Unknown Source)
> > >         at org.apache.tapestry5.internal.
> services.PageNameMetaInjector.
> > > renderMarkup(PageNameMetaInjector.java:41)
> > >         at $MarkupRenderer_149ab64e3d57.renderMarkup(Unknown Source)
> > >         at org.apache.tapestry5.modules.TapestryModule$29.
> > > renderMarkup(TapestryModule.java:1807)
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: exception on page render

Qbyte Consulting
No I removed it. As I said, even after removing got5, I got a similar stack
dump but minus mention of got 5. Sorry to confuse.

On Fri, Aug 12, 2016 at 1:19 PM, Chris Poulsen <[hidden email]>
wrote:

> org.got5....is still in your stacktrace... So maybe you have a jar
> lingering somewhere.
>
> --
> Chris
>
> On Fri, Aug 12, 2016 at 2:02 PM, Qbyte Consulting <
> [hidden email]
> > wrote:
>
> > I've been copying code from here https://tapestry-app.apache.org/hotels/
> > but with my own database and other project dependencies.
> >
> > On Fri, Aug 12, 2016 at 12:39 PM, Barry Books <[hidden email]> wrote:
> >
> > > Which hotel booking app?
> > >
> > > On Thursday, August 11, 2016, Qbyte Consulting <
> > [hidden email]>
> > > wrote:
> > >
> > > > I'm writing a T5.4 app from scratch rather than a migration.
> > > >
> > > > I keep getting this stack dump, I've taken out the got5 dependency,
> but
> > > > still get much the same error.
> > > >
> > > > Any pointers to what this could be? I'm basing my code off the hotel
> > > > booking example.
> > > >
> > > > John
> > > >
> > > > HTTP ERROR 500
> > > >
> > > > Problem accessing /Context/. Reason:
> > > >
> > > >     INTERNAL_SERVER_ERROR
> > > >
> > > > Caused by:
> > > >
> > > > java.lang.AbstractMethodError
> > > >         at org.apache.tapestry5.internal.services.ajax.
> > > > JavaScriptSupportImpl.getModuleNameToStackName(
> > > JavaScriptSupportImpl.java:
> > > > 340)
> > > >         at org.apache.tapestry5.internal.services.ajax.
> > > > JavaScriptSupportImpl.findStackForModule(JavaScriptSupportImpl.java:
> > 328)
> > > >         at org.apache.tapestry5.internal.services.ajax.
> > > > JavaScriptSupportImpl.require(JavaScriptSupportImpl.java:451)
> > > >         at $JavaScriptSupport_149ab64e3d59.require(Unknown Source)
> > > >         at $JavaScriptSupport_149ab64e3cc1.require(Unknown Source)
> > > >         at org.apache.tapestry5.internal.transform.ImportWorker$
> > > > ModuleImport.apply(ImportWorker.java:168)
> > > >         at org.apache.tapestry5.internal.transform.ImportWorker$5.
> > > > advise(ImportWorker.java:197)
> > > >         at org.apache.tapestry5.internal.plastic.
> > > AbstractMethodInvocation.
> > > > proceed(AbstractMethodInvocation.java:92)
> > > >         at org.apache.tapestry5.internal.transform.ImportWorker$8.
> > > > advise(ImportWorker.java:271)
> > > >         at org.apache.tapestry5.internal.plastic.
> > > AbstractMethodInvocation.
> > > > proceed(AbstractMethodInvocation.java:92)
> > > >         at org.apache.tapestry5.corelib.components.ExceptionDisplay.
> > > > setupRender(ExceptionDisplay.java)
> > > >         at org.apache.tapestry5.internal.structure.
> > > > ComponentPageElementImpl$SetupRenderPhase.invokeComponent(
> > > > ComponentPageElementImpl.java:174)
> > > >         at org.apache.tapestry5.internal.structure.
> > > > ComponentPageElementImpl$AbstractPhase.invoke(
> > > > ComponentPageElementImpl.java:133)
> > > >         at org.apache.tapestry5.internal.structure.
> > > > ComponentPageElementImpl$SetupRenderPhase.render(
> > > > ComponentPageElementImpl.java:181)
> > > >         at org.apache.tapestry5.internal.
> services.RenderQueueImpl.run(
> > > > RenderQueueImpl.java:79)
> > > >         at org.apache.tapestry5.internal.
> services.PageRenderQueueImpl.
> > > > render(PageRenderQueueImpl.java:121)
> > > >         at $PageRenderQueue_149ab64e3d54.render(Unknown Source)
> > > >         at $PageRenderQueue_149ab64e3d53.render(Unknown Source)
> > > >         at org.apache.tapestry5.internal.services.
> > > > MarkupRendererTerminator.renderMarkup(MarkupRendererTerminator.java:
> > 37)
> > > >         at org.got5.tapestry5.jquery.services.js.JSModule$1.
> > > > renderMarkup(JSModule.java:40)
> > > >         at $MarkupRenderer_149ab64e3d57.renderMarkup(Unknown Source)
> > > >         at org.apache.tapestry5.internal.
> > services.PageNameMetaInjector.
> > > > renderMarkup(PageNameMetaInjector.java:41)
> > > >         at $MarkupRenderer_149ab64e3d57.renderMarkup(Unknown Source)
> > > >         at org.apache.tapestry5.modules.TapestryModule$29.
> > > > renderMarkup(TapestryModule.java:1807)
> > > >
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: exception on page render

Qbyte Consulting
I resolved dependency conflicts and get to rendering a page but this pops
up, and it's not a resource I uses?

*Render queue error in SetupRender[Index:layout]: Unable to locate asset
'context:layout/images/icons-png/action-white.png' (the file does not
exist).*

On Fri, Aug 12, 2016 at 3:16 PM, Qbyte Consulting <[hidden email]
> wrote:

> No I removed it. As I said, even after removing got5, I got a similar
> stack dump but minus mention of got 5. Sorry to confuse.
>
> On Fri, Aug 12, 2016 at 1:19 PM, Chris Poulsen <[hidden email]>
> wrote:
>
>> org.got5....is still in your stacktrace... So maybe you have a jar
>> lingering somewhere.
>>
>> --
>> Chris
>>
>> On Fri, Aug 12, 2016 at 2:02 PM, Qbyte Consulting <
>> [hidden email]
>> > wrote:
>>
>> > I've been copying code from here https://tapestry-app.apache.or
>> g/hotels/
>> > but with my own database and other project dependencies.
>> >
>> > On Fri, Aug 12, 2016 at 12:39 PM, Barry Books <[hidden email]> wrote:
>> >
>> > > Which hotel booking app?
>> > >
>> > > On Thursday, August 11, 2016, Qbyte Consulting <
>> > [hidden email]>
>> > > wrote:
>> > >
>> > > > I'm writing a T5.4 app from scratch rather than a migration.
>> > > >
>> > > > I keep getting this stack dump, I've taken out the got5 dependency,
>> but
>> > > > still get much the same error.
>> > > >
>> > > > Any pointers to what this could be? I'm basing my code off the hotel
>> > > > booking example.
>> > > >
>> > > > John
>> > > >
>> > > > HTTP ERROR 500
>> > > >
>> > > > Problem accessing /Context/. Reason:
>> > > >
>> > > >     INTERNAL_SERVER_ERROR
>> > > >
>> > > > Caused by:
>> > > >
>> > > > java.lang.AbstractMethodError
>> > > >         at org.apache.tapestry5.internal.services.ajax.
>> > > > JavaScriptSupportImpl.getModuleNameToStackName(
>> > > JavaScriptSupportImpl.java:
>> > > > 340)
>> > > >         at org.apache.tapestry5.internal.services.ajax.
>> > > > JavaScriptSupportImpl.findStackForModule(JavaScriptSupportIm
>> pl.java:
>> > 328)
>> > > >         at org.apache.tapestry5.internal.services.ajax.
>> > > > JavaScriptSupportImpl.require(JavaScriptSupportImpl.java:451)
>> > > >         at $JavaScriptSupport_149ab64e3d59.require(Unknown Source)
>> > > >         at $JavaScriptSupport_149ab64e3cc1.require(Unknown Source)
>> > > >         at org.apache.tapestry5.internal.transform.ImportWorker$
>> > > > ModuleImport.apply(ImportWorker.java:168)
>> > > >         at org.apache.tapestry5.internal.transform.ImportWorker$5.
>> > > > advise(ImportWorker.java:197)
>> > > >         at org.apache.tapestry5.internal.plastic.
>> > > AbstractMethodInvocation.
>> > > > proceed(AbstractMethodInvocation.java:92)
>> > > >         at org.apache.tapestry5.internal.transform.ImportWorker$8.
>> > > > advise(ImportWorker.java:271)
>> > > >         at org.apache.tapestry5.internal.plastic.
>> > > AbstractMethodInvocation.
>> > > > proceed(AbstractMethodInvocation.java:92)
>> > > >         at org.apache.tapestry5.corelib.c
>> omponents.ExceptionDisplay.
>> > > > setupRender(ExceptionDisplay.java)
>> > > >         at org.apache.tapestry5.internal.structure.
>> > > > ComponentPageElementImpl$SetupRenderPhase.invokeComponent(
>> > > > ComponentPageElementImpl.java:174)
>> > > >         at org.apache.tapestry5.internal.structure.
>> > > > ComponentPageElementImpl$AbstractPhase.invoke(
>> > > > ComponentPageElementImpl.java:133)
>> > > >         at org.apache.tapestry5.internal.structure.
>> > > > ComponentPageElementImpl$SetupRenderPhase.render(
>> > > > ComponentPageElementImpl.java:181)
>> > > >         at org.apache.tapestry5.internal.
>> services.RenderQueueImpl.run(
>> > > > RenderQueueImpl.java:79)
>> > > >         at org.apache.tapestry5.internal.
>> services.PageRenderQueueImpl.
>> > > > render(PageRenderQueueImpl.java:121)
>> > > >         at $PageRenderQueue_149ab64e3d54.render(Unknown Source)
>> > > >         at $PageRenderQueue_149ab64e3d53.render(Unknown Source)
>> > > >         at org.apache.tapestry5.internal.services.
>> > > > MarkupRendererTerminator.renderMarkup(MarkupRendererTerminat
>> or.java:
>> > 37)
>> > > >         at org.got5.tapestry5.jquery.services.js.JSModule$1.
>> > > > renderMarkup(JSModule.java:40)
>> > > >         at $MarkupRenderer_149ab64e3d57.renderMarkup(Unknown
>> Source)
>> > > >         at org.apache.tapestry5.internal.
>> > services.PageNameMetaInjector.
>> > > > renderMarkup(PageNameMetaInjector.java:41)
>> > > >         at $MarkupRenderer_149ab64e3d57.renderMarkup(Unknown
>> Source)
>> > > >         at org.apache.tapestry5.modules.TapestryModule$29.
>> > > > renderMarkup(TapestryModule.java:1807)
>> > > >
>> > >
>> >
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: exception on page render

Chris Poulsen
It is being referenced from somewhere or you would not get the error...

I would suggest starting from a working basis, like the t5 quickstart (
http://tapestry.apache.org/getting-started.html ) and add one thing at the
time ensuring that everything is working before moving on to next step.

--
Chris

On Fri, Aug 12, 2016 at 6:35 PM, Qbyte Consulting <[hidden email]
> wrote:

> I resolved dependency conflicts and get to rendering a page but this pops
> up, and it's not a resource I uses?
>
> *Render queue error in SetupRender[Index:layout]: Unable to locate asset
> 'context:layout/images/icons-png/action-white.png' (the file does not
> exist).*
>
> On Fri, Aug 12, 2016 at 3:16 PM, Qbyte Consulting <
> [hidden email]
> > wrote:
>
> > No I removed it. As I said, even after removing got5, I got a similar
> > stack dump but minus mention of got 5. Sorry to confuse.
> >
> > On Fri, Aug 12, 2016 at 1:19 PM, Chris Poulsen <[hidden email]>
> > wrote:
> >
> >> org.got5....is still in your stacktrace... So maybe you have a jar
> >> lingering somewhere.
> >>
> >> --
> >> Chris
> >>
> >> On Fri, Aug 12, 2016 at 2:02 PM, Qbyte Consulting <
> >> [hidden email]
> >> > wrote:
> >>
> >> > I've been copying code from here https://tapestry-app.apache.or
> >> g/hotels/
> >> > but with my own database and other project dependencies.
> >> >
> >> > On Fri, Aug 12, 2016 at 12:39 PM, Barry Books <[hidden email]>
> wrote:
> >> >
> >> > > Which hotel booking app?
> >> > >
> >> > > On Thursday, August 11, 2016, Qbyte Consulting <
> >> > [hidden email]>
> >> > > wrote:
> >> > >
> >> > > > I'm writing a T5.4 app from scratch rather than a migration.
> >> > > >
> >> > > > I keep getting this stack dump, I've taken out the got5
> dependency,
> >> but
> >> > > > still get much the same error.
> >> > > >
> >> > > > Any pointers to what this could be? I'm basing my code off the
> hotel
> >> > > > booking example.
> >> > > >
> >> > > > John
> >> > > >
> >> > > > HTTP ERROR 500
> >> > > >
> >> > > > Problem accessing /Context/. Reason:
> >> > > >
> >> > > >     INTERNAL_SERVER_ERROR
> >> > > >
> >> > > > Caused by:
> >> > > >
> >> > > > java.lang.AbstractMethodError
> >> > > >         at org.apache.tapestry5.internal.services.ajax.
> >> > > > JavaScriptSupportImpl.getModuleNameToStackName(
> >> > > JavaScriptSupportImpl.java:
> >> > > > 340)
> >> > > >         at org.apache.tapestry5.internal.services.ajax.
> >> > > > JavaScriptSupportImpl.findStackForModule(JavaScriptSupportIm
> >> pl.java:
> >> > 328)
> >> > > >         at org.apache.tapestry5.internal.services.ajax.
> >> > > > JavaScriptSupportImpl.require(JavaScriptSupportImpl.java:451)
> >> > > >         at $JavaScriptSupport_149ab64e3d59.require(Unknown
> Source)
> >> > > >         at $JavaScriptSupport_149ab64e3cc1.require(Unknown
> Source)
> >> > > >         at org.apache.tapestry5.internal.transform.ImportWorker$
> >> > > > ModuleImport.apply(ImportWorker.java:168)
> >> > > >         at org.apache.tapestry5.internal.
> transform.ImportWorker$5.
> >> > > > advise(ImportWorker.java:197)
> >> > > >         at org.apache.tapestry5.internal.plastic.
> >> > > AbstractMethodInvocation.
> >> > > > proceed(AbstractMethodInvocation.java:92)
> >> > > >         at org.apache.tapestry5.internal.
> transform.ImportWorker$8.
> >> > > > advise(ImportWorker.java:271)
> >> > > >         at org.apache.tapestry5.internal.plastic.
> >> > > AbstractMethodInvocation.
> >> > > > proceed(AbstractMethodInvocation.java:92)
> >> > > >         at org.apache.tapestry5.corelib.c
> >> omponents.ExceptionDisplay.
> >> > > > setupRender(ExceptionDisplay.java)
> >> > > >         at org.apache.tapestry5.internal.structure.
> >> > > > ComponentPageElementImpl$SetupRenderPhase.invokeComponent(
> >> > > > ComponentPageElementImpl.java:174)
> >> > > >         at org.apache.tapestry5.internal.structure.
> >> > > > ComponentPageElementImpl$AbstractPhase.invoke(
> >> > > > ComponentPageElementImpl.java:133)
> >> > > >         at org.apache.tapestry5.internal.structure.
> >> > > > ComponentPageElementImpl$SetupRenderPhase.render(
> >> > > > ComponentPageElementImpl.java:181)
> >> > > >         at org.apache.tapestry5.internal.
> >> services.RenderQueueImpl.run(
> >> > > > RenderQueueImpl.java:79)
> >> > > >         at org.apache.tapestry5.internal.
> >> services.PageRenderQueueImpl.
> >> > > > render(PageRenderQueueImpl.java:121)
> >> > > >         at $PageRenderQueue_149ab64e3d54.render(Unknown Source)
> >> > > >         at $PageRenderQueue_149ab64e3d53.render(Unknown Source)
> >> > > >         at org.apache.tapestry5.internal.services.
> >> > > > MarkupRendererTerminator.renderMarkup(MarkupRendererTerminat
> >> or.java:
> >> > 37)
> >> > > >         at org.got5.tapestry5.jquery.services.js.JSModule$1.
> >> > > > renderMarkup(JSModule.java:40)
> >> > > >         at $MarkupRenderer_149ab64e3d57.renderMarkup(Unknown
> >> Source)
> >> > > >         at org.apache.tapestry5.internal.
> >> > services.PageNameMetaInjector.
> >> > > > renderMarkup(PageNameMetaInjector.java:41)
> >> > > >         at $MarkupRenderer_149ab64e3d57.renderMarkup(Unknown
> >> Source)
> >> > > >         at org.apache.tapestry5.modules.TapestryModule$29.
> >> > > > renderMarkup(TapestryModule.java:1807)
> >> > > >
> >> > >
> >> >
> >>
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: exception on page render

Qbyte Consulting
Thanks, yes that's what I did. I was using jquery mobile and I had added
the css and js to the assets but not the images that the css refers to.

On Fri, Aug 12, 2016 at 7:02 PM, Chris Poulsen <[hidden email]>
wrote:

> It is being referenced from somewhere or you would not get the error...
>
> I would suggest starting from a working basis, like the t5 quickstart (
> http://tapestry.apache.org/getting-started.html ) and add one thing at the
> time ensuring that everything is working before moving on to next step.
>
> --
> Chris
>
> On Fri, Aug 12, 2016 at 6:35 PM, Qbyte Consulting <
> [hidden email]
> > wrote:
>
> > I resolved dependency conflicts and get to rendering a page but this pops
> > up, and it's not a resource I uses?
> >
> > *Render queue error in SetupRender[Index:layout]: Unable to locate asset
> > 'context:layout/images/icons-png/action-white.png' (the file does not
> > exist).*
> >
> > On Fri, Aug 12, 2016 at 3:16 PM, Qbyte Consulting <
> > [hidden email]
> > > wrote:
> >
> > > No I removed it. As I said, even after removing got5, I got a similar
> > > stack dump but minus mention of got 5. Sorry to confuse.
> > >
> > > On Fri, Aug 12, 2016 at 1:19 PM, Chris Poulsen <[hidden email]
> >
> > > wrote:
> > >
> > >> org.got5....is still in your stacktrace... So maybe you have a jar
> > >> lingering somewhere.
> > >>
> > >> --
> > >> Chris
> > >>
> > >> On Fri, Aug 12, 2016 at 2:02 PM, Qbyte Consulting <
> > >> [hidden email]
> > >> > wrote:
> > >>
> > >> > I've been copying code from here https://tapestry-app.apache.or
> > >> g/hotels/
> > >> > but with my own database and other project dependencies.
> > >> >
> > >> > On Fri, Aug 12, 2016 at 12:39 PM, Barry Books <[hidden email]>
> > wrote:
> > >> >
> > >> > > Which hotel booking app?
> > >> > >
> > >> > > On Thursday, August 11, 2016, Qbyte Consulting <
> > >> > [hidden email]>
> > >> > > wrote:
> > >> > >
> > >> > > > I'm writing a T5.4 app from scratch rather than a migration.
> > >> > > >
> > >> > > > I keep getting this stack dump, I've taken out the got5
> > dependency,
> > >> but
> > >> > > > still get much the same error.
> > >> > > >
> > >> > > > Any pointers to what this could be? I'm basing my code off the
> > hotel
> > >> > > > booking example.
> > >> > > >
> > >> > > > John
> > >> > > >
> > >> > > > HTTP ERROR 500
> > >> > > >
> > >> > > > Problem accessing /Context/. Reason:
> > >> > > >
> > >> > > >     INTERNAL_SERVER_ERROR
> > >> > > >
> > >> > > > Caused by:
> > >> > > >
> > >> > > > java.lang.AbstractMethodError
> > >> > > >         at org.apache.tapestry5.internal.services.ajax.
> > >> > > > JavaScriptSupportImpl.getModuleNameToStackName(
> > >> > > JavaScriptSupportImpl.java:
> > >> > > > 340)
> > >> > > >         at org.apache.tapestry5.internal.services.ajax.
> > >> > > > JavaScriptSupportImpl.findStackForModule(JavaScriptSupportIm
> > >> pl.java:
> > >> > 328)
> > >> > > >         at org.apache.tapestry5.internal.services.ajax.
> > >> > > > JavaScriptSupportImpl.require(JavaScriptSupportImpl.java:451)
> > >> > > >         at $JavaScriptSupport_149ab64e3d59.require(Unknown
> > Source)
> > >> > > >         at $JavaScriptSupport_149ab64e3cc1.require(Unknown
> > Source)
> > >> > > >         at org.apache.tapestry5.internal.
> transform.ImportWorker$
> > >> > > > ModuleImport.apply(ImportWorker.java:168)
> > >> > > >         at org.apache.tapestry5.internal.
> > transform.ImportWorker$5.
> > >> > > > advise(ImportWorker.java:197)
> > >> > > >         at org.apache.tapestry5.internal.plastic.
> > >> > > AbstractMethodInvocation.
> > >> > > > proceed(AbstractMethodInvocation.java:92)
> > >> > > >         at org.apache.tapestry5.internal.
> > transform.ImportWorker$8.
> > >> > > > advise(ImportWorker.java:271)
> > >> > > >         at org.apache.tapestry5.internal.plastic.
> > >> > > AbstractMethodInvocation.
> > >> > > > proceed(AbstractMethodInvocation.java:92)
> > >> > > >         at org.apache.tapestry5.corelib.c
> > >> omponents.ExceptionDisplay.
> > >> > > > setupRender(ExceptionDisplay.java)
> > >> > > >         at org.apache.tapestry5.internal.structure.
> > >> > > > ComponentPageElementImpl$SetupRenderPhase.invokeComponent(
> > >> > > > ComponentPageElementImpl.java:174)
> > >> > > >         at org.apache.tapestry5.internal.structure.
> > >> > > > ComponentPageElementImpl$AbstractPhase.invoke(
> > >> > > > ComponentPageElementImpl.java:133)
> > >> > > >         at org.apache.tapestry5.internal.structure.
> > >> > > > ComponentPageElementImpl$SetupRenderPhase.render(
> > >> > > > ComponentPageElementImpl.java:181)
> > >> > > >         at org.apache.tapestry5.internal.
> > >> services.RenderQueueImpl.run(
> > >> > > > RenderQueueImpl.java:79)
> > >> > > >         at org.apache.tapestry5.internal.
> > >> services.PageRenderQueueImpl.
> > >> > > > render(PageRenderQueueImpl.java:121)
> > >> > > >         at $PageRenderQueue_149ab64e3d54.render(Unknown Source)
> > >> > > >         at $PageRenderQueue_149ab64e3d53.render(Unknown Source)
> > >> > > >         at org.apache.tapestry5.internal.services.
> > >> > > > MarkupRendererTerminator.renderMarkup(MarkupRendererTerminat
> > >> or.java:
> > >> > 37)
> > >> > > >         at org.got5.tapestry5.jquery.services.js.JSModule$1.
> > >> > > > renderMarkup(JSModule.java:40)
> > >> > > >         at $MarkupRenderer_149ab64e3d57.renderMarkup(Unknown
> > >> Source)
> > >> > > >         at org.apache.tapestry5.internal.
> > >> > services.PageNameMetaInjector.
> > >> > > > renderMarkup(PageNameMetaInjector.java:41)
> > >> > > >         at $MarkupRenderer_149ab64e3d57.renderMarkup(Unknown
> > >> Source)
> > >> > > >         at org.apache.tapestry5.modules.TapestryModule$29.
> > >> > > > renderMarkup(TapestryModule.java:1807)
> > >> > > >
> > >> > >
> > >> >
> > >>
> > >
> > >
> >
>