[opencms-dev] exception when trying to publish
Christoph Kukulies
kuku at physik.rwth-aachen.de
Thu Jan 8 11:47:17 CET 2015
Since I obtained no comment yet upon my question below:
Should "old" (< 9.5.0 or <9.0.1) sites work at all under OpenCms 9 when
being imported?
Am 07.01.2015 um 18:45 schrieb Christoph Kukulies:
> I'm having other woes now when trying to get an old site first running
> under 9.5.0. Although I have decided to develop the new pages under
> 9.5.0 and its new features, the old stuff should run also under 9.5.0.
>
> It now turns out a bit weird: I imported (database import from server)
> the .zip files I took from the old 7.0.5 system and imported them.
> The yellow flags show together with the open lock symbol on the
> folders in the root of the /sites/website folder.
> Only funny is that the index.html in that to level folder as well as
> all index.html pages are type plain (as they were in 7.0.5) but they
> are greyed out and I cannot right click on them to edit their
> properties for example.
>
> The exception I'm getting when trying the publish, is:
>
> javax.servlet.ServletException: javax.servlet.jsp.JspException:
> javax.servlet.ServletException: org.opencms.gwt.CmsRpcException:
> org.opencms.gwt.CmsRpcException: java.lang.NullPointerException
> at
> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:861)
> at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:794)
> at
> org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_ade_publish.publish_005fproject_jsp._jspService(publish_005fproject_jsp.java:82)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
> at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
> at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
> at
> org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)
> at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)
> at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:645)
> at
> org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)
> at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)
> at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:929)
> at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:525)
> at
> org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1193)
> at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1715)
> at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
> at
> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879)
> at
> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:617)
> at
> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1774)
> at java.lang.Thread.run(Unknown Source)
> Caused by: javax.servlet.ServletException:
> org.opencms.gwt.CmsRpcException: org.opencms.gwt.CmsRpcException:
> java.lang.NullPointerException
> at
> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:865)
> at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:794)
> at
> org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_ade_publish.publish_jsp._jspService(publish_jsp.java:75)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
> at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
> at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
> at
> org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)
> at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)
> at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:645)
> at
> org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)
> at
> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)
> at
> org.opencms.jsp.CmsJspTagInclude.includeActionWithCache(CmsJspTagInclude.java:365)
> at
> org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:241)
> at
> org.opencms.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:476)
> at
> org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_ade_publish.publish_005fproject_jsp._jspx_meth_cms_005finclude_005f0(publish_005fproject_jsp.java:125)
> at
> org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_ade_publish.publish_005fproject_jsp._jspService(publish_005fproject_jsp.java:75)
> ... 35 more
> Caused by: org.opencms.gwt.CmsRpcException:
> org.opencms.gwt.CmsRpcException: java.lang.NullPointerException
> at org.opencms.gwt.CmsGwtService.error(CmsGwtService.java:114)
> at
> org.opencms.ade.publish.CmsPublishService.getInitData(CmsPublishService.java:272)
> at
> org.opencms.ade.publish.CmsPublishService.prefetch(CmsPublishService.java:120)
> at
> org.opencms.ade.publish.CmsPublishActionElement.exportAll(CmsPublishActionElement.java:81)
> at
> org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_opencms_ade_publish.publish_jsp._jspService(publish_jsp.java:65)
> ... 56 more
> Caused by: org.opencms.gwt.CmsRpcException:
> java.lang.NullPointerException
> at org.opencms.gwt.CmsGwtService.error(CmsGwtService.java:114)
> at
> org.opencms.ade.publish.CmsPublishService.getResourceGroups(CmsPublishService.java:344)
> at
> org.opencms.ade.publish.CmsPublishService.getInitData(CmsPublishService.java:265)
> ... 59 more
> Caused by: java.lang.NullPointerException
> at
> org.opencms.ade.configuration.CmsADEManager.getPermissionInfo(CmsADEManager.java:617)
> at
> org.opencms.workflow.CmsDefaultPublishResourceFormatter.createPublishResource(CmsDefaultPublishResourceFormatter.java:387)
> at
> org.opencms.workflow.CmsDefaultPublishResourceFormatter.initialize(CmsDefaultPublishResourceFormatter.java:327)
> at
> org.opencms.ade.publish.CmsPublishService.getResourceGroups(CmsPublishService.java:321)
> ... 60 more
>
>
>
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
More information about the opencms-dev
mailing list