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 113229 - A org.openide.filesystems.FileAlreadyLockedException exception has occurred.
Summary: A org.openide.filesystems.FileAlreadyLockedException exception has occurred.
Status: RESOLVED DUPLICATE of bug 109887
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-20 17:44 UTC by myopic4141
Modified: 2008-12-22 14:39 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 myopic4141 2007-08-20 17:44:16 UTC
Hello,
At startup of NetBeans, an Exception dialog appeared requesting that I notify you of this incident.  The following are
the details of what occurred:

org.openide.filesystems.FileAlreadyLockedException: Services/org-netbeans-modules-project-ui-OpenProjectList.settings
	at org.openide.filesystems.MultiFileObject.lock(MultiFileObject.java:562)
	at org.netbeans.modules.settings.ScheduledRequest.schedule(ScheduledRequest.java:83)
	at org.netbeans.modules.settings.ScheduledRequest.schedule(ScheduledRequest.java:74)
	at org.netbeans.modules.settings.convertors.SerialDataConvertor$SaveSupport.propertyChange(SerialDataConvertor.java:703)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:270)
	at org.openide.util.SharedClassObject.firePropertyChange(SharedClassObject.java:424)
	at org.openide.options.SystemOption.firePropertyChange(SystemOption.java:113)
	at org.openide.options.SystemOption.readExternal(SystemOption.java:380)
	at org.openide.util.SharedClassObject$WriteReplace.readObject(SharedClassObject.java:695)
	at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
	at org.netbeans.modules.settings.convertors.XMLSettingsSupport$SettingsRecognizer.readSerial(XMLSettingsSupport.java:520)
	at
org.netbeans.modules.settings.convertors.XMLSettingsSupport$SettingsRecognizer.instanceCreate(XMLSettingsSupport.java:548)
	at
org.netbeans.modules.settings.convertors.SerialDataConvertor$SettingsInstance.instanceCreate(SerialDataConvertor.java:371)
	at org.openide.loaders.FolderLookup$ICItem.getInstance(FolderLookup.java:525)
	at org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:901)
	at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:439)
	at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:386)
	at org.openide.util.lookup.ProxyLookup$R.collectFires(ProxyLookup.java:509)
	at org.openide.util.lookup.AbstractLookup.notifyListeners(AbstractLookup.java:466)
	at org.openide.util.lookup.AbstractLookup$R.collectFires(AbstractLookup.java:882)
	at org.openide.util.lookup.AbstractLookup.notifyListeners(AbstractLookup.java:437)
	at org.openide.util.lookup.AbstractLookup.notifyCollectedListeners(AbstractLookup.java:321)
	at org.openide.util.lookup.AbstractLookup.setPairs(AbstractLookup.java:230)
	at org.openide.util.lookup.AbstractLookup$Content.setPairs(AbstractLookup.java:1121)
	at org.openide.loaders.FolderLookup$ProxyLkp.update(FolderLookup.java:342)
	at org.openide.loaders.FolderLookup.createInstance(FolderLookup.java:176)
	at org.openide.loaders.FolderInstance.defaultProcessObjects(FolderInstance.java:742)
	at org.openide.loaders.FolderInstance.access$000(FolderInstance.java:74)
	at org.openide.loaders.FolderInstance$2.run(FolderInstance.java:628)
	at org.openide.loaders.FolderLookup.postCreationTask(FolderLookup.java:240)
	at org.openide.loaders.FolderInstance.processObjects(FolderInstance.java:626)
	at org.openide.loaders.FolderInstance$Listener.finished(FolderInstance.java:909)
	at org.openide.loaders.FolderList.createObjects(FolderList.java:653)
	at org.openide.loaders.FolderList.getObjects(FolderList.java:521)
	at org.openide.loaders.FolderList.access$200(FolderList.java:56)
	at org.openide.loaders.FolderList$ListTask.run(FolderList.java:886)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)

Further details on the platform:  Dual 1.73 GHz PowerPC G4 QuickSilver (upgrade from 800 MHz 7450 to 1.73 7448) w/ 1.5
GB RAM running under MacOS 10.4.10.
Comment 1 Peter Pis 2007-08-24 15:35:13 UTC
Have you tried to start NB with empty user-dir? 
Comment 2 rost 2007-08-31 07:04:36 UTC
I can confirm this bug with NetBeans 5.5.1 on Linux.
Comment 3 myopic4141 2007-08-31 21:28:05 UTC
Sorry for getting back so late, I did not see a notification for the 24Aug posting.  I did receive the notification today.

It happened only once and I am not sure what the conditions were that caused it.  I have used NetBeans daily with
multiple sessions and have not had a recurrence since then.  There are four drives in the system.  MacOS 10 runs off one
drive and the projects working directories off another (the other two are MacOS 9 and backup).  Come to think of it, the
occurrence was when I opened NetBeans the first time after creating the project on the project drive (opened for the
second session).  That might be like an empty user-dir.

Under what condition did it occur under Linux?
Comment 4 rost 2007-09-01 07:52:13 UTC
> Under what condition did it occur under Linux?

I just started NetBeans like any other day.
Comment 5 Peter Pis 2007-09-10 13:10:13 UTC
Reassigning to "openide" for evaluation.
Comment 6 Peter Pis 2007-09-10 13:21:11 UTC

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