]
Jeff Johnston resolved ERT-162.
-------------------------------
Fix Version/s: Neon (4.6) RC3
Resolution: Done
Docker build fails when called via Quick Access menu [EBZ#491999]
-----------------------------------------------------------------
Key: ERT-162
URL:
https://issues.jboss.org/browse/ERT-162
Project: Eclipse Release Train
Issue Type: Task
Components: Linux Tools
Reporter: Friendly Jira Robot
Assignee: Jeff Johnston
Labels: Docker, bzira
Fix For: Neon (4.6) RC3
When you call the Docker build command via the quick access menu (Ctrl+3), it will fail:
An internal error occurred during: "Building Image".
java.lang.NullPointerException
java.lang.NullPointerException
at
org.eclipse.linuxtools.internal.docker.ui.commands.BuildImageCommandHandler$1.run(BuildImageCommandHandler.java:131)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
When you call this command via the build icon in Docker Images view, it will work.
The reason I think is the fact that the quick access menu doesn't have the context of
a docker connection to use for the build.
One solution for this would be to include Docker connection dropdown menu in the dialog
and then when you call this from Docker Images view, the active connection would be
selected by default.