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

NullPointerException on ZoneIdToURIFromJoinOnRegionIdToURI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0
    • 1.9.0
    • jclouds-core
    • None

    Description

      We started for a few weeks to have problems while allocating a new EBS
      volume to an already running instance.

      It looks like related in the building of the map availability zone
      code -> http endpoints, maybe it's related to the introduction of the
      new German datacenter?

      [INFO] [talledLocalContainer] java.lang.IllegalArgumentException: argument at index 0 on invocation.getInvoked() org.jclouds.ec2.features.ElasticBlockStoreApi.public abstract org.jclouds.ec2.domain.Volume org.jclouds.ec2.features.ElasticBlockStoreApi.createVolumeInAvailabilityZone(java.lang.String,int) was null
      [INFO] [talledLocalContainer] 	at org.jclouds.rest.internal.RestAnnotationProcessor.getEndpointInParametersOrNull(RestAnnotationProcessor.java:500) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	at org.jclouds.rest.internal.RestAnnotationProcessor.getEndpointFor(RestAnnotationProcessor.java:518) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	at org.jclouds.rest.internal.RestAnnotationProcessor.findEndpoint(RestAnnotationProcessor.java:370) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	at org.jclouds.rest.internal.RestAnnotationProcessor.apply(RestAnnotationProcessor.java:192) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	at org.jclouds.rest.internal.RestAnnotationProcessor.apply(RestAnnotationProcessor.java:129) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	at org.jclouds.rest.internal.InvokeHttpMethod.toCommand(InvokeHttpMethod.java:188) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:84) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:73) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:44) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	at org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87) ~[guava-17.0.jar:na]
      [INFO] [talledLocalContainer] 	at com.sun.proxy.$Proxy191.createVolumeInAvailabilityZone(Unknown Source) ~[na:na]
      [...]
      [INFO] [talledLocalContainer] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_65]
      [INFO] [talledLocalContainer] 	at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_65]
      [INFO] [talledLocalContainer] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_65]
      [INFO] [talledLocalContainer] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_65]
      [INFO] [talledLocalContainer] 	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65]
      [INFO] [talledLocalContainer] Caused by: java.lang.NullPointerException: null
      [INFO] [talledLocalContainer] 	at org.jclouds.location.suppliers.derived.ZoneIdToURIFromJoinOnRegionIdToURI.get(ZoneIdToURIFromJoinOnRegionIdToURI.java:52) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	at org.jclouds.location.suppliers.derived.ZoneIdToURIFromJoinOnRegionIdToURI.get(ZoneIdToURIFromJoinOnRegionIdToURI.java:35) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:73) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:57) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) ~[guava-17.0.jar:na]
      [INFO] [talledLocalContainer] 	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) ~[guava-17.0.jar:na]
      [INFO] [talledLocalContainer] 	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) ~[guava-17.0.jar:na]
      [INFO] [talledLocalContainer] 	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) ~[guava-17.0.jar:na]
      [INFO] [talledLocalContainer] 	at com.google.common.cache.LocalCache.get(LocalCache.java:3934) ~[guava-17.0.jar:na]
      [INFO] [talledLocalContainer] 	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) ~[guava-17.0.jar:na]
      [INFO] [talledLocalContainer] 	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) ~[guava-17.0.jar:na]
      [INFO] [talledLocalContainer] 	at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:119) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	at org.jclouds.location.functions.ZoneToEndpoint.apply(ZoneToEndpoint.java:48) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	at org.jclouds.location.functions.ZoneToEndpoint.apply(ZoneToEndpoint.java:35) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	at org.jclouds.rest.internal.RestAnnotationProcessor.getEndpointInParametersOrNull(RestAnnotationProcessor.java:495) ~[jclouds-core-1.8.0.jar:1.8.0]
      [INFO] [talledLocalContainer] 	... 27 common frames omitted
      

      Attachments

        Issue Links

          Activity

            People

              adriancole Adrian Cole
              gionn Giovanni Toraldo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: