You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2002/04/18 19:12:09 UTC
DO NOT REPLY [Bug 8268] New: -
ClassLoader can be null
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=8268>.
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=8268
ClassLoader can be null
Summary: ClassLoader can be null
Product: Velocity
Version: 1.2
Platform: All
OS/Version: Other
Status: NEW
Severity: Minor
Priority: Other
Component: Source
AssignedTo: velocity-dev@jakarta.apache.org
ReportedBy: hugg@pobox.com
(Actually 1.3-rc1 but Bugzilla has no entry for it)
RuntimeInstance.java line 291:
According to the docs, Class.getClassLoader() can return null.
(and it does when velocity.jar is put in the common/lib directory)
Maybe should use the static getResourceAsStream() instead.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>