[opencms-dev] Problem with 6.0.2 workplace

Joe Desbonnet jdesbonnet at gmail.com
Wed Nov 16 18:10:24 CET 2005


I'm getting the same error on 6.0.2 when attempting to edit some
pages.  I still cannot find out what's common to the affected pages.

Did anyone find out what caused this or how to fix?

Thanks,

Joe.

On 10/20/05, Bernd Wolfsegger <bw at code-create.com> wrote:
> Hi all,
>
> I do not like to post stacktraces, but I have a serious problem, whenever I am in the workplace of 6.0.2.
> Eg when I am in the propertys dialog for a ressource and click cancel.
> Or when I am editing an xmlcontent ressource and click save.
> etc.
> Always I get the exception shown below.
> Never experienced this before with other versions.
> I had no serious problems at all with other versions until now.
>
> Thanx for any ideas.
>
> java.lang.NullPointerException
>         at org.opencms.file.CmsRequestContext.getAdjustedSiteRoot(CmsRequestContext.java:146)
>         at org.opencms.file.CmsRequestContext.removeSiteRoot(CmsRequestContext.java:386)
>         at org.opencms.db.CmsDbContext.removeSiteRoot(CmsDbContext.java:169)
>         at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3838)
>         at org.opencms.file.CmsObject.readResource(CmsObject.java:2658)
>         at org.opencms.workplace.commons.CmsPropertyAdvanced.initWorkplaceRequestValues(CmsPropertyAdvanced.java:726)
>         at org.opencms.workplace.CmsWorkplace.initWorkplaceMembers(CmsWorkplace.java:2091)
>         at org.opencms.workplace.CmsWorkplace.<init>(CmsWorkplace.java:265)
>         at org.opencms.workplace.tools.CmsToolDialog.<init>(CmsToolDialog.java:86)
>         at org.opencms.workplace.CmsDialog.<init>(CmsDialog.java:249)
>         at org.opencms.workplace.CmsTabDialog.<init>(CmsTabDialog.java:98)
>         at org.opencms.workplace.commons.CmsPropertyAdvanced.<init>(CmsPropertyAdvanced.java:195)
>         at org.opencms.workplace.commons.CmsPropertyAdvanced.<init>(CmsPropertyAdvanced.java:207)
>         at org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.commons.property_005fadvanced_jsp._jspService(property_005fadvanced_jsp.java:46)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
>         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:589)
>         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
>         at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:193)
>         at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:171)
>         at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:416)
>         at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:419)
>         at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:175)
>         at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:450)
>         at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:395)
>         at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:711)
>         at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1337)
>         at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:139)
>         at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:151)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
>         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
>         at java.lang.Thread.run(Thread.java:534)
>
>
> Kind regards, Bernd
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>



More information about the opencms-dev mailing list