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 125554

Summary: c
Product: php Reporter: Victoria Zhukovskaya <victoriaz>
Component: EditorAssignee: Andrew Korostelev <akorostelev>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Victoria Zhukovskaya 2008-01-18 12:20:36 UTC
build Build 200801180000

Can not using Heredoc Strings - java.lang.IllegalStateException: Already locked


type <<<EOD and then press enter;
result string:
 <<<EODEOD; 

but IDE throws exception
If press Enter one more time - there us exception too  and duplicate all text which is before cursor include symbol ';'




java.lang.IllegalStateException: Already locked
	at org.netbeans.modules.editor.indent.IndentImpl.indentLock(IndentImpl.java:129)
	at org.netbeans.modules.editor.indent.api.Indent.lock(Indent.java:113)
	at org.netbeans.modules.php.editor.FormattingUtils.indentNewLine(FormattingUtils.java:53)
	at org.netbeans.modules.php.editor.PhpKit$PhpInsertBreakAction.closeEODBeforeBreak(PhpKit.java:344)
	at org.netbeans.modules.php.editor.PhpKit$PhpInsertBreakAction.beforeBreak(PhpKit.java:306)
	at org.netbeans.editor.BaseKit$InsertBreakAction.actionPerformed(BaseKit.java:1138)
	at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:290)
	at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)
	at javax.swing.JComponent.processKeyBinding(JComponent.java:2849)
	at javax.swing.JComponent.processKeyBindings(JComponent.java:2884)
	at javax.swing.JComponent.processKeyEvent(JComponent.java:2812)
	at java.awt.Component.processEvent(Component.java:5815)
	at java.awt.Container.processEvent(Container.java:2058)
	at java.awt.Component.dispatchEventImpl(Component.java:4410)
	at java.awt.Container.dispatchEventImpl(Container.java:2116)
	at java.awt.Component.dispatchEvent(Component.java:4240)
	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848)
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:697)
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:962)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:834)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:661)
	at java.awt.Component.dispatchEventImpl(Component.java:4282)
	at java.awt.Container.dispatchEventImpl(Container.java:2116)
	at java.awt.Window.dispatchEventImpl(Window.java:2429)
	at java.awt.Component.dispatchEvent(Component.java:4240)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Andrew Korostelev 2008-01-18 14:30:59 UTC

*** This issue has been marked as a duplicate of 123649 ***
Comment 2 Victoria Zhukovskaya 2008-01-22 12:28:17 UTC
close as duplicate