You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Ernie Rael (Jira)" <ji...@apache.org> on 2020/02/07 02:01:00 UTC
[jira] [Comment Edited] (NETBEANS-963) java.lang.AssertionError:
Debugger lock taken in AWT Event Queue!
[ https://issues.apache.org/jira/browse/NETBEANS-963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17032064#comment-17032064 ]
Ernie Rael edited comment on NETBEANS-963 at 2/7/20 2:00 AM:
-------------------------------------------------------------
Using NB-11.3beta2 I get the exception and stack trace as described in this issue (same line numbers!); I can not get the string by pressing the "..." of a "string value" column. The previous comment says this issue is tracked by a different issue and that issue has been closed; that issue has a different stack trace, but I don't know how things happened.
was (Author: errael):
Using NB-11.3beta2 I get the exception and stack trace as described in this issue; I can not get the string by pressing the "..." of a "string value" column. The previous comment says this issue is tracked by a different issue and that issue has been closed; that issue has a different stack trace, but I don't know how things happened.
> java.lang.AssertionError: Debugger lock taken in AWT Event Queue!
> -----------------------------------------------------------------
>
> Key: NETBEANS-963
> URL: https://issues.apache.org/jira/browse/NETBEANS-963
> Project: NetBeans
> Issue Type: Bug
> Components: debugger - Java
> Affects Versions: 9.0
> Environment: Linux; Release Build 316
> Reporter: Peter Nabbefeld
> Assignee: ARUNAVA SINHA
> Priority: Critical
> Fix For: 9.0
>
>
> When I've selected the "String Value" column in Variables view of the Java debugger, the following exception is thrown even if I just move the cursor over the string value.
> This does only happen for object values; primitive values do not seem to be affected.
> Probably it's related to tooltips, as those are shown for primitive values, while object values throw an exception.
> As this makes it impossible to show and review large strings and thus makes debugging harder, I've set the status to "Blocker".
>
> java.lang.AssertionError: Debugger lock taken in AWT Event Queue!
> at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl$DebuggerReentrantReadWriteLock$DebuggerReadLock.lock(JPDADebuggerImpl.java:2675)
> at org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl$ThreadReentrantReadWriteLock$ThreadWriteLock.lock(JPDAThreadImpl.java:2555)
> at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.invokeMethod(JPDADebuggerImpl.java:1066)
> at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.invokeMethod(JPDADebuggerImpl.java:1008)
> at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.getToStringValue(AbstractObjectVariable.java:496)
> at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.getToStringValue(AbstractObjectVariable.java:460)
> at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.getToStringValue(AbstractObjectVariable.java:424)
> at org.netbeans.modules.debugger.jpda.ui.models.VariablesTableModel.getValueAt(VariablesTableModel.java:108)
> at org.netbeans.spi.viewmodel.Models$DelegatingTableModel.getValueAt(Models.java:2249)
> at org.netbeans.modules.debugger.jpda.ui.models.NumericDisplayFilter.getValueAt(NumericDisplayFilter.java:112)
> at org.netbeans.spi.viewmodel.Models$CompoundTableModel.getValueAt(Models.java:1439)
> at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getValueAt(VariablesTreeModelFilter.java:530)
> at org.netbeans.spi.viewmodel.Models$CompoundTableModel.getValueAt(Models.java:1439)
> at org.netbeans.modules.debugger.jpda.ui.models.PendingActionsFilter.getValueAt(PendingActionsFilter.java:108)
> at org.netbeans.spi.viewmodel.Models$CompoundTableModel.getValueAt(Models.java:1439)
> at org.netbeans.spi.viewmodel.Models$CompoundTableModel.getValueAt(Models.java:1441)
> at org.netbeans.spi.viewmodel.Models$CompoundTableModel.getValueAt(Models.java:1441)
> at org.netbeans.spi.viewmodel.Models$CompoundModel.getValueAt(Models.java:4566)
> at org.netbeans.modules.viewmodel.TreeModelNode$MyProperty.updateShortDescription(TreeModelNode.java:2102)
> at org.netbeans.modules.viewmodel.TreeModelNode$MyProperty.getShortDescription(TreeModelNode.java:2084)
> at org.openide.explorer.view.SheetCell.getTableCellRendererComponent(SheetCell.java:276)
> at org.openide.explorer.view.SheetCell$OutlineSheetCell.getTableCellRendererComponent(SheetCell.java:737)
> at org.netbeans.modules.viewmodel.DelegatingCellRenderer.getTableCellRendererComponent(DelegatingCellRenderer.java:66)
> at java.desktop/javax.swing.JTable.prepareRenderer(JTable.java:5758)
> at org.netbeans.swing.outline.Outline.getToolTipText(Outline.java:393)
> at java.desktop/javax.swing.ToolTipManager$insideTimerAction.actionPerformed(ToolTipManager.java:675)
> at java.desktop/javax.swing.Timer.fireActionPerformed(Timer.java:317)
> at java.desktop/javax.swing.Timer$DoPostEvent.run(Timer.java:249)
> at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
> at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
> at java.desktop/java.awt.EventQueue.access$500(EventQueue.java:97)
> at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:717)
> at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:711)
> at java.base/java.security.AccessController.doPrivileged(Native Method)
> at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:89)
> at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
> at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:199)
> at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
> at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
> at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
> at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
> at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists