Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 431508

Summary: [terminal] An unknown error occurred opening the terminal with latest build
Product: [ECD] Orion Reporter: Anthony Hunter <ahunter.eclipse>
Component: DockerAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 6.0   
Target Milestone: 6.0 M1   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2014-03-28 11:45:34 EDT
I am running build eclipse-orion-I20140327-0227-linux.gtk.x86_64 and when I try to open a terminal I get a message "An unknown error occurred".

There is a NullPointerException logged on the server.

2014-03-28 11:39:04.302 [qtp403509622-38] WARN  o.e.jetty.servlet.ServletHandler - /docker/connect
java.lang.NullPointerException: null
	at org.eclipse.core.internal.runtime.Activator.getURLConverter(Activator.java:321) ~[na:na]
	at org.eclipse.core.runtime.FileLocator.toFileURL(FileLocator.java:205) ~[na:na]
	at org.eclipse.orion.server.docker.server.DockerFile.getDockerfileContent(DockerFile.java:154) ~[na:na]
	at org.eclipse.orion.server.docker.server.DockerFile.getTarFile(DockerFile.java:111) ~[na:na]
	at org.eclipse.orion.server.docker.server.DockerServer.createDockerUserBaseImage(DockerServer.java:197) ~[na:na]
	at org.eclipse.orion.server.docker.servlets.DockerHandler.handleConnectDockerContainerRequest(DockerHandler.java:149) ~[na:na]

Turns out the build.properties for the docker bundle is missing the Dockerfile.user. I was able to patch org.eclipse.orion.server.docker_1.0.0.v20140327-0227.jar to get the feature running.
Comment 2 Anthony Hunter CLA 2014-03-31 10:54:31 EDT
(In reply to Anthony Hunter from comment #1)
> Fixed with commit:
> http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/
> ?id=ed54f99f6aec82ce92facf8f6e2236f8f0100ce7
> 
> Pushed to a branch ah-Bug431508

Pushed to master.