Santhosh Kumar Edukulla created CLOUDSTACK-7204:
---------------------------------------------------
Summary: Simulator on master is broken
Key: CLOUDSTACK-7204
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7204
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Reporter: Santhosh Kumar Edukulla
Assignee: Anthony Xu
Below errors are seen when building simulator.
------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile)
on project cloud-plugin-hypervisor-simulator: Compilation failure: Compilation
failure:
[ERROR]
/home/santhosh/softwares/cs_new_master/cloudstack/plugins/hypervisors/simulator/src/com/cloud/resource/AgentRoutingResource.java:[230,8]
error: 'try' without 'catch', 'finally' or resource declarations
[ERROR]
/home/santhosh/softwares/cs_new_master/cloudstack/plugins/hypervisors/simulator/src/com/cloud/resource/AgentRoutingResource.java:[251,8]
error: 'try' without 'catch', 'finally' or resource declarations
===================================
Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile)
on project cloud-plugin-hypervisor-simulator: Compilation failure: Compilation
failure:
[ERROR]
/home/santhosh/softwares/cs_new_master/cloudstack/plugins/hypervisors/simulator/src/com/cloud/ha/SimulatorInvestigator.java:[93,40]
error: incomparable types: PowerState and State
[ERROR]
/home/santhosh/softwares/cs_new_master/cloudstack/plugins/hypervisors/simulator/src/com/cloud/agent/manager/MockVmManagerImpl.java:[357,19]
error: no suitable constructor found for
CheckVirtualMachineAnswer(CheckVirtualMachineCommand,State,int)
[ERROR] constructor
CheckVirtualMachineAnswer.CheckVirtualMachineAnswer(CheckVirtualMachineCommand,String)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
CheckVirtualMachineAnswer.CheckVirtualMachineAnswer(CheckVirtualMachineCommand,PowerState,Integer)
is not applicable
[ERROR] (actual argument State cannot be converted to PowerState by method
invocation conversion)
[ERROR] constructor
CheckVirtualMachineAnswer.CheckVirtualMachineAnswer(CheckVirtualMachineCommand,PowerState,Integer,String)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor CheckVirtualMachineAnswer.CheckVirtualMachineAnswer() is
not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR]
/home/santhosh/softwares/cs_new_master/cloudstack/plugins/hypervisors/simulator/src/com/cloud/agent/manager/MockVmManagerImpl.java:[507,15]
error: no suitable constructor found for
RevertToVMSnapshotAnswer(RevertToVMSnapshotCommand,List<VolumeObjectTO>,State)
[ERROR] -> [Help 1]
[ERROR]
========================================
--
This message was sent by Atlassian JIRA
(v6.2#6252)