Hi All,
I am trying to setup Roller 4.0 on a Glassfish + Oracle 10g R2 install. I
followed the instructions as given and the installation went through fine. I
can log into the system and create the admin user and also access all the
server settings. Now I create a test user (UserA) for testing out the blog
functionalities. User creation succeeds and I can log into the system as
UserA.
As UserA, I go ahead and create a blog and post a new entry. Posting the
blog entry is also successful. If I try accessing the blog (view mode), I
keep hitting a NullPointer exception, which seems to be coming from the
following logic
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)
at
org.apache.roller.weblogger.ui.rendering.servlets.PageServlet.processReferrer
(PageServlet.java:531)
at org.apache.roller.weblogger.ui.rendering.servlets.PageServlet.doGet(
PageServlet.java:122)
Looks like Oracle is returning a null value for the frontpageblog and the
equality operation is happening on this variable (which leads to the null
pointer exception)!!! Is this a known issue and is there a bug filed for
this behavior? I tried searching the bugs, and it looks like there were some
changes made to the oracle install scripts, not sure if this issue is
because of these changes.
For the record, Roller 3.1 on a Oracle 10gR2 install works just fine.
Any help in this regards would be greatly appreciated.
Thank You,
Rogue
p.s.: Sorry for the HTML mail, I am sending this out from the GMail UI.