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 - java.lang.AssertionError: isSubtype METHOD when invoking "Create method "..." in <anonymous...>"
Summary: java.lang.AssertionError: isSubtype METHOD when invoking "Create method "..."...
Status: RESOLVED DUPLICATE of bug 262795
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-13 11:30 UTC by akobberup
Modified: 2016-07-19 09:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (143.14 KB, text/plain)
2016-07-13 11:30 UTC, akobberup
Details
screenshot (27.56 KB, image/png)
2016-07-13 11:30 UTC, akobberup
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***