NPE when running tests from BasicContentTypeImageService
GENERAL
TESTING
GENERAL
TESTING
Description
Activity
Show:

Hudson CI Server February 6, 2014 at 12:21 PM
Integrated in kernel-trunk #763 (See http://builds.sakaiproject.org:8080/job/kernel-trunk/763/)
Don't NPE in BasicContentTypeImageService#destroy() when running in tests. (Revision 134169)
Result = SUCCESS
Matthew Buckett February 6, 2014 at 11:39 AM
Tiny patch that just checks they were originally setup before attempting to reset them.
When running tests in the kernel that start/stop the component manager you will normally see a failure in the destruction sequence:
WARN DisposableBeanAdapter:337 - Invocation of destroy method 'destroy' failed on bean with name 'org.sakaiproject.content.api.ContentTypeImageService': java.lang.NullPointerException