Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save osscontributor/cc41714a4df0ea0f0692866d696fd5a4 to your computer and use it in GitHub Desktop.
Save osscontributor/cc41714a4df0ea0f0692866d696fd5a4 to your computer and use it in GitHub Desktop.
~ $ git clone git@github.com:jeffbrown/stevemaystermkdir.git
Cloning into 'stevemaystermkdir'...
remote: Enumerating objects: 23, done.
remote: Counting objects: 100% (23/23), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 23 (delta 0), reused 23 (delta 0), pack-reused 0
Receiving objects: 100% (23/23), 60.03 KiB | 543.00 KiB/s, done.
~ $
~ $
~ $ cd stevemaystermkdir
stevemaystermkdir (main)$
stevemaystermkdir (main)$ ./gradlew run
> Task :app:run FAILED
Exception in thread "main" java.lang.Exception: Something went wrong creating the directory /some/path/that/cannot/be/created
at stevemaystermkdir.FileExtension.mkdir(FileExtension.groovy:15)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:54)
at org.codehaus.groovy.runtime.metaclass.NewInstanceMetaMethod.invoke(NewInstanceMetaMethod.java:54)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:247)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:130)
at stevemaystermkdir.App.main(App.groovy:8)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:run'.
> Process 'command '/Users/jeffscottbrown/.sdkman/candidates/java/11.0.14-zulu/zulu-11.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 4s
3 actionable tasks: 3 executed
stevemaystermkdir (main)$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment