You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Perkins, Nate-P63196" <Na...@gdc4s.com> on 2008/06/05 18:27:03 UTC
[Trinidad] polling problem with dialogs
I'm using 1.0.3 and I have 2 pages which both use the tr:poll on a main
page and which both launch dialogs of some sort. The first page uses
the 'normal' dialog setup of using an 'dialog:*' action and using a
LaunchEvent to populate the pageflow scope with any data I need. The
second page programmatically calls launchDialog().
In the first page, if I leave the dialog open and allow the tr:poll to
update the main page and then attempt to perform an action on the dialog
I get a NullPointerException. If I take the same steps with the second
page it works with no problems. Is this a known bug or is there a
recommended solution? Would an upgrade fix this?
Here's the exception:
Caused by: java.lang.NullPointerException
at
org.apache.myfaces.trinidadinternal.context.PageFlowScopeMap.discard(Pag
eFlowScopeMap.java:341)
at
org.apache.myfaces.trinidadinternal.context.PageFlowScopeProviderImpl.po
pPageFlowScope(PageFlowScopeProviderImpl.java:106)
at
org.apache.myfaces.trinidadinternal.context.RequestContextImpl.returnFro
mDialog(RequestContextImpl.java:125)
at
com.gdc4s.muos.nms.planning.chainofcmd.backing.ManageNodeBb.cancel(Manag
eNodeBb.java:281)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
... 37 more
Nate Perkins
General Dynamics C4 Systems
Re: [Trinidad] polling problem with dialogs
Posted by Richard Yee <ri...@gmail.com>.
Have you tested it with Trinidad 1.0.8 yet?
On 6/5/08, Perkins, Nate-P63196 <Na...@gdc4s.com> wrote:
>
> I'm using 1.0.3 and I have 2 pages which both use the tr:poll on a main
> page and which both launch dialogs of some sort. The first page uses the
> 'normal' dialog setup of using an 'dialog:*' action and using a LaunchEvent
> to populate the pageflow scope with any data I need. The second page
> programmatically calls launchDialog().
>
> In the first page, if I leave the dialog open and allow the tr:poll to
> update the main page and then attempt to perform an action on the dialog I
> get a NullPointerException. If I take the same steps with the second page
> it works with no problems. Is this a known bug or is there a recommended
> solution? Would an upgrade fix this?
>
> Here's the exception:
> Caused by: java.lang.NullPointerException
> at
> org.apache.myfaces.trinidadinternal.context.PageFlowScopeMap.discard(PageFlowScopeMap.java:341)
> at
> org.apache.myfaces.trinidadinternal.context.PageFlowScopeProviderImpl.popPageFlowScope(PageFlowScopeProviderImpl.java:106)
> at
> org.apache.myfaces.trinidadinternal.context.RequestContextImpl.returnFromDialog(RequestContextImpl.java:125)
> at
> com.gdc4s.muos.nms.planning.chainofcmd.backing.ManageNodeBb.cancel(ManageNodeBb.java:281)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
> ... 37 more
>
> Nate Perkins
> General Dynamics C4 Systems
>
RE: [Trinidad] polling problem with dialogs
Posted by "Perkins, Nate-P63196" <Na...@gdc4s.com>.
Pinging this thread. I'd appreciate a response, if I don't receive any
I suppose I will submit a JIRA for this issue.
Nate Perkins
General Dynamics C4 Systems
This email message is for the sole use of the intended recipient(s) and
may contain GDC4S
confidential or privileged information. Any unauthorized review, use,
disclosure or distribution
is prohibited. If you are not an intended recipient, please contact the
sender by reply email and
destroy all copies of the original message.
________________________________
From: Perkins, Nate-P63196 [mailto:Nate.Perkins@gdc4s.com]
Sent: Thursday, June 05, 2008 9:27 AM
To: users@myfaces.apache.org
Subject: [Trinidad] polling problem with dialogs
I'm using 1.0.3 and I have 2 pages which both use the tr:poll on a main
page and which both launch dialogs of some sort. The first page uses
the 'normal' dialog setup of using an 'dialog:*' action and using a
LaunchEvent to populate the pageflow scope with any data I need. The
second page programmatically calls launchDialog().
In the first page, if I leave the dialog open and allow the tr:poll to
update the main page and then attempt to perform an action on the dialog
I get a NullPointerException. If I take the same steps with the second
page it works with no problems. Is this a known bug or is there a
recommended solution? Would an upgrade fix this?
Here's the exception:
Caused by: java.lang.NullPointerException
at
org.apache.myfaces.trinidadinternal.context.PageFlowScopeMap.discard(Pag
eFlowScopeMap.java:341)
at
org.apache.myfaces.trinidadinternal.context.PageFlowScopeProviderImpl.po
pPageFlowScope(PageFlowScopeProviderImpl.java:106)
at
org.apache.myfaces.trinidadinternal.context.RequestContextImpl.returnFro
mDialog(RequestContextImpl.java:125)
at
com.gdc4s.muos.nms.planning.chainofcmd.backing.ManageNodeBb.cancel(Manag
eNodeBb.java:281)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
... 37 more
Nate Perkins
General Dynamics C4 Systems