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 31354

Summary: Exception when reloading a file
Product: editor Reporter: Jesse Glick <jglick>
Component: -- Other --Assignee: issues@editor <issues>
Status: CLOSED DUPLICATE    
Severity: blocker CC: gordonp, lhasik
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Stack trace (2 exceptions)

Description Jesse Glick 2003-02-21 21:58:29 UTC
[dev feb 21] I had
core/src/org/netbeans/core/windows/frames/PerimeterPane.java
v. 1.25 open in the editor. I switched to a
command prompt on a different Linux desktop and
ran cvs up on core. This resulted in PP.java being
patched to 1.27. I switched back to NB's desktop.
The file was reloaded, but halfway through this
exception was thrown; the editor pane now shows
the file only up through line 808:

"            javax.swing.plaf.InternalFrameUI ui =
(javax.swing.plaf.InternalFrameUI) ((J"

and then ends. Of course the editor tab is marked
with a red X.

Closing the tab, an NPE was thrown.

After reopening the file (Alt-Shift-O) all looks fine.

Some sort of race condition I guess?
Comment 1 Jesse Glick 2003-02-21 21:59:18 UTC
Created attachment 9090 [details]
Stack trace (2 exceptions)
Comment 2 Martin Roskanin 2003-02-27 15:47:26 UTC
I have reproduced this bug and the bug #14803 during reproduction of
the #25595.
Comment 3 Martin Roskanin 2003-02-28 15:48:33 UTC
At this time only P1s and P2s are allowed to be integrated into newly
created branch "release35". 
http://www.netbeans.org/servlets/ReadMsg?msgId=475395&listName=nbdev
Changing target milestone to 4.0

Comment 4 Martin Roskanin 2003-04-08 09:51:50 UTC
*** Issue 32641 has been marked as a duplicate of this issue. ***
Comment 5 Martin Roskanin 2003-06-16 09:23:53 UTC
This should be a duplicate of #33040
ArrayIndexOutOfBoundsException is the same. The second exception is a
duplicate of the issue #14803

*** This issue has been marked as a duplicate of 33040 ***
Comment 6 dmladek 2003-08-03 11:22:21 UTC
seems like a dup