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 201608040002) 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: Editing java code in a Java file Stacktrace: java.lang.IllegalArgumentException: Currently unsupported TypeKind: PACKAGE at org.netbeans.api.java.source.TypeMirrorHandle.create(TypeMirrorHandle.java:237) at org.netbeans.api.java.source.TypeMirrorHandle.create(TypeMirrorHandle.java:142) at org.netbeans.modules.java.hints.introduce.IntroduceHint.addExpressionFixes(IntroduceHint.java:382) at org.netbeans.modules.java.hints.introduce.IntroduceHint.computeError(IntroduceHint.java:423) at org.netbeans.modules.java.hints.introduce.IntroduceHint.run(IntroduceHint.java:244) at org.netbeans.modules.java.hints.introduce.IntroduceHint.run(IntroduceHint.java:144)
Created attachment 161729 [details] stacktrace
Created attachment 161848 [details] stacktrace normal java editing (maven project)
Created attachment 161863 [details] stacktrace It seems this problem happens frequently when I select a fragment of code I just copy pasted from elsewhere, and in the new context this code no longer compiles.
Created attachment 161926 [details] stacktrace double-clicked on an identifier with errors.
Created attachment 161927 [details] stacktrace selected an identifier with an error. This keeps appearing over ad over again after the first occurence.
Created attachment 161973 [details] stacktrace Copying text from editor
Created attachment 161982 [details] stacktrace try to open hints error light on margin
Will be fixed as jet-main#6e19cbab5fc2
Integrated into 'main-silver', will be available in build *201609100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6e19cbab5fc2 User: Svata Dedic <sdedic@netbeans.org> Log: #267653: filter out PACKAGE type as it indicates an error except for prefix of qualident