{"action":"opened","issue":{"url":"https://api.github.com/repos/jayway/powermock/issues/720","repository_url":"https://api.github.com/repos/jayway/powermock","labels_url":"https://api.github.com/repos/jayway/powermock/issues/720/labels{/name}","comments_url":"https://api.github.com/repos/jayway/powermock/issues/720/comments","events_url":"https://api.github.com/repos/jayway/powermock/issues/720/events","html_url":"https://github.com/jayway/powermock/issues/720","id":190565431,"number":720,"title":"java.lang.IllegalAccessError: tried to access method org.mockito.internal.util.ObjectMethodsGuru.<init>","user":{"login":"ahoehma","id":548214,"avatar_url":"https://avatars.githubusercontent.com/u/548214?v=3","gravatar_id":"","url":"https://api.github.com/users/ahoehma","html_url":"https://github.com/ahoehma","followers_url":"https://api.github.com/users/ahoehma/followers","following_url":"https://api.github.com/users/ahoehma/following{/other_user}","gists_url":"https://api.github.com/users/ahoehma/gists{/gist_id}","starred_url":"https://api.github.com/users/ahoehma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahoehma/subscriptions","organizations_url":"https://api.github.com/users/ahoehma/orgs","repos_url":"https://api.github.com/users/ahoehma/repos","events_url":"https://api.github.com/users/ahoehma/events{/privacy}","received_events_url":"https://api.github.com/users/ahoehma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-20T15:48:18Z","updated_at":"2016-11-20T15:48:18Z","closed_at":null,"body":"What steps will reproduce the problem?\r\n\r\nTry to use this\r\n\r\n`\r\n<dependency>\r\n        <groupId>org.mockito</groupId>\r\n        <artifactId>mockito-core</artifactId>\r\n        <version>${mockito.version}</version>\r\n        <scope>test</scope>\r\n        <exclusions>\r\n          <exclusion>\r\n            <groupId>org.hamcrest</groupId>\r\n            <artifactId>hamcrest-core</artifactId>\r\n          </exclusion>\r\n        </exclusions>\r\n      </dependency>\r\n      <dependency>\r\n        <groupId>org.powermock</groupId>\r\n        <artifactId>powermock-core</artifactId>\r\n        <version>${powermock.version}</version>\r\n        <scope>test</scope>\r\n      </dependency>\r\n      <dependency>\r\n        <groupId>org.powermock</groupId>\r\n        <artifactId>powermock-api-mockito2</artifactId>\r\n        <version>${powermock.version}</version>\r\n        <scope>test</scope>\r\n        <exclusions>\r\n          <exclusion>\r\n            <groupId>org.mockito</groupId>\r\n            <artifactId>mockito-all</artifactId>\r\n          </exclusion>\r\n          <exclusion>\r\n            <groupId>org.hamcrest</groupId>\r\n            <artifactId>hamcrest-core</artifactId>\r\n          </exclusion>\r\n        </exclusions>\r\n      </dependency>\r\n`\r\n\r\nwith\r\n\r\n<powermock.version>1.6.6</powermock.version>\r\n<mockito.version>2.2.21</mockito.version>\r\n\r\njava.lang.IllegalAccessError: tried to access method org.mockito.internal.util.ObjectMethodsGuru.<init>()V from class org.powermock.api.mockito.repackaged.MethodInterceptorFilter\r\n\tat org.powermock.api.mockito.repackaged.MethodInterceptorFilter.<init>(MethodInterceptorFilter.java:32)\r\n\tat org.powermock.api.mockito.repackaged.CglibMockMaker.createMock(CglibMockMaker.java:27)\r\n\tat org.powermock.api.mockito.internal.mockmaker.PowerMockMaker.createMock(PowerMockMaker.java:48)\r\n\tat org.mockito.internal.util.MockUtil.createMock(MockUtil.java:35)\r\n\tat org.mockito.internal.MockitoCore.mock(MockitoCore.java:63)\r\n\tat org.mockito.Mockito.mock(Mockito.java:1632)\r\n\tat org.mockito.Mockito.mock(Mockito.java:1545)\r\n\tat com.siemens.spice.hscm.integration.configui.ccm.ConfigUiCcmApplicationManagerTest.missingChild(ConfigUiCcmApplicationManagerTest.java:145)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)\r\n\tat org.testng.internal.Invoker.invokeMethod(Invoker.java:646)\r\n\tat org.testng.internal.Invoker.invokeTestMethod(Invoker.java:823)\r\n\tat org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)\r\n\tat org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)\r\n\tat org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)\r\n\tat org.testng.TestRunner.privateRun(TestRunner.java:778)\r\n\tat org.testng.TestRunner.run(TestRunner.java:632)\r\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:366)\r\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)\r\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)\r\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:268)\r\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\r\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)\r\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1225)\r\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1150)\r\n\tat org.testng.TestNG.runSuites(TestNG.java:1075)\r\n\tat org.testng.TestNG.run(TestNG.java:1047)\r\n\tat org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132)\r\n\tat org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:236)\r\n\tat org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:81)\r\n\r\nI guess this can not work because of the private constructor.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/548214/20464067/d0cdccb2-af40-11e6-8b63-248cc2d4ba9d.png)\r\n"}}
{"actor":{"display_login":"ahoehma"}}