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 32202 - Unmounting default filesystem gives NPE
Summary: Unmounting default filesystem gives NPE
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: rmatous
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2003-03-21 19:04 UTC by Lark Fitzgerald
Modified: 2008-12-23 11:38 UTC (History)
2 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 Lark Fitzgerald 2003-03-21 19:04:26 UTC
Build 0321_1
jdk 1.4.1_02 (don't believe this has bearing)
Fresh install/userdir
First start
answered yes to previous installs question
answered no to import settings
IDE came up
Selected default mount
right mouse click -> unmount filesystem
Got this exception visible in the ide

Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
   at 
org.openide.filesystems.FileSystem.fireFileStatusChanged
(FileSystem.java:515)
   at 
org.netbeans.core.projects.SystemFileSystem.notifyMigration
(SystemFileSystem.java:432)
   at org.openide.filesystems.MultiFileObject.update
(MultiFileObject.java:146)
   at org.openide.filesystems.MultiFileObject.refresh
(MultiFileObject.java:373)
   at org.openide.filesystems.AbstractFolder.refresh
(AbstractFolder.java:387)
   at org.openide.filesystems.MultiFileObject.superRefresh
(MultiFileObject.java:215)
   at org.openide.filesystems.MultiFileObject.updateAll
(MultiFileObject.java:167)
   at 
org.openide.filesystems.MultiFileObject.fileFolderCreated
(MultiFileObject.java:1193)
   at 
org.openide.util.WeakListener$FileChange.fileFolderCreated
(WeakListener.java:547)
   at org.openide.filesystems.FCLSupport.dispatchEvent
(FCLSupport.java:64)
   at org.openide.filesystems.FileObject$ED.dispatch
(FileObject.java:719)
   at 
org.openide.filesystems.EventControl.invokeDispatchers
(EventControl.java:160)
   at org.openide.filesystems.EventControl.exitAtomicAction
(EventControl.java:144)
   at 
org.openide.filesystems.EventControl.finishAtomicAction
(EventControl.java:79)
   at org.openide.filesystems.FileSystem.finishAtomicAction
(FileSystem.java:440)
   at org.openide.filesystems.MultiFileObject.delete
(MultiFileObject.java:1099)
   at org.openide.loaders.FileEntry.delete
(FileEntry.java:100)
   at org.openide.loaders.MultiDataObject.handleDelete
(MultiDataObject.java:466)
   at 
org.openide.loaders.InstanceDataObject.handleDeleteSettings
(InstanceDataObject.java:932)
   at org.openide.loaders.InstanceDataObject.handleDelete
(InstanceDataObject.java:913)
   at org.openide.loaders.DataObject$3.run
(DataObject.java:533)
   at org.openide.filesystems.EventControl.runAtomicAction
(EventControl.java:89)
   at org.openide.filesystems.FileSystem.runAtomicAction
(FileSystem.java:414)
   at org.openide.loaders.DataObject.delete
(DataObject.java:531)
   at org.netbeans.core.ui.MountNode.unmount
(MountNode.java:183)
   at org.netbeans.core.RootFolderNode.unmount
(RootFolderNode.java:339)
   at 
org.netbeans.core.actions.UnmountFSAction.performAction
(UnmountFSAction.java:72)
   at 
org.openide.util.actions.NodeAction$DelegateAction.actionPe
rformed(NodeAction.java:431)
   at org.netbeans.core.ModuleActions$1.run
(ModuleActions.java:97)
   at org.openide.util.Task.run(Task.java:136)
   at org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:328)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:668)
Comment 1 rmatous 2003-03-24 13:56:56 UTC
Not able to reproduce according to given steps. 
Sun ONE Studio 5, Standard edition (Build 030321_1) on  j2sdk1.4.1
(Win2000). Are you able to reproduce ?
Comment 2 Jan Chalupa 2003-03-24 15:30:18 UTC
Unable to reproduce using the provided steps on Win NT 4 SP6, Sun JDK
1.4.1_02 with build #030323.

Lark, can you reproduce this reliably?
Comment 3 Jan Chalupa 2003-03-24 16:48:06 UTC
Tried the same on Windows XP. No exception was thrown.
Comment 4 Marian Mirilovic 2003-03-25 11:36:35 UTC
Lark, 
we need your help: 
Is it 100% reproducible?
What do you mean by "default filesystem" ? Is "AboutExamples" the
"default filesystem"?

Thanks in advance.
Comment 5 Lark Fitzgerald 2003-03-25 18:41:14 UTC
Sorry for the delay - I was not here yesterday.
"AboutExamples" is the default filesystem that I am referring to.
The exception happened to me on a first start after installing only. 
If I remove the userdir and restart I did not get the exception again,
so I have not been able to reproduce the problem.
Comment 6 Lark Fitzgerald 2003-03-25 19:30:56 UTC
I am unable to reproduce this with today's kit.  It was either a fluke
last time or the problem got fixed as a result of something else. 
Closing.