Oh.. come on :-) CC can't handle every exception that jclouds throws and in fact in this case, according to you the instance is already started, so if CC made to handle this, CC would have to assume that the instance start up failed. Beside that in most of the cases we do non-blocking calls to jclouds, and that case handling this is impossible.
On Fri, Mar 29, 2013 at 4:13 AM, Sajith Kariyawasam (JIRA) <[email protected]>wrote: > Warning in CC malformed image: null, but still the instance is getting > started up > > ---------------------------------------------------------------------------------- > > Key: SPI-188 > URL: https://wso2.org/jira/browse/SPI-188 > Project: WSO2 Stratos2.0 Foundation > Issue Type: Bug > Reporter: Sajith Kariyawasam > Assignee: Nirmal Fernando > > > [2013-03-29 07:52:22,510] WARN > {org.jclouds.ec2.xml.DescribeImagesResponseHandler} - malformed image: null > java.lang.NullPointerException: imageId > at > com.google.common.base.Preconditions.checkNotNull(Preconditions.java:208) > at org.jclouds.ec2.domain.Image.<init>(Image.java:84) > at > org.jclouds.ec2.xml.DescribeImagesResponseHandler.endElement(DescribeImagesResponseHandler.java:175) > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown > Source) > at > org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) > at org.jclouds.http.functions.ParseSax.doParse(ParseSax.java:141) > at org.jclouds.http.functions.ParseSax.parse(ParseSax.java:130) > at org.jclouds.http.functions.ParseSax.apply(ParseSax.java:86) > at org.jclouds.http.functions.ParseSax.apply(ParseSax.java:54) > at > com.google.common.util.concurrent.Futures$3.apply(Futures.java:380) > at > com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:522) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) > at java.lang.Thread.run(Thread.java:662) > > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of the administrators: > https://wso2.org/jira/secure/Administrators.jspa > - > For more information on JIRA, see: http://www.atlassian.com/software/jira > > > -- Thanks & regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ <http://nirmalfdo.blogspot.com/>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
