jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Svet <notificati...@github.com>
Subject Re: [jclouds/jclouds-labs] Fix NPE in building node metadata (#367)
Date Thu, 02 Mar 2017 16:43:36 GMT
For completeness here's the exception this is trying to fix:
```
Caused by: java.lang.NullPointerException
    at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:210)
    at com.google.common.collect.SingletonImmutableSet.<init>(SingletonImmutableSet.java:47)
    at com.google.common.collect.ImmutableSet.of(ImmutableSet.java:94)
    at com.google.common.collect.ImmutableSet.construct(ImmutableSet.java:185)
    at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:375)
    at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:300)
    at org.jclouds.compute.domain.NodeMetadataBuilder.publicAddresses(NodeMetadataBuilder.java:73)
    at org.jclouds.azurecompute.arm.compute.functions.VirtualMachineToNodeMetadata.apply(VirtualMachineToNodeMetadata.java:180)
    at org.jclouds.azurecompute.arm.compute.functions.VirtualMachineToNodeMetadata.apply(VirtualMachineToNodeMetadata.java:78)
    at com.google.common.base.Functions$FunctionComposition.apply(Functions.java:216)
    at com.google.common.collect.Iterators$8.transform(Iterators.java:799)
    at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
    at com.google.common.collect.Iterators$7.computeNext(Iterators.java:651)
    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.Iterators.indexOf(Iterators.java:776)
    at com.google.common.collect.Iterators.any(Iterators.java:684)
    at com.google.common.collect.Iterables.any(Iterables.java:623)
    at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.getNextNames(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:199)
    at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.execute(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:123)
    at org.jclouds.azurecompute.arm.compute.strategy.CreateResourceGroupThenCreateNodes.execute(CreateResourceGroupThenCreateNodes.java:133)
    at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:217)

```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/367#issuecomment-283707609
Mime
View raw message