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 172455 - Setting varibale value throws VMMismatchException
Summary: Setting varibale value throws VMMismatchException
Status: RESOLVED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Michal Skvor
URL: http://javafx-jira.kenai.com/browse/J...
Keywords:
Depends on:
Blocks: 173187
  Show dependency tree
 
Reported: 2009-09-17 11:28 UTC by Alexandr Scherbatiy
Modified: 2011-05-16 13:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2009-09-17 11:28:20 UTC
netbeans-trunk-nightly-200909151512-javafx-full.zip 

  Product Version         = NetBeans IDE Dev (Build 200909151512) (#ebf350cbb86b)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc.


Steps to reproduce:

- Type in the editor:
--------------------------------
var a = 10;
--------------------------------
- Set a breakpoint for the 'a' variable
- Debug the project
- Go to the variables window
- Try to change the variable value 
 
 The exception pops up:

com.sun.jdi.VMMismatchException: org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor$IntVal@13526be
	at com.sun.tools.jdi.MirrorImpl.validateMirrorOrNull(MirrorImpl.java:60)
	at com.sun.tools.jdi.ClassTypeImpl.setValue(ClassTypeImpl.java:111)
	at org.netbeans.modules.debugger.jpda.jdi.ClassTypeWrapper.setValue(ClassTypeWrapper.java:190)
	at org.netbeans.modules.debugger.jpda.models.FieldVariable.setValue(FieldVariable.java:187)
	at org.netbeans.modules.debugger.jpda.models.AbstractVariable.setValue(AbstractVariable.java:241)
	at org.netbeans.modules.debugger.jpda.ui.models.VariablesTableModel.setValueAt(VariablesTableModel.java:272)
	at org.netbeans.spi.viewmodel.Models$DelegatingTableModel.setValueAt(Models.java:1698)
	at org.netbeans.modules.debugger.jpda.ui.models.NumericDisplayFilter.setValueAt(NumericDisplayFilter.java:137)
	at org.netbeans.spi.viewmodel.Models$CompoundTableModel.setValueAt(Models.java:1170)
	at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.setValueAt(VariablesTreeModelFilter.java:451)
	at org.netbeans.spi.viewmodel.Models$CompoundTableModel.setValueAt(Models.java:1170)
	at
org.netbeans.modules.javafx.debugger.variablesfiltering.JavaFXVariablesTableModelFilter.setValueAt(JavaFXVariablesTableModelFilter.java:91)
	at org.netbeans.spi.viewmodel.Models$CompoundTableModel.setValueAt(Models.java:1170)
	at
org.netbeans.modules.debugger.jpda.ui.models.BoldVariablesTableModelFilterFirst.setValueAt(BoldVariablesTableModelFilterFirst.java:105)
	at org.netbeans.spi.viewmodel.Models$CompoundTableModel.setValueAt(Models.java:1170)
	at org.netbeans.spi.viewmodel.Models$CompoundModel.setValueAt(Models.java:3358)
	at org.netbeans.modules.debugger.ui.views.ViewModelListener$UnionTreeModel.setValueAt(ViewModelListener.java:1303)
	at org.netbeans.spi.viewmodel.Models$DelegatingTableModel.setValueAt(Models.java:1698)
	at org.netbeans.spi.viewmodel.Models$CompoundModel.setValueAt(Models.java:3358)
	at org.netbeans.modules.viewmodel.TreeModelNode$MyProperty$1.run(TreeModelNode.java:1190)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1070)
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
	at org.openide.util.RequestProcessor.post(RequestProcessor.java:292)
	at org.netbeans.modules.viewmodel.TreeModelNode$MyProperty.setValue(TreeModelNode.java:1186)
	at org.openide.explorer.propertysheet.NodePropertyModel.setValue(NodePropertyModel.java:110)
	at org.openide.explorer.propertysheet.PropUtils.noDlgUpdateProp(PropUtils.java:566)
	at org.openide.explorer.propertysheet.EditablePropertyDisplayer._commit(EditablePropertyDisplayer.java:208)
	at org.openide.explorer.propertysheet.EditablePropertyDisplayer.commit(EditablePropertyDisplayer.java:129)
	at
org.openide.explorer.propertysheet.EditablePropertyDisplayer$InplaceEditorListener.actionPerformed(EditablePropertyDisplayer.java:808)
	at javax.swing.JTextField.fireActionPerformed(JTextField.java:492)
	at javax.swing.JTextField.postActionEvent(JTextField.java:705)
	at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:820)
	at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)
	at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
	at javax.swing.JComponent.processKeyBindings(JComponent.java:2886)
	at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
	at java.awt.Component.processEvent(Component.java:6040)
	at java.awt.Container.processEvent(Container.java:2041)
	at java.awt.Component.dispatchEventImpl(Component.java:4630)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Component.dispatchEvent(Component.java:4460)
	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848)
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:704)
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:969)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:841)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:668)
	at java.awt.Component.dispatchEventImpl(Component.java:4502)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Window.dispatchEventImpl(Window.java:2475)
	at java.awt.Component.dispatchEvent(Component.java:4460)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:117)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 1 Michal Skvor 2009-10-15 20:54:44 UTC
Because we don't have evaluator. I'm disabling the setValue functionality so the exception is not thrown.
Comment 2 Petr Suchomel 2010-03-26 13:40:56 UTC
No evaluator, no mapping between JavaFX and generated classfiles names, no luck
Comment 3 David Strupl 2011-05-16 13:49:41 UTC
Closing all bugs filed against JavaFX 1.x as wontfix. We will support JavaFX 2.0 - please keep opened only bugs against the new release. Thanks.