Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-813

Debugging Java web application - unable to view variable value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 9.0
    • None
    • debugger - Java
    • None

    Description

      Could not open a value of a variable. Resulted in following error:

      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.VariablesFormatterFilter.getValueAt(VariablesFormatterFilter.java:498)
      at org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.getValueAt(VariablesFormatterFilter.java:425)
      at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getValueAt(VariablesTreeModelFilter.java:532)
      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.propertysheet.CustomEditorAction.actionPerformed(CustomEditorAction.java:287)
      at org.openide.explorer.propertysheet.PropertyPanel$CustomEditorProxyAction.actionPerformed(PropertyPanel.java:1183)
      at org.openide.explorer.view.OutlineView$OutlineViewOutline.editCellAt(OutlineView.java:2103)
      at java.desktop/javax.swing.plaf.basic.BasicTableUI$Handler.adjustSelection(BasicTableUI.java:1127)
      at java.desktop/javax.swing.plaf.basic.BasicTableUI$Handler.mousePressed(BasicTableUI.java:1057)
      at java.desktop/java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:288)
      at java.desktop/java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:287)
      at java.desktop/java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:287)
      at java.desktop/java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:287)
      at java.desktop/java.awt.Component.processMouseEvent(Component.java:6586)
      at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
      at org.netbeans.swing.outline.Outline.processMouseEvent(Outline.java:1014)
      at java.desktop/java.awt.Component.processEvent(Component.java:6354)
      at java.desktop/java.awt.Container.processEvent(Container.java:2261)
      at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966)
      at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319)
      at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
      at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4914)
      at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4540)
      at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484)
      at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2305)
      at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
      at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
      at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
      at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
      at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
      at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
      at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
      at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
      [catch] at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
      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)

      Attachments

        1. NB90_opening_variable_value.png
          11 kB
          Vít Suchánek

        Issue Links

          Activity

            People

              arunava.sinha ARUNAVA SINHA
              vit.suchanek Vít Suchánek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: