Me too.. May be something is wrong with the image...

Should have a look at the jclouds code and figure what it is actually,,
there's no CC config.

On Sun, Mar 31, 2013 at 3:44 PM, Sajith Kariyawasam <[email protected]> wrote:

> Hi Nirmal,
>
> On Fri, Mar 29, 2013 at 2:47 PM, Nirmal Fernando <[email protected]> wrote:
>
>> 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.
>>
>>
> Before deciding whether to handle this or not, shouldn't we need to have a
> look for the reason for this warning? If this is due to an issue in JClouds
> we can report it, or else if this is due to a misconfiguration of CC we can
> handle this through our config validation mechanism..
>
> Even though instances are started, IMO we can't confidently say that this
> warning will not make any harmful effect..
>
> This is the first time I'm seeing this warning in CC..
>
>
>
>>
>> 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/>
>>
>
>
>
> --
> Regards,
> *
> *
> *Sajith Kariyawasam*
> *Senior Software Engineer; WSO2, Inc.; http://wso2.com*
>



-- 

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

Reply via email to