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 195169 - BUILD 2011020800000 Java editor keeps firing exceptions
Summary: BUILD 2011020800000 Java editor keeps firing exceptions
Status: CLOSED DUPLICATE of bug 191620
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-08 13:18 UTC by aquaglia
Modified: 2011-02-11 09:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aquaglia 2011-02-08 13:18:15 UTC
java.lang.IllegalStateException: limitOffset=237 > docTextLength=236
	at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:402)
	at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:336)
Caused: java.lang.IllegalStateException: ViewBuilder: Error in view creation: prevViewEndOffset=166, matchOffset=237, docViewEndOffset=236, lineEndOffset=191, viewRemovalFinished=false
	at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:339)
	at org.netbeans.modules.editor.lib2.view.ViewUpdates.buildViews(ViewUpdates.java:145)
	at org.netbeans.modules.editor.lib2.view.ViewUpdates.initChildren(ViewUpdates.java:212)
	at org.netbeans.modules.editor.lib2.view.DocumentView.initChildren(DocumentView.java:593)
	at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.paintChildren(EditorBoxViewChildren.java:868)
	at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.paint(EditorBoxViewChildren.java:858)
	at org.netbeans.modules.editor.lib2.view.EditorBoxView.paint(EditorBoxView.java:454)
	at org.netbeans.modules.editor.lib2.view.DocumentView.paint(DocumentView.java:942)
	at org.netbeans.modules.editor.lib2.view.EditorView.paint(EditorView.java:164)
	at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1436)
	at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:739)
	at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:883)
	at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:862)
	at javax.swing.JComponent.paintComponent(JComponent.java:778)
	at javax.swing.JComponent.paint(JComponent.java:1054)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JViewport.paint(JViewport.java:725)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at org.netbeans.swing.tabcontrol.TabbedContainer.paint(TabbedContainer.java:959)
	at javax.swing.JComponent.paintChildren(JComponent.java:887)
	at javax.swing.JComponent.paint(JComponent.java:1063)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5202)
	at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1493)
	at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1424)
	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:311)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1217)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5150)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4960)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:781)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:739)
	at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:688)
	at javax.swing.RepaintManager.access$700(RepaintManager.java:59)
	at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1632)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:660)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Comment 1 Tomas Zezula 2011-02-08 13:20:07 UTC
Painting & Printing != Parsing & Indexing
Comment 2 Jan Lahoda 2011-02-08 13:20:53 UTC

*** This bug has been marked as a duplicate of bug 191620 ***
Comment 3 aquaglia 2011-02-11 08:55:45 UTC
Installed build 201102100500 and I do not have the problem anymore.
Many thanks, Angelo
Comment 4 Marian Mirilovic 2011-02-11 09:01:30 UTC
(In reply to comment #3)
> Installed build 201102100500 and I do not have the problem anymore.
> Many thanks, Angelo

Perfect, thanks a lot for feedback.