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 90889 - TreeView48993Test deadlocks on windows/JDK1.5
Summary: TreeView48993Test deadlocks on windows/JDK1.5
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: t_h
URL: http://beetle.czech.sun.com/automated...
Keywords: TEST, THREAD
Depends on:
Blocks:
 
Reported: 2006-12-11 10:26 UTC by Petr Nejedly
Modified: 2008-12-22 10:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Nejedly 2006-12-11 10:26:01 UTC
TreeView48993Test.testNotReentrantWhenDoingUpdate can deadlock. see the attached
url with test log.
Comment 1 tomerb 2007-03-13 18:42:54 UTC
The attached URL is broken...
Comment 2 Petr Nejedly 2007-06-11 16:57:08 UTC
Looking at the history, the test deadlocks consistently on win/JDK1.5
Updated the log URL, but still, it's an URL on internal testing machine.
The important part of the failure log is:

"AWT-EventQueue-0" prio=6 tid=0x02d5d158 nid=0xc90 waiting for monitor entry
[0x0315f000..0x0315fbe8]
org.openide.explorer.view.TreeView48993Test$UglyNode.getIcon(TreeView48993Test.java:209)
waiting to lock <0x23000388>
org.openide.explorer.view.VisualizerNode.getIcon(VisualizerNode.java:547)
org.openide.explorer.view.NodeRenderer.configureFrom(NodeRenderer.java:181)
org.openide.explorer.view.NodeRenderer.getTreeCellRendererComponent(NodeRenderer.java:119)
javax.swing.plaf.basic.BasicTreeUI.paintRow(BasicTreeUI.java:1413)
javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1203)
javax.swing.plaf.metal.MetalTreeUI.paint(MetalTreeUI.java:152)
javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
javax.swing.JComponent.paintComponent(JComponent.java:743)
javax.swing.JComponent.paint(JComponent.java:1006)
org.openide.explorer.view.TreeView$ExplorerTree.access$1001(TreeView.java:1433)
org.openide.explorer.view.TreeView$ExplorerTree.guardedPaint(TreeView.java:1575)
org.openide.explorer.view.TreeView$ExplorerTree.access$1300(TreeView.java:1433)
org.openide.explorer.view.TreeView$ExplorerTree$GuardedActions.run(TreeView.java:1856)
org.openide.explorer.view.TreeView$ExplorerTree$GuardedActions.run(TreeView.java:1843)
org.openide.util.Mutex.readAccess(Mutex.java:230)
org.openide.explorer.view.TreeView$ExplorerTree$GuardedActions.<init>(TreeView.java:1850)
org.openide.explorer.view.TreeView$ExplorerTree.paint(TreeView.java:1551)
javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972)
javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925)
javax.swing.JComponent._paintImmediately(JComponent.java:4868)
javax.swing.JComponent.paintImmediately(JComponent.java:4675)
javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
"Test Watch Dog: testNotReentrantWhenDoingUpdate" prio=6 tid=0x02ca8618
nid=0xe18 in Object.wait() [0x02fdf000..0x02fdf9e8]
java.lang.Object.wait(Native Method)
- waiting on <0x22a74200> (a org.openide.util.Mutex$QueueCell)
java.lang.Object.wait(Object.java:474)
org.openide.util.Mutex$QueueCell.sleep(Mutex.java:1447)
 - locked <0x22a74200> (a org.openide.util.Mutex$QueueCell)
org.openide.util.Mutex.enterImpl(Mutex.java:631)
org.openide.util.Mutex.enter(Mutex.java:538)
org.openide.util.Mutex.postRequest(Mutex.java:1137)
org.openide.util.Mutex.postWriteRequest(Mutex.java:490)
org.openide.nodes.Children$Keys.applyKeys(Children.java:2120)
org.openide.nodes.Children$Keys.setKeys(Children.java:2101)
org.openide.explorer.view.TreeView48993Test$MyChildren.keys(TreeView48993Test.java:320)
org.openide.explorer.view.TreeView48993Test.testNotReentrantWhenDoingUpdate(TreeView48993Test.java:123)
- locked <0x23000388> (a org.openide.explorer.view.TreeView48993Test$UglyNode)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
junit.framework.TestCase.runTest(TestCase.java:164)
org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:59)
org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:286)
org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:224)
java.lang.Thread.run(Thread.java:595)
Comment 3 Petr Nejedly 2007-08-23 16:23:59 UTC
Test-only failure, doesn't actually affect the product.
Comment 4 t_h 2008-04-04 14:14:20 UTC
Test was removed by jtulach...