{"action":"created","issue":{"url":"https://api.github.com/repos/KostyaSha/docker-java-shade/issues/1","labels_url":"https://api.github.com/repos/KostyaSha/docker-java-shade/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/KostyaSha/docker-java-shade/issues/1/comments","events_url":"https://api.github.com/repos/KostyaSha/docker-java-shade/issues/1/events","html_url":"https://github.com/KostyaSha/docker-java-shade/issues/1","id":126245868,"number":1,"title":"ShadeTest error","user":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2016-01-12T18:42:44Z","updated_at":"2016-01-12T21:25:24Z","closed_at":null,"body":"Test fails on runtime in IDEA:\r\n```\r\njava.lang.LinkageError: ClassCastException: attempting to castjar:file:/Users/integer/src/github/docker-java-shade/docker-java-shade-2/target/docker-java-shade-2-0.1.0-SNAPSHOT.jar!/shade2/javax/ws/rs/client/ClientBuilder.class to jar:file:/Users/integer/src/github/docker-java-shade/docker-java-shade-2/target/docker-java-shade-2-0.1.0-SNAPSHOT.jar!/shade2/javax/ws/rs/client/ClientBuilder.class\r\n\r\n\tat shade2.javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:97)\r\n\tat shade2.com.github.dockerjava.jaxrs.DockerCmdExecFactoryImpl.init(DockerCmdExecFactoryImpl.java:169)\r\n\tat shade2.com.github.dockerjava.core.DockerClientImpl.withDockerCmdExecFactory(DockerClientImpl.java:130)\r\n\tat shade2.com.github.dockerjava.core.DockerClientBuilder.build(DockerClientBuilder.java:47)\r\n\tat com.github.kostyasha.docker_java_shade.ShadeTest.testShading(ShadeTest.java:16)\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:497)\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.junit.runners.Suite.runChild(Suite.java:128)\r\n\tat org.junit.runners.Suite.runChild(Suite.java:27)\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.junit.runner.JUnitCore.run(JUnitCore.java:137)\r\n\tat com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)\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:497)\r\n\tat com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)\r\n\r\nSLF4J: Failed to load class \"org.slf4j.impl.StaticLoggerBinder\".\r\nSLF4J: Defaulting to no-operation (NOP) logger implementation\r\nSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.\r\n\r\nProcess finished with exit code 255\r\n```\r\n\r\nfrom maven 3.2:\r\n```\r\n------------------------------------------------------\r\n T E S T S\r\n-------------------------------------------------------\r\nRunning com.github.kostyasha.docker_java_shade.ShadeTest\r\nSLF4J: Failed to load class \"org.slf4j.impl.StaticLoggerBinder\".\r\nSLF4J: Defaulting to no-operation (NOP) logger implementation\r\nSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.\r\nTests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.297 sec <<< FAILURE!\r\ntestShading(com.github.kostyasha.docker_java_shade.ShadeTest)  Time elapsed: 1.2 sec  <<< ERROR!\r\njava.lang.LinkageError: ClassCastException: attempting to castjar:file:/Users/integer/src/github/docker-java-shade/docker-java-shade-2/target/docker-java-shade-2-0.1.0-SNAPSHOT.jar!/shade2/javax/ws/rs/client/ClientBuilder.class to jar:file:/Users/integer/src/github/docker-java-shade/docker-java-shade-2/target/docker-java-shade-2-0.1.0-SNAPSHOT.jar!/shade2/javax/ws/rs/client/ClientBuilder.class\r\n\tat shade2.javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:97)\r\n\tat shade2.com.github.dockerjava.jaxrs.DockerCmdExecFactoryImpl.init(DockerCmdExecFactoryImpl.java:169)\r\n\tat shade2.com.github.dockerjava.core.DockerClientImpl.withDockerCmdExecFactory(DockerClientImpl.java:130)\r\n\tat shade2.com.github.dockerjava.core.DockerClientBuilder.build(DockerClientBuilder.java:47)\r\n\tat com.github.kostyasha.docker_java_shade.ShadeTest.testShading(ShadeTest.java:16)\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:497)\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.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)\r\n\tat org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)\r\n\tat org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)\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:497)\r\n\tat org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)\r\n\tat org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)\r\n\tat org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)\r\n\tat org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)\r\n\tat org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)\r\n\r\n\r\nResults :\r\n\r\nTests in error:\r\n  testShading(com.github.kostyasha.docker_java_shade.ShadeTest): ClassCastException: attempting to castjar:file:/Users/integer/src/github/docker-java-shade/docker-java-shade-2/target/docker-java-shade-2-0.1.0-SNAPSHOT.jar!/shade2/javax/ws/rs/client/ClientBuilder.class to jar:file:/Users/integer/src/github/docker-java-shade/docker-java-shade-2/target/docker-java-shade-2-0.1.0-SNAPSHOT.jar!/shade2/javax/ws/rs/client/ClientBuilder.class\r\n\r\nTests run: 1, Failures: 0, Errors: 1, Skipped: 0\r\n```"},"comment":{"url":"https://api.github.com/repos/KostyaSha/docker-java-shade/issues/comments/171060821","html_url":"https://github.com/KostyaSha/docker-java-shade/issues/1#issuecomment-171060821","issue_url":"https://api.github.com/repos/KostyaSha/docker-java-shade/issues/1","id":171060821,"user":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T21:25:24Z","updated_at":"2016-01-12T21:25:24Z","body":"maybe https://issues.apache.org/jira/browse/MSHADE-182"}}