[opencms-dev] The url cannot be null (error)
Salvador Santander Gutierrez
salvador.santander.ext at juntadeandalucia.es
Wed Feb 11 09:17:02 CET 2004
The problem could be c_pool string is null.
----- Original Message -----
From: Harish.Chakravarthy at sjsu.edu
To: opencms-dev at opencms.org
Sent: Tuesday, February 10, 2004 7:11 PM
Subject: [opencms-dev] The url cannot be null (error)
Hi,
This error happens only once, just after tomcat is retarted.
I restart tomcat and create a new entry using my backoffice module, which uses com.opencms.dbpool.CmsIdGenerator to generate unique ID. I get a
CmsException with message "The url cannot be null". I create a new entry again, it works !
Here is my code to get ID:
newId = com.opencms.dbpool.CmsIdGenerator.nextId(c_pool, C_TABLE_NAME_COURSE);
I am using OpenCMS 5final and version 1.8 of CmsIdGenerator.java
Any reason why this happens ?
Thanks
Harish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040211/76a0feb5/attachment.htm>
More information about the opencms-dev
mailing list