cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DAVIGNON Andre - CETE NP/DIODé/PANDOC" <Andre.Davig...@developpement-durable.gouv.fr>
Subject Re: Cocoon 2.1.11: Classcast when calling a continuation twice, Help !
Date Tue, 29 Jul 2008 11:33:42 GMT
Hi,

I upgraded a cocoon app with continuations from 2.1.8 to 2.1.11 without 
this kind of problem.

Regards.

André


Le 29/07/2008 13:29, > Laurent Medioni (par Internet, dépôt 
users-return-95911-andre.davignon=developpement-durable.gouv.fr@cocoon.apache.org) 
a écrit  :
> Hello,
> Another one when migrating from 2.1.5 to 2.1.11...
> 
> When a continuation is requested for the first time: it works well.
> 
> When a continuation is requested for the second time:
> error calling continuation
> Caused by: java.lang.NullPointerException
> 	at
> org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.getObjectMod
> el(FOM_Cocoon.java:663)
> 	at
> org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.popCallConte
> xt(FOM_Cocoon.java:239)
> 	at
> org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpret
> er.handleContinuation(FOM_JavaScriptInterpreter.java:852)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invo
> ke(CallFunctionNode.java:124)
> 	... 27 more
> 
> After debugging a bit in FOM_WebContinuation it appears that I have a
> ClassCast in getPageLocal because wk.getUserObject() returns a
> LinkedList and not a UserObject...
> 
> I am sure someone else would have noticed if continuations were broken
> in 2.1.11 so I must have something wrong...
> 
> Anybody having working continuations with 2.1.11 ?
> 
> Thanks,
> Laurent
> 
> ____________________________________________________________
> 
> • This email and any files transmitted with it are CONFIDENTIAL and intended
>   solely for the use of the individual or entity to which they are addressed.
> • Any unauthorized copying, disclosure, or distribution of the material within
>   this email is strictly forbidden.
> • Any views or opinions presented within this e-mail are solely those of the
>   author and do not necessarily represent those of Odyssey Financial
> Technologies SA unless otherwise specifically stated.
> • An electronic message is not binding on its sender. Any message referring to
>   a binding engagement must be confirmed in writing and duly signed.
> • If you have received this email in error, please notify the sender immediately
>   and delete the original.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message