[opencms-dev] Module Calendar with Oracle

Francis ffraikin at met.wallonie.be
Tue Dec 21 09:29:31 CET 2004


After install and modification of the Calendar Module (en => fr), 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
I can see the labels of columns but not data

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(Application
FilterChain.java:247)
.......
>-----------
>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>(CalendarContentDefinit
ion.java:356)
> at
com.extores.calendar.CalendarBackoffice.getContentNew(CalendarBackoffice.jav
a:181)
> at
com.opencms.defaults.A_CmsBackoffice.getContentNewInternal(A_CmsBackoffice.j
ava: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(Application
FilterChain.java:247)
........

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





More information about the opencms-dev mailing list