NPE when running tests from BasicContentTypeImageService

Description

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

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/)
https://sakaiproject.atlassian.net/browse/KNL-1166#icft=KNL-1166 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.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created February 6, 2014 at 11:28 AM
Updated March 23, 2022 at 3:03 PM
Resolved February 6, 2014 at 11:39 AM

Flag notifications