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 158392 - java.io.IOException: java.io.IOException: error=13, Permission denied
Summary: java.io.IOException: java.io.IOException: error=13, Permission denied
Status: RESOLVED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Grails (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-11 13:19 UTC by Jiri Prox
Modified: 2009-02-19 20:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 139594


Attachments
stacktrace (1.73 KB, text/plain)
2009-02-11 13:19 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2009-02-11 13:19:38 UTC
Build: NetBeans IDE Dev (Build 20090211055643)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Linux, 2.6.24-23-generic, i386

User Comments:
jiriprox: IOE exceptions when trying to create grails project

bridgeman: On ubuntu 8.04 NetBeans 6.5 won't create a new Grails project. However, it can create new Java projects.

jiriprox: IOE exceptions when trying to create grails project



Stacktrace: 
org.netbeans.api.extexecution.ExecutionService$WrappedException: java.io.IOException: Cannot run program "/space/grails/grails-1.0.4/bin/grails" (in directory "/home/jp159440/NetBeansProjects"): java.io.IOException: error=13, Permission denied
        at org.netbeans.api.extexecution.ExecutionService$3.call(ExecutionService.java:289)
        at org.netbeans.api.extexecution.ExecutionService$3.call(ExecutionService.java:230)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
Comment 1 Jiri Prox 2009-02-11 13:19:48 UTC
Created attachment 76852 [details]
stacktrace
Comment 2 Jiri Prox 2009-02-11 13:28:02 UTC
the problem was that the grails file hasn't set permission to run
Comment 3 Petr Hejl 2009-02-11 15:34:16 UTC
Only visible with enabled assertions. Otherwise there is UI message explaining the possible permission issue (NB7.0).