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 250631 - IllegalArgumentException: Not a default method
Summary: IllegalArgumentException: Not a default method
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.0
Hardware: All All
: P2 normal (vote)
Assignee: Martin Entlicher
Depends on:
Reported: 2015-02-23 13:01 UTC by Jiri Kovalsky
Modified: 2015-04-07 19:10 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 215606

stacktrace (1.70 KB, text/plain)
2015-02-23 13:01 UTC, Jiri Kovalsky

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2015-02-23 13:01:07 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Linux

User Comments:
jkovalsky: 1. Invoke "File > New Project..." from main menu.
2. Select "Samples > Java" category and "Anagram Game" project.
3. Push "Next >" button.
4. Push "Finish" button.
5. Press Ctrl+F5 to start debugging the newly created sample project.
6. Once the Anagrams dialog is opened, invoke "Debug > Take GUI Snapshot" from main menu.
7. IAE is thrown.

java.lang.IllegalArgumentException: Not a default method
   at org.netbeans.modules.debugger.jpda.jdi.ObjectReferenceWrapper.invokeMethod(
   at org.netbeans.modules.debugger.jpda.visual.JavaComponentInfo$ComponentProperty.getValueLazy(
   at org.netbeans.modules.debugger.jpda.visual.JavaComponentInfo$ComponentProperty.access$500(
Comment 1 Jiri Kovalsky 2015-02-23 13:01:09 UTC
Created attachment 152156 [details]
Comment 2 Jiri Kovalsky 2015-02-23 15:30:33 UTC
It is possible to inspect GUI snapshot but since the exception is 100% reproducible I am increasing priority to P2. Also marking as REGRESSION against 8.0.2.
Comment 3 Martin Entlicher 2015-02-26 13:45:19 UTC
I'm not able to reproduce this issue in Ubuntu. A test that invokes the problematic method
javax.accessibility.Accessible.getAccessibleContext() method on an instance of com.toy.anagrams.ui.Anagrams
did not reveal the issue in Linux Mint. :-(
Comment 4 Martin Entlicher 2015-03-11 14:27:09 UTC
I've reproduced it with JDK 1.8.0 update 40.
It's a regression in ObjectReferenceImpl class.
Comment 5 Martin Entlicher 2015-03-11 14:36:45 UTC
Comment 6 Michel Graciano 2015-04-07 19:10:56 UTC
Just for the record, looks like it was already fixed at JDK 8u60.