Topics

After Maven conversion, slight problem with Restarting JMRI under Properties.


wombat_rrnut
 

All:

My configuration:
Windows 7, NetBeans 11.2 (after fresh install of it and JMRI source code).
I selected apps.PanelPro.PanelPro as the main class.

The problem:
After modifying some property(s) that puts up the dialog box "You must restart PanelPro"
and selecting "Restart", the IDE bombs off PanelPro (see below).

?Important? note:
This is a minor annoyance, as restarting JMRI works fine, and the modified configuration
is (more importantly) saved properly from the "Restart".  But I don't know if this points out a potential problem
with something yet in Maven, or a future problem that may bite us?  So I can't say how
important this is......

Text from "bombs off":

Command execution failed.
org.apache.commons.exec.ExecuteException Process exited with an error 100 (Exit value 100)
    at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java404)
    at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java166)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java764)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java711)
    at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java289)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java207)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java116)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java80)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java128)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java307)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java193)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java106)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java863)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java288)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java199)
    at java.basejdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.basejdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java62)
    at java.basejdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java43)
    at java.basejava.lang.reflect.Method.invoke(Method.java564)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java356)
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time 1204 min
Finished at 2020-05-25T175051-0500
Final Memory 19M70M
------------------------------------------------------------------------
Failed to execute goal org.codehaus.mojoexec-maven-plugin1.5.0exec (default-cli) on project jmri Command execution failed. Process exited with an error 100 (Exit value 100) - [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles
[Help 1] httpcwiki.apache.orgconfluencedisplayMAVENMojoExecutionException