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 134275 - Renaming using refactoring is not working
Summary: Renaming using refactoring is not working
Status: RESOLVED DUPLICATE of bug 128326
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P2 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-30 17:18 UTC by mona1
Modified: 2008-07-30 09:13 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 mona1 2008-04-30 17:18:57 UTC
Renaming a function or a variable in a function using the Refactor -> Rename does not work!  For function name, it only renames the function name but 
doesn't update the old name in other parts of the code.  When I try to rename a variable, I get the error message "Cannot refactor unresolved elements".  
This worked in my 5.x NetBeans.  Please fix ASAP as I use this often!
Comment 1 Jiri Prox 2008-05-06 15:24:58 UTC
Any exceptions in the messages.log?
What type of project do you use? 

The message "Cannot refactor unresolved elements" is probably indicating some problem in project configuration. Can you
provide more info about it?
Comment 2 mona1 2008-05-07 02:16:42 UTC
------- Additional comments from jiriprox@netbeans.org Tue May  6 14:24:58 +0000 2008 -------
Any exceptions in the messages.log?
What type of project do you use? 

The message "Cannot refactor unresolved elements" is probably indicating some problem in project configuration. Can you
provide more info about it?
--------------------------------------------------------------------------------------

Where is this messages.log?  I did a find in the nbproject/ but didn't find any file by that name.

It was a project w/ pre-existing code and build.xml that I started with Netbeans 5.5.  I upgraded to 6.0 and the refactor doesn't work.  I just upgraded to 
Netbeans 6.1 and when I tried to run the "Refactor" -> "Rename", a dialog popped up saying "Initializing data..." and it seems to be stuck at 50%.  What 
data is it initializing?

Should I delete the nbproject/ and start a new project using Netbeans 6.1?

Comment 3 Jiri Prox 2008-05-07 08:17:08 UTC
the messages log is in your userdir, ${userdir}/var/messages.log,
see the about dialog, to find out where is your userdir .

If the ide is frozen - e.g. it stops responding to keyboard and mouse - please capture also a threaddump
http://wiki.netbeans.org/GenerateThreadDump
Comment 4 mona1 2008-05-08 03:05:35 UTC
I found the message.log.  I monitored it with "tail -f message.log" but nothing showed up in it while I did the unsuccessful refactor.

As for the thread dump, I did it while the IDE is showing the "Rename Method..." dialog:

^\Full thread dump Java HotSpot(TM) Client VM (1.5.0_13-121 mixed mode, sharing):

"Inactive RequestProcessor thread [Was:Default RequestProcessor/org.netbeans.modules.project.ui.ProjectsRootNode$BadgingNode]" daemon prio=1 
tid=0x0058d340 nid=0x1a43800 in Object.wait() [0xb72b6000..0xb72b6d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x19cb22b0> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x19cb22b0> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/org.netbeans.modules.project.ui.ProjectsRootNode$BadgingNode]" daemon prio=1 
tid=0x0058d090 nid=0x182a000 in Object.wait() [0xb70b5000..0xb70b5d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x19cb2328> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x19cb2328> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:Default 
RequestProcessor/org.netbeans.modules.cnd.makeproject.ui.MakeLogicalViewProvider$MakeLogicalViewRootNode]" daemon prio=1 tid=0x0058cf10 
nid=0x19f8800 in Object.wait() [0xb6eb4000..0xb6eb4d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x19cb23a0> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x19cb23a0> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/org.netbeans.modules.project.ui.ProjectsRootNode$BadgingNode]" daemon prio=1 
tid=0x0058cac0 nid=0x1a35200 in Object.wait() [0xb4aa2000..0xb4aa2d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x19cb2418> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x19cb2418> (a java.lang.Object)

"MySQL Statement Cancellation Timer" daemon prio=1 tid=0x00575ec0 nid=0x193d400 in Object.wait() [0xb48a1000..0xb48a1d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x19849b90> (a java.util.TaskQueue)
        at java.lang.Object.wait(Object.java:474)
        at java.util.TimerThread.mainLoop(Timer.java:483)
        - locked <0x19849b90> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"Inactive RequestProcessor thread [Was:JavaSourceTaskFactory/org.netbeans.api.java.source.JavaSourceTaskFactory$1]" daemon prio=1 tid=0x00577150 
nid=0x193d000 in Object.wait() [0xb46a0000..0xb46a0d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x1981f2f0> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x1981f2f0> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:Flush UI Logs/org.netbeans.modules.uihandler.UIHandler$1WriteOut]" daemon prio=1 tid=0x00576fd0 
nid=0x1adb000 in Object.wait() [0xb240e000..0xb240ed10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x1981f368> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x1981f368> (a java.lang.Object)

"GSF Source Worker Thread" prio=6 tid=0x0056d720 nid=0x1a54800 waiting on condition [0xb6cb3000..0xb6cb3d10]
        at sun.misc.Unsafe.park(Native Method)
        at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:146)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1879)
        at java.util.concurrent.PriorityBlockingQueue.poll(PriorityBlockingQueue.java:236)
        at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1170)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:613)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon prio=1 tid=0x0056d220 nid=0x1a54400 in Object.wait() 
[0xb6ab2000..0xb6ab2d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x196dd9e8> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x196dd9e8> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon prio=1 tid=0x0056ce10 nid=0x1a54000 in Object.wait() 
[0xb68b1000..0xb68b1d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x196db588> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x196db588> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon prio=1 tid=0x0056c9f0 nid=0x1a53c00 in Object.wait() 
[0xb66b0000..0xb66b0d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x196db600> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x196db600> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon prio=1 tid=0x0056c5e0 nid=0x1a53800 in Object.wait() 
[0xb64af000..0xb64afd10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x196db678> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x196db678> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon prio=1 tid=0x0056c1d0 nid=0x1a53400 in Object.wait() 
[0xb62ae000..0xb62aed10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x196dda28> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x196dda28> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon prio=1 tid=0x0056bdc0 nid=0x1a53000 in Object.wait() 
[0xb60ad000..0xb60add10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x196dda38> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x196dda38> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon prio=1 tid=0x0056b9b0 nid=0x1aafe00 in Object.wait() 
[0xb5eac000..0xb5eacd10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x196db7d0> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x196db7d0> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon prio=1 tid=0x0056b5a0 nid=0x1aafa00 in Object.wait() 
[0xb5cab000..0xb5cabd10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x196db848> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x196db848> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon prio=1 tid=0x0056b190 nid=0x1aaf600 in Object.wait() 
[0xb5aaa000..0xb5aaad10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x196db8c0> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x196db8c0> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:CaretMarkProvider/org.netbeans.modules.editor.errorstripe.caret.CaretMarkProvider$1]" daemon prio=1 
tid=0x0056ad80 nid=0x1aaf200 in Object.wait() [0xb58a9000..0xb58a9d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x196db938> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x196db938> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon prio=1 tid=0x0056a970 nid=0x1aaee00 in Object.wait() 
[0xb56a8000..0xb56a8d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x196db9b0> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x196db9b0> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon prio=1 tid=0x0056a560 nid=0x1aaea00 in Object.wait() 
[0xb54a7000..0xb54a7d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x196dba28> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x196dba28> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:SourceTaskFactory/org.netbeans.napi.gsfret.source.SourceTaskFactory$1]" daemon prio=1 tid=0x0056a210 
nid=0x1aae600 in Object.wait() [0xb52a6000..0xb52a6d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x196dbaa0> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x196dbaa0> (a java.lang.Object)

"org.netbeans.modules.gsfret.source.usages.RepositoryUpdater" prio=6 tid=0x005695a0 nid=0x19cdc00 in Object.wait() [0xb4ea4000..0xb4ea4d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x1966cf30> (a java.util.TaskQueue)
        at java.lang.Object.wait(Object.java:474)
        at java.util.TimerThread.mainLoop(Timer.java:483)
        - locked <0x1966cf30> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"Java Source Worker Thread" prio=6 tid=0x00568000 nid=0x1a1a200 waiting on condition [0xb4ca3000..0xb4ca3d10]
        at sun.misc.Unsafe.park(Native Method)
        at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:146)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1879)
        at java.util.concurrent.PriorityBlockingQueue.poll(PriorityBlockingQueue.java:236)
        at org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.java:1539)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:613)

"Repository writer 0" daemon prio=1 tid=0x0055b150 nid=0x19b8800 waiting on condition [0xb449f000..0xb449fd10]
        at java.lang.Thread.sleep(Native Method)
        at org.netbeans.modules.cnd.repository.queue.RepositoryWritingThread.waitReady(RepositoryWritingThread.java:94)
        at org.netbeans.modules.cnd.repository.queue.RepositoryWritingThread.run(RepositoryWritingThread.java:128)
        at org.netbeans.modules.cnd.repository.queue.RepositoryThreadManager$Wrapper.run(RepositoryThreadManager.java:84)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)

"Class View Updater" prio=6 tid=0x00559330 nid=0x198c000 in Object.wait() [0xb429e000..0xb429ed10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x19490928> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:474)
        at org.netbeans.modules.cnd.classview.ClassViewUpdater$BlockingQueue.get(ClassViewUpdater.java:65)
        - locked <0x19490928> (a java.lang.Object)
        at org.netbeans.modules.cnd.classview.ClassViewUpdater.run(ClassViewUpdater.java:144)

"Code Model Parser 1" daemon prio=1 tid=0x005594f0 nid=0x198ec00 in Object.wait() [0xb409d000..0xb409dd10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x194abc70> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:474)
        at org.netbeans.modules.cnd.modelimpl.csm.core.ParserQueue.waitReady(ParserQueue.java:401)
        - locked <0x194abc70> (a java.lang.Object)
        at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:69)
        at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:82)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)

"Code Model Parser 0" daemon prio=1 tid=0x00558610 nid=0x199aa00 in Object.wait() [0xb3e9c000..0xb3e9cd10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x194abc70> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:474)
        at org.netbeans.modules.cnd.modelimpl.csm.core.ParserQueue.waitReady(ParserQueue.java:401)
        - locked <0x194abc70> (a java.lang.Object)
        at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:69)
        at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:82)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)

"Inactive RequestProcessor thread [Was:TimedSoftReference/org.openide.util.TimedSoftReference]" daemon prio=1 tid=0x00557350 nid=0x1980c00 in 
Object.wait() [0xb3c9b000..0xb3c9bd10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x1945f428> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x1945f428> (a java.lang.Object)

"pool-1-thread-1" prio=5 tid=0x00553700 nid=0x18bc000 waiting on condition [0xb2891000..0xb2891d10]
        at sun.misc.Unsafe.park(Native Method)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:118)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1841)
        at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:359)
        at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:470)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:674)
        at java.lang.Thread.run(Thread.java:613)

"DestroyJavaVM" prio=5 tid=0x0050f880 nid=0x1804c00 waiting on condition [0x00000000..0xb0800000]

"AWT-EventQueue-1" prio=6 tid=0x00549990 nid=0x1903800 in Object.wait() [0xb3697000..0xb3698d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x19288208> (a org.netbeans.core.TimableEventQueue)
        at java.lang.Object.wait(Object.java:474)
        at java.awt.EventQueue.getNextEvent(EventQueue.java:345)
        - locked <0x19288208> (a org.netbeans.core.TimableEventQueue)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:216)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180)
        at java.awt.Dialog$1.run(Dialog.java:535)
        at java.awt.Dialog$2.run(Dialog.java:563)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Dialog.show(Dialog.java:561)
        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:1302)
        at java.awt.Component.setVisible(Component.java:1255)
        at org.netbeans.modules.refactoring.spi.impl.ParametersPanel.showDialog(ParametersPanel.java:505)
        - locked <0x1b01c998> (a org.netbeans.modules.refactoring.spi.impl.ParametersPanel)
        at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.refresh(RefactoringPanel.java:605)
        at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.<init>(RefactoringPanel.java:139)
        at org.netbeans.modules.refactoring.spi.ui.UI.openRefactoringUI(UI.java:83)
        at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider$TextComponentTask.run(RefactoringActionsProvider.java:683)
        at org.netbeans.modules.refactoring.java.RetoucheUtils.invokeAfterScanFinished(RetoucheUtils.java:927)
        at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider.doRename(RefactoringActionsProvider.java:168)
        at org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.doRename(ActionsImplementationFactory.java:69)
        at org.netbeans.modules.refactoring.spi.impl.RenameAction.performAction(RenameAction.java:62)
        at org.netbeans.modules.refactoring.spi.impl.RefactoringGlobalAction.performAction(RefactoringGlobalAction.java:131)
        at org.openide.util.actions.NodeAction.performAction(NodeAction.java:289)
        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 org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:277)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
        at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:104)
        at java.awt.MenuItem.processActionEvent(MenuItem.java:597)
        at java.awt.MenuItem.processEvent(MenuItem.java:556)
        at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298)
        at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:466)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

"TimerQueue" daemon prio=5 tid=0x005492e0 nid=0x187fa00 in Object.wait() [0xb3497000..0xb3497d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x192882c8> (a javax.swing.TimerQueue)
        at javax.swing.TimerQueue.run(TimerQueue.java:236)
        - locked <0x192882c8> (a javax.swing.TimerQueue)
        at java.lang.Thread.run(Thread.java:613)

"Thread-6" daemon prio=5 tid=0x00546ac0 nid=0x18c7400 in Object.wait() [0xb3296000..0xb3296d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x18fd95f0> (a java.util.LinkedList)
        at java.lang.Object.wait(Object.java:474)
        at java.util.prefs.AbstractPreferences$EventDispatchThread.run(AbstractPreferences.java:1456)
        - locked <0x18fd95f0> (a java.util.LinkedList)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon prio=1 tid=0x005456a0 nid=0x1869a00 in Object.wait() 
[0xb3095000..0xb3095d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x19232300> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x19232300> (a java.lang.Object)

"Creator Error Handler Listener" prio=5 tid=0x00543bc0 nid=0x1871800 runnable [0xb2c93000..0xb2c93d10]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x1922af60> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at org.netbeans.modules.visualweb.errorhandler.DebugServerThread.run(DebugServerThread.java:115)

"*** JFluid Separate Command Execution Thread" daemon prio=5 tid=0x00543060 nid=0x187d000 in Object.wait() [0xb2e94000..0xb2e94d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x192033f0> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:474)
        at org.netbeans.lib.profiler.ProfilerClient$SeparateCmdExecutionThread.run(ProfilerClient.java:104)
        - locked <0x192033f0> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon prio=1 tid=0x005376d0 nid=0x18cf400 in Object.wait() 
[0xb2a92000..0xb2a92d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x190eb4a8> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x190eb4a8> (a java.lang.Object)

"Java2D Disposer" daemon prio=10 tid=0x00512f30 nid=0x189b200 in Object.wait() [0xb2690000..0xb2690d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x186caca8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x186caca8> (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:613)

"AWT-Shutdown" prio=5 tid=0x00512170 nid=0x1813c00 in Object.wait() [0xb1c0a000..0xb1c0ad10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x186cad30> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:474)
        at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
        - locked <0x186cad30> (a java.lang.Object)
        at java.lang.Thread.run(Thread.java:613)

"AWT-AppKit" daemon prio=5 tid=0x00511e00 nid=0xa000d000 runnable [0x00000000..0xbfffde58]

"Inactive RequestProcessor thread [Was:Default RequestProcessor/null]" daemon prio=1 tid=0x0050f2d0 nid=0x1867600 in Object.wait() 
[0xb220d000..0xb220dd10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x186cafb0> (a java.lang.Object)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:939)
        - locked <0x186cafb0> (a java.lang.Object)

"Timer-0" daemon prio=5 tid=0x0050ee60 nid=0x1867200 in Object.wait() [0xb200c000..0xb200cd10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x186cb020> (a java.util.TaskQueue)
        at java.util.TimerThread.mainLoop(Timer.java:509)
        - locked <0x186cb020> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"CLI Requests Server" daemon prio=5 tid=0x0050eb40 nid=0x1814000 runnable [0xb1e0b000..0xb1e0bd10]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x186cb0f0> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at org.netbeans.CLIHandler$Server.run(CLIHandler.java:1003)

"Active Reference Queue Daemon" daemon prio=1 tid=0x0050c960 nid=0x1842600 in Object.wait() [0xb1a09000..0xb1a09d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x186724c8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x186724c8> (a java.lang.ref.ReferenceQueue$Lock)
        at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:3056)
        at java.lang.Thread.run(Thread.java:613)

"Low Memory Detector" daemon prio=5 tid=0x00509360 nid=0x1815a00 runnable [0x00000000..0x00000000]

"CompilerThread0" daemon prio=9 tid=0x00508960 nid=0x1815600 waiting on condition [0x00000000..0xb1406748]

"Signal Dispatcher" daemon prio=9 tid=0x00508490 nid=0x1815200 waiting on condition [0x00000000..0x00000000]

"Finalizer" daemon prio=8 tid=0x00507c20 nid=0x1810e00 in Object.wait() [0xb1004000..0xb1004d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x18672670> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x18672670> (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=10 tid=0x00507870 nid=0x1810000 in Object.wait() [0xb0e03000..0xb0e03d10]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x186723d8> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:474)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
        - locked <0x186723d8> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=9 tid=0x00506ff0 nid=0x180fc00 runnable 

"VM Periodic Task Thread" prio=9 tid=0x00509f30 nid=0x1815e00 waiting on condition 

"Exception Catcher Thread" prio=10 tid=0x00501970 nid=0x1805000 runnable 


Comment 5 Jan Becicka 2008-05-14 12:31:03 UTC
It looks like project is not properly configured. Do you see any errors in your files (red underlines?)
Comment 6 myrecek 2008-06-17 09:50:39 UTC
I think this issue is related to issue 131813. As it does not find the usages, it does not rename them.
Behaves like that in our project too. It showed up only in 6.1. No red underlines.
Comment 7 Jan Becicka 2008-07-30 09:13:52 UTC

*** This issue has been marked as a duplicate of 128326 ***