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.
Build: NetBeans IDE Dev (Build 201008050001) VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: Windows XP Stacktrace: java.lang.AssertionError: Debugger lock taken in AWT Event Queue! at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl$DebuggerReentrantReadWriteLock$DebuggerReadLock.lock(JPDADebuggerImpl.java:2099) at org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl$ThreadReentrantReadWriteLock$ThreadWriteLock.lock(JPDAThreadImpl.java:1988) at org.netbeans.modules.javafx.debugger.utils.Utils.getClassValue(Utils.java:147) at org.netbeans.modules.javafx.debugger.models.ScriptObjectVariable.getJDIValue(ScriptObjectVariable.java:115) at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.getUniqueID(AbstractObjectVariable.java:874) at org.netbeans.modules.debugger.jpda.heapwalk.models.HeapActionsFilter$1.isEnabled(HeapActionsFilter.java:120)
Created attachment 101224 [details] stacktrace
NetBeans IDE Dev (Build 201008030001) Steps to reproduce: - Create the Path Animation JavaFX sample (New Project-> Samples -> JavaFX -> Path Animation ) - Open the pathanimation.Scenario class - Set a breakpoint to the line 63 'if (running) then play();' in fadeIn() function - Debug the project - Expand the Script node in the Variables window - Right-click on the 'startup' variable The exception pops up.
I've added a check for ((Refreshable) var).isCurrent() in changeset: 175240:51dd9db2d1ca This should prevent from retrieving of the value of uninitialized variables. http://hg.netbeans.org/main/rev/51dd9db2d1ca But the implementation of getInnerValue() and getJDIValue() should be in sync in ScriptObjectVariable. It's not necessary to override getJDIValue(), overriding getInnerValue() should be enough, since AbstractVariable.getJDIValue() returns getInnerValue(). It looks like AbstractVariable.getJDIValue() should have been final.
Integrated into 'main-golden', will be available in build *201008060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/51dd9db2d1ca User: mentlicher@netbeans.org Log: #189239 Check if the variable is up-to-date when asking for it's unique ID in AWT thread.
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.