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 182854 - AssertionError: Empty highlight at offset=276
Summary: AssertionError: Empty highlight at offset=276
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-26 09:41 UTC by Alexandr Scherbatiy
Modified: 2010-04-07 04:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 167081


Attachments
stacktrace (4.96 KB, text/plain)
2010-03-26 09:41 UTC, Alexandr Scherbatiy
Details
stacktrace (4.97 KB, text/plain)
2010-04-05 09:17 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-03-26 09:41:14 UTC
Build: NetBeans IDE Dev (Build 201003250201)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Windows XP

User Comments:
sunflower: - Create a JavaFX project
- Format the code in the editor




Stacktrace: 
java.lang.AssertionError: Empty highlight at offset=276
   at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.fetchNextHighlight(HighlightsViewFactory.java:183)
   at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.updateHighlight(HighlightsViewFactory.java:162)
   at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.createView(HighlightsViewFactory.java:127)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:261)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:215)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.removeUpdate(ViewUpdates.java:332)
Comment 1 Alexandr Scherbatiy 2010-03-26 09:41:18 UTC
Created attachment 95901 [details]
stacktrace
Comment 2 Alexandr Scherbatiy 2010-03-26 09:58:49 UTC
Affects the NB JavaFX plugin
Comment 3 Alexandr Scherbatiy 2010-04-05 09:17:48 UTC
Created attachment 96670 [details]
stacktrace
Comment 4 Miloslav Metelka 2010-04-06 12:53:17 UTC
No mention of empty highlights in Highlighting API so I have fixed views code to be prepared for that.
http://hg.netbeans.org/jet-main/rev/104a7e578ca9
Comment 5 Quality Engineering 2010-04-07 04:46:07 UTC
Integrated into 'main-golden', will be available in build *201004070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/104a7e578ca9
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #182854 - AssertionError: Empty highlight at offset=276.