Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ferranbt/a8d7a1a783ce75a8681d1c672ec52e64 to your computer and use it in GitHub Desktop.
Save ferranbt/a8d7a1a783ce75a8681d1c672ec52e64 to your computer and use it in GitHub Desktop.
```
2022-05-03 23:38:21.451 DEBUG - Setting Max URL length to 65535
2022-05-03 23:38:21.516 FATAL - Teku failed to start
java.util.concurrent.CompletionException: java.util.NoSuchElementException: No value present
at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture.complete(Unknown Source) ~[?:?]
at tech.pegasys.teku.infrastructure.async.SafeFuture.lambda$propagateResult$3(SafeFuture.java:147) ~[teku-infrastructure-async-22.4.0.jar:22.4.0]
at java.util.concurrent.CompletableFuture.uniWhenComplete(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture.complete(Unknown Source) ~[?:?]
at tech.pegasys.teku.infrastructure.async.SafeFuture.lambda$propagateToAsync$13(SafeFuture.java:269) ~[teku-infrastructure-async-22.4.0.jar:22.4.0]
at tech.pegasys.teku.infrastructure.async.SafeFuture.of(SafeFuture.java:81) ~[teku-infrastructure-async-22.4.0.jar:22.4.0]
at tech.pegasys.teku.infrastructure.async.AsyncRunner.lambda$runAsync$2(AsyncRunner.java:38) ~[teku-infrastructure-async-22.4.0.jar:22.4.0]
at tech.pegasys.teku.infrastructure.async.SafeFuture.of(SafeFuture.java:73) ~[teku-infrastructure-async-22.4.0.jar:22.4.0]
at tech.pegasys.teku.infrastructure.async.ScheduledExecutorAsyncRunner.lambda$createRunnableForAction$1(ScheduledExecutorAsyncRunner.java:119) ~[teku-infrastructure-async-22.4.0.jar:22.4.0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
at java.lang.Thread.run(Unknown Source) ~[?:?]
Caused by: java.util.NoSuchElementException: No value present
at java.util.Optional.orElseThrow(Unknown Source) ~[?:?]
at tech.pegasys.teku.beaconrestapi.SchemaDefinitionCache.createSchemaDefinition(SchemaDefinitionCache.java:46) ~[teku-data-beaconrestapi-22.4.0.jar:22.4.0]
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(Unknown Source) ~[?:?]
at tech.pegasys.teku.beaconrestapi.SchemaDefinitionCache.getSchemaDefinition(SchemaDefinitionCache.java:33) ~[teku-data-beaconrestapi-22.4.0.jar:22.4.0]
at tech.pegasys.teku.beaconrestapi.handlers.v1.beacon.PostBlindedBlock.getSignedBlindedBlockSchemaDefinition(PostBlindedBlock.java:169) ~[teku-data-beaconrestapi-22.4.0.jar:22.4.0]
at tech.pegasys.teku.beaconrestapi.handlers.v1.beacon.PostBlindedBlock.getEndpointMetaData(PostBlindedBlock.java:150) ~[teku-data-beaconrestapi-22.4.0.jar:22.4.0]
at tech.pegasys.teku.beaconrestapi.handlers.v1.beacon.PostBlindedBlock.<init>(PostBlindedBlock.java:78) ~[teku-data-beaconrestapi-22.4.0.jar:22.4.0]
at tech.pegasys.teku.beaconrestapi.handlers.v1.beacon.PostBlindedBlock.<init>(PostBlindedBlock.java:68) ~[teku-data-beaconrestapi-22.4.0.jar:22.4.0]
at tech.pegasys.teku.beaconrestapi.BeaconRestApi.addBeaconHandlers(BeaconRestApi.java:406) ~[teku-data-beaconrestapi-22.4.0.jar:22.4.0]
at tech.pegasys.teku.beaconrestapi.BeaconRestApi.addStandardApiHandlers(BeaconRestApi.java:178) ~[teku-data-beaconrestapi-22.4.0.jar:22.4.0]
at tech.pegasys.teku.beaconrestapi.BeaconRestApi.initialize(BeaconRestApi.java:164) ~[teku-data-beaconrestapi-22.4.0.jar:22.4.0]
at tech.pegasys.teku.beaconrestapi.BeaconRestApi.<init>(BeaconRestApi.java:270) ~[teku-data-beaconrestapi-22.4.0.jar:22.4.0]
at tech.pegasys.teku.services.beaconchain.BeaconChainController.initRestAPI(BeaconChainController.java:798) ~[teku-services-beaconchain-22.4.0.jar:22.4.0]
at tech.pegasys.teku.services.beaconchain.BeaconChainController.initAll(BeaconChainController.java:366) ~[teku-services-beaconchain-22.4.0.jar:22.4.0]
... 16 more
Teku failed to start: java.util.NoSuchElementException: No value present
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment