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 170816 - IDE hangs when using Go To Source from profiling results
Summary: IDE hangs when using Go To Source from profiling results
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Adam Sotona
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2009-08-24 15:38 UTC by Alexandr Scherbatiy
Modified: 2009-09-16 08:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE Thread Dump (22.63 KB, text/plain)
2009-08-24 15:39 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2009-08-24 15:38:38 UTC
Steps to reproduce:

- Create a Path Animation JavaFX Sample
- Profile the project in CPU mode
- Press Live Results 
- Select pathanimation.Main.<clinit> and select Go To Source

IDE hangs
Comment 1 Alexandr Scherbatiy 2009-08-24 15:39:42 UTC
Created attachment 86571 [details]
IDE Thread Dump
Comment 2 Alexandr Scherbatiy 2009-08-24 15:40:06 UTC
"AWT-EventQueue-1" prio=6 tid=0x06c7d800 nid=0xd94 waiting on condition [0x07f6e000]
   java.lang.Thread.State: WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x10a401a8> (a java.util.concurrent.CountDownLatch$Sync)
	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:747)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:905)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1217)
	at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:207)
	at org.netbeans.modules.javafx.profiler.utilities.GoToJavaFXSourceProvider.openSource(GoToJavaFXSourceProvider.java:119)
	at org.netbeans.modules.profiler.utils.GoToSourceHelper.openSource(GoToSourceHelper.java:74)
	at org.netbeans.modules.profiler.NetBeansProfiler.openJavaSource(NetBeansProfiler.java:1382)
	at org.netbeans.modules.profiler.NetBeansProfiler.openJavaSource(NetBeansProfiler.java:1378)
	at org.netbeans.modules.profiler.LiveResultsWindow$CPUActionsHandler.showSourceForMethod(LiveResultsWindow.java:278)
	at org.netbeans.lib.profiler.ui.cpu.CPUResultsPanel.showSourceForMethod(CPUResultsPanel.java:237)
	at org.netbeans.lib.profiler.ui.cpu.CPUResultsPanel.performDefaultAction(CPUResultsPanel.java:229)
	at org.netbeans.lib.profiler.ui.cpu.CPUResultsPanel.menuActionPerformed(CPUResultsPanel.java:270)
	at org.netbeans.lib.profiler.ui.cpu.CPUResultsPanel$1.actionPerformed(CPUResultsPanel.java:177)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
	at java.awt.Component.processMouseEvent(Component.java:6263)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:6028)
	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.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
	at java.awt.Container.dispatchEventImpl(Container.java:2085)
	at java.awt.Window.dispatchEventImpl(Window.java:2475)
	at java.awt.Component.dispatchEvent(Component.java:4460)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
	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 3 Alexandr Scherbatiy 2009-08-24 15:40:47 UTC
NetBeans 6.7.1

  Product Version         = NetBeans IDE 6.7.1 (Build 200907230233)
  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.
Comment 4 J Bachorik 2009-09-14 12:24:01 UTC
fixed in http://hg.netbeans.org/javafx/rev/d42ba98e2ce2
Comment 5 Alexandr Scherbatiy 2009-09-16 08:28:14 UTC
verified in netbeans-trunk-nightly-200909151512-javafx-full.zip