{"action":"created","issue":{"url":"https://api.github.com/repos/jayway/powermock/issues/679","repository_url":"https://api.github.com/repos/jayway/powermock","labels_url":"https://api.github.com/repos/jayway/powermock/issues/679/labels{/name}","comments_url":"https://api.github.com/repos/jayway/powermock/issues/679/comments","events_url":"https://api.github.com/repos/jayway/powermock/issues/679/events","html_url":"https://github.com/jayway/powermock/issues/679","id":162695287,"number":679,"title":"ProxyFrameworkImpl could not be located in classpath.","user":{"login":"CaiqueBrito","id":8015744,"avatar_url":"https://avatars.githubusercontent.com/u/8015744?v=3","gravatar_id":"","url":"https://api.github.com/users/CaiqueBrito","html_url":"https://github.com/CaiqueBrito","followers_url":"https://api.github.com/users/CaiqueBrito/followers","following_url":"https://api.github.com/users/CaiqueBrito/following{/other_user}","gists_url":"https://api.github.com/users/CaiqueBrito/gists{/gist_id}","starred_url":"https://api.github.com/users/CaiqueBrito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaiqueBrito/subscriptions","organizations_url":"https://api.github.com/users/CaiqueBrito/orgs","repos_url":"https://api.github.com/users/CaiqueBrito/repos","events_url":"https://api.github.com/users/CaiqueBrito/events{/privacy}","received_events_url":"https://api.github.com/users/CaiqueBrito/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-28T14:09:42Z","updated_at":"2016-06-29T16:57:38Z","closed_at":null,"body":"Hello,\r\n\r\nI downloaded the powermock-easymock-junit-1.6.5.zip, write my code but i cant execute, \r\nDon`t know why appears this message, i look inside .jar and there is the ProxyFrameworkImpl.class\r\ni'm looking to the following error:\r\n\r\n `java.lang.IllegalStateException: Extension API internal error: org.powermock.api.extension.proxyframework.ProxyFrameworkImpl could not be located in classpath.\r\nat org.powermock.reflect.proxyframework.ProxyFrameworkHelper.register(ProxyFrameworkHelper.java:35)\r\nat org.powermock.reflect.proxyframework.ClassLoaderRegisterProxyFramework.registerProxyframework(ClassLoaderRegisterProxyFramework.java:28)\r\nat org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl.registerProxyframework(AbstractCommonTestSuiteChunkerImpl.java:101)\r\nat org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl.chunkClass(AbstractCommonTestSuiteChunkerImpl.java:114)\r\nat org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl.<init>(AbstractCommonTestSuiteChunkerImpl.java:60)\r\nat org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImpl.<init>(AbstractCommonTestSuiteChunkerImpl.java:54)\r\nat org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl.<init>(AbstractTestSuiteChunkerImpl.java:58)\r\nat org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.<init>(JUnit4TestSuiteChunkerImpl.java:59)\r\nat org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner.<init>(AbstractCommonPowerMockRunner.java:32)\r\nat org.powermock.modules.junit4.PowerMockRunner.<init>(PowerMockRunner.java:34)\r\nat java.lang.reflect.Constructor.newInstance(Native Method)\r\nat org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)\r\nat org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)\r\nat android.support.test.internal.runner.junit4.AndroidAnnotatedBuilder.runnerForClass(AndroidAnnotatedBuilder.java:51)\r\nat org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)\r\nat org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)\r\nat org.junit.runner.Computer.getRunner(Computer.java:40)\r\nat org.junit.runner.Computer$1.runnerForClass(Computer.java:31)\r\nat org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)\r\nat org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)\r\nat org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)\r\nat org.junit.runners.Suite.<init>(Suite.java:81)\r\nat org.junit.runner.Computer.getSuite(Computer.java:28)\r\nat android.support.test.internal.runner.TestRequestBuilder.classes(TestRequestBuilder.java:791)\r\nat android.support.test.internal.runner.TestRequestBuilder.build(TestRequestBuilder.java:754)\r\nat android.support.test.runner.AndroidJUnitRunner.buildRequest(AndroidJUnitRunner.java:341)\r\nat android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:238)\r\nat android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1970)`\r\n\r\nfollow my test code:\r\n\r\n@RunWith(PowerMockRunner.class)\r\n@PrepareForTest(ObtainIPService.class)\r\npublic class ObtainIPUnit{\r\n\r\n    @Test\r\n    public void obtainIP() throws SocketException {\r\n\r\n        mockStatic(ObtainIPService.class);\r\n        expect(ObtainIPService.obtainIP()).andReturn(\"192.168.0.132\");\r\n\r\n        Log.i(\"UNITTEST\", ObtainIPService.obtainIP());\r\n\r\n        assertNotNull(\"The value is null\", ObtainIPService.obtainIP());\r\n    }\r\n}\r\n\r\nWill be waiting for answer.\r\nKind regards.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jayway/powermock/issues/comments/229419843","html_url":"https://github.com/jayway/powermock/issues/679#issuecomment-229419843","issue_url":"https://api.github.com/repos/jayway/powermock/issues/679","id":229419843,"user":{"login":"CaiqueBrito","id":8015744,"avatar_url":"https://avatars.githubusercontent.com/u/8015744?v=3","gravatar_id":"","url":"https://api.github.com/users/CaiqueBrito","html_url":"https://github.com/CaiqueBrito","followers_url":"https://api.github.com/users/CaiqueBrito/followers","following_url":"https://api.github.com/users/CaiqueBrito/following{/other_user}","gists_url":"https://api.github.com/users/CaiqueBrito/gists{/gist_id}","starred_url":"https://api.github.com/users/CaiqueBrito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaiqueBrito/subscriptions","organizations_url":"https://api.github.com/users/CaiqueBrito/orgs","repos_url":"https://api.github.com/users/CaiqueBrito/repos","events_url":"https://api.github.com/users/CaiqueBrito/events{/privacy}","received_events_url":"https://api.github.com/users/CaiqueBrito/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T16:57:37Z","updated_at":"2016-06-29T16:57:37Z","body":"@thekingnothing \r\n\r\nI'm using `powermock-easymock-1.6.5-full.jar`.\r\ninside jar there is a `api` package, on my Mac i'm using the same jars and it's working like charm, do you have some clue to solve it?\r\n\r\nThanks."}}
{"actor":{"display_login":"CaiqueBrito"}}