{"action":"created","issue":{"url":"https://api.github.com/repos/MutabilityDetector/MutabilityDetector/issues/59","labels_url":"https://api.github.com/repos/MutabilityDetector/MutabilityDetector/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/MutabilityDetector/MutabilityDetector/issues/59/comments","events_url":"https://api.github.com/repos/MutabilityDetector/MutabilityDetector/issues/59/events","html_url":"https://github.com/MutabilityDetector/MutabilityDetector/issues/59","id":75274577,"number":59,"title":"ClassNotFoundException when Guava is not on the classpath","user":{"login":"danielFesenmeyerAtBosch","id":11198630,"avatar_url":"https://avatars.githubusercontent.com/u/11198630?v=3","gravatar_id":"","url":"https://api.github.com/users/danielFesenmeyerAtBosch","html_url":"https://github.com/danielFesenmeyerAtBosch","followers_url":"https://api.github.com/users/danielFesenmeyerAtBosch/followers","following_url":"https://api.github.com/users/danielFesenmeyerAtBosch/following{/other_user}","gists_url":"https://api.github.com/users/danielFesenmeyerAtBosch/gists{/gist_id}","starred_url":"https://api.github.com/users/danielFesenmeyerAtBosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielFesenmeyerAtBosch/subscriptions","organizations_url":"https://api.github.com/users/danielFesenmeyerAtBosch/orgs","repos_url":"https://api.github.com/users/danielFesenmeyerAtBosch/repos","events_url":"https://api.github.com/users/danielFesenmeyerAtBosch/events{/privacy}","received_events_url":"https://api.github.com/users/danielFesenmeyerAtBosch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-11T16:14:14Z","updated_at":"2015-05-17T16:49:18Z","closed_at":"2015-05-17T16:49:18Z","body":"With the currently released version (0.9.3) I get the following exception:\r\n\r\n```\r\njava.lang.ExceptionInInitializerError\r\n\tat org.mutabilitydetector.unittesting.MutabilityAssert.<clinit>(MutabilityAssert.java:658)\r\n\t...\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:483)\r\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)\r\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\r\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)\r\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\r\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\r\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:363)\r\n\tat org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)\r\n\tat org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)\r\nCaused by: org.mutabilitydetector.checkers.MutabilityAnalysisException: Error in configuration: Class not  found: com.google.common.collect.Lists\r\n\tat org.mutabilitydetector.ConfigurationBuilder.rethrow(ConfigurationBuilder.java:447)\r\n\tat org.mutabilitydetector.ConfigurationBuilder.hardcodeValidCopyMethod(ConfigurationBuilder.java:432)\r\n\tat org.mutabilitydetector.config.GuavaConfiguration.configure(GuavaConfiguration.java:37)\r\n\tat org.mutabilitydetector.ConfigurationBuilder.build(ConfigurationBuilder.java:148)\r\n\tat org.mutabilitydetector.Configurations.<clinit>(Configurations.java:39)\r\n\t... 25 more\r\nCaused by: java.lang.ClassNotFoundException: com.google.common.collect.Lists\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:372)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:361)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:360)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\tat java.lang.Class.forName0(Native Method)\r\n\tat java.lang.Class.forName(Class.java:260)\r\n\tat org.mutabilitydetector.ConfigurationBuilder.hardcodeValidCopyMethod(ConfigurationBuilder.java:424)\r\n\t... 28 more\r\n\r\n```\r\n\r\nWith version 0.9.2 the exception does **not** occur."},"comment":{"url":"https://api.github.com/repos/MutabilityDetector/MutabilityDetector/issues/comments/102822376","html_url":"https://github.com/MutabilityDetector/MutabilityDetector/issues/59#issuecomment-102822376","issue_url":"https://api.github.com/repos/MutabilityDetector/MutabilityDetector/issues/59","id":102822376,"user":{"login":"Grundlefleck","id":461739,"avatar_url":"https://avatars.githubusercontent.com/u/461739?v=3","gravatar_id":"","url":"https://api.github.com/users/Grundlefleck","html_url":"https://github.com/Grundlefleck","followers_url":"https://api.github.com/users/Grundlefleck/followers","following_url":"https://api.github.com/users/Grundlefleck/following{/other_user}","gists_url":"https://api.github.com/users/Grundlefleck/gists{/gist_id}","starred_url":"https://api.github.com/users/Grundlefleck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grundlefleck/subscriptions","organizations_url":"https://api.github.com/users/Grundlefleck/orgs","repos_url":"https://api.github.com/users/Grundlefleck/repos","events_url":"https://api.github.com/users/Grundlefleck/events{/privacy}","received_events_url":"https://api.github.com/users/Grundlefleck/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T16:49:18Z","updated_at":"2015-05-17T16:49:18Z","body":"0.9.5 is on it's way to Maven Central, it should contain the actual fix."}}