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 166500 - IOE from CopyResourcesOnSave.ensureDestinationFileExists
Summary: IOE from CopyResourcesOnSave.ensureDestinationFileExists
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-03 15:34 UTC by einarhreindal
Modified: 2010-10-07 03:16 UTC (History)
12 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 152176


Attachments
stacktrace (1.10 KB, text/plain)
2009-06-03 15:34 UTC, einarhreindal
Details
stacktrace (2.51 KB, text/plain)
2010-02-23 03:28 UTC, neilg
Details
stacktrace (2.51 KB, text/plain)
2010-04-20 21:47 UTC, nicoliniyo
Details
stacktrace (1.68 KB, text/plain)
2010-08-24 16:36 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description einarhreindal 2009-06-03 15:34:18 UTC
This issue was originally marked as duplicate of issue 144114, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.16.60-0.34-bigsmp, i386

User Comments:
GUEST: Deploying web application.

GUEST: Starting Tomcat

joshis: I have started a tomcat server (6.0.13) after I added it in the services view.

einarhreindal: Starting Tomcat 6.0 after a install.

GUEST: run maven project on tomcat (jee)

nbnathan: starting Tomcat 6.0.18 with HTTP monitor enabled

GUEST: Starting web application

nbnathan: hibernating and resuming



Stacktrace: 
java.io.IOException: Permission denied
        at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:0)
        at java.io.File.createNewFile(File.java:883)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createData(FolderObj.java:288)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createDataImpl(FolderObj.java:245)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:215)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:214)
Comment 1 einarhreindal 2009-06-03 15:34:30 UTC
Created attachment 83167 [details]
stacktrace
Comment 2 Jiri Skrivanek 2009-06-03 15:43:28 UTC
Insufficient permission while creating log file.
Comment 3 neilg 2010-02-23 03:28:29 UTC
Created attachment 94415 [details]
stacktrace

Maven project -> right click -> clean
Comment 4 nicoliniyo 2010-04-20 21:47:01 UTC
Created attachment 97751 [details]
stacktrace
Comment 5 Petr Hejl 2010-05-12 15:06:52 UTC
All new occurrences are from maven. Exception reporter assign them to this issue which is not valid anymore.
Comment 6 Jesse Glick 2010-08-24 16:36:12 UTC
Created attachment 101643 [details]
stacktrace

Deleted src/test/resources from Files (contained only empty subdirs).
Comment 7 Jesse Glick 2010-10-06 17:35:45 UTC
Removing from exception reporter as of core-main #abb1af7936b3.
Comment 8 Quality Engineering 2010-10-07 03:16:13 UTC
Integrated into 'main-golden', will be available in build *201010070000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/abb1af7936b3
User: Jesse Glick <jglick@netbeans.org>
Log: No idea how to reproduce #166500 (IOE copying), but probably not a serious problem anyway, so downgrade exception to INFO.