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 182652 - [69cat] AssertionError at org.netbeans.modules.editor.lib2.view.NewlineView.modelToViewChecked
Summary: [69cat] AssertionError at org.netbeans.modules.editor.lib2.view.NewlineView.m...
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-24 10:45 UTC by stefan79
Modified: 2010-03-25 14:06 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 166883


Attachments
stacktrace (1.88 KB, text/plain)
2010-03-24 10:45 UTC, stefan79
Details
stacktrace (1.88 KB, text/plain)
2010-03-24 12:43 UTC, Antonin Nebuzelsky
Details
stacktrace (2.09 KB, text/plain)
2010-03-25 10:47 UTC, Alexandr Scherbatiy
Details
stacktrace (4.60 KB, text/plain)
2010-03-25 10:56 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefan79 2010-03-24 10:45:15 UTC
Build: NetBeans IDE Dev (Build 201003240200)
VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Windows XP

User Comments:
stefan79: Exception while CVS-Diff.




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.editor.lib2.view.NewlineView.modelToViewChecked(NewlineView.java:141)
   at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.modelToViewChecked(EditorBoxViewChildren.java:557)
   at org.netbeans.modules.editor.lib2.view.ParagraphViewChildren.modelToViewChecked(ParagraphViewChildren.java:273)
   at org.netbeans.modules.editor.lib2.view.EditorBoxView.modelToViewChecked(EditorBoxView.java:395)
   at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.modelToViewChecked(EditorBoxViewChildren.java:557)
   at org.netbeans.modules.editor.lib2.view.EditorBoxView.modelToViewChecked(EditorBoxView.java:395)
Comment 1 stefan79 2010-03-24 10:45:20 UTC
Created attachment 95663 [details]
stacktrace
Comment 2 Antonin Nebuzelsky 2010-03-24 12:43:23 UTC
Created attachment 95670 [details]
stacktrace

Turned off line wrapping when a file with wrapped lines was just shown in the editor.
Comment 3 Alexandr Scherbatiy 2010-03-25 10:47:54 UTC
Created attachment 95779 [details]
stacktrace
Comment 4 Alexandr Scherbatiy 2010-03-25 10:49:24 UTC
The issue has 11 duplicates already
Comment 5 Alexandr Scherbatiy 2010-03-25 10:56:53 UTC
Created attachment 95780 [details]
stacktrace

NetBeans-JavaFX-Soma:  #196

Steps to reproduce:
- Create a JavaFX project
- Type in the editor
----------------------------------------
var a = 10;
fu
----------------------------------------
- Press Tab

The Exception pops up.
Comment 6 Alexandr Scherbatiy 2010-03-25 10:58:08 UTC
The issue affects the NB JavaFX plugin
Comment 7 Miloslav Metelka 2010-03-25 14:06:31 UTC
This should already be fixed by
73f855ad36d3 - Mar 24, 2010
#121357 - Editor View Hierarchy - fixed AssertionError in NewlineView.