Clear error instead NPE in ClasspathResource, and NullPointerException in
ApplicationInitializer
------------------------------------------------------------------------------------------------
Key: MIFOS-4412
URL: http://mifosforge.jira.com/browse/MIFOS-4412
Project: mifos
Issue Type: Bug
Reporter: Michael Vorburger
1. It would be nicer if instead of java.lang.NullPointerException at
org.mifos.core.ClasspathResource.getAsStream(ClasspathResource.java:96) a clear
exception detailing which resource was looked up and not found was thrown.
2. It would be nicer if instead of java.lang.NullPointerException at
org.mifos.framework.ApplicationInitializer.contextDestroyed(ApplicationInitializer.java:367)
during shutdown this was handled gracefully.
Both should never happen during normal operations in a correctly configured
application, but can in development.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues