Plan for OpenMRS Core 2.0.x

Build: #56 failed

Job: Build and Test failed

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Is dirty should return true when an immutable field is changed from Anon null to Anull value: Test case result

The below summarizes the result of the test "Is dirty should return true when an immutable field is changed from Anon null to Anull value" in build 56 of OpenMRS Core - OpenMRS Core 2.0.x - Build and Test. View test case history
Description
Is dirty should return true when an immutable field is changed from Anon null to Anull value
Test class
org.openmrs.ObsTest
Method
isDirty_shouldReturnTrueWhenAnImmutableFieldIsChangedFromANonNullToANullValue
Duration
< 1 sec
Status
Failed (New Failure)

Error Log

java.lang.IllegalAccessException: Can not set static final [Z field org.openmrs.Obs.$jacocoData to null value
	at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:76)
	at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:80)
	at sun.reflect.UnsafeQualifiedStaticObjectFieldAccessorImpl.set(UnsafeQualifiedStaticObjectFieldAccessorImpl.java:77)
	at java.lang.reflect.Field.set(Field.java:764)
	at org.openmrs.ObsTest.setFieldValue(ObsTest.java:97)
	at org.openmrs.ObsTest.createObs(ObsTest.java:77)
	at org.openmrs.ObsTest.isDirty_shouldReturnTrueWhenAnImmutableFieldIsChangedFromANonNullToANullValue(ObsTest.java:730)