lazybones icon indicating copy to clipboard operation
lazybones copied to clipboard

FileNotFoundException with config set on fresh install

Open joaotab opened this issue 8 years ago • 0 comments

Running 'lazybones config set' command on a fresh install generates a FileNotFoundException due to missing <USER_HOME>/.lazybones folder. Happens both on MacOS with sdkman and Windows unzip deployments.

If we manually create the .lazybones folder under the <USER_HOME> directory it starts to work.

Stack Trace:

lazybones config set my-custom-template http://my-artifact-repository/my-custom-template-1.0.zip

Exception in thread "main" java.io.FileNotFoundException: <USER_HOME>/.lazybones/managed-config.json (No such file or directory) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.(FileOutputStream.java:213) at java.io.FileOutputStream.(FileOutputStream.java:162)

joaotab avatar Jan 04 '18 11:01 joaotab