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 250610 - java.io.IOException: Project folder is not writeable.
Summary: java.io.IOException: Project folder is not writeable.
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-22 12:16 UTC by Sam_Ebenezer
Modified: 2015-07-08 01:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 215585


Attachments
stacktrace (1.44 KB, text/plain)
2015-02-22 12:16 UTC, Sam_Ebenezer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam_Ebenezer 2015-02-22 12:16:05 UTC
This bug was originally marked as duplicate of bug 222721, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b17
OS: Linux

User Comments:
Sam_Ebenezer: I started the project in a linux machine and then opened it on a windows machine, I got an error declaring the project is read-only. I copied the contents of the project and started a new one. But after I brought it over and resumed the project on my linux machine again, it still says reade-only. Maybe I tweaked a setting somewhere?




Stacktrace: 
java.io.IOException: Project folder is not writeable.
   at org.netbeans.api.project.ProjectManager.saveProject(ProjectManager.java:699)
   at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties$7.run(WebProjectProperties.java:949)
   at org.openide.util.Mutex.postRequest(Mutex.java:1271)
   at org.openide.util.Mutex.postWriteRequest(Mutex.java:592)
   at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties.setServerInstance(WebProjectProperties.java:938)
   at org.netbeans.modules.web.project.WebProject$ProjectOpenedHookImpl.projectOpened(WebProject.java:1006)
Comment 1 Sam_Ebenezer 2015-02-22 12:16:07 UTC
Created attachment 152139 [details]
stacktrace
Comment 2 Tomas Stupka 2015-06-03 16:13:22 UTC
similar as in issue #222721:
"On the general level of project support, I don't see what we can do. Project wants to save something to metadata, while the project folder is read-only. Not possible to differentiate from other IOExceptions easily either."

please evaluate ...
Comment 3 Petr Hejl 2015-07-07 09:59:12 UTC
Fixed in web-main 3ccda511898b.
Comment 4 Quality Engineering 2015-07-08 01:18:45 UTC
Integrated into 'main-silver', will be available in build *201507080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3ccda511898b
User: Petr Hejl <phejl@netbeans.org>
Log: #250610 - java.io.IOException: Project folder is not writeable.