You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Gabe Wong (JIRA)" <no...@atlassian.com> on 2008/01/19 08:05:45 UTC

[Roller-JIRA] Created: (ROL-1653) frontPageHandle NullException with ORACLE 10g

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

        

[jira] Commented: (ROL-1653) frontPageHandle NullException with ORACLE 10g

Posted by "weilei shen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/roller/browse/ROL-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14443#action_14443 ] 

weilei shen commented on ROL-1653:
----------------------------------

it's ok when i use sqlserver2000.
now i changed into oracle9.2 and  met the same problem. 

> frontPageHandle NullException with ORACLE 10g
> ---------------------------------------------
>
>                 Key: ROL-1653
>                 URL: https://issues.apache.org/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.
-
You can reply to this email to add a comment to the issue online.


[Roller-JIRA] Commented: (ROL-1653) frontPageHandle NullException with ORACLE 10g

Posted by "Simon Haslam (JIRA)" <no...@atlassian.com>.
    [ 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