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 090507) VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-77, Java(TM) SE Runtime Environment, 1.6.0_13-b03-196 OS: Mac OS X, 10.5.6, x86_64 User Comments: tor: I was trying to create a macro. I had recorded it, named it, and assigned a keystroke. When I tried to -invoke- the macro I got this NPE. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.editor.settings.storage.spi.support.StorageSupport.humanReadableStringToKeyStroke(StorageSupport.java:184) at org.netbeans.modules.editor.settings.storage.spi.support.StorageSupport.stringToKeyStrokes(StorageSupport.java:140) at org.netbeans.modules.editor.macros.MacroDialogSupport$RunMacroAction.actionPerformed(MacroDialogSupport.java:307) at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:325) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1641) at javax.swing.JComponent.processKeyBinding(JComponent.java:2849)
Created attachment 81773 [details] stacktrace
Does using a different shortcut make any difference? There was a possible race condition in the code, but could also be related to a specific shortcut. Local changeset: e92296339f29
Integrated into 'main-golden', will be available in build *200905130201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e92296339f29 User: Vita Stejskal <vstejskal@netbeans.org> Log: #164738: synchronizing the 'names' map creation