jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignasi Barrera (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-160) AWS EC2 - constant error malformed image: null - NPE
Date Thu, 04 Jul 2013 08:33:19 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699842#comment-13699842
] 

Ignasi Barrera commented on JCLOUDS-160:
----------------------------------------

Many thanks Brock!

Could you please open a pull request in [1]? Our CI system automatically builds all pull requests
and that gives us the confidence that everything is okay. It also makes things easier when
it comes to comment the changes.

Thanks!

[1] https://github.com/jclouds/jclouds
[2] http://wiki.apache.org/jclouds/How%20to%20contribute
                
> AWS EC2 - constant error malformed image: null - NPE
> ----------------------------------------------------
>
>                 Key: JCLOUDS-160
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-160
>             Project: jclouds
>          Issue Type: Bug
>            Reporter: Brock Noland
>         Attachments: JCLOUDS-190.patch, JCLOUDS-190.patch
>
>
> I constantly see the following error. Is it a problem with AWS or our expectations of
their output?
> {code}
> 2013-06-29 16:30:19,776 (main) [WARN - logging.slf4j.SLF4JLogger] 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:82)
> 	at org.jclouds.ec2.xml.DescribeImagesResponseHandler.endElement(DescribeImagesResponseHandler.java:169)
> 	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:139)
> 	at org.jclouds.http.functions.ParseSax.parse(ParseSax.java:128)
> 	at org.jclouds.http.functions.ParseSax.apply(ParseSax.java:84)
> 	at org.jclouds.http.functions.ParseSax.apply(ParseSax.java:52)
> 	at org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.invoke(InvokeSyncToAsyncHttpMethod.java:131)
> 	at org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:97)
> 	at org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:58)
> 	at org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117)
> 	at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:70)
> 	at $Proxy66.describeImagesInRegion(Unknown Source)
> 	at org.jclouds.ec2.compute.loaders.RegionAndIdToImage.load(RegionAndIdToImage.java:57)
> 	at org.jclouds.ec2.compute.loaders.RegionAndIdToImage.load(RegionAndIdToImage.java:40)
> 	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3599)
> 	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2379)
> 	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2342)
> 	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2257)
> 	at com.google.common.cache.LocalCache.get(LocalCache.java:4000)
> 	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4004)
> 	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4874)
> 	at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4880)
> 	at org.jclouds.ec2.compute.functions.RunningInstanceToNodeMetadata.apply(RunningInstanceToNodeMetadata.java:136)
> 	at org.jclouds.ec2.compute.functions.RunningInstanceToNodeMetadata.apply(RunningInstanceToNodeMetadata.java:72)
> 	at com.google.common.collect.Iterators$8.transform(Iterators.java:860)
> 	at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
> 	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:701)
> 	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
> 	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
> 	at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:316)
> 	at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:302)
> 	at org.jclouds.ec2.compute.strategy.EC2ListNodesStrategy.listDetailsOnNodesMatching(EC2ListNodesStrategy.java:117)
> 	at org.jclouds.ec2.compute.strategy.EC2ListNodesStrategy.listDetailsOnNodesMatching(EC2ListNodesStrategy.java:65)
> 	at org.jclouds.compute.internal.BaseComputeService.listNodesDetailsMatching(BaseComputeService.java:361)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message