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 27484] - NPE - Cocoon attempts to resolve input source incorrectly
Date Mon, 08 Mar 2004 21:02:55 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=27484>.
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=27484

NPE - Cocoon attempts to resolve input source incorrectly





------- Additional Comments From peter.hunsberger@stjude.org  2004-03-08 21:02 -------
The problem occurs when the flowscript attempts to load and use a package 
using code like:

        var handler = Packages.org.stjude.ct.ui.login.LoginHandler();
        logonOk = handler.logon( cocoon );

If running expanded we see that the compile method in CompilingClassLoader 
attempts to compile:

    org
    org.stjude
    org.stjude.ct
    org.stjude.ct.ui
    org.stjude.ct.ui.login

sequentially.  Forcing this method to always throw a "ClassNotFound" exception 
allows the code to work normally (at the expense of disabling the ability to 
dynamically compile Java classes for the flow).

Mime
View raw message