jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trevor Flanagan <notificati...@github.com>
Subject Re: [jclouds/jclouds-labs] JCLOUDS-1406 - Add default location configuration to dimension data provider (#433)
Date Thu, 12 Apr 2018 14:44:55 GMT
@nacx I have made the suggested changes, but I am stuck with another one of those circular
dependency issues. My only thought is that the ordering of bindings in `org.jclouds.dimensiondata.cloudcontrol.config.DimensionDataCloudControlHttpApiModule#installLocations`
could be the problem?

here is the stack trace - 

```1) Provider was reentrant while creating a singleton
  at org.jclouds.location.config.LocationModule.regionIdsSupplier(LocationModule.java:118)
  while locating com.google.common.base.Supplier<java.util.Set<java.lang.String>>
annotated with @org.jclouds.location.Region()
    for parameter 1 at org.jclouds.location.suppliers.all.RegionToProviderOrJustProvider.<init>(RegionToProviderOrJustProvider.java:46)
  at org.jclouds.location.suppliers.all.RegionToProviderOrJustProvider.class(RegionToProviderOrJustProvider.java:38)
  while locating org.jclouds.location.suppliers.all.RegionToProviderOrJustProvider
    for parameter 0 at org.jclouds.location.suppliers.all.ZoneToRegionToProviderOrJustProvider.<init>(ZoneToRegionToProviderOrJustProvider.java:61)
  at org.jclouds.location.suppliers.all.ZoneToRegionToProviderOrJustProvider.class(ZoneToRegionToProviderOrJustProvider.java:46)
  while locating org.jclouds.location.suppliers.all.ZoneToRegionToProviderOrJustProvider
  while locating org.jclouds.location.suppliers.LocationsSupplier
  at org.jclouds.location.config.LocationModule.memoizedLocationsSupplier(LocationModule.java:109)
  at org.jclouds.location.config.LocationModule.memoizedLocationsSupplier(LocationModule.java:109)
  while locating com.google.common.base.Supplier<java.util.Set<? extends org.jclouds.domain.Location>>
annotated with @org.jclouds.collect.Memoized()
    for parameter 0 at org.jclouds.location.suppliers.implicit.OnlyLocationOrFirstZone.<init>(OnlyLocationOrFirstZone.java:44)
  at org.jclouds.location.suppliers.implicit.OnlyLocationOrFirstZone.class(OnlyLocationOrFirstZone.java:38)
  while locating org.jclouds.location.suppliers.implicit.OnlyLocationOrFirstZone
  at org.jclouds.dimensiondata.cloudcontrol.config.DimensionDataCloudControlHttpApiModule.installLocations(DimensionDataCloudControlHttpApiModule.java:61)
  while locating org.jclouds.location.suppliers.ImplicitLocationSupplier
  at org.jclouds.location.config.LocationModule.implicitLocationSupplier(LocationModule.java:98)
  at org.jclouds.location.config.LocationModule.implicitLocationSupplier(LocationModule.java:98)
  while locating com.google.common.base.Supplier<org.jclouds.domain.Location>

1 error
	at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435)
	at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:183)
	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:109)
	at com.google.inject.Guice.createInjector(Guice.java:95)
	at org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:405)
	at org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:328)
	at org.jclouds.ContextBuilder.build(ContextBuilder.java:629)
	at org.jclouds.ContextBuilder.build(ContextBuilder.java:581)
	at org.jclouds.dimensiondata.cloudcontrol.internal.BaseDimensionDataCloudControlMockTest.start(BaseDimensionDataCloudControlMockTest.java:81)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:552)
	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:636)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:882)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1189)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
	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)```

-- 
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/433#issuecomment-380831087
Mime
View raw message