[opencms-dev] Import workplace fails: many NullPointerExceptions

Graham Leggett minfrin at sharp.fm
Sun Feb 13 14:16:26 CET 2005


Hi all,

While trying to import a workplace during setup of opencms v6 alpha 3 
against a Postgres database, the following NullPointerExceptions are 
thrown. Opencms has been unpacked into a tomcat v5.0.30 container on 
Sun's JDK v1.4.2.

For reasons unknown, this logfile appears to run backwards bottom to top:

93:		at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:153)
92:		at 
org.opencms.setup.CmsSetupWorkplaceImportThread.kill(CmsSetupWorkplaceImportThread.java:107)
91:		at org.opencms.main.CmsShell.exit(CmsShell.java:560)
90:	java.lang.NullPointerException
89:		at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:153)
88:		at 
org.opencms.setup.CmsSetupWorkplaceImportThread.kill(CmsSetupWorkplaceImportThread.java:107)
87:		at org.opencms.main.CmsShell.exit(CmsShell.java:554)
86:	java.lang.NullPointerException
85:		at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:148)
84:		at org.opencms.main.CmsShell.start(CmsShell.java:491)
83:		at org.opencms.main.CmsShell.executeCommands(CmsShell.java:666)
82:		at org.opencms.main.CmsShell.printPrompt(CmsShell.java:719)
81:	java.lang.NullPointerException
80:		at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:142)
79:		at org.opencms.main.CmsShell.<init>(CmsShell.java:448)
78:	java.lang.NullPointerException
77:	
76:	>>	at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:142)
75:	>>	at org.opencms.main.CmsShell.<init>(CmsShell.java:445)
74:	>>	at 
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1371)
73:	>>	at 
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1035)
72:	>>	at 
org.opencms.db.CmsSecurityManager.newInstance(CmsSecurityManager.java:130)
71:	>>	at 
org.opencms.db.CmsSecurityManager.init(CmsSecurityManager.java:2227)
70:	>>	at 
org.opencms.db.CmsDriverManager.newInstance(CmsDriverManager.java:395)
69:	>>	at 
org.opencms.db.CmsDriverManager.newPoolInstance(CmsDriverManager.java:4536)
68:	>>	at 
org.opencms.db.CmsDbPool.createDriverManagerConnectionPool(CmsDbPool.java:235)
67:	>>	at java.lang.Class.forName(Class.java:141)
66:	>>	at java.lang.Class.forName0(Native Method)
65:	>>java.lang.NullPointerException
64:	>>Root cause:
63:	>>-----------
62:	>	at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:142)
61:	>	at org.opencms.main.CmsShell.<init>(CmsShell.java:445)
60:	>	at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1371)
59:	>	at 
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1035)
58:	>	at 
org.opencms.db.CmsSecurityManager.newInstance(CmsSecurityManager.java:130)
57:	>	at 
org.opencms.db.CmsSecurityManager.init(CmsSecurityManager.java:2227)
56:	>	at 
org.opencms.db.CmsDriverManager.newInstance(CmsDriverManager.java:395)
55:	>	at 
org.opencms.db.CmsDriverManager.newPoolInstance(CmsDriverManager.java:4542)
54:	>Root cause was: java.lang.NullPointerException
53:	>org.opencms.main.CmsException: Critical error while initializing 
connection pool default [Code 33 - DriverManager init error]
52:	>Root cause:
51:	>-----------
50:		at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:142)
49:		at org.opencms.main.CmsShell.<init>(CmsShell.java:445)
48:		at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1371)
47:		at 
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1041)
46:	Root cause was: java.lang.NullPointerException
45:	Root cause was: org.opencms.main.CmsException: Critical error while 
initializing connection pool default [Code 33 - DriverManager init error]
44:	org.opencms.main.CmsException: Database init failed [Code 33 - 
DriverManager init error]
43:	Critical error during OpenCms initialization
42:	
41:	>	at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:142)
40:	>	at org.opencms.main.CmsShell.<init>(CmsShell.java:445)
39:	>	at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1371)
38:	>	at 
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1035)
37:	>	at 
org.opencms.db.CmsSecurityManager.newInstance(CmsSecurityManager.java:130)
36:	>	at 
org.opencms.db.CmsSecurityManager.init(CmsSecurityManager.java:2227)
35:	>	at 
org.opencms.db.CmsDriverManager.newInstance(CmsDriverManager.java:395)
34:	>	at 
org.opencms.db.CmsDriverManager.newPoolInstance(CmsDriverManager.java:4536)
33:	>	at 
org.opencms.db.CmsDbPool.createDriverManagerConnectionPool(CmsDbPool.java:235)
32:	>	at java.lang.Class.forName(Class.java:141)
31:	>	at java.lang.Class.forName0(Native Method)
30:	>java.lang.NullPointerException
29:	>Root cause:
28:	>-----------
27:		at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:142)
26:		at org.opencms.main.CmsShell.<init>(CmsShell.java:445)
25:		at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1371)
24:		at 
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1035)
23:		at 
org.opencms.db.CmsSecurityManager.newInstance(CmsSecurityManager.java:130)
22:		at org.opencms.db.CmsSecurityManager.init(CmsSecurityManager.java:2227)
21:		at 
org.opencms.db.CmsDriverManager.newInstance(CmsDriverManager.java:395)
20:		at 
org.opencms.db.CmsDriverManager.newPoolInstance(CmsDriverManager.java:4542)
19:	Root cause was: java.lang.NullPointerException
18:	org.opencms.main.CmsException: Critical error while initializing 
connection pool default [Code 33 - DriverManager init error]
17:	Critical init error/3
16:		at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:142)
15:		at org.opencms.main.CmsShell.<init>(CmsShell.java:445)
14:		at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1371)
13:		at 
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1035)
12:		at 
org.opencms.db.CmsSecurityManager.newInstance(CmsSecurityManager.java:130)
11:		at org.opencms.db.CmsSecurityManager.init(CmsSecurityManager.java:2227)
10:		at 
org.opencms.db.CmsDriverManager.newInstance(CmsDriverManager.java:395)
9:		at 
org.opencms.db.CmsDriverManager.newPoolInstance(CmsDriverManager.java:4536)
8:		at 
org.opencms.db.CmsDbPool.createDriverManagerConnectionPool(CmsDbPool.java:235)
7:		at java.lang.Class.forName(Class.java:141)
6:		at java.lang.Class.forName0(Native Method)
5:	java.lang.NullPointerException
4:	Critical error while initializing connection pool default
3:	
2:	OpenCms property file: 
/usr/share/tomcat5/webapps/opencms/WEB-INF/config/opencms.properties
1:	OpenCms WEB-INF path:  /usr/share/tomcat5/webapps/opencms/WEB-INF/

Regards,
Graham
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3220 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050213/3c4e8544/attachment.bin>


More information about the opencms-dev mailing list