Windows: CrateDB fails to start on Docker for Windows with `-Cdiscovery.type=single-node`
- Dominant language
- No language data
- Stars
- 3
- Forks
- 4
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 1
Description
_@michaelkremmel reported this the other day. Thank you._
## Problem
After executing the command `docker run --name=cratedb --rm -it --network=cratedb-demo --publish=4200:4200 --publish=5432:5432 --env=CRATE_HEAP_SIZE=2g docker.io/crate -Cdiscovery.type=single-node` I got the following warning and it was not clear to me what it means or if it could affect anything I tried to achieve with the tutorial.
```java
WARNING: Using incubator modules: jdk.incubator.vector
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "String.isEmpty()" because "kvp.value" is null
at io.crate.server.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:67)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:120)
at org.elasticsearch.cli.Command.main(Command.java:86)
at io.crate.bootstrap.CrateDB.main(CrateDB.java:68)
```
## Workaround
Turned out that the CrateDB container run only for a few seconds and stopped. After some trial and error I just removed `-Cdiscovery.type=single-node` which made it work, however I'm not sure what implications that has, so please don't consider it as a fix, but just as a workaround from my side and if possible find out what is causing the issue.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.