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

Viewing variable in debugger caused AWT Event Queue exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 10.0
    • None

    Description

       

      Steps to produce:

      • Hover over Map variable with mouse.
      • Click arrow button in yellow box.
      • Select ellipsis button next to one of the values in the Map

      <record>
      <date>2018-06-19T15:15:30</date>
      <millis>1529439330343</millis>
      <sequence>10717</sequence>
      <level>500</level>
      <thread>429</thread>
      <message>LOG_WINDOW_ACTIVATED</message>
      <key>LOG_WINDOW_ACTIVATED</key>
      <catalog>org.netbeans.core.ui.warmup.Bundle</catalog>
      <param>3688</param>
      </record>

       

      INFO [org.netbeans.gradle.project.lookups.ProjectLookupHack]: Using custom lookup for type org.netbeans.spi.queries.SharabilityQueryImplementation2
      INFO [null]: Last record repeated 2 more times.
      WARNING [org.netbeans.core.startup.InstalledFileLocatorImpl]: no code name base passed when looking up modules/ext/nb-javac-impl.jar at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.computeJavacVersion(JavaCustomIndexer.java:1313)
      SEVERE [org.openide.util.Exceptions]
      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.evaluateGeneric(JPDADebuggerImpl.java:901)
      at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluate(JPDADebuggerImpl.java:348)
      at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluate(JPDADebuggerImpl.java:324)
      at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.evaluate(AbstractObjectVariable.java:664)
      at jdk.internal.reflect.GeneratedMethodAccessor438.invoke(Unknown Source)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      [catch] at org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.getValueAt(VariablesFormatterFilter.java:465)
      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.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:5763)
      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:770)
      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.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
      at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
      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

        Issue Links

          Activity

            People

              arunava.sinha ARUNAVA SINHA
              Preisler Chad
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m