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.
Build: NetBeans IDE Dev (Build 200905160201) VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04 OS: Windows XP, 5.1, x86 User Comments: GUEST: Loading AWT & Java 2d Open JDK Stacktrace: java.lang.UnsupportedOperationException at com.sun.tools.javac.jvm.ClassReader$SourceFileObject.getCharContent(ClassReader.java:2334) at com.sun.tools.javac.jvm.ClassReader$SourceFileObject.getCharContent(ClassReader.java:2290) at com.sun.tools.javac.util.DiagnosticSource.initBuf(DiagnosticSource.java:179) at com.sun.tools.javac.util.DiagnosticSource.findLine(DiagnosticSource.java:147) at com.sun.tools.javac.util.DiagnosticSource.getLineNumber(DiagnosticSource.java:71) at com.sun.tools.javac.util.JCDiagnostic.<init>(JCDiagnostic.java:295)
Created attachment 82770 [details] stacktrace
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/d259954a1709 changeset 2013118d09cb in main/nb-javac details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=2013118d09cb
Integrated into 'main-golden', will be available in build *200907010200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d259954a1709 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #166002: UnsupportedOperationException at com.sun.tools.javac.jvm.ClassReader$SourceFileObject.getCharContent - fixed.
Can't reproduce in the latest trunk build.
The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/c4e69e16a962
The fix above is encapsulated in javac-impl-nb-7.0-b07.jar together with a few other bugfixes those are not intended for 67patch1 and they cause following compiler error: java.source/src/org/netbeans/modules/java/source/TreeLoader.java:179: cannot find symbol symbol : constructor CouplingAbort(javax.tools.JavaFileObject,com.sun.source.tree.Tree) location: class com.sun.tools.javac.util.CouplingAbort throw new CouplingAbort(clazz.classfile, t); As far as I can be concrete, changes with following commit messages: - Do not store end positions on background scan. - Improved logging of coupling errors. from the list at http://hg.netbeans.org/main-golden/log/d259954a1709/libs.javacimpl/external/binaries-list caused the problem. The fix has been rolled back from the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/
The fix above is encapsulated in javac-impl-nb-7.0-b07.jar together with a few other bugfixes those are not intended for 67patch1 and they cause following compiler error: java.source/src/org/netbeans/modules/java/source/TreeLoader.java:179: cannot find symbol symbol : constructor CouplingAbort(javax.tools.JavaFileObject,com.sun.source.tree.Tree) location: class com.sun.tools.javac.util.CouplingAbort throw new CouplingAbort(clazz.classfile, t); As far as I can be concrete, changes with following commit messages: - Do not store end positions on background scan. - Improved logging of coupling errors. from the list at http://hg.netbeans.org/main-golden/log/d259954a1709/libs.javacimpl/external/binaries-list caused the problem. The fix has been rolled back from the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/7b1ecbc40dab
The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/3bda960ef4e2 http://hg.netbeans.org/release67_fixes/rev/12e73c111e83
v in 6.7.1
Created attachment 94089 [details] stacktrace