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 6.9 Beta (Build 201004200117) VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: Windows XP User Comments: GUEST: Update fresh commited files from svn repository Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.jvm.Code.typecode(Code.java:227) at com.sun.tools.javac.jvm.Items$Item.coerce(Items.java:269) at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:841) at com.sun.tools.javac.jvm.Gen.genArgs(Gen.java:858) at com.sun.tools.javac.jvm.Gen.visitNewClass(Gen.java:1763) at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1355)
Created attachment 98377 [details] stacktrace
Are you able to reproduce the issue? If so, is the issue reproducible even with clean caches (deleted var/cache subdir of your userdir)? Thanks.
Yes, this issue is systematic with this particuliar project. Event after deleting the entire cache directory and restarting NB.
Great! Could you please try to clean your caches again, run NB with the patched javac (containing an additional logging), and attach then the messages.log file to this issue? I will add the patched javac-impl.jar. You need to replace the netbeans/java/modules/ext/javac-impl-nb-7.0-b07.jar by it (it should be named javac-impl-nb-7.0-b07.jar) cp javac-impl.jar netbeans/java/modules/ext/javac-impl-nb-7.0-b07.jar
Created attachment 98483 [details] Patched javac
Hi Dusan Balek, I patched my NB with your javac-impl.jar and the issue did not reproduce ! In addition, the project now runs fine ! Before that, one of the classes under the "build/classes" directory was deleted when I hit the "run" button and was replaced by a file with the same name but a ".rs" extension... Then the project obviously failed to run with a "ClassNotFoundException". I couldn't find the messages.log, I guess it's because no exception rose this time. However I hope these clues will help to discover what was wrong. Best regards