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 60308 - InterruptedException from MenuWarmupTask late in the session
Summary: InterruptedException from MenuWarmupTask late in the session
Status: VERIFIED DUPLICATE of bug 59904
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2005-06-21 06:39 UTC by _ tboudreau
Modified: 2008-12-22 20:41 UTC (History)
3 users (show)

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 _ tboudreau 2005-06-21 06:39:17 UTC
This exception was fired randomly while clicking in the editor, several hours after starting NetBeans - 
what on earth is MenuWarmUpTask doing running at this point?

java.lang.InterruptedException
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:429)
	at org.openide.util.Mutex$QueueCell.sleep(Mutex.java:1388)
	at org.openide.util.Mutex.enter(Mutex.java:608)
	at org.openide.util.Mutex.writeEnter(Mutex.java:483)
	at org.openide.util.Mutex.access$100(Mutex.java:78)
	at org.openide.util.Mutex$Privileged.enterWriteAccess(Mutex.java:1438)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.refresh(FolderObj.java:226)
	at 
org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.refreshAll(FileObjectFactory.jav
a:131)
	at 
org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.refresh(FileBasedFileSystem.java:120)
	at org.netbeans.modules.masterfs.MasterFileSystem.refresh(MasterFileSystem.java:199)
	at 
org.netbeans.core.ui.warmup.MenuWarmUpTask$NbWindowsAdapter.run(MenuWarmUpTask.java:131)
	at org.openide.util.Task.run(Task.java:207)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:435)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:836)
Comment 1 Marian Mirilovic 2005-06-22 08:02:22 UTC
Ups, I thin kwe have to find the reason why it still running ....
Comment 2 Jan Chalupa 2005-09-06 12:23:38 UTC
Strange. MasterFS involved?
Comment 3 _ rkubacki 2005-09-06 12:51:27 UTC
MenuWarmUpTask is just abused to perform work done when app gets again focus
that was lost. The work involves refreshing of FOs. Anyway I do not have clue
what's wrong here.
Comment 4 rmatous 2005-09-07 09:08:54 UTC
I think that from Radim's explanation is obvious why MenUWarUpTask is involved
in attached stacktrace.  No idea why InterruptedException is thrown, definitely
nothing to do with any FS impl. 


Radim mentioned that he is aware of some problems in RP that might cause
throwing InterruptedException. Radim, please reasssing this issue appropriately
or close it. I have no idea how to solve this issue.
Comment 5 _ rkubacki 2005-09-07 10:04:04 UTC
Reassigning to Jarda. This bug is from June when he made changes to
RequestProcesses that resulted to problems like this. So this is most likely
duplicate of some already fixed bug.
Comment 6 Jaroslav Tulach 2005-09-10 07:41:13 UTC

*** This issue has been marked as a duplicate of 59904 ***
Comment 7 Marian Mirilovic 2006-01-17 12:25:10 UTC
verified duplicate