[ 
http://opensource.atlassian.com/projects/roller/browse/ROL-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_14236
 ] 

Simon Haslam commented on ROL-1653:
-----------------------------------

The workaround does the job, thanks Gabe.

I wonder whether this issue should be fixed in the code more generally though. 
In other words, perhaps WebloggerRuntimeConfig getProperty should do the check 
for null instead of isFrontPageWeblog - then it could convert the return value 
to whatever you would expect if it was, say, MySQL. Just a thought.

> frontPageHandle NullException with ORACLE 10g
> ---------------------------------------------
>
>                 Key: ROL-1653
>                 URL: 
> http://opensource.atlassian.com/projects/roller/browse/ROL-1653
>             Project: Roller
>          Issue Type: Bug
>    Affects Versions: 4.0
>         Environment: ORACLE 10g
>            Reporter: Gabe Wong
>            Assignee: Roller Unassigned
>
> After creating a blog, if not FrontPage is set, when going to view the blog, 
> the following exception is shown:
> Browser: 500 Exception
> Server:
> SEVERE: Servlet.service() for servlet PageServlet threw exception
> java.lang.NullPointerException
>       at 
> org.apache.roller.weblogger.config.WebloggerRuntimeConfig.isFrontPageWeblog(WebloggerRuntimeConfig.java:226)
>       at 
> org.apache.roller.weblogger.config.WebloggerRuntimeConfig.isSiteWideWeblog(WebloggerRuntimeConfig.java:239)

-- 
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

        

Reply via email to