[opencms-dev] OpenCMS 5.0.1 Problem with module-import

Uwe König uwederkoenig at web.de
Thu Mar 10 18:10:29 CET 2005


Hello all, 

I created a module some time ago and exported it today from our development-server. When I try to import the zip-file to our online-server, I get an exception (please see begin of stacktrace below). 
In the OpenCMS-log I find a line: 

[10.03.2005 17:48:30] <opencms_info> [CmsElementXml (CmsAdminModuleNew/module_new)] Error in getContent for template class com.opencms.workplace.CmsAdminModuleNew

I remember I checked the "Administration Point"-Checkbox in the dialogue for module creation, but never implemented an administration point. Could that be the problem? I'm clueless and any hints are appreciated. 
Identical environments: 
OpenCMS 5.0.1 
Debian Sarge 
Tomcat 4.1.x 
MySQL 4.0.23 

Best regards, 


Uwe König



com.opencms.core.CmsException: 0 Unknown exception. Detailed error: CmsException ID: 0. 
root cause was java.lang.NullPointerException
	at com.opencms.file.CmsImport.getConflictingFilenames(CmsImport.java:343)
	at com.opencms.file.CmsRegistry.importGetConflictingFileNames(CmsRegistry.java:1758)
	at com.opencms.workplace.CmsAdminModuleNew.importModule(CmsAdminModuleNew.java:285)
	at com.opencms.workplace.CmsAdminModuleNew.getContent(CmsAdminModuleNew.java:211)
	at com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)
	at com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
	at com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:149)
	at com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)
	at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
	at com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
	at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
	at com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
	at com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.java:331)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
	at java.lang.Thread.run(Thread.java:534)
>-----------
>Root cause:
>java.lang.NullPointerException
>	at com.opencms.file.CmsImport.getConflictingFilenames(CmsImport.java:319)
>	at com.opencms.file.CmsRegistry.importGetConflictingFileNames(CmsRegistry.java:1758)
>	at com.opencms.workplace.CmsAdminModuleNew.importModule(CmsAdminModuleNew.java:285)
>	at com.opencms.workplace.CmsAdminModuleNew.getContent(CmsAdminModuleNew.java:211)
>	at com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)
>	at com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
>	at com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:149)
>	at com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)
>	at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
>	at com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
>	at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
>	at com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
>	at com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.java:331)
>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
>	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
>	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
>	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
>	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
>	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>	at java.lang.Thread.run(Thread.java:534)

java.lang.NullPointerException
	at com.opencms.file.CmsImport.getConflictingFilenames(CmsImport.java:319)
	at com.opencms.file.CmsRegistry.importGetConflictingFileNames(CmsRegistry.java:1758)
	at com.opencms.workplace.CmsAdminModuleNew.importModule(CmsAdminModuleNew.java:285)
	at com.opencms.workplace.CmsAdminModuleNew.getContent(CmsAdminModuleNew.java:211)
	at com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)
	at com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
	at com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:149)
	at com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)
	at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
	at com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
	at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
	at com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
	at com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.java:331)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
	at java.lang.Thread.run(Thread.java:534) 




More information about the opencms-dev mailing list