cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31649] - [Patch] Flowscript: Switch to re-implementation of official Rhino
Date Wed, 20 Oct 2004 18:50:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31649>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31649

[Patch] Flowscript: Switch to re-implementation of official Rhino





------- Additional Comments From igor@fastmail.fm  2004-10-20 18:50 -------
I can reproduce the problem, but it is not caused by this.continuation being
null: this happens with both versions of Rhino. The real problem is clearly
visible from the full stack trace:

....
Caused by: java.lang.NullPointerException
	at
org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.getServiceManager(FOM_Cocoon.java:1472)
	at
org.apache.cocoon.components.flow.javascript.fom.FOM_WebContinuation.jsConstructor(FOM_WebContinuation.java:87)
	at inv114.invoke()
	at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:164)


which points to call to

    public ServiceManager getServiceManager() {
        return currentCall.serviceManager;
    }

in src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_Cocoon.java
with currentCall == null

The reason for currentCall to be null is that somehow FOM_WebContinuation.java
in jsConstructor gets FOM_Cocoon without pushed call. I will try to see reason
for that.

Mime
View raw message