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 143139 - [65cat] NullPointerException at com.sun.tools.javac.tree.TreeInfo.endPos
Summary: [65cat] NullPointerException at com.sun.tools.javac.tree.TreeInfo.endPos
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Dusan Balek
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-07 08:20 UTC by Marian Mirilovic
Modified: 2009-06-05 11:32 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 75044


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2008-08-07 08:20:58 UTC
18 duplicates so far ...

Build: NetBeans IDE Dev (Build 200807101204)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Windows XP, 5.1, x86
User comments: Line-deleting some java code.
STACKTRACE: (first 10 lines)
java.lang.NullPointerException
        at com.sun.tools.javac.tree.TreeInfo.endPos(TreeInfo.java:237)
        at com.sun.tools.javac.jvm.Gen.genTry(Gen.java:1365)
        at com.sun.tools.javac.jvm.Gen.visitTry(Gen.java:1345)
        at com.sun.tools.javac.tree.JCTree$JCTry.accept(JCTree.java:1027)
        at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:679)
        at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:714)
        at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:700)
        at com.sun.tools.javac.jvm.Gen.genStats(Gen.java:751)
        at com.sun.tools.javac.jvm.Gen.visitBlock(Gen.java:1027)
        at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:769)
Comment 1 Dusan Balek 2008-08-07 13:52:09 UTC
Fixed.

changeset eab8ce152bf6 in main/nb-javac
details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=eab8ce152bf6
changeset 81a324320ff3 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=81a324320ff3
Comment 2 Quality Engineering 2008-08-08 04:25:55 UTC
Integrated into 'main-golden', available in build *200808080201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/81a324320ff3
User: Dusan Balek <dbalek@netbeans.org>
Log: Issues #126218 and #143139 fixed.
Comment 3 stefan79 2008-08-21 10:03:16 UTC
I work with NB 6.5 Beta (build 200808111757).
Is the bug really fixed?

Please have a look at http://statistics.netbeans.org/analytics/detail.do?id=95717
Comment 4 Jan Lahoda 2008-08-21 10:10:39 UTC
Beta was branched on Aug 4th, and the fix for this issue was pushed to trunk/main on Aug 7th. As there is no record the
fix would be backported into the beta branch, it is not part of Beta, yet is part of the trunk/main (the 6.5 final
branch will be branched from the trunk/main, so the fix will be part of the 6.5 final).
Comment 5 Marian Mirilovic 2008-12-09 12:13:23 UTC
v/c