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

Reply via email to