{"action":"created","issue":{"url":"https://api.github.com/repos/mockito/mockito/issues/355","repository_url":"https://api.github.com/repos/mockito/mockito","labels_url":"https://api.github.com/repos/mockito/mockito/issues/355/labels{/name}","comments_url":"https://api.github.com/repos/mockito/mockito/issues/355/comments","events_url":"https://api.github.com/repos/mockito/mockito/issues/355/events","html_url":"https://github.com/mockito/mockito/issues/355","id":133579513,"number":355,"title":"Regression with JDK-9-ea+104 and Mockito 2.0.42-beta ","user":{"login":"cushon","id":478458,"avatar_url":"https://avatars.githubusercontent.com/u/478458?v=3","gravatar_id":"","url":"https://api.github.com/users/cushon","html_url":"https://github.com/cushon","followers_url":"https://api.github.com/users/cushon/followers","following_url":"https://api.github.com/users/cushon/following{/other_user}","gists_url":"https://api.github.com/users/cushon/gists{/gist_id}","starred_url":"https://api.github.com/users/cushon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cushon/subscriptions","organizations_url":"https://api.github.com/users/cushon/orgs","repos_url":"https://api.github.com/users/cushon/repos","events_url":"https://api.github.com/users/cushon/events{/privacy}","received_events_url":"https://api.github.com/users/cushon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-14T21:00:01Z","updated_at":"2016-03-08T17:58:25Z","closed_at":null,"body":"The stack trace looks the same as #272, but it's happening with a recent JDK-9-ea release and the 2.0.42 beta.\r\n\r\nTested with:\r\n\r\n```\r\n$ java -fullversion\r\njava full version \"9-ea+104-2016-02-03-193932.javare.4385.nc\"\r\n```\r\n\r\nRepro:\r\n\r\n```java\r\nimport org.mockito.Mockito;\r\nimport org.junit.Test;\r\n\r\npublic class DemoTest {\r\n  @Test public void test() {\r\n    Mockito.mock(Object.class);\r\n  }\r\n}\r\n```\r\n\r\n```\r\nJUnit version 4.12\r\n.E\r\nTime: 0.041\r\nThere was 1 failure:\r\n1) test(DemoTest)\r\njava.lang.ExceptionInInitializerError\r\n\tat org.mockito.internal.exceptions.stacktrace.ConditionalStackTraceFilter.<init>(ConditionalStackTraceFilter.java:17)\r\n\tat org.mockito.exceptions.base.MockitoException.filterStackTrace(MockitoException.java:41)\r\n\tat org.mockito.exceptions.base.MockitoException.<init>(MockitoException.java:30)\r\n\tat org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:35)\r\n\tat org.mockito.internal.configuration.plugins.PluginRegistry.<init>(PluginRegistry.java:13)\r\n\tat org.mockito.internal.configuration.plugins.Plugins.<clinit>(Plugins.java:12)\r\n\tat org.mockito.internal.util.MockUtil.<clinit>(MockUtil.java:23)\r\n\tat org.mockito.internal.MockitoCore.<init>(MockitoCore.java:40)\r\n\tat org.mockito.Mockito.<clinit>(Mockito.java:1103)\r\n\tat DemoTest.test(DemoTest.java:6)\r\n\t...\r\nCaused by: java.lang.NullPointerException\r\n\tat org.mockito.internal.configuration.plugins.Plugins.getStackTraceCleanerProvider(Plugins.java:18)\r\n\tat org.mockito.internal.exceptions.stacktrace.StackTraceFilter.<clinit>(StackTraceFilter.java:21)\r\n\t... 39 more\r\n```"},"comment":{"url":"https://api.github.com/repos/mockito/mockito/issues/comments/193891610","html_url":"https://github.com/mockito/mockito/issues/355#issuecomment-193891610","issue_url":"https://api.github.com/repos/mockito/mockito/issues/355","id":193891610,"user":{"login":"bric3","id":803621,"avatar_url":"https://avatars.githubusercontent.com/u/803621?v=3","gravatar_id":"","url":"https://api.github.com/users/bric3","html_url":"https://github.com/bric3","followers_url":"https://api.github.com/users/bric3/followers","following_url":"https://api.github.com/users/bric3/following{/other_user}","gists_url":"https://api.github.com/users/bric3/gists{/gist_id}","starred_url":"https://api.github.com/users/bric3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bric3/subscriptions","organizations_url":"https://api.github.com/users/bric3/orgs","repos_url":"https://api.github.com/users/bric3/repos","events_url":"https://api.github.com/users/bric3/events{/privacy}","received_events_url":"https://api.github.com/users/bric3/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T17:58:25Z","updated_at":"2016-03-08T17:58:25Z","body":"Android toolchain upgrade ?\r\nThere may be something that don't work with the way mockito loads his own extensions, this is the time to debug [`PluginLoader`](https://github.com/mockito/mockito/blob/master/src/main/java/org/mockito/internal/configuration/plugins/PluginLoader.java) or classes that uses it to load for exemple the stack trace cleaner."}}