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 132831 - deadlock when typing in editor
Summary: deadlock when typing in editor
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Rastislav Komara
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-15 02:15 UTC by Martin Brehovsky
Modified: 2009-07-17 08:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (30.60 KB, text/plain)
2008-04-15 02:15 UTC, Martin Brehovsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Brehovsky 2008-04-15 02:15:10 UTC
When typing in editor a deadlock happens when trying to type braces in String. I was trying to type this code:
System.out.println("originalNode {stuff}"); and when I hit the '{' character, a deadlock occurred.
Comment 1 Martin Brehovsky 2008-04-15 02:15:34 UTC
Created attachment 60164 [details]
stacktrace
Comment 2 Martin Brehovsky 2008-04-15 02:16:46 UTC
It is not a deadlock, but rather an infinite recursive loop running in AWT ....
Comment 3 David Strupl 2008-04-15 08:23:27 UTC
Lexer --> Rasta.
Comment 4 Rastislav Komara 2008-04-15 09:53:25 UTC
This is issue caused by antlr lexer. I didn't examine if this is caused by ANTLR itself or by grammar for javafx. This
issue is fixed. I hope, there will be no more issues like this one. But it is really hard to verify all "buggy" input
source codes. The only way how to do this is to use the editor as much as possible. 

fixed by changeset: 12144:b9efb8528aa9
Comment 5 Alexandr Scherbatiy 2008-04-21 13:33:18 UTC
verified