You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Ignasi Barrera (JIRA)" <ji...@apache.org> on 2015/09/08 22:02:45 UTC

[jira] [Commented] (JCLOUDS-909) GCE NullPointer

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

Ignasi Barrera commented on JCLOUDS-909:
----------------------------------------

In jclouds 1.9.1 there is a check to verify that the network is not null (which is likely to be the cause of the transient failure):
https://github.com/jclouds/jclouds-labs-google/blob/jclouds-labs-google-1.9.1/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/compute/GoogleComputeEngineService.java#L168

Could you test with jclouds 1.9.1 and see if the issue is fixed?

> GCE NullPointer
> ---------------
>
>                 Key: JCLOUDS-909
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-909
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-compute
>    Affects Versions: 1.9.0
>         Environment: linux
>            Reporter: Tomas Fecko
>              Labels: compute, gce
>
> After calling destroy on instance, NPE appeared.
> Instance was started with network, I already created before, for all future instances.
> java.lang.NullPointerException
>         at org.jclouds.googlecomputeengine.compute.GoogleComputeEngineService.cleanUpNetworksAndFirewallsForGroup(GoogleComputeEngineService.java:138)
>         at org.jclouds.googlecomputeengine.compute.GoogleComputeEngineService.cleanUpIncidentalResourcesOfDeadNodes(GoogleComputeEngineService.java:128)
>         at org.jclouds.compute.internal.BaseComputeService.destroyNodesMatching(BaseComputeService.java:274)
>         at org.librade.comla.components.ComlaServerManagementComponent$8.run(ComlaServerManagementComponent.java:586)
>         at org.fabric3.execution.runtime.PropagatingRunnable.run(PropagatingRunnable.java:33)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)