Return-Path: Delivered-To: apmail-roller-user-archive@www.apache.org Received: (qmail 94922 invoked from network); 31 Aug 2007 08:47:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Aug 2007 08:47:07 -0000 Received: (qmail 84073 invoked by uid 500); 31 Aug 2007 08:47:02 -0000 Delivered-To: apmail-roller-user-archive@roller.apache.org Received: (qmail 84050 invoked by uid 500); 31 Aug 2007 08:47:01 -0000 Mailing-List: contact user-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@roller.apache.org Delivered-To: mailing list user@roller.apache.org Received: (qmail 84041 invoked by uid 99); 31 Aug 2007 08:47:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 01:47:01 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 08:46:57 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IR29F-00044p-CD for user@roller.apache.org; Fri, 31 Aug 2007 01:46:37 -0700 Message-ID: <12422836.post@talk.nabble.com> Date: Fri, 31 Aug 2007 01:46:37 -0700 (PDT) From: eyewinz To: user@roller.apache.org Subject: Re: Error with Roller 3.0 In-Reply-To: <7341828.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sarveshwinz@yahoo.com References: <7339897.post@talk.nabble.com> <8fb9ac720611140743g2504f55h8a15dce0545b519a@mail.gmail.com> <7341828.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi ahmedkii, "to avoid the NPE i updated the configuration of the roller server to have frontpage blog and then everything worked" I am saravanan my team was facing the same problem as you did, in the above lines you have mentioned that you changed the server configuration, we tried changing the roller_properties table values, we have set the value for "site.frontpage.weblog.handle" as "frontpage" and tried. we are not able to open the frontpage itself after that. But where as when that value is null we can able to open the frontpage and create weblog, but could not able to open the weblog, it throws the NPE. can you kindly tell us what configuration chnges you did and how u solved this issue. Thanks in advance ahmedkii wrote: > > 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 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#a12422836 Sent from the Roller - User mailing list archive at Nabble.com.