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.
Summary: | Warning message dispalyed when form is deleted | ||
---|---|---|---|
Product: | editor | Reporter: | _ lcincura <lcincura> |
Component: | -- Other -- | Assignee: | issues@editor <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | Keywords: | RANDOM |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
_ lcincura
2005-05-02 09:41:14 UTC
Seems to be caused by editor module => reassigning for evaluation. The message is displayed because CloneableEditorSupport.prepareDocument() is called on the deleted file. The invocation of this method has its root in ToolTipSupport: at org.openide.text.CloneableEditorSupport.prepareDocument (CloneableEditorSupport.java:470) at org.openide.text.CloneableEditorSupport.openDocumentImpl (CloneableEditorSupport.java:654) at org.openide.text.CloneableEditorSupport.openDocumentCheckIOE (CloneableEditorSupport.java:636) at org.openide.text.CloneableEditorSupport.openDocument (CloneableEditorSupport.java:631) at org.netbeans.modules.editor.NbToolTip.buildTip(NbToolTip.java:198) at org.netbeans.modules.editor.NbToolTip.buildToolTip(NbToolTip.java:71) at org.netbeans.modules.editor.NbEditorKit$NbBuildToolTipAction.actionPerformed (NbEditorKit.java:581) at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:194) at org.netbeans.editor.ext.ToolTipSupport.updateToolTip (ToolTipSupport.java:387) at org.netbeans.editor.ext.ToolTipSupport.setToolTipVisible (ToolTipSupport.java:414) at org.netbeans.editor.ext.ToolTipSupport.actionPerformed (ToolTipSupport.java:705) at org.netbeans.editor.WeakTimerListener.actionPerformed (WeakTimerListener.java:57) at javax.swing.Timer.fireActionPerformed(Timer.java:271) 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) fixed in [maintrunk] /cvs/editor/src/org/netbeans/modules/editor/NbToolTip.java,v <-- NbToolTip.java new revision: 1.16; previous revision: 1.15 Verified in 200512181900 |