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 162245 - [67cat] NullPointerException at com.sun.tools.javac.comp.Flow.visitTry
Summary: [67cat] NullPointerException at com.sun.tools.javac.comp.Flow.visitTry
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-08 17:00 UTC by spaquet
Modified: 2009-05-12 18:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 148056


Attachments
stacktrace (2.51 KB, text/plain)
2009-04-08 17:00 UTC, spaquet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description spaquet 2009-04-08 17:00:34 UTC
Build: NetBeans IDE Dev (Build 200903310200)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments:
jirka_x1: Geting code completion at <cursor> in this line: Set<String> primaryKeys = new HashS<cursor>etList<String>();



Stacktrace: 
java.lang.NullPointerException
        at com.sun.tools.javac.comp.Flow.visitTry(Flow.java:1006)
        at com.sun.tools.javac.tree.JCTree$JCTry.accept(JCTree.java:1026)
        at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
        at com.sun.tools.javac.comp.Flow.scanStat(Flow.java:503)
        at com.sun.tools.javac.comp.Flow.scanStats(Flow.java:511)
        at com.sun.tools.javac.comp.Flow.visitBlock(Flow.java:770)
Comment 1 spaquet 2009-04-08 17:00:44 UTC
Created attachment 79757 [details]
stacktrace
Comment 2 Dusan Balek 2009-05-12 08:02:50 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/74c086420b33

changeset 9b71322ce8d1 in main/nb-javac
details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=9b71322ce8d1
Comment 3 Quality Engineering 2009-05-12 18:55:19 UTC
Integrated into 'main-golden', will be available in build *200905121401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/74c086420b33
User: Dusan Balek <dbalek@netbeans.org>
Log: Issues #162245, #163391, #164416, and #164890 fixed.