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 111993 - Exception on pressing Command-Enter
Summary: Exception on pressing Command-Enter
Status: RESOLVED DUPLICATE of bug 110647
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-04 20:35 UTC by _ tboudreau
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2007-08-04 20:35:40 UTC
I have no idea what it's bound to, but the following exception was thrown:

java.lang.AssertionError: Not locked. Use Indent.lock()
	at org.netbeans.modules.editor.indent.IndentImpl.reindent(IndentImpl.java:130)
	at org.netbeans.modules.editor.indent.FormatterImpl.indentLine(FormatterImpl.java:75)
	at org.netbeans.modules.editor.indent.FormatterImpl.indentNewLine(FormatterImpl.java:96)
	at org.netbeans.editor.BaseKit$SplitLineAction.actionPerformed(BaseKit.java:1177)
	at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:266)
	at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1576)
	at javax.swing.JComponent.processKeyBinding(JComponent.java:2763)
	at javax.swing.JComponent.processKeyBindings(JComponent.java:2798)
	at javax.swing.JComponent.processKeyEvent(JComponent.java:2726)
	at java.awt.Component.processEvent(Component.java:5331)
	at java.awt.Container.processEvent(Container.java:2010)
	at java.awt.Component.dispatchEventImpl(Component.java:4021)
	at java.awt.Container.dispatchEventImpl(Container.java:2068)
	at java.awt.Component.dispatchEvent(Component.java:3869)
	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:672)
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636)
	at java.awt.Component.dispatchEventImpl(Component.java:3907)
	at java.awt.Container.dispatchEventImpl(Container.java:2068)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3869)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Jiri Prox 2007-08-06 09:34:56 UTC
This is duplicate of issue 110647. This issue should be fixed now. Since you didn't attach build number I suppose you're
using older build. If you can see this issue in the later build, please reopen.

*** This issue has been marked as a duplicate of 110647 ***