[opencms-dev] The url cannot be null (error)

Harish.Chakravarthy at sjsu.edu Harish.Chakravarthy at sjsu.edu
Tue Feb 10 21:09:02 CET 2004


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/20040210/9e10a66b/attachment.htm>


More information about the opencms-dev mailing list