Here is the output if you uncomment the line thread.test(): ----- Exception in thread "main" java.lang.NullPointerException at org.apache.commons.javaflow.Continuation.getContext (Continuation.java:73) at Test.test(javaflowTest.java:11) at javaflowTest.main(javaflowTest.java:23) -----
...because the "getContext" only works when you have a thread mapping. This mapping only exists when the runnable is executed by startWith/continueWith. It's not intended that you call such a "special" runnable directly. I'll fix the NPE by throwing a more expressive exception. cheers -- Torsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]