-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aka failure when running integration tests in maven #83
Comments
Hmm never seen a What's your JVM version and OS? |
@semanticsgirl hello, can you please try to avoid using quotes to add logs (this invites me to this kind of threads) |
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode), on Mac OS On 14 November 2016 at 10:37, Roman Gusev [email protected] wrote:
|
Hmm which java version is that? What's your full ouput of |
java version "1.8.0_102" On 14 November 2016 at 14:19, Adam Warski [email protected] wrote:
|
I'll see if I can get a colleague on linux to run it for me. On 14 November 2016 at 15:04, Gabrielle Anderson <
|
Thanks, that would be helpful. Your java is even more up-to-date than mine. I wonder what's the environment difference between Idea and maven |
My colleague gets the same error, running on Ubuntu, java version "1.8.0_111" [ERROR] java.lang.VerifyError: Inconsistent stackmap frames at branch target 152 On 14 November 2016 at 15:07, Adam Warski [email protected] wrote:
|
Apologies for the repetition, email client problems. On 14 November 2016 at 15:24, Gabrielle Anderson <
|
I asked on akka's gitter as I've got no idea where this might be coming from :) |
Are you using any bytecode manipulation libraries? Like ASM, bcel? Quoting @denisrosca from Gitter:
|
I think so; we make use of the Spotify docker client, which uses ASM [INFO] | +- com.spotify:docker-client:jar:shaded:3.1.10:compile |
Hmm but that's a relatively new version and shouldn't touch any of Akka's code ... no more ideas right now, sorry! Maybe there's a Maven plugin that does some bytecode-manipulation? |
I modified our dependencies to remove all access to ASM, but it didn't [INFO] [INFO] ------------------------------------------------------------------------ On 14 November 2016 at 16:02, Adam Warski [email protected] wrote:
|
I'll see if I can reproduce the issue in a minimal codebase that can be On 14 November 2016 at 16:07, Gabrielle Anderson <
|
Apparently Maven depends on org.ow2.asm:asm:jar:5.0.4? On 14 November 2016 at 16:02, Adam Warski [email protected] wrote:
|
Yeah but that shouldn't be a problem, since it's a new version, should support java 8 |
I found this was from the maven-shade-plugin at version 2.4.3. Updating to version 3.0.0 of the shade plugin made it work properly. |
Probably out of date |
I've written some integration tests for a project which, when I run the service in intellij and then run the integration tests works fine, but when I run man clean verify, if causes the following error at the point that I attempt to create the SQSRestServer:
NodeAddress serverAddress = new NodeAddress("http", "localhost", configuration.getElasticMQPort(), "");
server = SQSRestServerBuilder .withPort(configuration.getElasticMQPort()) .withServerAddress(serverAddress) .start();
The error that I get when running in maven is as follows:
The text was updated successfully, but these errors were encountered: