[opencms-dev] New OpenCms Build 21 now available

Burghardt, Carsten Carsten_Burghardt at ibexnet.de
Wed Mar 15 10:38:46 CET 2000


Thanks, that´s right, but if I erase the database, the setup crashes with
....
[Loaded com/opencms/util/SqlHelper.class from opencms.jar]
[Loaded java/lang/NullPointerException.class from
/usr/lib/jdk117_v3/lib/classes.zip]
java.lang.NullPointerException:
        at
org.gjt.mm.mysql.PreparedStatement.setTimestamp(PreparedStatement.java)
        at com.opencms.file.CmsAccessTask.writeTask(CmsAccessTask.java:416)
        at com.opencms.file.CmsAccessTask.createTask(CmsAccessTask.java:385)
        at com.opencms.file.CmsAccessTask.createTask(CmsAccessTask.java:333)
        at
com.opencms.file.CmsAccessTask.createProject(CmsAccessTask.java:264)
        at com.opencms.file.CmsRbTask.createProject(CmsRbTask.java:80)
        at com.opencms.file.CmsRbTask.createProject(CmsRbTask.java:102)
        at
com.opencms.file.CmsInitMySqlFillDefaults.init(CmsInitMySqlFillDefaults.java
:88)
        at com.opencms.setup.CmsShell.init(CmsShell.java:91)
        at com.opencms.setup.CmsShell.main(CmsShell.java:69)

This problem does not occur with the version 40a20 (that version doesn´t run
either but it compiles).
The command was
(jre -v -cp opencms.jar -cp xerces.jar -cp mysql.jar
com.opencms.setup.CmsShell com.opencms.file.CmsInitMySqlFillDefaults
org.gjt.mm.mysql.Driver
jdbc:mysql://localhost:3306/opencms?user=root;password=) <
config/cmssetup.txt

Thanks for your help!

Carsten

> -----Original Message-----
> From:	Gregor Wolf [SMTP:gregor.wolf at chiemgau.com]
> Sent:	Tuesday, March 14, 2000 8:43 AM
> To:	opencms-dev at www.opencms.com
> Subject:	RE: [opencms-dev] New OpenCms Build 21 now available
> 
> Hello,
> 
> >Detailed Error: [com.opencms.file.CmsAccessGroupMySql] Invalid argument
> >value: Duplicate entry 'Guests' for key 2
> >Caught Exception: java.sql.SQLException: Invalid argument value:
> Duplicate
> >entry 'Guests' for key 2
> 
> That's because you've got already some data in your Database. Erase the 
> opencms database and then it must work.
> 
> by
> Gregor Wolf



More information about the opencms-dev mailing list