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 Dev (Build 201509150002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b02, Java(TM) SE Runtime Environment, 1.8.0_66-ea-b02 OS: Windows 7 User Comments: -Silver-: This exception is thrown when importing a keymap profile is selected an invalid xml file. Steps to reproduce: 1. Open Options -> Keymap -> Manage profiles... 2. In the Manage Keymap Profiles click on "Import" 3. Select a generic xml file that doesn't contain a netbeans keymap profile. Expected behaviour: A JDialog is shown indicating that the selected file doesn't contain a valid netbeans keymap profile Actual result: An exception is thrown. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.options.keymap.ProfilesPanel.importButtonActionPerformed(ProfilesPanel.java:390) at org.netbeans.modules.options.keymap.ProfilesPanel.access$600(ProfilesPanel.java:82) at org.netbeans.modules.options.keymap.ProfilesPanel$6.actionPerformed(ProfilesPanel.java:164) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
Created attachment 156181 [details] stacktrace
Should be fixed by jet-main#36b17c6c9d6d
Integrated into 'main-silver', will be available in build *201509300002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/36b17c6c9d6d User: Svata Dedic <sdedic@netbeans.org> Log: #255293: improved error reporting