{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/5683","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/5683/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/5683/comments","events_url":"https://api.github.com/repos/appium/appium/issues/5683/events","html_url":"https://github.com/appium/appium/issues/5683","id":109599581,"number":5683,"title":"Java.lang.IllegalAccessError from PageFactory when I switch to java-client 3.2.0 ","user":{"login":"mkataokaelementum","id":12632923,"avatar_url":"https://avatars.githubusercontent.com/u/12632923?v=3","gravatar_id":"","url":"https://api.github.com/users/mkataokaelementum","html_url":"https://github.com/mkataokaelementum","followers_url":"https://api.github.com/users/mkataokaelementum/followers","following_url":"https://api.github.com/users/mkataokaelementum/following{/other_user}","gists_url":"https://api.github.com/users/mkataokaelementum/gists{/gist_id}","starred_url":"https://api.github.com/users/mkataokaelementum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkataokaelementum/subscriptions","organizations_url":"https://api.github.com/users/mkataokaelementum/orgs","repos_url":"https://api.github.com/users/mkataokaelementum/repos","events_url":"https://api.github.com/users/mkataokaelementum/events{/privacy}","received_events_url":"https://api.github.com/users/mkataokaelementum/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/NeedsTriage","name":"NeedsTriage","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-03T03:10:45Z","updated_at":"2016-04-08T12:28:52Z","closed_at":null,"body":"If I do \"PageFactory.initElements(new AppiumFieldDecorator(driver), this);\" with java-client 2.2.0 it works. If I switch to java-client 3.2.0, java.lang.IllegalAccessError occurs.\r\n\r\nDoes anyone know what is going on?\r\n\r\nHere are the logs.\r\n\r\njava.lang.IllegalAccessError: tried to access method org.openqa.selenium.support.pagefactory.Annotations.assertValidAnnotations()V from class io.appium.java_client.pagefactory.AppiumAnnotations\r\nat io.appium.java_client.pagefactory.AppiumAnnotations.assertValidAnnotations(AppiumAnnotations.java:222)\r\nat io.appium.java_client.pagefactory.AppiumAnnotations.buildBy(AppiumAnnotations.java:315)\r\nat io.appium.java_client.pagefactory.AppiumElementLocator.(AppiumElementLocator.java:109)\r\nat io.appium.java_client.pagefactory.AppiumElementLocatorFactory.createLocator(AppiumElementLocatorFactory.java:41)\r\nat io.appium.java_client.pagefactory.AppiumFieldDecorator.decorate(AppiumFieldDecorator.java:102)\r\nat org.openqa.selenium.support.PageFactory.proxyFields(PageFactory.java:112)\r\nat org.openqa.selenium.support.PageFactory.initElements(PageFactory.java:104)\r\nat com.elementum.qe.clients.android.exposure.pages.LoginPage.(LoginPage.java:29)\r\nat com.elementum.qe.clients.android.exposure.testng.NewCreateIssueTest.beforeTest(NewCreateIssueTest.java:42)"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/207412013","html_url":"https://github.com/appium/appium/issues/5683#issuecomment-207412013","issue_url":"https://api.github.com/repos/appium/appium/issues/5683","id":207412013,"user":{"login":"SrinivasanTarget","id":8896549,"avatar_url":"https://avatars.githubusercontent.com/u/8896549?v=3","gravatar_id":"","url":"https://api.github.com/users/SrinivasanTarget","html_url":"https://github.com/SrinivasanTarget","followers_url":"https://api.github.com/users/SrinivasanTarget/followers","following_url":"https://api.github.com/users/SrinivasanTarget/following{/other_user}","gists_url":"https://api.github.com/users/SrinivasanTarget/gists{/gist_id}","starred_url":"https://api.github.com/users/SrinivasanTarget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SrinivasanTarget/subscriptions","organizations_url":"https://api.github.com/users/SrinivasanTarget/orgs","repos_url":"https://api.github.com/users/SrinivasanTarget/repos","events_url":"https://api.github.com/users/SrinivasanTarget/events{/privacy}","received_events_url":"https://api.github.com/users/SrinivasanTarget/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T12:28:52Z","updated_at":"2016-04-08T12:28:52Z","body":"@triager please close"}}