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 262797

Summary: java.lang.AssertionError: isSubtype METHOD when invoking "Create method "..." in <anonymous...>"
Product: java Reporter: akobberup
Component: HintsAssignee: Svata Dedic <sdedic>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 10 x64   
See Also: https://netbeans.org/bugzilla/show_bug.cgi?id=262795
Issue Type: DEFECT Exception Reporter:
Attachments: messages.log
screenshot

Description akobberup 2016-07-13 11:30:27 UTC
Created attachment 160366 [details]
messages.log

Tried to create a method via the "create method" hint, from within a method in an anonymous inner class - got this AssertionError.
Comment 1 akobberup 2016-07-13 11:30:50 UTC
Created attachment 160367 [details]
screenshot
Comment 2 akobberup 2016-07-13 11:32:14 UTC
It seems to be related to this (the error is the same) i got when debugging in an anonymous inner class..

https://netbeans.org/bugzilla/show_bug.cgi?id=262795
Comment 3 Svata Dedic 2016-07-19 09:21:48 UTC
(In reply to akobberup from comment #2)
> It seems to be related to this (the error is the same) i got when debugging
> in an anonymous inner class..
> 
> https://netbeans.org/bugzilla/show_bug.cgi?id=262795

Correct, the stacktrace is very similar. I can't avoid the call from the java.hints side.

*** This bug has been marked as a duplicate of bug 262795 ***