Details
-
Bug
-
Resolution: Won't Fix
-
Medium
-
None
-
2.3.3, 2.5.5
-
None
-
Solaris on Sparc and Intel, Mac OS X
Description
I have a plugin that render a number of pages on system start up (implementing StateAware.enable()).
One of the macros in one of such pages use VelocityUtils.getRenderedTemplate(...)) and causes the following NPE:
2007-07-30 12:08:33,527 ERROR [main] [confluence.util.velocity.VelocityUtils] getVelocityEngine Initialising another velocity engine - should never happen in normal usage - warning! 2007-07-30 12:08:33,529 ERROR [main] [confluence.util.velocity.VelocityUtils] getRenderedTemplate Error occurred rendering template: templates/workflowview.vm java.lang.NullPointerException at java.util.Properties$LineReader.readLine(Properties.java:365) at java.util.Properties.load(Properties.java:293) at com.atlassian.confluence.util.velocity.VelocityUtils.getVelocityEngine(VelocityUtils.java:82) at com.atlassian.confluence.util.velocity.VelocityUtils.getTemplate(VelocityUtils.java:69) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplateWithoutSwallowingErrors(VelocityUtils.java:50) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplate(VelocityUtils.java:33) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplate(VelocityUtils.java:26) at com.comalatech.confluence.workflow.macros.WorkflowMacro.execute(WorkflowMacro.java:141)
This occurs only on server start up