This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 262397

Summary: Netbeans Platform application with modules with compile on safe application doesn't open
Product: platform Reporter: javydreamercsw <javydreamercsw>
Component: -- Other --Assignee: Antonin Nebuzelsky <anebuzelsky>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Full log

Description javydreamercsw 2016-06-10 20:45:44 UTC
Created attachment 160033 [details]
Full log

This is the command being ran:

cd /home/javier/Desktop/jWrestling/jWrestling-Client/Client/application; JAVA_HOME=/usr/local/jdk1.8.0_65 /home/javier/netbeans-8.1/java/maven/bin/mvn -DskipTests=true "-Dnetbeans.run.params.debug=-J-Dnetbeans.patches.net.sourceforge.javydreamercsw.UI=/home/javier/Desktop/jWrestling/jWrestling-Client/Client/UI/target/classes:/home/javier/Desktop/jWrestling/simple-marauroa-java/Simple Marauroa Parent/Zone-Extension/target/classes" nbm:cluster-app nbm:run-platform
Running NetBeans Compile On Save execution. Phase execution is skipped and output directories of dependency projects (with Compile on Save turned on) will be used instead of their jar artifacts.

It seems related to this command:

 "-Dnetbeans.run.params.debug=-J-Dnetbeans.patches.net.sourceforge.javydreamercsw.UI=/home/javier/Desktop/jWrestling/jWrestling-Client/Client/UI/target/classes:/home/javier/Desktop/jWrestling/simple-marauroa-java/Simple Marauroa Parent/Zone-Extension/target/classes"

Notice there are some spaces in the path to some of the modules being patched.

Then I saw this in the output later:

-J-Dnetbeans.patches.net.sourceforge.javydreamercsw.UI=/home/javier/Desktop/jWrestling/jWrestling-Client/Client/UI/target/classes:/home/javier/Desktop/jWrestling/simple-marauroa-java/Simple' 'Marauroa' 'Parent/Zone-Extension/target/classes'

Notice Marauroa and Parent... are considered as parameters.

Then further down:

There are parameters but nobody wants to proces them: [Marauroa, Parent/Zone-Extension/target/classes]

Then the application just exists.
Comment 1 javydreamercsw 2016-06-10 20:52:19 UTC
If I ran the same command with a small modification (notice single quotes added):

cd /home/javier/Desktop/jWrestling/jWrestling-Client/Client/application;
JAVA_HOME=/usr/local/jdk1.8.0_65 /home/javier/netbeans-8.1/java/maven/bin/mvn
-DskipTests=true
"-Dnetbeans.run.params.debug=-J-Dnetbeans.patches.net.sourceforge.javydreamercsw.UI='/home/javier/Desktop/jWrestling/jWrestling-Client/Client/UI/target/classes':'/home/javier/Desktop/jWrestling/simple-marauroa-java/Simple
Marauroa Parent/Zone-Extension/target/classes'" nbm:cluster-app nbm:run-platform

It works fine.