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 43473 - Unexpected Exception
Summary: Unexpected Exception
Status: RESOLVED DUPLICATE of bug 41903
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-18 18:25 UTC by Emilio
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
a dictionary of 50,000 words all UCase (483.14 KB, text/plain)
2004-05-18 18:27 UTC, Emilio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emilio 2004-05-18 18:25:22 UTC
I created a new project and then attempted to open
a text file in the editor.  The text file contains
~50,000 words, all separared by a hard return. 
The following error was generated:

java.lang.IllegalStateException: View access
without view lock
	at
org.netbeans.editor.DrawEngineLineView.getModel2ViewRect(DrawEngineLineView.java:281)
	at
org.netbeans.editor.DrawEngineLineView.modelToView(DrawEngineLineView.java:303)
	at
org.netbeans.editor.DrawEngineLineView.getPreferredSpan(DrawEngineLineView.java:252)
	at
org.netbeans.editor.DrawEngineLineView.minorAxisUpdateLayout(DrawEngineLineView.java:549)
	at
org.netbeans.editor.DrawEngineLineView.updateLayout(DrawEngineLineView.java:504)
	at
org.netbeans.lib.editor.view.GapBoxViewChildren.childrenUpdateLayout(GapBoxViewChildren.java:872)
	at
org.netbeans.lib.editor.view.GapBoxViewChildren.childrenUpdateLayout(GapBoxViewChildren.java:877)
	at
org.netbeans.lib.editor.view.GapBoxView.updateLayout(GapBoxView.java:728)
	at
org.netbeans.lib.editor.view.GapDocumentView.setSize(GapDocumentView.java:181)
	at
org.netbeans.editor.DrawEngineDocView.setSize(DrawEngineDocView.java:318)
	at
org.netbeans.lib.editor.view.GapBoxView.reallocate(GapBoxView.java:1999)
	at
org.netbeans.lib.editor.view.GapDocumentView.reallocate(GapDocumentView.java:131)
	at
org.netbeans.lib.editor.view.GapBoxView.getChildAllocation(GapBoxView.java:1364)
	at javax.swing.text.View.getViewIndex(View.java:1067)
	at
javax.swing.text.View.getToolTipText(View.java:1041)
	at
javax.swing.text.View.getToolTipText(View.java:1047)
	at
javax.swing.text.View.getToolTipText(View.java:1047)
	at
javax.swing.plaf.basic.BasicTextUI.getToolTipText(BasicTextUI.java:1138)
	at
org.netbeans.modules.editor.NbToolTip.buildTip(NbToolTip.java:162)
	at
org.netbeans.modules.editor.NbToolTip.buildToolTip(NbToolTip.java:64)
	at
org.netbeans.modules.editor.NbEditorKit$NbBuildToolTipAction.actionPerformed(NbEditorKit.java:609)
	at
org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:169)
	at
org.netbeans.editor.ext.ToolTipSupport.updateToolTip(ToolTipSupport.java:382)
	at
org.netbeans.editor.ext.ToolTipSupport.setToolTipVisible(ToolTipSupport.java:410)
	at
org.netbeans.editor.ext.ToolTipSupport.actionPerformed(ToolTipSupport.java:654)
	at
org.netbeans.editor.WeakTimerListener.actionPerformed(WeakTimerListener.java:57)
	at
javax.swing.Timer.fireActionPerformed(Timer.java:271)
[catch] at
javax.swing.Timer$DoPostEvent.run(Timer.java:201)
	at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
	at
java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
	at
java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Comment 1 Emilio 2004-05-18 18:27:46 UTC
Created attachment 14951 [details]
a dictionary of 50,000 words all UCase
Comment 2 Milan Kubec 2004-05-24 08:04:21 UTC
Reassignig for evaluation.
Comment 3 Miloslav Metelka 2004-05-24 10:33:25 UTC
Should be dup of 41903 that was fixed recently.

*** This issue has been marked as a duplicate of 41903 ***