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 50377

Summary: [40cat] Fix imports occasionally fails
Product: java Reporter: jasondonmoyer <jasondonmoyer>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: exceptions from console
thread dump

Description jasondonmoyer 2004-10-13 17:59:11 UTC
[ BUILD # : 200410121800 ]
[ JDK VERSION : J2SE 1.5.0 ]

Fix imports occasionally fails in the latest daily
build.  See attached exceptions.
Comment 1 jasondonmoyer 2004-10-13 17:59:34 UTC
Created attachment 18271 [details]
exceptions from console
Comment 2 Martin Matula 2004-10-14 00:10:32 UTC
Have you switched between platforms before fixing imports? Or, did you
delete file
com/liquent/insight/manager/security/data/UserGroupViewDataObject.java?
Or some other actions before fixing imports involving deleting/moving
files or removing elements from classpath?
Comment 3 Martin Matula 2004-10-15 18:38:10 UTC
Jason, do you still get this exception with the latest build? Could
you please answer the questons from my previous comment (if you still
remember what you did...)
Comment 4 jasondonmoyer 2004-10-15 18:56:45 UTC
Sorry Martin, I was having network issues the other day and it looks
like my comments never made it...


Basically, my answers to all of your questions was 'no'.  However, I'm
no longer seeing this behavior with today's daily build.


Comment 5 jasondonmoyer 2004-10-15 20:23:40 UTC
Although I'm no longer seeing this exception occur, I am now
occasionally seeing what appears to be a deadlock that hangs the IDE.
 This occurs when invoking fix imports when there is at least one
known import to be added.  I'm attaching the thread dump.  Let me know
if you would prefer I open a new issue.
Comment 6 jasondonmoyer 2004-10-15 20:24:07 UTC
Created attachment 18331 [details]
thread dump
Comment 7 Martin Matula 2004-10-17 16:10:30 UTC
Thanks for the thread-dump - issue 50502 already covers this, but the
thread-dump was missing.
Comment 8 Martin Matula 2004-10-18 16:37:52 UTC
The deadlock is now fixed and the first exception is a duplicate of
50146. Since it should not be fatal, I will keep the priority of issue
50146 at P3.

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