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 157820 - no viable alternative at character '<EOF>' Trying to recover from error. NoViableAltException
Summary: no viable alternative at character '<EOF>' Trying to recover from error. NoVi...
Status: VERIFIED INVALID
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-03 06:15 UTC by alcmontejo
Modified: 2009-12-18 04:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
message log (890.57 KB, text/plain)
2009-02-03 06:17 UTC, alcmontejo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alcmontejo 2009-02-03 06:15:50 UTC
>Log Session: Tuesday, February 3, 2009 7:30:35 AM SGT
>System Info: 
  Product Version         = NetBeans IDE 6.5 (Build 200811100001)
  Operating System        = Windows Vista version 6.0 running on x86
  Java; VM; Vendor        = 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_11-b03
  Java Home               = C:\Program Files\Java\jdk1.6.0_11\jre
  System Locale; Encoding = en_PH (nb); Cp1252
  Home Directory          = C:\Users\alcmontejo
  Current Directory       = C:\Program Files\NetBeans 6.5
  User Directory          = C:\Users\alcmontejo\.netbeans\6.5
  Installation            = C:\Program Files\NetBeans 6.5\nb6.5

users comments:
  The IDE keep on busy(mouse) when I open the Open Project Dialog box, while the IDE status bar is in the status of
runnning other application. There are no error message display on the IDE, but i found severe message on the log message.

please see the attach file for more details.

SEVERE [org.netbeans.lib.javafx.lexer.Lexer]: no viable alternative at character '<EOF>' Trying to recover from error.
NoViableAltException
WARNING [org.netbeans.lib.javafx.lexer.JFXLexer]: There are still 4 characters unparsed.
line 43:0 no viable alternative at character '<EOF>'
move semicolon:
  token: SEMI
  token: RBRACE
  token: RBRACKET
Adding a fold that is identical with another previously added fold from the same FoldManager is not allowed.
Existing fold: [code-block] E1 <940,1024>, desc='{...}', hash=0x1f47f80, [941, 1023] {941, 1023}; FoldManager:
org.netbeans.modules.javafx.editor.fold.JavaFXElementFoldManager@dee0cb
     New fold: [code-block] E1 <940,1024>, desc='{...}', hash=0x1726c3d, [941, 1023] {941, 1023}; FoldManager:
org.netbeans.modules.javafx.editor.fold.JavaFXElementFoldManager@dee0cb
Adding a fold that is identical with another previously added fold from the same FoldManager is not allowed.
Existing fold: [code-block] E1 <1058,1128>, desc='{...}', hash=0x1330f96, [1059, 1127] {1059, 1127}; FoldManager:
org.netbeans.modules.javafx.editor.fold.JavaFXElementFoldManager@dee0cb
     New fold: [code-block] E1 <1058,1128>, desc='{...}', hash=0x1204cd3, [1059, 1127] {1059, 1127}; FoldManager:
org.netbeans.modules.javafx.editor.fold.JavaFXElementFoldManager@dee0cb
Adding a fold that is identical with another previously added fold from the same FoldManager is not allowed.
Existing fold: [code-block] E1 <1140,1169>, desc='{...}', hash=0x1876e3f, [1141, 1168] {1141, 1168}; FoldManager:
Comment 1 alcmontejo 2009-02-03 06:17:33 UTC
Created attachment 76494 [details]
message log
Comment 2 Rastislav Komara 2009-02-03 08:36:00 UTC
I can't do much about this issue. If there is syntax violation (especially in String Literal) the ANTLR lexer can't
recover and then it throws exception. This is rather p4 issue. The improvement in ANTLR lexer need to be pushed via
compiler team.
Comment 3 Rastislav Komara 2009-03-02 10:13:11 UTC
reassigning to new owner.
Comment 4 Petr Nejedly 2009-11-25 02:43:35 UTC
I'll need the source code causing the editor to fail in this way.
Closing as incomplete, please reopen with the source code if you can reproduce it.
Comment 5 Alexandr Scherbatiy 2009-12-18 04:44:45 UTC
verifies as INCOMPLETE.
There are no new comments in this issue.