Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-171

NPE in call to destroyNode for Abiquo

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.2, 1.7.0
    • jclouds-labs
    • Abiquo "London" environment

    Description

      caused by a race condition, as suggested in the stack trace below

      Caused by: java.lang.NullPointerException
      at org.jclouds.http.functions.ParseXMLWithJAXB.apply(ParseXMLWithJAXB.java:69)
      at org.jclouds.abiquo.domain.DomainWrapper.refresh(DomainWrapper.java:101)
      at org.jclouds.abiquo.strategy.cloud.ListAttachedNics.execute(ListAttachedNics.java:67)
      at org.jclouds.abiquo.domain.cloud.VirtualMachine.listAttachedNics(VirtualMachine.java:316)
      at org.jclouds.abiquo.compute.functions.VirtualMachineToNodeMetadata.apply(VirtualMachineToNodeMetadata.java:120)
      at org.jclouds.abiquo.compute.functions.VirtualMachineToNodeMetadata.apply(VirtualMachineToNodeMetadata.java:57)
      at com.google.common.base.Functions$FunctionComposition.apply(Functions.java:210)
      at org.jclouds.compute.strategy.impl.AdaptingComputeServiceStrategies.getNode(AdaptingComputeServiceStrategies.java:142)
      at org.jclouds.compute.predicates.AtomicNodeTerminated.refreshOrNull(AtomicNodeTerminated.java:49)
      at org.jclouds.compute.predicates.AtomicNodeTerminated.refreshOrNull(AtomicNodeTerminated.java:35)
      at org.jclouds.compute.predicates.internal.TrueIfNullOrDeletedRefreshAndDoubleCheckOnFalse.apply(TrueIfNullOrDeletedRefreshAndDoubleCheckOnFalse.java:53)
      at org.jclouds.compute.predicates.internal.TrueIfNullOrDeletedRefreshAndDoubleCheckOnFalse.apply(TrueIfNullOrDeletedRefreshAndDoubleCheckOnFalse.java:38)
      at org.jclouds.util.Predicates2$RetryablePredicate.apply(Predicates2.java:113)
      at org.jclouds.compute.internal.BaseComputeService.doDestroyNode(BaseComputeService.java:306)
      at org.jclouds.compute.internal.BaseComputeService.destroyNode(BaseComputeService.java:247)
      at brooklyn.location.jclouds.JcloudsLocation.release(JcloudsLocation.java:817)
      at brooklyn.location.jclouds.JcloudsLocation.release(JcloudsLocation.java:1)
      at brooklyn.entity.basic.SoftwareProcessImpl.stopInLocation(SoftwareProcessImpl.java:505)
      at brooklyn.entity.basic.SoftwareProcessImpl.stop(SoftwareProcessImpl.java:469)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            nacx Ignasi Barrera
            alex.heneveld Alex Heneveld
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment