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.
16 duplicate so far ... only on Vista & XP Build: NetBeans IDE 6.5 Beta (Build 200808111757) VM: Java HotSpot(TM) Client VM, 1.5.0_13-119, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05-237 OS: Mac OS X, 10.5.4, i386 User comments: STACKTRACE: (first 10 lines) com.sun.tools.javac.util.FatalError: Fatal Error: Unable to find method initCause at com.sun.tools.javac.comp.Resolve.resolveInternalMethod(Resolve.java:1270) at com.sun.tools.javac.comp.Lower.lookupMethod(Lower.java:640) at com.sun.tools.javac.comp.Lower.makeCall(Lower.java:1655) at com.sun.tools.javac.comp.Lower.classDollarSymBody(Lower.java:1618) at com.sun.tools.javac.comp.Lower.classDollarSym(Lower.java:1517) at com.sun.tools.javac.comp.Lower.classOfType(Lower.java:1737) at com.sun.tools.javac.comp.Lower.classOf(Lower.java:1707) at com.sun.tools.javac.comp.Lower.visitSelect(Lower.java:3076) at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1655) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
Seems like a source level is set to 1.5/1.4 while compiling against 1.4/1.3 or lower libraries. Fixed. changeset d454571df68f in main details: http://hg.netbeans.org/main?cmd=changeset;node=d454571df68f
*** Issue 152406 has been marked as a duplicate of this issue. ***
*** Issue 155012 has been marked as a duplicate of this issue. ***
Integrated into 'main-golden', will be available in build *200901070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d454571df68f User: Dusan Balek <dbalek@netbeans.org> Log: Issue #151422: com.sun.tools.javac.util.FatalError: Fatal Error: Unable to find method initCause - fixed.
haven't seen new report since fix was integrated - verified
need to be integrated together with issue 143923
Petre, during backport to release65_fixes please change logging level from warning to fine.
The changeset d454571df68f changes the file JavacParser.java but the file JavacParser.java doesn't occur in the release65_fixes nor the release65 branch. It seems, the file has been merged into the trunk after the NetBeans IDE 6.5 release as a part of significant improvement. If so, the port to the release65_fixes branch could be non-trivial.
The file JavacParser.java is part of the new java parsing API which was introduced after NetBeans 6.5 IDE release. This is a not suitable candidate for the patch.
Removed from a patch after discussion with QA.
It occurs also on Mac OS X. I was working on a Jdk 1.4 project at that time.
Looks like it's back again - present in 09/02/XX and 09/03/XX builds.
Fixed. changeset 4c07517dbd79 in main/nb-javac details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=4c07517dbd79 changeset 2ed03cda8e85 in main-silver details: http://hg.netbeans.org/main-silver?cmd=changeset;node=2ed03cda8e85
*** Issue 141521 has been marked as a duplicate of this issue. ***
Similar exception just thrown in dev build (see exception reporter - claims it will open a new bug). Seems to be some problem with Enum.valueOf in JDK sources.
v/c