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 252624

Summary: UnsupportedOperationException: Not supported yet.
Product: debugger Reporter: Alexander Simon <alexvsimon>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 217557
Attachments: stacktrace

Description Alexander Simon 2015-05-27 15:04:44 UTC
Build: NetBeans IDE Dev (Build 20150527-ccc0449779e3)
VM: Java HotSpot(TM) Client VM, 24.75-b04, Java(TM) SE Runtime Environment, 1.7.0_75-b13
OS: SunOS

User Comments:
alexvsimon: copy to bufer




Stacktrace: 
java.lang.UnsupportedOperationException: Not supported yet.
   at org.netbeans.modules.debugger.jpda.ui.models.VariablesNodeModel.clipboardCopy(VariablesNodeModel.java:472)
   at org.netbeans.spi.viewmodel.Models$DelegatingNodeModel.clipboardCopy(Models.java:3371)
   at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.clipboardCopy(VariablesTreeModelFilter.java:742)
   at org.netbeans.spi.viewmodel.Models$CompoundNodeModel.clipboardCopy(Models.java:1282)
   at org.netbeans.modules.debugger.jpda.ui.models.LabelVarsFilter.clipboardCopy(LabelVarsFilter.java:176)
   at org.netbeans.spi.viewmodel.Models$CompoundNodeModel.clipboardCopy(Models.java:1282)
Comment 1 Alexander Simon 2015-05-27 15:04:45 UTC
Created attachment 153904 [details]
stacktrace
Comment 2 Martin Entlicher 2015-06-04 16:34:08 UTC
IMHO this is a race-condition in the explorer action. The state of the action is updated in RP and is read in AWT. Debugger models correctly return canCopy() and canCut() as false. This needs more investigation to decide what to do with this, IMHO this should occur really rarely.