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 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)
Created attachment 162601 [details] stacktrace
Should be fixed by jet-main#b1010b35b3bd
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