Page 1 of 1

Error java.lang.NullPointerException after migrating to 5.01

PostPosted:Tue Jan 25, 2011 2:16 pm
by jap_td03
i've just dowload and upgrade my OKM from 5.0 to 5.0.1 (follow migration guide http://wiki.openkm.com/index.php/Migrat ... _to_5.0.1). After replace Okm.war, Error java.lang.NullPointerException appeare at login screen.
what problems with my OKM and how to fix them?

thank you

Re: Error java.lang.NullPointerException after migrating to

PostPosted:Tue Jan 25, 2011 3:39 pm
by pavila
Can you attach a log trace?

Re: Error java.lang.NullPointerException after migrating to

PostPosted:Tue Jan 25, 2011 4:20 pm
by jap_td03
Thanks. here you are.

my OS: Windows server 2003

Re: Error java.lang.NullPointerException after migrating to

PostPosted:Tue Jan 25, 2011 4:26 pm
by pavila
Edit OpenKM.cfg and set hibernate.hbm2ddl to update, restart JBoss and set hibernate.hbm2ddl to none.

Re: Error java.lang.NullPointerException after migrating to

PostPosted:Wed Jan 26, 2011 2:38 am
by jap_td03
Thanks Pavila. Your solution work with login but my upgrading still have some errors and cannot work smoothly as expected.
could you please check the log and have me figure out the problems

Hope to hear from you soon

Re: Error java.lang.NullPointerException after migrating to

PostPosted:Wed Jan 26, 2011 10:45 am
by pavila
Are you sure you have a 5.0 version and not a 5.0-RC1 or son? I can't reproduce your issue. Seem that you don't have a table called OKM_CRON_TAB but this table should be already in your OpenKM 5.0 installation.

Also try to delete $JBOSS_HOME/server/default/tmp and $JBOSS_HOME/server/default/work folders when JBoss is stopped.