The URL gives success message
I think i solved the issue
I've downloaded the source code and i found that the following line in
RollerRuntimeConfig.java is causing the NPE 
return (frontPageHandle.equals(weblogHandle));

The full  method
   public static boolean isFrontPageWeblog(String weblogHandle) {
        
        String frontPageHandle =
getProperty("site.frontpage.weblog.handle");
        
        return (frontPageHandle.equals(weblogHandle));
    }

It is clear that this methods checks if this blog is the frontpage blog.
So to avoid the NPE i updated the configuration of the roller server to have
frontpage blog and then everything worked
Afterwards i tried to remove the frontpage blog and go back to the default
(value is null) and the error is not there anymore
I don't know why this happened

Regards

Dave Johnson-8 wrote:
> 
> Are you sure your database connection is configured correctly?
> 
> Try the dstest.jsp page, it will test the connection for you.
> For example:
>    http://localhost:8080/roller/roller-ui/tools/dstest.jsp
> 
> - Dave
> 
> 
> On 11/14/06, ahmedkii <[EMAIL PROTECTED]> wrote:
>>
>> I've installed Roller 3.0 with Oracle Database and Tomcat 5.0.x, JDK 1.5
>> I can access the roller frontpage but i cannot access any newly created
>> blogs
>> I receive the following error:05:42
>> StandardContext[/servlets-examples]SessionListener:
>> contextInitialized():06:49 ApplicationDispatcher[/roller]
>> Servlet.service()
>> for servlet PageServlet threw exception
>> java.lang.NullPointerException
>>         at
>> org.apache.roller.config.RollerRuntimeConfig.isFrontPageWeblog(RollerRuntimeConfig.java:223)
>>         at
>> org.apache.roller.config.RollerRuntimeConfig.isSiteWideWeblog(RollerRuntimeConfig.java:236)
>>         at
>> org.apache.roller.ui.rendering.servlets.PageServlet.processReferrer(PageServlet.java:456)
>>         at
>> org.apache.roller.ui.rendering.servlets.PageServlet.doGet(PageServlet.java:129)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>>         at
>> org.apache.roller.ui.core.filters.CompressionFilter.doFilter(CompressionFilter.java:80)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>>         at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
>>         at
>> org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:97)
>>         at
>> org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
>>         at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>         at
>> org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
>>         at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>         at
>> org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
>>         at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>         at
>> org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
>> --
>> View this message in context:
>> http://www.nabble.com/Error-with-Roller-3.0-tf2630151s12275.html#a7339897
>> Sent from the Roller - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-with-Roller-3.0-tf2630151s12275.html#a7341828
Sent from the Roller - User mailing list archive at Nabble.com.

Reply via email to