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 148906

Summary: NullPointerException at com.sun.tools.javac.util.Log.getColumnNumber
Product: java Reporter: robdaemon <robdaemon>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: pchytil, tzezula
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=70550
Issue Type: DEFECT Exception Reporter: 70550
Bug Depends on:    
Bug Blocks: 152191    
Attachments: stacktrace

Description robdaemon 2008-10-02 01:13:36 UTC
Build: NetBeans IDE Dev (Build 200809240201)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153
OS: Mac OS X, 10.5.5, x86_64

Stacktrace: 
java.lang.NullPointerException
        at com.sun.tools.javac.util.Log.getColumnNumber(Log.java:737)
        at com.sun.tools.javac.util.Log$1.getColumnNumber(Log.java:261)
        at com.sun.tools.javac.util.JCDiagnostic.<init>(JCDiagnostic.java:307)
        at com.sun.tools.javac.util.JCDiagnostic$Factory.error(JCDiagnostic.java:90)
        at com.sun.tools.javac.util.Log.error(Log.java:444)
        at com.sun.tools.javac.comp.Attr.check(Attr.java:187)
Comment 1 robdaemon 2008-10-02 01:13:45 UTC
Created attachment 71009 [details]
stacktrace
Comment 2 Petr Chytil 2008-10-02 08:04:41 UTC
Quote from exceptions reporter comments:
buzzword: 'Using autocompletion to insert a method call with a single parameter.'

So reassigning to editor for evaluation.
Comment 3 Jiri Prox 2008-10-02 08:31:03 UTC
Please attach mentioned dump: D:\Documents and Settings\WinUzr\.netbeans\dev\var\log\BaseLPServletTest.dump
Comment 4 Dusan Balek 2008-10-03 12:13:57 UTC
Strange - are you able to reproduce the issue on your sources?

Tome, any idea? Note that both exceptions were thrown during JavacTaskImpl.reattrMethodBody.
Comment 5 Dusan Balek 2008-11-24 11:09:36 UTC
The same problem as #144534.

*** This issue has been marked as a duplicate of 144534 ***