<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1126" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=373482218-13052003><FONT face=Arial 
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=373482218-13052003><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=373482218-13052003><FONT face=Arial size=2>I get the following 
error while trying to import a news Module written for OpenCMS 4.6 into OpenCMS 
5.0.0:</FONT></SPAN></DIV>
<DIV><SPAN class=373482218-13052003><FONT face=Arial 
size=2></FONT></SPAN> </DIV><SPAN class=373482218-13052003>
<DIV><BR><FONT face=Arial size=2>com.opencms.core.CmsException: 0 Unknown 
exception. Detailed error: CmsException ID: 0. <BR>root cause was 
java.lang.NullPointerException<BR> at 
com.opencms.file.CmsImport.getConflictingFilenames(CmsImport.java:343)<BR> at 
com.opencms.file.CmsRegistry.importGetConflictingFileNames(CmsRegistry.java:1761)<BR> at 
com.opencms.workplace.CmsAdminModuleNew.importModule(CmsAdminModuleNew.java:285)<BR> at 
com.opencms.workplace.CmsAdminModuleNew.getContent(CmsAdminModuleNew.java:211)<BR> at 
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)<BR> at 
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)<BR> at 
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:149)<BR> at 
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)<BR> at 
com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)<BR> at 
com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)<BR> at 
com.opencms.core.OpenCms.showResource(OpenCms.java:956)<BR> at 
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)<BR> at 
com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.java:331)<BR> at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)<BR> at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<BR> at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)<BR> at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)<BR> at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR> at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR> at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)<BR> at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR> at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)<BR> at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)<BR> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR> at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR> at 
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)<BR> at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)<BR> at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)<BR> at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)<BR> at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)<BR> at 
java.lang.Thread.run(Thread.java:536)<BR>>-----------<BR>>Root 
cause:<BR>>java.lang.NullPointerException<BR>> at 
com.opencms.file.CmsImport.getConflictingFilenames(CmsImport.java:319)<BR>> at 
com.opencms.file.CmsRegistry.importGetConflictingFileNames(CmsRegistry.java:1761)<BR>> at 
com.opencms.workplace.CmsAdminModuleNew.importModule(CmsAdminModuleNew.java:285)<BR>> at 
com.opencms.workplace.CmsAdminModuleNew.getContent(CmsAdminModuleNew.java:211)<BR>> at 
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)<BR>> at 
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)<BR>> at 
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:149)<BR>> at 
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)<BR>> at 
com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)<BR>> at 
com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)<BR>> at 
com.opencms.core.OpenCms.showResource(OpenCms.java:956)<BR>> at 
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)<BR>> at 
com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.java:331)<BR>> at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)<BR>> at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<BR>> at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)<BR>> at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)<BR>> at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)<BR>> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR>> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR>> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR>> at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<BR>> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR>> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR>> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR>> at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)<BR>> at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)<BR>> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR>> at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)<BR>> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)<BR>> at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)<BR>> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)<BR>> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR>> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR>> at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)<BR>> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR>> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR>> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR>> at 
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)<BR>> at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)<BR>> at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)<BR>> at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)<BR>> at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)<BR>> at 
java.lang.Thread.run(Thread.java:536)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>java.lang.NullPointerException<BR> at 
com.opencms.file.CmsImport.getConflictingFilenames(CmsImport.java:319)<BR> at 
com.opencms.file.CmsRegistry.importGetConflictingFileNames(CmsRegistry.java:1761)<BR> at 
com.opencms.workplace.CmsAdminModuleNew.importModule(CmsAdminModuleNew.java:285)<BR> at 
com.opencms.workplace.CmsAdminModuleNew.getContent(CmsAdminModuleNew.java:211)<BR> at 
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)<BR> at 
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)<BR> at 
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:149)<BR> at 
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)<BR> at 
com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)<BR> at 
com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)<BR> at 
com.opencms.core.OpenCms.showResource(OpenCms.java:956)<BR> at 
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)<BR> at 
com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.java:331)<BR> at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)<BR> at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<BR> at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)<BR> at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)<BR> at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR> at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR> at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)<BR> at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR> at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)<BR> at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)<BR> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR> at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR> at 
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)<BR> at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)<BR> at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)<BR> at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)<BR> at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)<BR> at 
java.lang.Thread.run(Thread.java:536)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><BR><SPAN class=373482218-13052003><FONT face=Arial size=2>This is how my 
Backward compatibility part of my opencms.properties looks 
like:</FONT></SPAN></DIV>
<DIV><SPAN class=373482218-13052003><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=373482218-13052003><FONT face=Arial size=2># Backward 
compatibility flags.<BR># This should be set to true ONLY if you are migrating 
from 4.x to 5.0 versions of 
OpenCms.<BR>#################################################################################</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=373482218-13052003><FONT face=Arial size=2># "Old style" module 
locale backward compatibility support<BR># Enables supports for proprietary 4.x 
module XML locales<BR># Must be set to true only if old modules are 
used<BR>compatibility.support.oldlocales=true</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=373482218-13052003><FONT face=Arial size=2># Convert file 
content from 4.x to 5.x style during import<BR># This is needed for the correct 
content conversion of the import.<BR># Enter the URL of the OpenCms web 
application from which the content was exported,<BR># e.g. <A 
href="http://localhost:8080/opencms/opencms/">http://localhost:8080/opencms/opencms/</A> 
for a standard local Tomcat 
installation.<BR>compatibility.support.import.old.webappurl=http://localhost:8080/opencms/opencms/</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=373482218-13052003><FONT face=Arial size=2># List of the 
resource properties which should be removed when resources are 
imported.<BR>compatibility.support.import.remove.propertytags=module</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=373482218-13052003><FONT face=Arial size=2># List of old web 
application names for conversion in editor and in import bodies.<BR># Example 
for a standard web application name: 
/opencms/opencms/<BR>compatibility.support.webAppNames=</FONT></SPAN></DIV>
<DIV><SPAN class=373482218-13052003><FONT face=Arial 
size=2>##################################################################################</FONT></SPAN></DIV>
<DIV><SPAN class=373482218-13052003><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=373482218-13052003><FONT face=Arial size=2>Can anyone 
help?</FONT></SPAN></DIV>
<DIV><SPAN class=373482218-13052003><FONT face=Arial 
size=2> </DIV></FONT></SPAN>
<DIV><SPAN class=373482218-13052003><FONT face=Arial size=2>Sorry for the long 
post an thanks in advance for your help.</FONT></SPAN></DIV>
<DIV><SPAN class=373482218-13052003><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=373482218-13052003><FONT face=Arial 
size=2>Kai</DIV></FONT></SPAN></SPAN></BODY></HTML>