I can only guess it's out of memory. Running a java docker is not as
straightforward maybe you can try fiddle with the memory parameters?

Regards, Allan.

Sent from Gmail mobile.

On Jan 25, 2018 7:03 PM, "Joery Vreijsen" <[email protected]> wrote:

> Hi,
>
> Up on deploying my Karaf 4.2.0.M2 custom distribution in Docker I ran into
> the following error on startup:
>
> ERROR [Karaf local console user karaf] Exception caught while executing
> command
> java.lang.NullPointerException
> at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.readCommand(
> ConsoleSessionImpl.java:438)
> at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.
> run(ConsoleSessionImpl.java:391)
> at java.lang.Thread.run(Thread.java:745)
> Error executing command: java.lang.NullPointerException
>
> First I thought it was something in my configuration but when i used the
> Dockerfile from mkroli (https://github.com/mkroli/
> karaf-docker/blob/master/Dockerfile) and only changed the version to
> 4.2.0.M2 i got the same result.
> The Docker container crashes and stops immediately.
>
> Am I doing anything wrong?
>
> Cheers!
>
> - Joery Vreijsen
>
> https://www.theguild.nl/
>
>

Reply via email to