Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeployerVerticle should not fail if /verticles directory is not in workingDir, but rather watch the workingDir for a /verticles directory to be created #68

Open
kristian opened this issue Sep 5, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@kristian
Copy link
Contributor

kristian commented Sep 5, 2021

Describe the bug
Currently when NeonBee is started, DeployerVerticle fails to start with a...

java.nio.file.NoSuchFileException: <working_dir_path>\verticles
        at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
        at java.base/sun.nio.fs.WindowsException.asIOException(WindowsException.java:112)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(WindowsWatchService.java:366)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(AbstractPoller.java:265)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(WindowsWatchService.java:596)
        at java.base/java.lang.Thread.run(Thread.java:829)

... exception, if the working directory does not contain a verticles folder.

To Reproduce
Start NeonBee with a working directory without a verticles directory.

Expected behavior
NeonBee to start without an exception and the DeployerVerticle watching the workingDir for a verticles directory to be created which is then watched for new verticles.

@kristian kristian added the bug Something isn't working label Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant