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 262238 - The virtual machine does not support this operation: add method not implemented
Summary: The virtual machine does not support this operation: add method not implemented
Status: RESOLVED WONTFIX
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-26 12:53 UTC by FiruzzZ
Modified: 2016-05-27 11:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (102.12 KB, text/plain)
2016-05-26 12:53 UTC, FiruzzZ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FiruzzZ 2016-05-26 12:53:14 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_92
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.92-b14

Reproducibility: Happens sometimes, but not always

STEPS:
 Run in debug mode a Vaadin Web Project
 Add a call to a method (already implemented and in use)
 Press "Apply code changes"

ACTUAL:
  Apply code changes Tab says: NetBeans:The virtual machine does not support this operation: add method not implemented

EXPECTED:
  runs smoooothly!

the modifications are on a private class, maybe that is the problem! (but this doens't always happen):
NetBeans: classes to reload:
 com.traslado.controller.RecorridoController$1
 com.traslado.controller.RecorridoController
 com.traslado.controller.RecorridoController$RecorridoABMController

NetBeans:The virtual machine does not support this operation: add method not implemente
Comment 1 FiruzzZ 2016-05-26 12:53:26 UTC
Created attachment 159890 [details]
IDE log
Comment 2 Martin Entlicher 2016-05-27 11:13:24 UTC
This is a behavior of the JVM. If a new method is generated somewhere, or a signature of some method changes, the logic of apply code changes is not able to deal with that.
This is not something that can be fixed in NetBeans, it's just a warning that the changes can not be applied in the JVM.