[jbosstools-issues] [JBoss JIRA] (JBIDE-21843) CDK Poller always fails on OSX

Fred Bricon (JIRA) issues at jboss.org
Wed Mar 9 10:15:02 EST 2016


Fred Bricon created JBIDE-21843:
-----------------------------------

             Summary: CDK Poller always fails on OSX
                 Key: JBIDE-21843
                 URL: https://issues.jboss.org/browse/JBIDE-21843
             Project: Tools (JBoss Tools)
          Issue Type: Feature Request
          Components: cdk
    Affects Versions: 4.3.1.CR1
         Environment: OSX
            Reporter: Fred Bricon
            Priority: Critical


Starting the CDK on OSX always fails. Whether it was already started from CLI or not.
The vagrant up command is properly executed, you can see the output in the console, but it ends up with a message "Server CDK Server Adapter at localhost failed to start."

{noformat}
VagrantPoller.parseOutput(String[]) line: 220	
VagrantPoller.onePing(IServer, String) line: 160	
VagrantPoller.onePing(IServer) line: 138	
VagrantPoller.getCurrentStateSynchronous(IServer) line: 114	
CDKLaunchController$2.run() line: 222	
{noformat}

In parseOutput, the value of lines is :
[1457536005,,error-exit,Vagrant::Errors::ProviderNotUsable,The provider 'virtualbox' that was requested to back the machine\n'cdk' is reporting that it isn't usable on this system. The\nreason is shown below:\n\nVagrant could not detect VirtualBox! Make sure VirtualBox is properly installed.\nVagrant uses the `VBoxManage` binary that ships with VirtualBox%!(VAGRANT_COMMA) and requires\nthis to be available on the PATH. If VirtualBox is installed%!(VAGRANT_COMMA) please find the\n`VBoxManage` binary and add it to the PATH environmental variable.]

this is not properly parsed as it later goes into this block 
{code}
		Collection<VagrantStatus> stats = status.values();
		if( stats.size() == 0 ) {
			return IStatus.ERROR;
		}
{code}
And the message in the lines is lost completely



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list