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 22705 - Import Management Tool sometimes hangs after dialog oked
Summary: Import Management Tool sometimes hangs after dialog oked
Status: CLOSED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-23 12:04 UTC by Barrie Treloar
Modified: 2007-09-26 09:14 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 Barrie Treloar 2002-04-23 12:04:35 UTC
I am unable to faithfully reproduce this bug.
This is occuring in QBuild NetBeansIDE-dev-200204040100.zip

The steps seems to be:
- add a class from a package not on well-known package 
list to a file
- run import management tool (settings detailed below)
- since package is not yet on list it will not be able to 
find the package it belongs to.
- Tools->Options+Editing+Java Sources+Import Management 
Tool Settings+List of Well-Known Packages add the package 
for the class.  You may need to move this up in the list 
to replicate the bug.
- close options window
- run import management tool, the class is now found.
- click Ok.
- NetBeans will now hang. 

Import Management Tool Settings:
Guessing Strategy for Unresolved Identifiers: Search in 
Well-Known Packages
Maximum of Fully Qualified Names in Source: 0
Number of Single-Name Imports: 300
Remove Unused Import Clause: True
Comment 1 Svata Dedic 2002-04-23 14:37:27 UTC
If it happens again, could you, please, attach a thread dump here ?
This is done from the java console window by pressing Ctrl-Break on
Windows. You need to run "runide.exe" instead of "runidew.exe" to get
a visible Java console window.
The thread dump will shows the exact threads that are locked up and
will greatly help to fix the bug.
Comment 2 Tomas Hurka 2002-05-03 09:28:41 UTC
Closing as works-for-me.  Once you have thread dump, please, reopen
this issue and attach your thread dump.  
Comment 3 Quality Engineering 2003-07-01 13:26:03 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 4 Quality Engineering 2003-07-01 13:26:51 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.