Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I am getting the following error in the init method of a custom destination using jdk 8. I am trying to use the commercetools io sphere sdk specifically.

java.util.NoSuchElementException at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:365) at java.util.ServiceLoader$LazyIterator.access$700(ServiceLoader.java:323) at java.util.ServiceLoader$LazyIterator$2.run(ServiceLoader.java:407) at java.security.AccessController.doPrivileged(Native Method) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:409) at java.util.ServiceLoader$1.next(ServiceLoader.java:480) at io.sphere.sdk.client.SphereClientFactory.of(SphereClientFactory.java:103) at com.streamsets.stage.destination.sample.SampleTarget.init(SampleTarget.java:87) at com.streamsets.pipeline.api.base.BaseStage.init(BaseStage.java:48) at com.streamsets.datacollector.runner.StageRuntime.lambda$init$0(StageRuntime.java:211) at com.streamsets.datacollector.util.LambdaUtil.withClassLoaderInternal(LambdaUtil.java:148) at com.streamsets.datacollector.util.LambdaUtil.withClassLoader(LambdaUtil.java:44) at com.streamsets.datacollector.runner.StageRuntime.init(StageRuntime.java:209) at com.streamsets.datacollector.runner.StagePipe.init(StagePipe.java:123) at com.streamsets.datacollector.runner.StagePipe.init(StagePipe.java:47) at com.streamsets.datacollector.runner.Pipeline.initPipe(Pipeline.java:408) at com.streamsets.datacollector.runner.Pipeline.lambda$init$0(Pipeline.java:397) at com.streamsets.datacollector.runner.PipeRunner.forEach(PipeRunner.java:170) at com.streamsets.datacollector.runner.Pipeline.init(Pipeline.java:394)