Sheng Yang ae52867be4 Add no-args constructor for ClusterSyncCommand/ClusterSyncAnswer
Otherwise they can't be deserialized.

Fix the following exception on KVM host:

ERROR [agent.transport.Request] (Agent-Handler-2:null)
Caught problem with
[{"ClusterSyncCommand":{"_interval":60,"_skipSteps":20,"_steps":0,"_clusterId":2,"contextMap":{},"wait":0}}]
com.google.gson.JsonParseException: The JsonDeserializer
com.cloud.agent.transport.ArrayTypeAdaptor@44ed904 failed to deserialized json
object
[{"ClusterSyncCommand":{"_interval":60,"_skipSteps":20,"_steps":0,"_clusterId":2,"contextMap":{},"wait":0}}]
given the type class [Lcom.cloud.agent.api.Command;
...
Caused by: java.lang.RuntimeException: No-args constructor for class
com.cloud.agent.api.ClusterSyncCommand does not exist. Register an
InstanceCreator with Gson for this type to fix this problem.
        at
com.google.gson.MappedObjectConstructor.constructWithNoArgConstructor(MappedObjectConstructor.java:64)
...
2011-09-29 14:56:27 -07:00
2011-09-14 14:59:27 -07:00
2011-09-26 17:47:20 -07:00
2011-02-23 14:39:25 -08:00
2011-08-31 15:23:09 -07:00
2011-09-28 19:59:11 -07:00
2011-08-31 17:25:11 -07:00
2011-09-29 14:50:11 -07:00
2011-09-23 14:40:57 -07:00
2011-09-29 14:50:11 -07:00
2011-08-31 15:51:19 -07:00
2011-08-31 15:51:19 -07:00
2011-09-27 10:50:52 -07:00
2011-09-26 12:16:28 -07:00
2011-09-14 14:59:27 -07:00
2010-08-11 09:13:29 -07:00
2010-09-09 13:27:20 -07:00
waf
2010-08-11 09:13:29 -07:00
2010-08-11 09:13:29 -07:00
2011-07-01 17:52:27 -07:00
2011-09-14 14:59:27 -07:00
2011-09-13 18:52:48 -07:00

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<body>
<a href="http://cloud.com"><img src="docs/images/logo_cloud.jpg"></a>
<p>Welcome to CloudStack. Here's where you can find more information:</p>
<ul>
<li><a href="http://www.cloudstack.org">Community</a> - forums, code, bugbase, blog, events, links to outside resources, IRC, and more</li>
<li><a href="http://cloud.mindtouch.us">Documentation and Knowledge Base</a> - installation steps, guides, references, troubleshooting tips</li>
<li><a href="http://cloud.com">Cloud.com</a>
</ul>
</body>
</html>
Description
Languages
Java 68.8%
Python 18.8%
Vue 6%
C# 2.8%
JavaScript 1.7%
Other 1.7%