Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 21002 invoked from network); 8 Mar 2004 21:02:35 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Mar 2004 21:02:35 -0000 Received: (qmail 75299 invoked by uid 500); 8 Mar 2004 21:02:20 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 75270 invoked by uid 500); 8 Mar 2004 21:02:20 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 75253 invoked from network); 8 Mar 2004 21:02:20 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 8 Mar 2004 21:02:20 -0000 Received: (qmail 23181 invoked by uid 50); 8 Mar 2004 21:02:55 -0000 Date: 8 Mar 2004 21:02:55 -0000 Message-ID: <20040308210255.23180.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@cocoon.apache.org Cc: Subject: DO NOT REPLY [Bug 27484] - NPE - Cocoon attempts to resolve input source incorrectly X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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).