After the upgrade from 3.4.2 to 3.5.0 done according to http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/upgrade- guide.html (which I’ve carried out a number of times now to get to 3.4.2), the attached error_log file is produced.
This of course results in the following being written to nohup.out and the server terminating:
Database setup or configuration error: Please verify your database settings and
check the logs/error.log file for detailed error messages.
java.lang.IllegalArgumentException: java.lang.NullPointerException
at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java
:740)
at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:458)
at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:160)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.j
ava:105)
at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.ja
va:50)
Caused by: java.lang.NullPointerException
at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java
:729)
… 10 more
Error starting the server. Please check the log files for more information.
Server halted
I’ve tried the upgrade process more than 5 times now, with the same results.
Any help is appreciated.