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.
I am using: java version "1.6.0_06" Java(TM) SE Runtime Environment (build 1.6.0_06-b02) Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode) I am trying to add a new library to netbeans via Tools->Libraries. I am able to add the new library entry and proceed to add jar files to this library. The jar file I want is /usr/share/lib/imq.jar. I enter /usr/share/lib and hit enter assuming that the file chooser will update to list files/dirs in /usr/share/lib - but instead it hangs. I do a jstack and see the output below. I don't know what exactly netbeans is doing, but it is blocked on java.io.File.isHidden() on some file/dir on my system. I believe the GUI does come back after a while - not sure how long that takes. I've just reproduced the problem and it's been more than 10 minutes and it is still hung. 2008-06-02 16:17:37 Full thread dump Java HotSpot(TM) Client VM (10.0-b22 mixed mode, sharing): "Attach Listener" daemon prio=3 tid=0x00cdd800 nid=0x33 waiting on condition [0x00000000..0x00000000] java.lang.Thread.State: RUNNABLE "Basic L&F File Loading Thread" prio=3 tid=0x00cb5000 nid=0x32 runnable [0xf7f7f000..0xf7f7fc40] java.lang.Thread.State: RUNNABLE at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228) at java.io.File.isHidden(File.java:804) at sun.awt.shell.ShellFolder.listFiles(ShellFolder.java:108) at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:434) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread$1.call(BasicDirectoryModel.java:225) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread$1.call(BasicDirectoryModel.java:221) at sun.awt.shell.ShellFolderManager$DirectInvoker.invoke(ShellFolderManager.java:207) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(BasicDirectoryModel.java:221) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:216) "Basic L&F File Loading Thread" prio=3 tid=0x00cb1000 nid=0x31 runnable [0xfa8ff000..0xfa8ffbc0] java.lang.Thread.State: RUNNABLE at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228) at java.io.File.isHidden(File.java:804) at sun.awt.shell.ShellFolder.listFiles(ShellFolder.java:108) at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:434) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread$1.call(BasicDirectoryModel.java:225) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread$1.call(BasicDirectoryModel.java:221) at sun.awt.shell.ShellFolderManager$DirectInvoker.invoke(ShellFolderManager.java:207) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(BasicDirectoryModel.java:221) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:216) "Basic L&F File Loading Thread" prio=3 tid=0x00e64400 nid=0x30 runnable [0xf737f000..0xf737fa40] java.lang.Thread.State: RUNNABLE at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228) at java.io.File.isHidden(File.java:804) at sun.awt.shell.ShellFolder.listFiles(ShellFolder.java:108) at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:434) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread$1.call(BasicDirectoryModel.java:225) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread$1.call(BasicDirectoryModel.java:221) at sun.awt.shell.ShellFolderManager$DirectInvoker.invoke(ShellFolderManager.java:207) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(BasicDirectoryModel.java:221) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:216) "Basic L&F File Loading Thread" prio=3 tid=0x00e62c00 nid=0x2f runnable [0xf86ff000..0xf86ffac0] java.lang.Thread.State: RUNNABLE at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228) at java.io.File.isHidden(File.java:804) at sun.awt.shell.ShellFolder.listFiles(ShellFolder.java:108) at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:434) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread$1.call(BasicDirectoryModel.java:225) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread$1.call(BasicDirectoryModel.java:221) at sun.awt.shell.ShellFolderManager$DirectInvoker.invoke(ShellFolderManager.java:207) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(BasicDirectoryModel.java:221) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:216) "Basic L&F File Loading Thread" prio=3 tid=0x00e62000 nid=0x2e runnable [0xfa67f000..0xfa67fb40] java.lang.Thread.State: RUNNABLE at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228) at java.io.File.isHidden(File.java:804) at sun.awt.shell.ShellFolder.listFiles(ShellFolder.java:108) at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:434) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread$1.call(BasicDirectoryModel.java:225) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread$1.call(BasicDirectoryModel.java:221) at sun.awt.shell.ShellFolderManager$DirectInvoker.invoke(ShellFolderManager.java:207) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(BasicDirectoryModel.java:221) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:216) "Basic L&F File Loading Thread" prio=3 tid=0x00e61000 nid=0x2d runnable [0xf897f000..0xf897f9c0] java.lang.Thread.State: RUNNABLE at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228) at java.io.File.isHidden(File.java:804) at sun.awt.shell.ShellFolder.listFiles(ShellFolder.java:108) at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:434) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread$1.call(BasicDirectoryModel.java:225) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread$1.call(BasicDirectoryModel.java:221) at sun.awt.shell.ShellFolderManager$DirectInvoker.invoke(ShellFolderManager.java:207) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(BasicDirectoryModel.java:221) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:216) "MySQL Statement Cancellation Timer" daemon prio=3 tid=0x00ec2000 nid=0x2b in Object.wait() [0xf76ff000..0xf76ff8c0] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0xb80ec0f0> (a java.util.TaskQueue) at java.lang.Object.wait(Object.java:485) at java.util.TimerThread.mainLoop(Timer.java:483) - locked <0xb80ec0f0> (a java.util.TaskQueue) at java.util.TimerThread.run(Timer.java:462) "GSF Source Worker Thread" prio=3 tid=0x00e3b800 nid=0x29 waiting on condition [0xf70ff000..0xf70ffbc0] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0xb8070158> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963) at java.util.concurrent.PriorityBlockingQueue.poll(PriorityBlockingQueue.java:245) at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1170) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) "org.netbeans.modules.gsfret.source.usages.RepositoryUpdater" prio=3 tid=0x00e37800 nid=0x28 in Object.wait() [0xf847f000..0xf847fb40] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0xb8070290> (a java.util.TaskQueue) at java.lang.Object.wait(Object.java:485) at java.util.TimerThread.mainLoop(Timer.java:483) - locked <0xb8070290> (a java.util.TaskQueue) at java.util.TimerThread.run(Timer.java:462) "Java Source Worker Thread" prio=3 tid=0x00dd3800 nid=0x26 waiting on condition [0xf81ff000..0xf81ffa40] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0xb8015bd8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963) at java.util.concurrent.PriorityBlockingQueue.poll(PriorityBlockingQueue.java:245) at org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.java:1539) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) "DestroyJavaVM" prio=3 tid=0x00030c00 nid=0x2 waiting on condition [0x00000000..0xfe77fbf0] java.lang.Thread.State: RUNNABLE "AWT-EventQueue-1" prio=3 tid=0x00ce4800 nid=0x1e runnable [0xf97fa000..0xf97ffa40] java.lang.Thread.State: RUNNABLE at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228) at java.io.File.exists(File.java:733) at sun.awt.shell.ShellFolder.getShellFolder(ShellFolder.java:207) at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:448) at javax.swing.filechooser.FileSystemView.isParent(FileSystemView.java:232) at javax.swing.JFileChooser.setSelectedFile(JFileChooser.java:474) at javax.swing.JFileChooser.setSelectedFiles(JFileChooser.java:510) at javax.swing.plaf.basic.BasicFileChooserUI$ApproveSelectionAction.actionPerformed(BasicFileChooserUI.java:905) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636) at javax.swing.JComponent.processKeyBinding(JComponent.java:2849) at javax.swing.JComponent.processKeyBindings(JComponent.java:2895) at javax.swing.JComponent.processKeyEvent(JComponent.java:2812) at java.awt.Component.processEvent(Component.java:5818) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4413) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4243) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:697) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:962) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:834) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:661) at java.awt.Component.dispatchEventImpl(Component.java:4285) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Window.dispatchEventImpl(Window.java:2440) at java.awt.Component.dispatchEvent(Component.java:4243) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177) at java.awt.Dialog$1.run(Dialog.java:1045) at java.awt.Dialog$3.run(Dialog.java:1097) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:1095) at javax.swing.JFileChooser.showDialog(JFileChooser.java:723) at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:626) at org.netbeans.modules.java.j2seplatform.libraries.J2SEVolumeCustomizer.addResource(J2SEVolumeCustomizer.java:371) at org.netbeans.modules.java.j2seplatform.libraries.J2SEVolumeCustomizer.access$600(J2SEVolumeCustomizer.java:81) at org.netbeans.modules.java.j2seplatform.libraries.J2SEVolumeCustomizer$2.actionPerformed(J2SEVolumeCustomizer.java:220) 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.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6041) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5806) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4413) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4243) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2440) at java.awt.Component.dispatchEvent(Component.java:4243) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177) at java.awt.Dialog$1.run(Dialog.java:1045) at java.awt.Dialog$3.run(Dialog.java:1097) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:1095) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:835) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:869) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:857) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:108) at org.openide.util.Mutex.doEventAccess(Mutex.java:1355) at org.openide.util.Mutex.readAccess(Mutex.java:268) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:842) at java.awt.Component.show(Component.java:1422) at java.awt.Component.setVisible(Component.java:1375) at java.awt.Window.setVisible(Window.java:806) at java.awt.Dialog.setVisible(Dialog.java:985) at org.netbeans.modules.project.libraries.ui.LibrariesCustomizerAction.showCustomizer(LibrariesCustomizerAction.java:86) at org.netbeans.modules.project.libraries.ui.LibrariesCustomizerAction.performAction(LibrariesCustomizerAction.java:60) at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:118) at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77) at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:114) 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:1220) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261) at java.awt.Component.processMouseEvent(Component.java:6041) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5806) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4413) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4243) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2440) at java.awt.Component.dispatchEvent(Component.java:4243) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) "TimerQueue" daemon prio=3 tid=0x00ac4000 nid=0x1d in Object.wait() [0xf8bff000..0xf8bff9c0] java.lang.Thread.State: TIMED_WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0xb7be7400> (a javax.swing.TimerQueue) at javax.swing.TimerQueue.run(TimerQueue.java:236) - locked <0xb7be7400> (a javax.swing.TimerQueue) at java.lang.Thread.run(Thread.java:619) "Thread-4" daemon prio=3 tid=0x001d3800 nid=0x17 in Object.wait() [0xf8e7f000..0xf8e7fac0] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0xb7b46230> (a java.util.LinkedList) at java.lang.Object.wait(Object.java:485) at java.util.prefs.AbstractPreferences$EventDispatchThread.run(AbstractPreferences.java:1461) - locked <0xb7b46230> (a java.util.LinkedList) "*** JFluid Separate Command Execution Thread" daemon prio=3 tid=0x00188400 nid=0x15 in Object.wait() [0xf90ff000..0xf90ff9c0] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0xb7b919b8> (a java.lang.Object) at java.lang.Object.wait(Object.java:485) at org.netbeans.lib.profiler.ProfilerClient$SeparateCmdExecutionThread.run(ProfilerClient.java:104) - locked <0xb7b919b8> (a java.lang.Object) "Inactive RequestProcessor thread [Was:TimedSoftReference/org.openide.util.TimedSoftReference]" daemon prio=3 tid=0x00134c00 nid=0x14 in Object.wait() [0xf937f000..0xf937f940] java.lang.Thread.State: TIMED_WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0xb7b44f78> (a java.lang.Object) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939) - locked <0xb7b44f78> (a java.lang.Object) "AWT-Shutdown" prio=3 tid=0x00ac3000 nid=0x12 in Object.wait() [0xf9a7f000..0xf9a7fc40] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0xb7208c40> (a java.lang.Object) at java.lang.Object.wait(Object.java:485) at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259) - locked <0xb7208c40> (a java.lang.Object) at java.lang.Thread.run(Thread.java:619) "AWT-XAWT" daemon prio=3 tid=0x00aa1c00 nid=0x11 runnable [0xf9cff000..0xf9cffbc0] java.lang.Thread.State: RUNNABLE at sun.awt.X11.XToolkit.waitForEvents(Native Method) at sun.awt.X11.XToolkit.run(XToolkit.java:544) at sun.awt.X11.XToolkit.run(XToolkit.java:519) at java.lang.Thread.run(Thread.java:619) "Java2D Disposer" daemon prio=3 tid=0x009cf000 nid=0x10 in Object.wait() [0xf9f7f000..0xf9f7fb40] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0xb7208cd0> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116) - locked <0xb7208cd0> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132) at sun.java2d.Disposer.run(Disposer.java:125) at java.lang.Thread.run(Thread.java:619) "Active Reference Queue Daemon" daemon prio=3 tid=0x009ba400 nid=0xf in Object.wait() [0xfb07f000..0xfb07fac0] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0xb71a7088> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116) - locked <0xb71a7088> (a java.lang.ref.ReferenceQueue$Lock) at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:3056) at java.lang.Thread.run(Thread.java:619) "Timer-0" daemon prio=3 tid=0x001fac00 nid=0xc in Object.wait() [0xfab7f000..0xfab7f940] java.lang.Thread.State: TIMED_WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0xb71a72d0> (a java.util.TaskQueue) at java.util.TimerThread.mainLoop(Timer.java:509) - locked <0xb71a72d0> (a java.util.TaskQueue) at java.util.TimerThread.run(Timer.java:462) "CLI Requests Server" daemon prio=3 tid=0x00126c00 nid=0xb runnable [0xfadff000..0xfadff8c0] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384) - locked <0xb71a7370> (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at org.netbeans.CLIHandler$Server.run(CLIHandler.java:1003) "Low Memory Detector" daemon prio=3 tid=0x00068000 nid=0x8 runnable [0x00000000..0x00000000] java.lang.Thread.State: RUNNABLE "CompilerThread0" daemon prio=3 tid=0x00066000 nid=0x7 waiting on condition [0x00000000..0xfb6ff388] java.lang.Thread.State: RUNNABLE "Signal Dispatcher" daemon prio=3 tid=0x00064c00 nid=0x6 runnable [0x00000000..0xfb97f6a0] java.lang.Thread.State: RUNNABLE "Finalizer" daemon prio=3 tid=0x0005a000 nid=0x5 in Object.wait() [0xfbbff000..0xfbbff940] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0xb71a7630> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116) - locked <0xb71a7630> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159) "Reference Handler" daemon prio=3 tid=0x00059000 nid=0x4 in Object.wait() [0xfbe7f000..0xfbe7f9c0] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0xb71a70b0> (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:485) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116) - locked <0xb71a70b0> (a java.lang.ref.Reference$Lock) "VM Thread" prio=3 tid=0x0004fc00 nid=0x3 runnable "VM Periodic Task Thread" prio=3 tid=0x00072400 nid=0x9 waiting on condition JNI global references: 1280
I see this same hang when I click on "Add Platform" in the Platform Manager dialog.
reassigning to core/dirchooser for evaluation
Hm, I saw similar JFileChooser related thread dumps on windows, but it was just JDK error and slowness and system always started to react after while. This error seems to be JDK - OS related. Could you attach your OS info, Solaris version? I guess problem is here in native method: java.lang.Thread.State: RUNNABLE at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) so we can do probably nothing to fix this. I cced people with Solaris experiences, did you see something similar in the past? Last thing - reporter, are you able to reproduce *always*? If so, please try to reproduce with SwingSet2 demo, JFileChooser section and tell us results, thanks.
Well, no info for long time, closing. isahashim, please reopen with reproducible set of steps, if possible. Also, try with SwingSet2 JFileChooser demo, as mentioned above, thank you.