{"action":"opened","issue":{"url":"https://api.github.com/repos/jayway/powermock/issues/286","labels_url":"https://api.github.com/repos/jayway/powermock/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/jayway/powermock/issues/286/comments","events_url":"https://api.github.com/repos/jayway/powermock/issues/286/events","html_url":"https://github.com/jayway/powermock/issues/286","id":96975741,"number":286,"title":"@PrepareForTest causes LocalVariableTable error when using log4j","user":{"login":"johanhaleby","id":187029,"avatar_url":"https://avatars.githubusercontent.com/u/187029?v=3","gravatar_id":"","url":"https://api.github.com/users/johanhaleby","html_url":"https://github.com/johanhaleby","followers_url":"https://api.github.com/users/johanhaleby/followers","following_url":"https://api.github.com/users/johanhaleby/following{/other_user}","gists_url":"https://api.github.com/users/johanhaleby/gists{/gist_id}","starred_url":"https://api.github.com/users/johanhaleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanhaleby/subscriptions","organizations_url":"https://api.github.com/users/johanhaleby/orgs","repos_url":"https://api.github.com/users/johanhaleby/repos","events_url":"https://api.github.com/users/johanhaleby/events{/privacy}","received_events_url":"https://api.github.com/users/johanhaleby/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jayway/powermock/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/jayway/powermock/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/jayway/powermock/labels/Priority-Medium","name":"Priority-Medium","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-24T06:32:06Z","updated_at":"2015-07-24T06:32:07Z","closed_at":null,"body":"_From [kevin.ki...@gmail.com](https://code.google.com/u/111821237685742939965/) on July 09, 2010 23:12:47_\n\nWhat steps will reproduce the problem? 1. Create a class to test that defines Logger from log4j\r\n2. Create a unit test for that class with the @PrepareForTest Attribute\r\n3. Run the test case with the \"Run as JUnit\" in eclipse\r\n4. Error occurs with \"Invalid length XXXX in LocalVariableTable\" What is the expected output? What do you see instead? It should not throw an exception What version of the product are you using? On what operating system? powermock-mockito-1.3.8-full.jar Please provide any additional information below. *Removing the Logger prevents the exception.\r\n*Removing the Attribute prevents the exception.\n\n_Original issue: http://code.google.com/p/powermock/issues/detail?id=266_"}}