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.
Build: NetBeans IDE 8.2 (Build 201609300101) VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13 OS: Linux User Comments: AlexFalappa: Opened project properties of a maven project with customized actions In the Run panel clicked on button to add jvm options Checked '-server' options and clicked OK Got this exception and nothing shown in the text area in Run panel Stacktrace: java.lang.NullPointerException at org.netbeans.modules.maven.customizer.RunJarPanel.applyChanges(RunJarPanel.java:545) at org.netbeans.modules.maven.customizer.RunJarPanel$2.insertUpdate(RunJarPanel.java:165) at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:201) at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:748) at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:707) at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
Created attachment 162371 [details] stacktrace
according to the message shown in the panel - "One of Run/Debug/Profile Project actions has been modified and the Run panel cannot be safely edited" when either the run, debug or profile action is changed, it should not be possible to customize the jvm options -> -> the button should be disabled
fixed in jet-main #f30ebf455573
Integrated into 'main-silver', will be available in build *201610280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/f30ebf455573 User: Tomas Stupka <tstupka@netbeans.org> Log: maven needs commons-lang internally Issue #268379 - NullPointerException at org.netbeans.modules.maven.customizer.RunJarPanel.applyChanges