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

Rob Stryker (JIRA) issues at jboss.org
Fri Mar 11 12:40:03 EST 2016


    [ https://issues.jboss.org/browse/JBIDE-21843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175578#comment-13175578 ] 

Rob Stryker commented on JBIDE-21843:
-------------------------------------

The question here is why is it failing?  

I can (kinda) accept that we're ignoring the actual error message and not passing it through, at least for an initial release... and it's correct for the server to stop since the vagrant command has indicated virtualbox isn't working properly.   The question is why is it not working correctly? 

Are you launching via .app button?  Or via cmd line?  

> CDK Poller always fails on OSX
> ------------------------------
>
>                 Key: JBIDE-21843
>                 URL: https://issues.jboss.org/browse/JBIDE-21843
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdk
>    Affects Versions: 4.3.1.CR1
>         Environment: OSX
>            Reporter: Fred Bricon
>            Assignee: Rob Stryker
>             Fix For: 4.3.1.CR1
>
>
> 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."
> I traced the problem back to:
> {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