Hi Matthew,
I was able to reproduce this error so I created Jira issue for this:
https://mifosforge.jira.com/browse/MIFOS-5874.
Best regards,
Lukasz
On 09/19/2012 11:32 AM, Matthew Laurenson wrote:
Hi all
After updating our copy of Mifos from 2.4.1 to 2.5.0 I examined the
logs and came across a Null Pointer Exception from the
ApplicationInitializer that seemed to relate to the Mifos-5632 fix
(see the relevant part of the log at the bottom of this message). I've
put our system information below the log entries, in case it is relevant.
I note that the liquibase ChangeSet for MIFOS-5632 seems to have been
successfully applied beforehand.
MIFOS-5632 seems to relate to role-based permissions on
Questionnaires. We don't currently have any questionnaires set up -
this may explain the error?
The error in the logs doesn't appear to have caused us any problems to
date, but I thought it worth mentioning.
We appreciate having the "waive customer penalty" behaviour sorted in
this release and look forward to experimenting with receipt printing -
thanks to all concerned.
Regards
Matthew Laurenson
INFO 9/19/12 9:04 AM:liquibase: ChangeSet
changesets/changelog-Release_J.xml::MIFOS-5632_1::Kamil Kalfas ran
successfully in 99ms
INFO 9/19/12 9:04 AM:liquibase: ChangeSet
changesets/changelog-Release_J.xml::MIFOSACC::Hugo Technologies ran
successfully in 240ms
INFO 9/19/12 9:04 AM:liquibase: ChangeSet
changesets/changelog-Release_J.xml::MIFOS_5702_1::Kamil Kalfas ran
successfully in 70ms
INFO 9/19/12 9:04 AM:liquibase: ChangeSet
changesets/changelog-Release_J.xml::MIFOS_5702_2::Kamil Kalfas ran
successfully in 61ms
INFO 9/19/12 9:04 AM:liquibase: Successfully released change log lock
2012-09-19/09:04:05.404/UTC INFO,
org.mifos.framework.util.ConfigurationLocator, ?, ?, ?,
ConfigurationLocator found configuration in resource: class path
resource [org/mifos/config/resources/mifosChartOfAccounts.custom.xml]
2012-09-19/09:04:05.690/UTC INFO,
org.mifos.framework.ApplicationInitializer, ?, ?, ?, Started
Mifos-5692 and Mifos-5722 fix.
2012-09-19/09:04:05.695/UTC INFO,
org.mifos.framework.ApplicationInitializer, ?, ?, ?, Query found 0
accounts.
2012-09-19/09:04:05.700/UTC INFO,
org.mifos.framework.ApplicationInitializer, ?, ?, ?, Fixed 0 accounts.
2012-09-19/09:04:05.705/UTC INFO,
org.mifos.framework.ApplicationInitializer, ?, ?, ?, Finished
Mifos-5692 and Mifos-5722 fix.
2012-09-19/09:04:05.736/UTC INFO,
org.mifos.framework.ApplicationInitializer, ?, ?, ?, Found 0 GLIM
accounts wtih incorrect number of installments on member accounts
2012-09-19/09:04:05.740/UTC INFO,
org.mifos.framework.ApplicationInitializer, ?, ?, ?, Fixed 0 accounts.
2012-09-19/09:04:05.741/UTC INFO,
org.mifos.framework.ApplicationInitializer, ?, ?, ?, Finished
Mifos-5763 fix.
2012-09-19/09:04:05.763/UTC INFO,
org.mifos.framework.ApplicationInitializer, ?, ?, ?, Failed to apply
Mifos-5632 fix
java.lang.NullPointerException
at
org.mifos.framework.ApplicationInitializer.applyMifos5632(ApplicationInitializer.java:377)
at
org.mifos.framework.ApplicationInitializer.dbUpgrade(ApplicationInitializer.java:324)
at
org.mifos.framework.ApplicationInitializer.init(ApplicationInitializer.java:211)
at
org.mifos.framework.ApplicationInitializer.contextInitialized(ApplicationInitializer.java:157)
at
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:643)
at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:233)
at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213)
at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:589)
at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at
org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
at
org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183)
at
org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:485)
at
org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:138)
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:142)
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:53)
at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:604)
at
org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:535)
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:398)
at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:332)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:118)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at
org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:546)
at
org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:221)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at
org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:45)
at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:53)
at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
at org.eclipse.jetty.server.Server.doStart(Server.java:261)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at
org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1203)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1126)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:469)
at org.eclipse.jetty.start.Main.start(Main.java:612)
at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:265)
at org.eclipse.jetty.start.Main.main(Main.java:79)
2012-09-19/09:04:05.767/UTC INFO,
org.mifos.framework.ApplicationInitializer, ?, ?, ?, Bound datasource
to jdbc/SourceDB
2012-09-19/09:04:05.769/UTC INFO,
org.mifos.framework.ApplicationInitializer, ?, ?, ?, Subcontext jdbc
was already bound
2012-09-19/09:04:05.771/UTC INFO,
org.mifos.framework.ApplicationInitializer, ?, ?, ?, Bound datasource
to jdbc/DestinationDB
...
Operating System / Arch / Version Linux/i386/2.6.32.28-xenU
Java Vendor / Version Sun Microsystems Inc./1.6.0_27
Database vendor / version MySQL/5.1.63-0+squeeze1-log
Database driver / version MySQL-AB JDBC
Driver/mysql-connector-java-5.1.18 ( Revision:
[email protected] )
Application Server jetty/7.5.4.v20111024
Release Name mifos-v2.5.0
Commit Identifier cebadf902f39aa1e8c85d2762eabbc21619f14ed
Build Date Wed Sep 12 11:01:50 PDT 2012
Build Number hudson-head-j-release-archive-18
Custom Reports Directory /home/jetty/.mifos/uploads/report
Database Parameter Source [/home/jetty/.mifos/local.properties]
Database Server localhost
Database Port 3306
Database Name mifos
Database User mifos@localhost
Date and Time 19/09/12 09:05
Date and Time in ISO8601 format 2012-09-19T09:05:35.869Z
Operating System User jetty
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mifos-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-users
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Mifos-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-users