geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Mulder <ammul...@alumni.princeton.edu>
Subject Re: Keep getting NullPointerException
Date Sun, 15 Jan 2006 03:32:52 GMT
Did you add any files (such as a database driver) to the repository? 
If so, what are they called?  We have a known issue if you add a file
that does not have a version number in the name.  To work around that,
add a version number to the name (so, for example, instead of
oracle_driver.jar call it oracle_driver-9ir2.jar).

Thanks,
    Aaron

On 1/14/06, Anand Rajagopal <anand.rajagopal@ylconsulting.com> wrote:
>
>
>
> I installed Geronimo and installed it. Tried to configure JDBC connection
> pool but I keep getting NullPointerException. I tried 3 different JREs. 1.5,
> SUN 1.4.2 and IBM 1.4.2. I keep getting the same error. I have attached the
> stack trace. The error message on the browser was "Error occurred in
> portlet!".
>
>
>
> Nested Exception is
>
> java.lang.NullPointerException
>
>       at
> org.apache.geronimo.console.repository.RepositoryViewPortlet.doView(RepositoryViewPortlet.java:194)
>
>       at
> javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:250)
>
>       at
> javax.portlet.GenericPortlet.render(GenericPortlet.java:178)
>
>       at
> org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218)
>
>       at
> org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:158)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>
>       at
> org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
>
>       at
> org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:120)
>
>       at
> org.apache.pluto.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:73)
>
>       at
> org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:119)
>
>       at
> org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.renderPortlet(PortletContainerWrapperImpl.java:70)
>
>       at
> org.apache.pluto.portalImpl.aggregation.PortletFragment.service(PortletFragment.java:168)
>
>       at
> org.apache.jsp.WEB_002dINF.aggregation.ColumnFragment_jsp._jspService(org.apache.jsp.WEB_002dINF.aggregation.ColumnFragment_jsp:65)
>
>       at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>
>       at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
>
>       at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
>
>       at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
>
>       at
> org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
>
>       at
> org.apache.jsp.WEB_002dINF.aggregation.RowFragment_jsp._jspService(org.apache.jsp.WEB_002dINF.aggregation.RowFragment_jsp:64)
>
>       at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>
>       at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
>
>       at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
>
>       at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
>
>       at
> org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
>
>       at
> org.apache.jsp.WEB_002dINF.aggregation.PageFragment_jsp._jspService(org.apache.jsp.WEB_002dINF.aggregation.PageFragment_jsp:67)
>
>       at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>
>       at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
>
>       at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
>
>       at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
>
>       at
> org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
>
>       at
> org.apache.jsp.WEB_002dINF.aggregation.PageFragment_jsp._jspService(org.apache.jsp.WEB_002dINF.aggregation.PageFragment_jsp:67)
>
>       at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>
>       at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
>
>       at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
>
>       at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
>
>       at
> org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
>
>       at
> org.apache.jsp.WEB_002dINF.aggregation.RootFragment_jsp._jspService(org.apache.jsp.WEB_002dINF.aggregation.RootFragment_jsp:173)
>
>       at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>
>       at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
>
>       at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
>
>       at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
>
>       at
> org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
>
>       at
> org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:254)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
>       at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>
>       at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>
>       at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
>
>       at
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:272)
>
>       at
> org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:46)
>
>       at
> org.apache.geronimo.tomcat.valve.PolicyContextValve.invoke(PolicyContextValve.java:50)
>
>       at
> org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(TransactionContextValve.java:53)
>
>       at
> org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(ComponentContextValve.java:47)
>
>       at
> org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(InstanceContextValve.java:60)
>
>       at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>
>       at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>
>       at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>
>       at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
>
>       at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>
>       at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>
>       at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
>
>       at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>
>       at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>
>       at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>
>       at java.lang.Thread.run(Thread.java:568)
>
> 18:55:59,593 ERROR [PortletFragment] Error in Portlet
>
> javax.portlet.PortletException
>
>       at
> org.apache.geronimo.console.repository.RepositoryViewPortlet.doView(RepositoryViewPortlet.java:206)
>
>       at
> javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:250)
>
>       at
> javax.portlet.GenericPortlet.render(GenericPortlet.java:178)
>
>       at
> org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218)
>
>       at
> org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:158)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>
>       at
> org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
>
>       at
> org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:120)
>
>       at
> org.apache.pluto.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:73)
>
>       at
> org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:119)
>
>       at
> org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.renderPortlet(PortletContainerWrapperImpl.java:70)
>
>       at
> org.apache.pluto.portalImpl.aggregation.PortletFragment.service(PortletFragment.java:168)
>
>       at
> org.apache.jsp.WEB_002dINF.aggregation.ColumnFragment_jsp._jspService(org.apache.jsp.WEB_002dINF.aggregation.ColumnFragment_jsp:65)
>
>       at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>
>       at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
>
>       at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
>
>       at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>
>       at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
>
>       at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
>
>       at
> org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
>
>     &n...
>
> [Message clipped]

Mime
View raw message