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=7639>. 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=7639 init( {java.util.Properties} ) fails to set Velocity & VelocityEngine properties Summary: init( {java.util.Properties} ) fails to set Velocity & VelocityEngine properties Product: Velocity Version: 1.2 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Source AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] On 1.2 and 1.3rc-1 in Tomcat4 using JDK1.4 in a servlet, trying to call Velocity.init and VelocityEngine.init with a Properties object as a parameter causes the following symptom when getTemplate is called called: org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'example.vm' AFAIK, in 1.2 this happens as VelocityEngine.init() calls RuntimeInstance.init() calls RuntimeInstance.initializeProperties() and fails to find any resourceloaders and generates NullPointerException. Template.getTemplate then can't find a resourceloader to load the template. Haven't follwed up with 1.3rc-1 as of yet. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
