You might try bumping up the token cache.

    <context-param>
       
<param-name>org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS</param-name>
       <param-value>500</param-value>
    </context-param>
 
Gary

-------------- Original message ----------------------
From: "Perkins, Nate-P63196" <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED] 
> Sent: Thursday, June 05, 2008 9:27 AM
> To: [email protected]
> 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 
> 
> 


--- Begin Message ---
Title: [Trinidad] polling problem with dialogs
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:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2008 9:27 AM
To: [email protected]
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(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


--- End Message ---

Reply via email to