[opencms-dev] Module Calendar with Oracle

Francis ffraikin at met.wallonie.be
Mon Dec 20 16:36:09 CET 2004


After install and modification of the calendar Module, It's possible to open the module in "Administration"

I put manually 2 rows in the calendar table but in Opencms there is nothing on the administration windows

In opencms.log I can find

[20.12.2004 15:25:28] <opencms_info> com.opencms.workplace.CmsXmlLanguageFile.getLanguageValue() - Missing value for locale key: com_extores_calendar_CalendarBackoffice.label.filterparameter

I can't find the filterparameter in workplace.properties

When I try to add an event I receive an error

            Fehlermeldung: 
com.opencms.core.CmsException: 0 Unknown exception. Detailed error: CmsException ID: 0. 
root cause was java.lang.NullPointerException
	at com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:194)
	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 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(StandardWrapperValvejava: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(StandardContextValvejava:191)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
	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.StandardContext.invoke(StandardContext.java:2415.
	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:172)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
	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.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:223)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594.
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565.
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
	at java.lang.Thread.run(Thread.java:536)
>-----------
>Root cause:
>java.lang.NullPointerException
>	at java.lang.Class.forName0(Native Method)
>	at java.lang.Class.forName(Class.java:140)
>	at com.opencms.dbpool.CmsPool.<init>(CmsPool.java:111)
>	at com.opencms.dbpool.CmsPool.<init>(CmsPool.java:149)
>	at com.opencms.dbpool.CmsDriver.createPool(CmsDriver.java:214)
>	at com.opencms.dbpool.CmsDriver.getPool(CmsDriver.java:188)
>	at com.opencms.dbpool.CmsDriver.connect(CmsDriver.java:107)
>	at java.sql.DriverManager.getConnection(DriverManager.java:512)
>	at java.sql.DriverManager.getConnection(DriverManager.java:193)
>	at com.opencms.dbpool.CmsIdGenerator.generateNextId(CmsIdGenerator.java:121)
>	at com.opencms.dbpool.CmsIdGenerator.nextId(CmsIdGenerator.java:104)
>	at com.extores.calendar.CalendarContentDefinition.<init>(CalendarContentDefinition.java:356)
>	at com.extores.calendar.CalendarBackoffice.getContentNew(CalendarBackoffice.java:181)
>	at com.opencms.defaults.A_CmsBackoffice.getContentNewInternal(A_CmsBackoffice.java:2983)
>	at com.opencms.defaults.A_CmsBackoffice.getContent(A_CmsBackoffice.java:413)
>	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 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(StandardWrapperValvejava: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(StandardContextValvejava:191)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>	at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
>	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.StandardContext.invoke(StandardContext.java:2415.
>	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:172)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
>	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.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:223)
>	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594.
>	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
>	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565.
>	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
>	at java.lang.Thread.run(Thread.java:536)

java.lang.NullPointerException
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:140)
	at com.opencms.dbpool.CmsPool.<init>(CmsPool.java:111)
	at com.opencms.dbpool.CmsPool.<init>(CmsPool.java:149)
	at com.opencms.dbpool.CmsDriver.createPool(CmsDriver.java:214)
	at com.opencms.dbpool.CmsDriver.getPool(CmsDriver.java:188)
	at com.opencms.dbpool.CmsDriver.connect(CmsDriver.java:107)
	at java.sql.DriverManager.getConnection(DriverManager.java:512)
	at java.sql.DriverManager.getConnection(DriverManager.java:193)
	at com.opencms.dbpool.CmsIdGenerator.generateNextId(CmsIdGenerator.java:121)
	at com.opencms.dbpool.CmsIdGenerator.nextId(CmsIdGenerator.java:104)
	at com.extores.calendar.CalendarContentDefinition.<init>(CalendarContentDefinition.java:356)
	at com.extores.calendar.CalendarBackoffice.getContentNew(CalendarBackoffice.java:181)
	at com.opencms.defaults.A_CmsBackoffice.getContentNewInternal(A_CmsBackoffice.java:2983)
	at com.opencms.defaults.A_CmsBackoffice.getContent(A_CmsBackoffice.java:413)
	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 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(StandardWrapperValvejava: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(StandardContextValvejava:191)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
	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.StandardContext.invoke(StandardContext.java:2415.
	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:172)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
	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.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:223)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594.
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565.
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
	at java.lang.Thread.run(Thread.java:536)


  
     
     

and in opencms.log

[20.12.2004 16:10:47] <opencms_critical> [CmsElementXml (CalendarBackoffice/EditBackoffice)] Non OpenCms error occured in getContent for template class com.extores.calendar.CalendarBackoffice

!! OpenCms is in french.

How can I add a worlplace_fr.properties in the module?

Francis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20041220/1418852d/attachment.htm>


More information about the opencms-dev mailing list