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 237529 - IDE freezes when clicking on a search result
Summary: IDE freezes when clicking on a search result
Status: REOPENED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: All All
: P1 normal with 1 vote (vote)
Assignee: _ sandipchitale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-23 09:12 UTC by pinta83
Modified: 2013-10-23 11:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (90.68 KB, text/plain)
2013-10-23 09:12 UTC, pinta83
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pinta83 2013-10-23 09:12:42 UTC
Way to reproduce:
- open a project, perform a search for some string on the entire project (or a folder)
- when search results pop out, clicking any of them, which used to open a file on the like string was found - now just freezes

It happens on my Ubuntu 12.04.3 LTS (running OpenJDK) and Win 7 x64 (running Oracle Java)

Product Version = NetBeans IDE 7.4 (Build 201310111528)
Operating System = Linux version 3.2.0-55-generic running on amd64
Java; VM; Vendor = 1.7.0_25
Runtime = OpenJDK 64-Bit Server VM 23.7-b01
Comment 1 pinta83 2013-10-23 09:12:46 UTC
Created attachment 141456 [details]
IDE log
Comment 2 Marian Mirilovic 2013-10-23 09:35:21 UTC
I am not able to reproduce :
Product Version: NetBeans IDE Dev (Build 201310220001)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.5.0-41-generic running on amd64; UTF-8; en_US (nb)

Could you please generate thread-dump, attach it here and reopen ? Thanks in advance.

http://wiki.netbeans.org/GenerateThreadDump
Comment 3 pinta83 2013-10-23 10:43:47 UTC
Here's the dump from my Ubuntu

2013-10-23 12:36:25
Full thread dump OpenJDK 64-Bit Server VM (23.7-b01 mixed mode):

"Attach Listener" daemon prio=10 tid=0x00007fbb541a1000 nid=0x31df waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"sampler-awt" daemon prio=10 tid=0x00007fbb680e3800 nid=0x31c5 in Object.wait() [0x00007fbb36347000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.util.TimerThread.mainLoop(Timer.java:552)
	- locked <0x00000000f5650ca8> (a java.util.TaskQueue)
	at java.util.TimerThread.run(Timer.java:505)

"Inactive RequestProcessor thread [Was:SelectedNodesScheduler/org.netbeans.modules.parsing.impl.SelectedNodesScheduler$1]" daemon prio=10 tid=0x00007fbb599a4000 nid=0x31c1 in Object.wait() [0x00007fbb2c536000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1987)
	- locked <0x00000000e4ede8b0> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:PaletteSwitch/org.netbeans.spi.palette.PaletteSwitch$1]" daemon prio=10 tid=0x00007fbb599a3000 nid=0x31c0 in Object.wait() [0x00007fbb2c938000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1987)
	- locked <0x00000000e4f0cef0> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:TimedSoftReference/org.openide.util.TimedSoftReference]" daemon prio=10 tid=0x00007fbb301e3000 nid=0x31be in Object.wait() [0x00007fbb35d44000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1987)
	- locked <0x00000000e4f0d198> (a java.lang.Object)

"Editor Parsing Loop (201310111528)" daemon prio=10 tid=0x00007fbb58b1f800 nid=0x3196 waiting on condition [0x00007fbb2c737000]
   java.lang.Thread.State: WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x00000000d7446908> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
	at java.util.concurrent.PriorityBlockingQueue.take(PriorityBlockingQueue.java:537)
	at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:665)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)

"DestroyJavaVM" prio=10 tid=0x00007fbb7400b000 nid=0x3168 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"TimerQueue" daemon prio=10 tid=0x0000000001409000 nid=0x3190 waiting on condition [0x00007fbb2db6f000]
   java.lang.Thread.State: WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x00000000d11bf3c8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
	at java.util.concurrent.DelayQueue.take(DelayQueue.java:209)
	at javax.swing.TimerQueue.run(TimerQueue.java:171)
	at java.lang.Thread.run(Thread.java:724)

"Worker-JM" prio=10 tid=0x0000000001388800 nid=0x318a in Object.wait() [0x00007fbb2dd70000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000d0fc54d0> (a java.util.ArrayList)
	at org.eclipse.core.internal.jobs.InternalWorker.run(InternalWorker.java:58)
	- locked <0x00000000d0fc54d0> (a java.util.ArrayList)

"Framework Event Dispatcher" daemon prio=10 tid=0x000000000135a000 nid=0x3189 in Object.wait() [0x00007fbb2df71000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000d116a180> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
	at java.lang.Object.wait(Object.java:503)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
	- locked <0x00000000d116a180> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)

"Thread-2" daemon prio=10 tid=0x000000000132f800 nid=0x3188 in Object.wait() [0x00007fbb2e37b000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000d06e71a0> (a java.util.LinkedList)
	at java.lang.Object.wait(Object.java:503)
	at java.util.prefs.AbstractPreferences$EventDispatchThread.run(AbstractPreferences.java:1476)
	- locked <0x00000000d06e71a0> (a java.util.LinkedList)

"File Watcher" daemon prio=10 tid=0x00007fbb54038000 nid=0x3184 runnable [0x00007fbb35b43000]
   java.lang.Thread.State: RUNNABLE
	at com.sun.jna.Native.invokeInt(Native Method)
	at com.sun.jna.Function.invoke(Function.java:344)
	at com.sun.jna.Function.invoke(Function.java:276)
	at com.sun.jna.Library$Handler.invoke(Library.java:216)
	at org.netbeans.modules.masterfs.watcher.linux.$Proxy2.read(Unknown Source)
	at org.netbeans.modules.masterfs.watcher.linux.LinuxNotifier.nextEvent(LinuxNotifier.java:125)
	at org.netbeans.modules.masterfs.providers.Notifier$1.nextEvent(Notifier.java:119)
	at org.netbeans.modules.masterfs.watcher.Watcher$Ext.run(Watcher.java:304)
	at java.lang.Thread.run(Thread.java:724)

"Inactive RequestProcessor thread [Was:PaletteSwitch/org.netbeans.spi.palette.PaletteSwitch$1]" daemon prio=10 tid=0x000000000118f800 nid=0x3181 in Object.wait() [0x00007fbb36146000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1987)
	- locked <0x00000000d09cf500> (a java.lang.Object)

"AWT-EventQueue-0" prio=10 tid=0x0000000001174000 nid=0x317f in Object.wait() [0x00007fbb36546000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at org.openide.text.CloneableEditorInitializer.waitForFinishedInitialization(CloneableEditorInitializer.java:138)
	- locked <0x00000000d0b5e688> (a java.util.ArrayList)
	at org.openide.text.CloneableEditor.getEditorPane(CloneableEditor.java:707)
	at org.netbeans.core.multiview.MultiViewCloneableTopComponent.getEditorPane(MultiViewCloneableTopComponent.java:284)
	at org.openide.text.CloneableEditorSupport.getOpenedPanes(CloneableEditorSupport.java:832)
	at org.netbeans.modules.rectangularedittools.actions.AbstractRectangularAction.enable(AbstractRectangularAction.java:313)
	at org.openide.util.actions.NodeAction.isEnabled(NodeAction.java:209)
	at org.openide.awt.Actions$ButtonBridge.updateState(Actions.java:1124)
	at org.openide.awt.Actions$Bridge.propertyChange(Actions.java:932)
	at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:196)
	at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
	at org.openide.util.SharedClassObject.firePropertyChange(SharedClassObject.java:471)
	at org.openide.util.actions.NodeAction.maybeFireEnabledChange(NodeAction.java:374)
	at org.openide.util.actions.NodeAction$NodesL$1.run(NodeAction.java:526)
	at org.openide.util.Mutex.doEvent(Mutex.java:1348)
	at org.openide.util.Mutex.readAccess(Mutex.java:355)
	at org.openide.util.actions.NodeAction$NodesL.forget(NodeAction.java:524)
	at org.openide.util.actions.NodeAction$NodesL.update(NodeAction.java:493)
	at org.openide.util.actions.NodeAction$NodesL.resultChanged(NodeAction.java:486)
	at org.openide.util.lookup.SimpleProxyLookup.checkLookup(SimpleProxyLookup.java:114)
	at org.openide.util.lookup.SimpleProxyLookup.lookup(SimpleProxyLookup.java:156)
	at org.netbeans.modules.openide.windows.GlobalActionContextImpl.blickActionMapImpl(GlobalActionContextImpl.java:130)
	at org.netbeans.modules.openide.windows.GlobalActionContextImpl.blickActionMap(GlobalActionContextImpl.java:106)
	at org.netbeans.modules.openide.windows.GlobalActionContextImpl.blickActionMap(GlobalActionContextImpl.java:102)
	at org.openide.windows.DelegateActionMap.setParent(DelegateActionMap.java:210)
	at org.openide.text.CloneableEditorInitializer.initActionMapInEDT(CloneableEditorInitializer.java:478)
	at org.openide.text.CloneableEditorInitializer.run(CloneableEditorInitializer.java:335)
	at org.openide.text.CloneableEditorInitializer.processPendingEDTRequests(CloneableEditorInitializer.java:158)
	at org.openide.text.CloneableEditorInitializer.waitForFinishedInitialization(CloneableEditorInitializer.java:126)
	at org.openide.text.CloneableEditor.getEditorPane(CloneableEditor.java:707)
	at org.netbeans.core.multiview.MultiViewCloneableTopComponent.getEditorPane(MultiViewCloneableTopComponent.java:284)
	at org.openide.text.CloneableEditorSupport.getOpenedPanes(CloneableEditorSupport.java:832)
	at org.netbeans.modules.search.TextDetail.highlightDetail(TextDetail.java:214)
	at org.netbeans.modules.search.TextDetail.access$100(TextDetail.java:97)
	at org.netbeans.modules.search.TextDetail$1$1.run(TextDetail.java:185)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:694)
	at java.awt.EventQueue$3.run(EventQueue.java:692)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

"AWT-Shutdown" prio=10 tid=0x0000000001173000 nid=0x317e in Object.wait() [0x00007fbb36749000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:503)
	at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:287)
	- locked <0x00000000d04b3948> (a java.lang.Object)
	at java.lang.Thread.run(Thread.java:724)

"State Data Manager" daemon prio=10 tid=0x000000000118b800 nid=0x317d waiting on condition [0x00007fbb36d9b000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
	at java.lang.Thread.sleep(Native Method)
	at org.eclipse.osgi.internal.baseadaptor.StateManager.run(StateManager.java:297)
	at java.lang.Thread.run(Thread.java:724)

"Framework Active Thread" prio=10 tid=0x000000000116c000 nid=0x317c in Object.wait() [0x00007fbb36b9a000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at org.eclipse.osgi.framework.internal.core.Framework.run(Framework.java:1863)
	- locked <0x00000000d0a15908> (a org.eclipse.osgi.framework.internal.core.Framework)
	at java.lang.Thread.run(Thread.java:724)

"AWT-XAWT" daemon prio=10 tid=0x0000000001008800 nid=0x3179 runnable [0x00007fbb36f9c000]
   java.lang.Thread.State: RUNNABLE
	at sun.awt.X11.XToolkit.waitForEvents(Native Method)
	at sun.awt.X11.XToolkit.run(XToolkit.java:627)
	at sun.awt.X11.XToolkit.run(XToolkit.java:591)
	at java.lang.Thread.run(Thread.java:724)

"Java2D Disposer" daemon prio=10 tid=0x0000000000fbc000 nid=0x3178 in Object.wait() [0x00007fbb3719d000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
	- locked <0x00000000d009f450> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
	at sun.java2d.Disposer.run(Disposer.java:145)
	at java.lang.Thread.run(Thread.java:724)

"RequestProcessor queue manager" daemon prio=10 tid=0x0000000000f3c000 nid=0x3177 in Object.wait() [0x00007fbb3739e000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at org.openide.util.RequestProcessor$TickTac.obtainFirst(RequestProcessor.java:2265)
	- locked <0x00000000d0577110> (a java.lang.Class for org.openide.util.RequestProcessor$TickTac)
	at org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2241)

"Inactive RequestProcessor thread [Was:PaletteSwitch/org.netbeans.spi.palette.PaletteSwitch$1]" daemon prio=10 tid=0x00007fbb74403000 nid=0x3175 in Object.wait() [0x00007fbb377a0000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1987)
	- locked <0x00000000d075f8a0> (a java.lang.Object)

"CLI Requests Server" daemon prio=10 tid=0x00007fbb743b3000 nid=0x3174 runnable [0x00007fbb49408000]
   java.lang.Thread.State: RUNNABLE
	at java.net.PlainSocketImpl.socketAccept(Native Method)
	at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)
	at java.net.ServerSocket.implAccept(ServerSocket.java:530)
	at java.net.ServerSocket.accept(ServerSocket.java:498)
	at org.netbeans.CLIHandler$Server.run(CLIHandler.java:1100)

"Active Reference Queue Daemon" daemon prio=10 tid=0x00007fbb7437c800 nid=0x3173 in Object.wait() [0x00007fbb4b56d000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
	- locked <0x00000000d0745eb8> (a java.lang.ref.ReferenceQueue$Lock)
	at org.openide.util.lookup.implspi.ActiveQueue$Daemon.run(ActiveQueue.java:180)
	- locked <0x00000000d0745eb8> (a java.lang.ref.ReferenceQueue$Lock)

"Service Thread" daemon prio=10 tid=0x00007fbb74202800 nid=0x3171 runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread1" daemon prio=10 tid=0x00007fbb74200800 nid=0x3170 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread0" daemon prio=10 tid=0x00007fbb741fd800 nid=0x316f waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x00007fbb741fb800 nid=0x316e runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=10 tid=0x00007fbb741a3000 nid=0x316d in Object.wait() [0x00007fbb716fa000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
	- locked <0x00000000d0023a58> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:189)

"Reference Handler" daemon prio=10 tid=0x00007fbb741a0800 nid=0x316c in Object.wait() [0x00007fbb718fb000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:503)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
	- locked <0x00000000d057a628> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x00007fbb74198000 nid=0x316b runnable 

"GC task thread#0 (ParallelGC)" prio=10 tid=0x00007fbb74019000 nid=0x3169 runnable 

"GC task thread#1 (ParallelGC)" prio=10 tid=0x00007fbb7401a800 nid=0x316a runnable 

"VM Periodic Task Thread" prio=10 tid=0x00007fbb7420d000 nid=0x3172 waiting on condition 

JNI global references: 1875
Comment 4 pinta83 2013-10-23 10:47:35 UTC
I don't know if it helps but on obth machines i have exported my configuration (all of it) from NB 7.4 RC2 and imported into new 7.4 stable.

Same thing was done with 7.4beta and 7.4 RC2, where i exported my conf from 7.3. If you want i can send you the configuration (without keyrings) I'm using, maybe it has something to do with it... may some old data from previous verions of NB is the problem....
Comment 5 Jaroslav Havlin 2013-10-23 11:08:11 UTC
Maybe the problem is caused by plugin Rectangular Edit Tools.
Please try to disable it and let me know whether it helped. Thank you.
Comment 6 pinta83 2013-10-23 11:18:37 UTC
Wow... looks like that's it, I've disabled the plugin and so far so good :)

Thank you very much, hope the developers of this plugin fix this issue soon :)
Comment 7 Jaroslav Havlin 2013-10-23 11:26:22 UTC
(In reply to pinta83 from comment #6)
> Wow... looks like that's it, I've disabled the plugin and so far so good :)
> Thank you very much, hope the developers of this plugin fix this issue soon
> :)
You are welcome, thank you very much for reporting.
I'm not sure that the plugin is still maintained, as rectangular edit is
included in NetBeans since 7.1. But the plugin may have some extra features.

I'm reassigning the bug to owner of the plugin. Sandipchitale, please evaluate
it, or close this issue if the plugin is no longer maintained. Thank you.