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=4388>. 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=4388 Nullpointer exception in the construction of new Driver() Summary: Nullpointer exception in the construction of new Driver() Product: Fop Version: all Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: general AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I've cross-checked the source code for fop version 0.20.1 and came across the following bug: when constructing a new org.apache.fop.apps.Driver(), one comes finally across the Service class within the same source file. This class uses the classloader of a class that comes in as a parameter to search for additional services by ClassLoader cl = cls.getClassLoader(). The java doc of Class.getClassLoader() states however that this method can return null in case the class at hand is loaded by the bootstrap class loader (which is the case in the way we run our applications). All of this results in the aforementioned NullPointer when retrieving the resources by ClassLoader.getResources(String) at line 540 in the sourcecode for Driver.java of version 0.20.1. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
