|
I frequently see this error come through the list.
In every case where the person took the time to post that the problem was fixed,
the culprit was the setup for Cocoon.
1) does the JetspeedResources.properties have
the path to cocoon.properties. 2) Ensure cocoon.jar is in the
classpath 3) scan the cocoon.properties files for references to other .jar
files. Are these .jar files in your classpath?
BTW - what OS are you using? If it is windows, be
sure your paths start with a '/'. ie:
cocoon.properties.file=/c:/jetspeed/cocoon.properties
Steve B.
PS - I recommend that the FAQ-O-Matic replace
the current FAQ link on the jetspeed web site. It is much more complete and is
searchable. The current FAQ link leads users to believe there is no other FAQ
available: it also does not allow others to add questions/answers.
----- Original Message -----
Sent: Monday, August 07, 2000 8:32
AM
Subject: PortletCache exception when
running /servlet/jetspeed
All,
Though I think I have everything properly
configured, I'm getting the following exception when attempting to
run the main /servlet/jetspeed page. Any pointers would be greatly
appreciated.
Thanks,
David Dabbs
java.lang.NullPointerException at
org.apache.jetspeed.cache.memory.MemoryStore.getInstance(MemoryStore.java:103)
at
org.apache.jetspeed.cache.memory.PortletCache.getCacheable(PortletCache.java:141)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlet(PortletFactory.java:750)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlet(PortletFactory.java:500)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlets(PortletFactory.java:443)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlets(PortletFactory.java:426)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlets(PortletFactory.java:426)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlets(PortletFactory.java:380)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlets(PortletFactory.java:346)
at org.apache.jetspeed.turbine.screens.Home.doBuild(Home.java:106) at
org.apache.turbine.modules.Screen.build(Screen.java:88) at
org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:117) at
org.apache.jetspeed.turbine.layouts.JetspeedLayout.doBuild(JetspeedLayout.java:139)
at org.apache.turbine.modules.Layout.build(Layout.java:81) at
org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:111) at
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:134) at
org.apache.turbine.modules.Page.build(Page.java:81) at
org.apache.turbine.modules.PageLoader.exec(PageLoader.java:111) at
Turbine.doGet(Turbine.java:322) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:368) at
org.apache.tomcat.core.Handler.service(Handler.java:261) at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:356) at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:720)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:666) at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:194)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:403)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:479)
|