You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by riccaruf <ri...@mapsengineering.com> on 2008/02/27 18:28:46 UTC
t5 beaneditor vm lock
Hi everybody,
I'm trying to submit a t5 form that contain a component build on a t5 grid
modification
<div class="t-data-grid"
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
<t:if t:test="filtred" negate="false">
<table>
<tr>
<td>
<t:beaneditor t:object="gridModel.filterObject">
</t:beaneditor>
</td>
<td>
<div t:MyLinkableImage
t:iconPathKey="literal:ico_search"
t:linkType="submit"
t:id="filter"
/>
</td>
</tr>
</table>
</t:if>
<div t:id="pagerTop"/>
<div t:id="gtb"
t:type="MyGridToolbar"
t:source="prop:toolbarModel"
/>
<table cellspacing="0" class="t-data-grid" name="SailingTable">
<thead t:id="columns"/>
<tbody>
<tr t:id="rows"/>
</tbody>
</table>
<div t:id="pagerBottom"/>
<t:block>
<div t:id="pager"/>
</t:block>
<t:block id="empty"> There is no data to display. </t:block>
</div>
I'd like to use bean editor to create dinamically the components to filter
the grid contents.
And I'd like to associate this filter at my grid component.
the gridModel.filterObject is initialized on the beginRender in this way
gridModel.setFilterObject(_model.getBeanType().newInstance());
model il the BeanEdit model parameter of the grid component.
In that way t5 creates the components correctly but on form submit
booom the virtual machine crash.
Any ideas ?
Many thanks!
-Rick
--
View this message in context: http://www.nabble.com/t5-beaneditor-vm-lock-tp15718288p15718288.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: t5 beaneditor vm lock
Posted by Riccardo Ruffilli <ri...@mapsengineering.com>.
never mind... I'm going to try out a workaround for this and
if I'll find something interesting I'll post it here.
Thanks Horward and many compliments for your great job.
-Rick
Howard Lewis Ship wrote:
>
> I've seen this a couple of times just now; the debugger is having some
> trouble with instrumented code. I can pass the buck and blame
> Javassist, but that doesn't give you an answser.
>
>
> On Thu, Feb 28, 2008 at 12:31 AM, riccaruf
> <ri...@mapsengineering.com> wrote:
>>
>> sorry Howard and thanks for your reply! I've changed my post with the
>> stack
>> trace but something was wrong and It was not be published..
>> here it is...
>>
>> [ERROR] RequestExceptionHandler Processing of request failed with
>> uncaught
>> exception: org.apache.tapestry.runtime.ComponentEventException
>> org.apache.tapestry.runtime.ComponentEventException [at
>>
>> classpath:it/sailingweb/framework/web/components/template/componenti/componentigenerici/SailingForm.tml,
>> line 4, column 72]
>> at
>>
>> org.apache.tapestry.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1021)
>> at
>>
>> org.apache.tapestry.internal.services.ComponentEventRequestHandlerImpl.handle(ComponentEventRequestHandlerImpl.java:62)
>> at
>>
>> org.apache.tapestry.internal.services.ImmediateActionRenderResponseFilter.handle(ImmediateActionRenderResponseFilter.java:42)
>> at
>>
>> $ComponentEventRequestHandler_1185f22f59f.handle($ComponentEventRequestHandler_1185f22f59f.java)
>> at
>>
>> org.apache.tapestry.internal.services.AjaxFilter.handle(AjaxFilter.java:42)
>> at
>>
>> $ComponentEventRequestHandler_1185f22f59f.handle($ComponentEventRequestHandler_1185f22f59f.java)
>> at
>>
>> org.apache.tapestry.services.TapestryModule$39.handle(TapestryModule.java:2073)
>> at
>>
>> $ComponentEventRequestHandler_1185f22f59f.handle($ComponentEventRequestHandler_1185f22f59f.java)
>> at
>>
>> $ComponentEventRequestHandler_1185f22f47e.handle($ComponentEventRequestHandler_1185f22f47e.java)
>> at
>>
>> org.apache.tapestry.internal.services.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:131)
>> at $Dispatcher_1185f22f480.dispatch($Dispatcher_1185f22f480.java)
>> at $Dispatcher_1185f22f473.dispatch($Dispatcher_1185f22f473.java)
>> at
>>
>> org.apache.tapestry.services.TapestryModule$13.service(TapestryModule.java:911)
>> at
>>
>> org.apache.tapestry.internal.services.LocalizationFilter.service(LocalizationFilter.java:43)
>> at
>> $RequestHandler_1185f22f474.service($RequestHandler_1185f22f474.java)
>> at
>>
>> org.apache.tapestry.services.TapestryModule$3.service(TapestryModule.java:529)
>> at
>> $RequestHandler_1185f22f474.service($RequestHandler_1185f22f474.java)
>> at
>>
>> org.apache.tapestry.services.TapestryModule$2.service(TapestryModule.java:504)
>> at
>> $RequestHandler_1185f22f474.service($RequestHandler_1185f22f474.java)
>> at
>>
>> org.apache.tapestry.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:79)
>> at
>> $RequestHandler_1185f22f474.service($RequestHandler_1185f22f474.java)
>> at
>>
>> org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:93)
>> at
>>
>> org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:1)
>> at
>>
>> org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:77)
>> at
>>
>> org.apache.tapestry.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:106)
>> at
>> $RequestHandler_1185f22f474.service($RequestHandler_1185f22f474.java)
>> at
>> $RequestHandler_1185f22f46c.service($RequestHandler_1185f22f46c.java)
>> at
>>
>> org.apache.tapestry.services.TapestryModule$12.service(TapestryModule.java:891)
>> at
>>
>> org.apache.tapestry.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
>> at
>>
>> $HttpServletRequestFilter_1185f22f46b.service($HttpServletRequestFilter_1185f22f46b.java)
>> at
>>
>> $HttpServletRequestHandler_1185f22f46d.service($HttpServletRequestHandler_1185f22f46d.java)
>> at
>>
>> $HttpServletRequestHandler_1185f22f46a.service($HttpServletRequestHandler_1185f22f46a.java)
>> at
>> org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:164)
>> at
>>
>> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
>> at
>>
>> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
>> at
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>> at
>>
>> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
>> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>> at
>> org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
>> at
>> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
>> at
>> org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
>> at
>>
>> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
>> at
>> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>> at
>> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>> Caused by: org.apache.tapestry.ioc.internal.util.TapestryException [at
>> classpath:org/apache/tapestry/corelib/components/BeanEditor.tml, line 3,
>> column 44]
>> at
>> org.apache.tapestry.corelib.components.Form.onAction(Form.java:351)
>> at
>>
>> org.apache.tapestry.corelib.components.Form.dispatchComponentEvent(Form.java)
>> at
>>
>> org.apache.tapestry.internal.structure.ComponentPageElementImpl.dispatchEvent(ComponentPageElementImpl.java:851)
>> at
>>
>> org.apache.tapestry.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1004)
>> ... 45 more
>> Caused by: java.util.NoSuchElementException
>> at java.util.AbstractList$Itr.next(AbstractList.java:427)
>> at
>>
>> org.apache.tapestry.corelib.components.Loop.advanceVolatile(Loop.java:264)
>> at
>> org.apache.tapestry.corelib.components.Loop.access$2(Loop.java:262)
>> at
>> org.apache.tapestry.corelib.components.Loop$3.execute(Loop.java:80)
>> at
>> org.apache.tapestry.corelib.components.Loop$3.execute(Loop.java:1)
>> at
>> org.apache.tapestry.corelib.components.Form.onAction(Form.java:338)
>> ... 48 more
>>
>>
>> where
>>
>> it/sailingweb/framework/web/components/template/componenti/componentigenerici/SailingForm,
>>
>> it's a wrapper component for the t5 form
>>
>> and the vm crashes only in debug mode...
>>
>> many thanks.
>>
>> -Rick
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Howard Lewis Ship wrote:
>> >
>> > You don't have a stack trace?
>> >
>> > On Wed, Feb 27, 2008 at 9:28 AM, riccaruf
>> > <ri...@mapsengineering.com> wrote:
>> >>
>> >> Hi everybody,
>> >> I'm trying to submit a t5 form that contain a component build on a
>> t5
>> >> grid
>> >> modification
>> >>
>> >> <div class="t-data-grid"
>> >> xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
>> >>
>> >> <t:if t:test="filtred" negate="false">
>> >> <table>
>> >> <tr>
>> >> <td>
>> >> <t:beaneditor
>> >> t:object="gridModel.filterObject">
>> >> </t:beaneditor>
>> >> </td>
>> >> <td>
>> >> <div
>> t:MyLinkableImage
>> >>
>> >> t:iconPathKey="literal:ico_search"
>> >>
>> >> t:linkType="submit"
>> >>
>> t:id="filter"
>> >> />
>> >> </td>
>> >>
>> >> </tr>
>> >>
>> >> </table>
>> >> </t:if>
>> >>
>> >>
>> >> <div t:id="pagerTop"/>
>> >>
>> >> <div t:id="gtb"
>> >> t:type="MyGridToolbar"
>> >> t:source="prop:toolbarModel"
>> >> />
>> >>
>> >> <table cellspacing="0" class="t-data-grid"
>> name="SailingTable">
>> >> <thead t:id="columns"/>
>> >> <tbody>
>> >>
>> >> <tr t:id="rows"/>
>> >> </tbody>
>> >> </table>
>> >>
>> >> <div t:id="pagerBottom"/>
>> >>
>> >> <t:block>
>> >> <div t:id="pager"/>
>> >> </t:block>
>> >>
>> >> <t:block id="empty"> There is no data to display. </t:block>
>> >> </div>
>> >>
>> >>
>> >> I'd like to use bean editor to create dinamically the components to
>> >> filter
>> >> the grid contents.
>> >> And I'd like to associate this filter at my grid component.
>> >>
>> >> the gridModel.filterObject is initialized on the beginRender in this
>> way
>> >>
>> >> gridModel.setFilterObject(_model.getBeanType().newInstance());
>> >>
>> >> model il the BeanEdit model parameter of the grid component.
>> >>
>> >>
>> >> In that way t5 creates the components correctly but on form submit
>> >> booom the virtual machine crash.
>> >> Any ideas ?
>> >>
>> >> Many thanks!
>> >>
>> >> -Rick
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/t5-beaneditor-vm-lock-tp15718288p15718288.html
>> >> Sent from the Tapestry - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> >> For additional commands, e-mail: users-help@tapestry.apache.org
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Howard M. Lewis Ship
>> >
>> > Creator Apache Tapestry and Apache HiveMind
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> > For additional commands, e-mail: users-help@tapestry.apache.org
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/t5-beaneditor-vm-lock-tp15718288p15731844.html
>>
>>
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/t5-beaneditor-vm-lock-tp15718288p15755741.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: t5 beaneditor vm lock
Posted by Howard Lewis Ship <hl...@gmail.com>.
I've seen this a couple of times just now; the debugger is having some
trouble with instrumented code. I can pass the buck and blame
Javassist, but that doesn't give you an answser.
On Thu, Feb 28, 2008 at 12:31 AM, riccaruf
<ri...@mapsengineering.com> wrote:
>
> sorry Howard and thanks for your reply! I've changed my post with the stack
> trace but something was wrong and It was not be published..
> here it is...
>
> [ERROR] RequestExceptionHandler Processing of request failed with uncaught
> exception: org.apache.tapestry.runtime.ComponentEventException
> org.apache.tapestry.runtime.ComponentEventException [at
> classpath:it/sailingweb/framework/web/components/template/componenti/componentigenerici/SailingForm.tml,
> line 4, column 72]
> at
> org.apache.tapestry.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1021)
> at
> org.apache.tapestry.internal.services.ComponentEventRequestHandlerImpl.handle(ComponentEventRequestHandlerImpl.java:62)
> at
> org.apache.tapestry.internal.services.ImmediateActionRenderResponseFilter.handle(ImmediateActionRenderResponseFilter.java:42)
> at
> $ComponentEventRequestHandler_1185f22f59f.handle($ComponentEventRequestHandler_1185f22f59f.java)
> at
> org.apache.tapestry.internal.services.AjaxFilter.handle(AjaxFilter.java:42)
> at
> $ComponentEventRequestHandler_1185f22f59f.handle($ComponentEventRequestHandler_1185f22f59f.java)
> at
> org.apache.tapestry.services.TapestryModule$39.handle(TapestryModule.java:2073)
> at
> $ComponentEventRequestHandler_1185f22f59f.handle($ComponentEventRequestHandler_1185f22f59f.java)
> at
> $ComponentEventRequestHandler_1185f22f47e.handle($ComponentEventRequestHandler_1185f22f47e.java)
> at
> org.apache.tapestry.internal.services.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:131)
> at $Dispatcher_1185f22f480.dispatch($Dispatcher_1185f22f480.java)
> at $Dispatcher_1185f22f473.dispatch($Dispatcher_1185f22f473.java)
> at
> org.apache.tapestry.services.TapestryModule$13.service(TapestryModule.java:911)
> at
> org.apache.tapestry.internal.services.LocalizationFilter.service(LocalizationFilter.java:43)
> at $RequestHandler_1185f22f474.service($RequestHandler_1185f22f474.java)
> at
> org.apache.tapestry.services.TapestryModule$3.service(TapestryModule.java:529)
> at $RequestHandler_1185f22f474.service($RequestHandler_1185f22f474.java)
> at
> org.apache.tapestry.services.TapestryModule$2.service(TapestryModule.java:504)
> at $RequestHandler_1185f22f474.service($RequestHandler_1185f22f474.java)
> at
> org.apache.tapestry.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:79)
> at $RequestHandler_1185f22f474.service($RequestHandler_1185f22f474.java)
> at
> org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:93)
> at
> org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:1)
> at
> org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:77)
> at
> org.apache.tapestry.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:106)
> at $RequestHandler_1185f22f474.service($RequestHandler_1185f22f474.java)
> at $RequestHandler_1185f22f46c.service($RequestHandler_1185f22f46c.java)
> at
> org.apache.tapestry.services.TapestryModule$12.service(TapestryModule.java:891)
> at
> org.apache.tapestry.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
> at
> $HttpServletRequestFilter_1185f22f46b.service($HttpServletRequestFilter_1185f22f46b.java)
> at
> $HttpServletRequestHandler_1185f22f46d.service($HttpServletRequestHandler_1185f22f46d.java)
> at
> $HttpServletRequestHandler_1185f22f46a.service($HttpServletRequestHandler_1185f22f46a.java)
> at org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:164)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
> at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
> Caused by: org.apache.tapestry.ioc.internal.util.TapestryException [at
> classpath:org/apache/tapestry/corelib/components/BeanEditor.tml, line 3,
> column 44]
> at org.apache.tapestry.corelib.components.Form.onAction(Form.java:351)
> at
> org.apache.tapestry.corelib.components.Form.dispatchComponentEvent(Form.java)
> at
> org.apache.tapestry.internal.structure.ComponentPageElementImpl.dispatchEvent(ComponentPageElementImpl.java:851)
> at
> org.apache.tapestry.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1004)
> ... 45 more
> Caused by: java.util.NoSuchElementException
> at java.util.AbstractList$Itr.next(AbstractList.java:427)
> at
> org.apache.tapestry.corelib.components.Loop.advanceVolatile(Loop.java:264)
> at org.apache.tapestry.corelib.components.Loop.access$2(Loop.java:262)
> at org.apache.tapestry.corelib.components.Loop$3.execute(Loop.java:80)
> at org.apache.tapestry.corelib.components.Loop$3.execute(Loop.java:1)
> at org.apache.tapestry.corelib.components.Form.onAction(Form.java:338)
> ... 48 more
>
>
> where
> it/sailingweb/framework/web/components/template/componenti/componentigenerici/SailingForm,
>
> it's a wrapper component for the t5 form
>
> and the vm crashes only in debug mode...
>
> many thanks.
>
> -Rick
>
>
>
>
>
>
>
>
>
> Howard Lewis Ship wrote:
> >
> > You don't have a stack trace?
> >
> > On Wed, Feb 27, 2008 at 9:28 AM, riccaruf
> > <ri...@mapsengineering.com> wrote:
> >>
> >> Hi everybody,
> >> I'm trying to submit a t5 form that contain a component build on a t5
> >> grid
> >> modification
> >>
> >> <div class="t-data-grid"
> >> xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
> >>
> >> <t:if t:test="filtred" negate="false">
> >> <table>
> >> <tr>
> >> <td>
> >> <t:beaneditor
> >> t:object="gridModel.filterObject">
> >> </t:beaneditor>
> >> </td>
> >> <td>
> >> <div t:MyLinkableImage
> >>
> >> t:iconPathKey="literal:ico_search"
> >>
> >> t:linkType="submit"
> >> t:id="filter"
> >> />
> >> </td>
> >>
> >> </tr>
> >>
> >> </table>
> >> </t:if>
> >>
> >>
> >> <div t:id="pagerTop"/>
> >>
> >> <div t:id="gtb"
> >> t:type="MyGridToolbar"
> >> t:source="prop:toolbarModel"
> >> />
> >>
> >> <table cellspacing="0" class="t-data-grid" name="SailingTable">
> >> <thead t:id="columns"/>
> >> <tbody>
> >>
> >> <tr t:id="rows"/>
> >> </tbody>
> >> </table>
> >>
> >> <div t:id="pagerBottom"/>
> >>
> >> <t:block>
> >> <div t:id="pager"/>
> >> </t:block>
> >>
> >> <t:block id="empty"> There is no data to display. </t:block>
> >> </div>
> >>
> >>
> >> I'd like to use bean editor to create dinamically the components to
> >> filter
> >> the grid contents.
> >> And I'd like to associate this filter at my grid component.
> >>
> >> the gridModel.filterObject is initialized on the beginRender in this way
> >>
> >> gridModel.setFilterObject(_model.getBeanType().newInstance());
> >>
> >> model il the BeanEdit model parameter of the grid component.
> >>
> >>
> >> In that way t5 creates the components correctly but on form submit
> >> booom the virtual machine crash.
> >> Any ideas ?
> >>
> >> Many thanks!
> >>
> >> -Rick
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/t5-beaneditor-vm-lock-tp15718288p15718288.html
> >> Sent from the Tapestry - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> >> For additional commands, e-mail: users-help@tapestry.apache.org
> >>
> >>
> >
> >
> >
> > --
> > Howard M. Lewis Ship
> >
> > Creator Apache Tapestry and Apache HiveMind
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/t5-beaneditor-vm-lock-tp15718288p15731844.html
>
>
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Howard M. Lewis Ship
Creator Apache Tapestry and Apache HiveMind
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: t5 beaneditor vm lock
Posted by riccaruf <ri...@mapsengineering.com>.
sorry Howard and thanks for your reply! I've changed my post with the stack
trace but something was wrong and It was not be published..
here it is...
[ERROR] RequestExceptionHandler Processing of request failed with uncaught
exception: org.apache.tapestry.runtime.ComponentEventException
org.apache.tapestry.runtime.ComponentEventException [at
classpath:it/sailingweb/framework/web/components/template/componenti/componentigenerici/SailingForm.tml,
line 4, column 72]
at
org.apache.tapestry.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1021)
at
org.apache.tapestry.internal.services.ComponentEventRequestHandlerImpl.handle(ComponentEventRequestHandlerImpl.java:62)
at
org.apache.tapestry.internal.services.ImmediateActionRenderResponseFilter.handle(ImmediateActionRenderResponseFilter.java:42)
at
$ComponentEventRequestHandler_1185f22f59f.handle($ComponentEventRequestHandler_1185f22f59f.java)
at
org.apache.tapestry.internal.services.AjaxFilter.handle(AjaxFilter.java:42)
at
$ComponentEventRequestHandler_1185f22f59f.handle($ComponentEventRequestHandler_1185f22f59f.java)
at
org.apache.tapestry.services.TapestryModule$39.handle(TapestryModule.java:2073)
at
$ComponentEventRequestHandler_1185f22f59f.handle($ComponentEventRequestHandler_1185f22f59f.java)
at
$ComponentEventRequestHandler_1185f22f47e.handle($ComponentEventRequestHandler_1185f22f47e.java)
at
org.apache.tapestry.internal.services.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:131)
at $Dispatcher_1185f22f480.dispatch($Dispatcher_1185f22f480.java)
at $Dispatcher_1185f22f473.dispatch($Dispatcher_1185f22f473.java)
at
org.apache.tapestry.services.TapestryModule$13.service(TapestryModule.java:911)
at
org.apache.tapestry.internal.services.LocalizationFilter.service(LocalizationFilter.java:43)
at $RequestHandler_1185f22f474.service($RequestHandler_1185f22f474.java)
at
org.apache.tapestry.services.TapestryModule$3.service(TapestryModule.java:529)
at $RequestHandler_1185f22f474.service($RequestHandler_1185f22f474.java)
at
org.apache.tapestry.services.TapestryModule$2.service(TapestryModule.java:504)
at $RequestHandler_1185f22f474.service($RequestHandler_1185f22f474.java)
at
org.apache.tapestry.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:79)
at $RequestHandler_1185f22f474.service($RequestHandler_1185f22f474.java)
at
org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:93)
at
org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:1)
at
org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:77)
at
org.apache.tapestry.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:106)
at $RequestHandler_1185f22f474.service($RequestHandler_1185f22f474.java)
at $RequestHandler_1185f22f46c.service($RequestHandler_1185f22f46c.java)
at
org.apache.tapestry.services.TapestryModule$12.service(TapestryModule.java:891)
at
org.apache.tapestry.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
at
$HttpServletRequestFilter_1185f22f46b.service($HttpServletRequestFilter_1185f22f46b.java)
at
$HttpServletRequestHandler_1185f22f46d.service($HttpServletRequestHandler_1185f22f46d.java)
at
$HttpServletRequestHandler_1185f22f46a.service($HttpServletRequestHandler_1185f22f46a.java)
at org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:164)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: org.apache.tapestry.ioc.internal.util.TapestryException [at
classpath:org/apache/tapestry/corelib/components/BeanEditor.tml, line 3,
column 44]
at org.apache.tapestry.corelib.components.Form.onAction(Form.java:351)
at
org.apache.tapestry.corelib.components.Form.dispatchComponentEvent(Form.java)
at
org.apache.tapestry.internal.structure.ComponentPageElementImpl.dispatchEvent(ComponentPageElementImpl.java:851)
at
org.apache.tapestry.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1004)
... 45 more
Caused by: java.util.NoSuchElementException
at java.util.AbstractList$Itr.next(AbstractList.java:427)
at
org.apache.tapestry.corelib.components.Loop.advanceVolatile(Loop.java:264)
at org.apache.tapestry.corelib.components.Loop.access$2(Loop.java:262)
at org.apache.tapestry.corelib.components.Loop$3.execute(Loop.java:80)
at org.apache.tapestry.corelib.components.Loop$3.execute(Loop.java:1)
at org.apache.tapestry.corelib.components.Form.onAction(Form.java:338)
... 48 more
where
it/sailingweb/framework/web/components/template/componenti/componentigenerici/SailingForm,
it's a wrapper component for the t5 form
and the vm crashes only in debug mode...
many thanks.
-Rick
Howard Lewis Ship wrote:
>
> You don't have a stack trace?
>
> On Wed, Feb 27, 2008 at 9:28 AM, riccaruf
> <ri...@mapsengineering.com> wrote:
>>
>> Hi everybody,
>> I'm trying to submit a t5 form that contain a component build on a t5
>> grid
>> modification
>>
>> <div class="t-data-grid"
>> xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
>>
>> <t:if t:test="filtred" negate="false">
>> <table>
>> <tr>
>> <td>
>> <t:beaneditor
>> t:object="gridModel.filterObject">
>> </t:beaneditor>
>> </td>
>> <td>
>> <div t:MyLinkableImage
>>
>> t:iconPathKey="literal:ico_search"
>>
>> t:linkType="submit"
>> t:id="filter"
>> />
>> </td>
>>
>> </tr>
>>
>> </table>
>> </t:if>
>>
>>
>> <div t:id="pagerTop"/>
>>
>> <div t:id="gtb"
>> t:type="MyGridToolbar"
>> t:source="prop:toolbarModel"
>> />
>>
>> <table cellspacing="0" class="t-data-grid" name="SailingTable">
>> <thead t:id="columns"/>
>> <tbody>
>>
>> <tr t:id="rows"/>
>> </tbody>
>> </table>
>>
>> <div t:id="pagerBottom"/>
>>
>> <t:block>
>> <div t:id="pager"/>
>> </t:block>
>>
>> <t:block id="empty"> There is no data to display. </t:block>
>> </div>
>>
>>
>> I'd like to use bean editor to create dinamically the components to
>> filter
>> the grid contents.
>> And I'd like to associate this filter at my grid component.
>>
>> the gridModel.filterObject is initialized on the beginRender in this way
>>
>> gridModel.setFilterObject(_model.getBeanType().newInstance());
>>
>> model il the BeanEdit model parameter of the grid component.
>>
>>
>> In that way t5 creates the components correctly but on form submit
>> booom the virtual machine crash.
>> Any ideas ?
>>
>> Many thanks!
>>
>> -Rick
>>
>>
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/t5-beaneditor-vm-lock-tp15718288p15718288.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/t5-beaneditor-vm-lock-tp15718288p15731844.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: t5 beaneditor vm lock
Posted by Howard Lewis Ship <hl...@gmail.com>.
You don't have a stack trace?
On Wed, Feb 27, 2008 at 9:28 AM, riccaruf
<ri...@mapsengineering.com> wrote:
>
> Hi everybody,
> I'm trying to submit a t5 form that contain a component build on a t5 grid
> modification
>
> <div class="t-data-grid"
> xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
>
> <t:if t:test="filtred" negate="false">
> <table>
> <tr>
> <td>
> <t:beaneditor t:object="gridModel.filterObject">
> </t:beaneditor>
> </td>
> <td>
> <div t:MyLinkableImage
> t:iconPathKey="literal:ico_search"
> t:linkType="submit"
> t:id="filter"
> />
> </td>
>
> </tr>
>
> </table>
> </t:if>
>
>
> <div t:id="pagerTop"/>
>
> <div t:id="gtb"
> t:type="MyGridToolbar"
> t:source="prop:toolbarModel"
> />
>
> <table cellspacing="0" class="t-data-grid" name="SailingTable">
> <thead t:id="columns"/>
> <tbody>
>
> <tr t:id="rows"/>
> </tbody>
> </table>
>
> <div t:id="pagerBottom"/>
>
> <t:block>
> <div t:id="pager"/>
> </t:block>
>
> <t:block id="empty"> There is no data to display. </t:block>
> </div>
>
>
> I'd like to use bean editor to create dinamically the components to filter
> the grid contents.
> And I'd like to associate this filter at my grid component.
>
> the gridModel.filterObject is initialized on the beginRender in this way
>
> gridModel.setFilterObject(_model.getBeanType().newInstance());
>
> model il the BeanEdit model parameter of the grid component.
>
>
> In that way t5 creates the components correctly but on form submit
> booom the virtual machine crash.
> Any ideas ?
>
> Many thanks!
>
> -Rick
>
>
>
>
>
>
>
> --
> View this message in context: http://www.nabble.com/t5-beaneditor-vm-lock-tp15718288p15718288.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Howard M. Lewis Ship
Creator Apache Tapestry and Apache HiveMind
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org