Closed GoogleCodeExporter closed 9 years ago
I got the following exception when passing in a list of instance ids whcih
contained
one ID. It enables monitoring but returns an exception.
java.lang.ClassCastException: Cannot cast javax.xml.bind.JAXBElement to
com.xerox.amazonws.typica.jaxb.MonitorInstancesResponseType
at java.lang.Class.cast(Class.java:3007)
at com.xerox.amazonws.common.JAXBuddy.deserializeXMLStream(JAXBuddy.java:80)
at
com.xerox.amazonws.common.AWSQueryConnection.makeRequest(AWSQueryConnection.java
:434)
at com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:2292)
at com.xerox.amazonws.ec2.Jec2.monitorInstances(Jec2.java:2144)
Original comment by David.M.Beer@gmail.com
on 8 Mar 2010 at 4:24
This seems to be related to how the monitor/unmonitor response structures are
defined
in the schema and how jaxb handles them. I'll have to tweak the schema, then
the code
to match.
Original comment by dkavan...@gmail.com
on 23 Mar 2010 at 2:01
This is fixed in svn r315
Original comment by dkavan...@gmail.com
on 23 Mar 2010 at 3:42
Confirmed with source built as of today 23rd March
Original comment by David.M.Beer@gmail.com
on 23 Mar 2010 at 11:04
Original issue reported on code.google.com by
srinivas...@gmail.com
on 27 Feb 2010 at 11:47