Skip to content

FileNotFoundException with config set on fresh install #187

@joaotab

Description

@joaotab

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions