https://bugzilla.redhat.com/show_bug.cgi?id=1096992
Bug ID: 1096992 Summary: PowerMock 1.4.x incompatible with EasyMock 3.1 Product: Fedora Version: 20 Component: powermock Severity: high Assignee: rkennke@redhat.com Reporter: ctubbsii@apache.org QA Contact: extras-qa@fedoraproject.org CC: java-sig-commits@lists.fedoraproject.org, jerboaa@gmail.com, msimacek@redhat.com, neugens@redhat.com, rkennke@redhat.com
Description of problem:
PowerMockRunner 1.4.12 and some versions of 1.5.x are incompatible with EasyMock 3.2 available in Fedora. PowerMock needs to be updated to version 1.5.4 (preferred) or EasyMock 3.1 needs to be available.
Version-Release number of selected component (if applicable): 1.4.12
How reproducible: 100%
Steps to Reproduce: 1. Run a basic JUnit test with PowerMockRunner, using expectNew
Actual results: Test fails with the following exception: org.powermock.reflect.exceptions.FieldNotFoundException: No instance field of type "org.easymock.internal.MocksControl$MockType" could be found in the class hierarchy of org.easymock.internal.MocksControl.
Expected results: Test succeeds
Additional info: http://stackoverflow.com/questions/17788926/org-powermock-reflect-exceptions... http://code.google.com/p/powermock/issues/detail?id=454