[opencms-dev] Unknown exception, tempfileproject

M Butcher mbutcher at grcomputing.net
Wed Nov 19 23:10:02 CET 2003


Check the registry.xml file in 
$CATALINA_HOME/webapps/opencms/WEB-INF/config/registry.xml.

Make sure <tmpfileproject>3</tmpfileproject> (sometimes it is set to 
<tempfileproject/>)

Matt

Rolf Becker wrote:
> Hi,
> 
> whenever I want to edit a html page, be it as html (wysiwyg) or as 
> source code, I get an error which prevents me from editing any such 
> page. Could you give any advices?
> 
> Regards,
> Rolf
> 
> 
> My special friend:
> 
> 
> com.opencms.core.CmsException: 0 Unknown exception. Detailed error: Can 
> not read projectId of tempfileproject for creating temporary file for 
> editing! java.lang.NumberFormatException: null.
>     at 
> com.opencms.workplace.CmsXmlTemplateEditor.getContent(CmsXmlTemplateEditor.java:255) 
> 
>     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:956)
>     at 
> com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>     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:243) 
> 
>     at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
> 
>     at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>     at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>     at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) 
> 
>     at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
> 
>     at 
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) 
> 
>     at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) 
> 
>     at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>     at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>     at 
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
>     at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) 
> 
>     at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
> 
>     at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) 
> 
>     at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) 
> 
>     at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) 
> 
>     at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) 
> 
>     at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>     at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) 
> 
>     at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>     at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>     at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) 
> 
>     at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
> 
>     at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>     at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>     at 
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027) 
> 
>     at 
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125) 
> 
>     at java.lang.Thread.run(Thread.java:536)
> 
> _______________________________________________
> 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