« Return to Thread: Continuation sadness

Continuation sadness

by Patrick Lightbody-3 :: Rate this Message:

Reply to Author | View in Thread

Getting these errors in my WebWork action when using continuations:

com.uwyn.rife.continuations.exceptions.LocalVariableUncloneableException
: The implementation  
'com.autoriginate.litmus.action.IntroduceMacroAction' uses a local  
method variable of type 'java.util.AbstractList$Itr' which is not  
cloneable.

I believe it is coming from this particular line:

for (long id : commandIds) {

Though I can't be sure.

Is there any way to deal with uncloneable variables? Perhaps we can  
introduce an interface that indicates that the continuation support  
shouldn't "remember" multiple states, allowing RIFE/Continuations to  
simply use the original variable rather than clone it?

Patrick

_______________________________________________
Rife-devel mailing list
Rife-devel@...
http://lists.uwyn.com/mailman/listinfo/rife-devel

 « Return to Thread: Continuation sadness

LightInTheBox - Buy quality products at wholesale price
 
 
 
Google
rifers.org web