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 64296 - Exception while creating web project
Summary: Exception while creating web project
Status: RESOLVED INVALID
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Radko Najman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-14 07:38 UTC by Vladimir Yaroslavskiy
Modified: 2005-10-26 15:52 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 Vladimir Yaroslavskiy 2005-09-14 07:38:51 UTC
Steps:
 
1. Start the NB with fresh userdir
2. Start creating web project
3. In the project location enter a non-default directory
4. Uncheck "Set as Main Project" and "Set Source Level to 1.4" options
5. Click "Finish"

The project created, but there is also an exception in the console:

INFORMATIONAL *********** Exception occurred ************ at 11:40 AM on Sep 9,
2005
Annotation: java.io.FileNotFoundException: C:\Documents and Settings\Administrat
or\ntuser.dat.LOG (The process cannot access the file because it is being used b
y another process)
java.io.FileNotFoundException: java.io.FileNotFoundException: C:\Documents and S
ettings\Administrator\ntuser.dat.LOG (The process cannot access the file because
 it is being used by another process)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getInpu
tStream(FileObj.java:86)
        at org.netbeans.modules.masterfs.MasterFileObject.getInputStream(MasterF
ileObject.java:137)
        at org.openide.filesystems.FileUtil.isArchiveFile(FileUtil.java:1170)
        at org.netbeans.modules.javacore.RepositoryUpdater.getRootURL(Repository
Updater.java:104)
        at org.netbeans.modules.javacore.RepositoryUpdater.fileChanged(Repositor
yUpdater.java:83)
        at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:75)
        at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:61)
        at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:796)
        at org.openide.filesystems.FileSystem$EventDispatcher.run(FileSystem.jav
a:755)
        at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:
47)
        at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:468)
        at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:413)
        at org.openide.filesystems.FileObject.fireFileChangedEvent(FileObject.ja
va:378)
        at org.netbeans.modules.masterfs.MasterFileObject.access$900(MasterFileO
bject.java:37)
        at org.netbeans.modules.masterfs.MasterFileObject$FileChangeListenerImpl
.fileChanged(MasterFileObject.java:822)
        at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerIm
pl.java:383)
        at $Proxy1.fileChanged(Unknown Source)
        at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:75)
        at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:776)
        at org.openide.filesystems.FileSystem$EventDispatcher.run(FileSystem.jav
a:755)
        at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:
47)
        at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:468)
        at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:413)
        at org.openide.filesystems.FileObject.fireFileChangedEvent(FileObject.ja
va:378)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.fir
eFileChangedEvent(BaseFileObj.java:325)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.refresh
(FileObj.java:150)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.refre
sh(FolderObj.java:239)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFacto
ry.refreshAll(FileObjectFactory.java:134)
        at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.refresh
(FileBasedFileSystem.java:117)
        at org.netbeans.modules.masterfs.MasterFileSystem.refresh(MasterFileSyst
em.java:197)
        at org.netbeans.core.ui.MenuWarmUpTask$NbWindowsAdapter.run(MenuWarmUpTa
sk.java:121)
        at org.openide.util.Task.run(Task.java:189)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java
:721)
Caused by: java.io.FileNotFoundException: C:\Documents and Settings\Administrato
r\ntuser.dat.LOG (The process cannot access the file because it is being used by
 another process)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj$2.<init
>(FileObj.java:76)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getInpu
tStream(FileObj.java:75)
[catch] ... 36 more
Comment 1 zikmund 2005-09-21 09:56:05 UTC
Please do not paste stack traces or logs into comment/description, attach them
as attachments next time, thanks! (It is much better for searching for duplicates)
Comment 2 Radko Najman 2005-10-10 12:34:24 UTC
Cannot reproduce, is the issue still valid?
Comment 3 Radko Najman 2005-10-26 15:52:47 UTC
Closing, no more info from the user. Feel free to reopen if the issue is still
valid.