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 268646 - NullPointerException at org.netbeans.api.java.source.TypeUtilities.getDenotableType
Summary: NullPointerException at org.netbeans.api.java.source.TypeUtilities.getDenotab...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-23 14:47 UTC by zmirc
Modified: 2016-11-13 02:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 226909


Attachments
stacktrace (2.50 KB, text/plain)
2016-10-23 14:47 UTC, zmirc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zmirc 2016-10-23 14:47:50 UTC
Build: NetBeans IDE Dev (Build 201610010002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.74-b02, Java(TM) SE Runtime Environment, 1.8.0_74-b02
OS: Windows 8

User Comments:
zmirc: Copy paste a line of code from one Java file to another




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.java.source.TypeUtilities.getDenotableType(TypeUtilities.java:198)
   at org.netbeans.modules.java.hints.errors.Utilities.resolveTypeForDeclaration(Utilities.java:547)
   at org.netbeans.modules.java.hints.AssignResultToVariable.run(AssignResultToVariable.java:184)
   at org.netbeans.modules.java.hints.legacy.spi.RulesManager$WorkerImpl.createErrors(RulesManager.java:418)
   at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:821)
   at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:113)
Comment 1 zmirc 2016-10-23 14:47:53 UTC
Created attachment 162601 [details]
stacktrace
Comment 2 Svata Dedic 2016-11-11 12:27:17 UTC
Should be fixed by jet-main#b1010b35b3bd
Comment 3 Quality Engineering 2016-11-13 02:52:34 UTC
Integrated into 'main-silver', will be available in build *201611130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b1010b35b3bd
User: Svata Dedic <sdedic@netbeans.org>
Log: #268646: return erroneous type for unknowns