DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9138>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9138 NullPointerException in AntClassLoader Summary: NullPointerException in AntClassLoader Product: Ant Version: 1.5Beta1 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I encountered this Exception under the following conditions I'm using JDE 2.2.9 for emacs and use the bean-scripting-framework to start ant. BSF loads the ant classes once on startup and never reloads them during the Emacs-Session. When I start org.apache.tools.ant.Main to execute a non-forked java task I get the following Exception: java.lang.NullPointerException at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1052) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1030) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:925) at java.lang.ClassLoader.loadClass(ClassLoader.java:262) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322) at org.rapla.gui.components.calendar.DaySelection.calculateSizes(DaySelection.java:87) I can't reproduce the excpetion with a simple demonstration-application. But I found out, that it has something todo with the cleanup() method of AntClassLoader. An instance of AntClassLoader gets reused after the cleanup() method is called and pathComponent=null. I emptied the cleanup() method for testing and everything worked fine. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
