AW: [opencms-dev] need help: NullPointerException at com.opencms.file.CmsRbManager???

martin eberle martin.eberle at innowake.de
Fri Feb 23 10:00:54 CET 2001


I'm getting the same!!!

regards,
martin

-----Ursprüngliche Nachricht-----
Von: owner-opencms-dev at www.opencms.com
[mailto:owner-opencms-dev at www.opencms.com]Im Auftrag von Karl König
Gesendet: Donnerstag, 22. Februar 2001 23:22
An: opencms-dev at www.opencms.com
Betreff: [opencms-dev] need help: NullPointerException at
com.opencms.file.CmsRbManager???


During step 6 of the installation procedure using SuDE 7.0 (with 
preinstalled Apache, MySQL and jdk 1.1.7) I get the following "null 
pointer exception". Can you give me a hint?!

 /usr/lib/java/bin/java -mx64M -classpath 
openc
ms.jar:xerces.jar:mysql.jar:/usr/lib/java/lib/classes.zip 
com.opencms.core.CmsSh
ell config/opencms.properties < config/cmssetup.txt
[OpenCms] creating first cms-object
[OpenCms] initializing the main resource-broker
[CmsRbManager] ressourcebroker-name: mySql
[CmsRbManager] ressourcebroker-classname: 
com.opencms.file.mySql.CmsResourceBrok
er
[CmsRbManager] got rb-class
[CmsRbManager] created rb-instance
[CmsResourceBroker] init the dbaccess-module.
[CmsDbAccess] init the dbaccess-module.
[CmsDbAccess] read driver from configurations: org.gjt.mm.mysql.Driver
[CmsDbAccess] read url from configurations: 
jdbc:mysql://localhost:3306/opencms4
1
[CmsDbAccess] read user from configurations: root
[CmsDbAccess] read maxConn from configurations: 10
[CmsDbAccess] read digest from configurations: MD5
[CmsDbAccess] read guard-sleeptime from configurations: 120
[CmsDbAccess] digest created, using: sun.security.provider.MD5 Message 
Digest <i
ncomplete>

[CmsDbAccess] pool created
[CmsDbAccess] all statements initialized in the pool
[CmsDbAccess] max-ids initialized
[CmsDbAccess] fill default resources
[CmsRbManager] Critical error while loading resourcebroker.
[OpenCms] Critical error while loading resourcebroker.
[CmsException]: 33 Resourcebroker-init error. Detailed Error: Critical 
error whi
le loading resourcebroker. . Caught Exception: 
>java.lang.NullPointerException:
<
        at com.opencms.file.CmsRbManager.init(CmsRbManager.java:98)
        at com.opencms.core.OpenCms.<init>(OpenCms.java:118)
        at com.opencms.core.CmsShell.<init>(CmsShell.java:85)
        at com.opencms.core.CmsShell.main(CmsShell.java:196)
>java.lang.NullPointerException:
>       at
java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java)
>       at 
com.opencms.file.genericSql.CmsDbAccess.readSystemProperty(CmsDbAcces
s.java:5262)
>       at 
com.opencms.file.genericSql.CmsDbAccess.addSystemProperty(CmsDbAccess
.java:398)
>       at 
com.opencms.file.mySql.CmsDbAccess.fillDefaults(CmsDbAccess.java:452)
>       at 
com.opencms.file.genericSql.CmsDbAccess.<init>(CmsDbAccess.java:348)
>       at
com.opencms.file.mySql.CmsDbAccess.<init>(CmsDbAccess.java:65)
>       at 
com.opencms.file.mySql.CmsResourceBroker.createDbAccess(CmsResourceBr
oker.java:66)
>       at 
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.
java:3523)
>       at com.opencms.file.CmsRbManager.init(CmsRbManager.java:86)
>       at com.opencms.core.OpenCms.<init>(OpenCms.java:118)
>       at com.opencms.core.CmsShell.<init>(CmsShell.java:85)
>       at com.opencms.core.CmsShell.main(CmsShell.java:196)

java.lang.NullPointerException
        at com.opencms.core.CmsShell.printPrompt(CmsShell.java:266)
        at com.opencms.core.CmsShell.commands(CmsShell.java:153)
        at com.opencms.core.CmsShell.main(CmsShell.java:199)
root at paprika:/usr/local/opencms >

best regards,

Karl König



More information about the opencms-dev mailing list