Theme without custom stylesheet define will break page rendering with NPE
-------------------------------------------------------------------------
Key: ROL-1445
URL:
http://opensource.atlassian.com/projects/roller/browse/ROL-1445
Project: Roller
Issue Type: Bug
Components: Page Rendering & Management
Affects Versions: 4.0
Reporter: Miles Huang
Assignee: Roller Unassigned
Priority: Blocker
A Theme without custom stylesheet define ( Like current frontpage theme ) will
cause NPE. Stack trace:
Caused by: java.lang.NullPointerException
at
org.apache.roller.weblogger.business.themes.WeblogSharedTheme.getTemplateByName(WeblogSharedTheme.java:181)
at
org.apache.roller.weblogger.pojos.wrapper.WeblogWrapper.getPageByName(WeblogWrapper.java:69)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira