nar-test exit code: -107374151

32 views
Skip to first unread message

Andy Tai

unread,
May 26, 2017, 10:46:54 AM5/26/17
to NAR Maven plugin

Anyone has seen this error?  What does it mean?

Thanks.


[INFO] ------------------------------------------------------------------------^M
[INFO] BUILD FAILURE^M
[INFO] ------------------------------------------------------------------------^M
[INFO] Total time: 03:08 min^M
[INFO] Finished at: 2017-05-26T11:48:22+08:00^M
[INFO] Final Memory: 17M/227M^M
[INFO] ------------------------------------------------------------------------^M
[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.1.0:nar-test (default-nar-test) on project trading: exit code: -1073741515 -> [Help 1]^M
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.1.0:nar-test (default-nar-test) on project trading: exit code: -1073741515^M
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)^M
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)^M
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)^M
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)^M
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)^M
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)^M
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)^M
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)^M
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)^M
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)^M
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)^M
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)^M
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)^M
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)^M
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)^M
        at java.lang.reflect.Method.invoke(Method.java:606)^M
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)^M
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)^M
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)^M
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)^M
Caused by: org.apache.maven.plugin.MojoExecutionException: exit code: -1073741515^M
        at com.github.maven_nar.NarUtil.runCommand(NarUtil.java:703)^M
        at com.github.maven_nar.NarUtil.runCommand(NarUtil.java:635)^M
        at com.github.maven_nar.NarUtil.runCommand(NarUtil.java:609)^M
        at com.github.maven_nar.NarTestMojo.runTest(NarTestMojo.java:136)^M
        at com.github.maven_nar.NarTestMojo.narExecute(NarTestMojo.java:88)^M
        at com.github.maven_nar.AbstractNarMojo.execute(AbstractNarMojo.java:329)^M
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)^M
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)^M
        ... 20 more^M
[ERROR] ^M
[ERROR] ^M
[ERROR] For more information about the errors and possible solutions, please read the following articles:^M

Curtis Rueden

unread,
May 26, 2017, 10:56:09 AM5/26/17
to Andy Tai, NAR Maven plugin
Hi Andy,

> org.apache.maven.plugin.MojoExecutionException: exit code: -1073741515

It is the return value of the command being invoked in its own process.

Did you try your build with "mvn -X"? It should emit more information about which commands are being run, etc.

Also, I see you are using NAR 3.1.0 ... have you tried with a newer NAR version? The latest release is 3.5.1. And there have been a bunch of fixes since then, so you could try with 3.5.2-SNAPSHOT; see https://github.com/maven-nar/nar-maven-plugin/wiki/Testing

Regards,
Curtis

--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden


--
You received this message because you are subscribed to the Google Groups "NAR Maven plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maven-nar+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andy Tai

unread,
May 28, 2017, 10:05:02 PM5/28/17
to Curtis Rueden, NAR Maven plugin
Thanks for your advises.

Andy

Andy Tai

unread,
May 31, 2017, 10:19:28 PM5/31/17
to NAR Maven plugin

I have found the cause.  Basically, it's referring to a non exist folder in one of my based package.  I had to add an empty folder, and this error is gone.

Thanks.


Andy Tai於 2017年5月26日星期五 UTC+8下午10時46分54秒寫道:
Reply all
Reply to author
Forward
0 new messages