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 187808 - Fix Imports does not work for java files within Automatic Projects
Summary: Fix Imports does not work for java files within Automatic Projects
Status: RESOLVED DUPLICATE of bug 181555
Alias: None
Product: projects
Classification: Unclassified
Component: Autoproject (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-18 19:24 UTC by esmithbss
Modified: 2010-06-21 14:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE Log File (4.07 MB, application/octet-stream)
2010-06-18 19:25 UTC, esmithbss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2010-06-18 19:24:53 UTC
Product Version = NetBeans IDE 6.9 (Build 201006101454)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01

When the user tries to "Fix Imports" for a java file within an Automatic Project, the Fix Imports fails without warning, response or notification.

The system generates "java.lang.IllegalStateException: Cannot call getCompilationInfo() if current phase < JavaSource.Phase.PARSED. You must call toPhase(Phase.PARSED) first" within the log file instead.
Comment 1 esmithbss 2010-06-18 19:25:31 UTC
Created attachment 100224 [details]
IDE Log File
Comment 2 Jesse Glick 2010-06-21 14:57:55 UTC
The version currently on the Beta UC is broken; use

http://deadlock.netbeans.org/hudson/job/release69-contrib/lastSuccessfulBuild/artifact/updates.xml

for now.

*** This bug has been marked as a duplicate of bug 181555 ***