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: | com.sun.tools.javac.util.Abort from JavaCompletionProvider$JavaCompletionQuery.getCompletionEnvironment | ||
---|---|---|---|
Product: | java | Reporter: | Jesse Glick <jglick> |
Component: | Source | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | REGRESSION |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
St
More badness Log file |
Description
Jesse Glick
2006-11-06 23:13:45 UTC
Created attachment 35817 [details]
St
Sorry, hit Enter too early, that was of course "Stack traces". Created attachment 35818 [details]
More badness
Seems to not be a problem of the project type after all. 1. Run dev build on fresh userdir. I used JDK 6. 2. Checkout Hudson trunk sources. (hudson.dev.java.net) 3. Make new Java Project with Existing Sources. 4. Put project dir wherever. 5. For sources, select ${hudson-co}/main/core/src/main/java/ as the source root. 6. Wait for CP scanning to complete. 7. Open hudson.model.Build. 8. Editor will show errors. Look at error tooltip on class definition: cannot access hudson.model.Run bad class file: null undeclared type variable: RunT Please remove or make sure it appears in the correct subdirectory of the classpath. 9. Try code completion from anywhere; you will get some NPEs from MemberEnter.getMethodEnv. Perhaps the class declaration public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,RunT>> is confusing javac in the IDE? Does not occur in 6.0M4; there are expected error markings in various classes corresponding to missing classpath entries, but some code completion works at least. Any evaluation? Easily (for me) reproduced with or without Maven. Makes it impractical to use the IDE on this project. Fixed. Checking in SymbolClassReader.java; /cvs/java/source/src/org/netbeans/modules/java/source/usages/SymbolClassReader.java,v <-- SymbolClassReader.java new revision: 1.3; previous revision: 1.2 done Not fixed. Still cannot use the Hudson project, even after clearing out $userdir/var/cache. Same problems as before. Created attachment 36187 [details]
Log file
OOPS! Second attempt. Checking in SymbolClassReader.java; /cvs/java/source/src/org/netbeans/modules/java/source/usages/SymbolClassReader.java,v <-- SymbolClassReader.java new revision: 1.4; previous revision: 1.3 done |