You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since recently we're getting errors when applying our configurations and nexus not starting up. After some debugging we found that the culprit is the snakeyaml dependency bump (644f00e).
Reverting to snakeyaml version 2.2 fixes the issue.
2025-01-16T11:12:15.994Z
2025-01-16 11:12:15,994+0000 ERROR [periodic-6-thread-1] *SYSTEM org.sonatype.nexus.repository.config.internal.datastore.ConfigurationSubscriber - Failed to replicate: org.sonatype.nexus.repository.config.internal.ConfigurationUpdatedEvent@5885609f
2025-01-16 11:12:15,994+0000 ERROR [periodic-6-thread-1] *SYSTEM org.sonatype.nexus.repository.config.internal.datastore.ConfigurationSubscriber - Failed to replicate: org.sonatype.nexus.repository.config.internal.ConfigurationUpdatedEvent@5885609f
2025-01-16T11:12:15.994Z
com.google.inject.ProvisionException: Unable to provision, see the following errors:
2025-01-16T11:12:15.994Z
1) [Guice/NullInjectedIntoNonNullable]: null returned by binding at LocatorWiring
2025-01-16T11:12:15.994Z
but the 1st parameter of IndexYamlAbsoluteUrlRewriter.<init>(IndexYamlAbsoluteUrlRewriter.java:44) is not @Nullable
2025-01-16T11:12:15.994Z
at LocatorWiring
2025-01-16T11:12:15.994Z
at IndexYamlAbsoluteUrlRewriter.<init>(IndexYamlAbsoluteUrlRewriter.java:44)
2025-01-16T11:12:15.994Z
\_ for 1st parameter
2025-01-16T11:12:15.994Z
at /
2025-01-16T11:12:15.994Z
\_ installed by: NexusBundleModule -> SpaceModule
2025-01-16T11:12:15.994Z
at HelmPathUtils.<init>(HelmPathUtils.java:38)
2025-01-16T11:12:15.994Z
\_ for 1st parameter
2025-01-16T11:12:15.994Z
at /
2025-01-16T11:12:15.994Z
\_ installed by: NexusBundleModule -> SpaceModule
2025-01-16T11:12:15.994Z
at HostedHandlers.<init>(HostedHandlers.java:56)
2025-01-16T11:12:15.994Z
\_ for 1st parameter
2025-01-16T11:12:15.994Z
at /
2025-01-16T11:12:15.994Z
\_ installed by: NexusBundleModule -> SpaceModule
2025-01-16T11:12:15.994Z
at HelmHostedRecipe.hostedHandlers(HelmHostedRecipe.groovy:142)
2025-01-16T11:12:15.994Z
\_ for field hostedHandlers
2025-01-16T11:12:15.994Z
at /
2025-01-16T11:12:15.994Z
\_ installed by: NexusBundleModule -> SpaceModule
2025-01-16T11:12:15.994Z
while locating HelmHostedRecipe
2025-01-16T11:12:15.994Z
while locating Object annotated with *
2025-01-16T11:12:15.994Z
at ReplicationChecks.<init>(ReplicationChecks.java:54)
2025-01-16T11:12:15.994Z
at /
2025-01-16T11:12:15.994Z
\_ installed by: NexusBundleModule -> SpaceModule
2025-01-16T11:12:15.994Z
at ReplicationConfigurationValidator.<init>(ReplicationConfigurationValidator.java:54)
2025-01-16T11:12:15.994Z
\_ for 3rd parameter
2025-01-16T11:12:15.994Z
while locating ReplicationConfigurationValidator
2025-01-16T11:12:15.994Z
while locating Object annotated with *
2025-01-16T11:12:15.994Z
Learn more:
2025-01-16T11:12:15.994Z
https://github.com/google/guice/wiki/NULL_INJECTED_INTO_NON_NULLABLE
2025-01-16T11:12:15.994Z
1 error
2025-01-16T11:12:15.994Z
======================
2025-01-16T11:12:15.994Z
Full classname legend:
2025-01-16T11:12:15.994Z
======================
2025-01-16T11:12:15.994Z
HelmHostedRecipe: "com.sonatype.repository.helm.datastore.internal.recipe.HelmHostedRecipe"
2025-01-16T11:12:15.994Z
HelmPathUtils: "com.sonatype.repository.helm.internal.util.HelmPathUtils"
2025-01-16T11:12:15.994Z
HostedHandlers: "com.sonatype.repository.helm.datastore.internal.recipe.HostedHandlers"
2025-01-16T11:12:15.994Z
IndexYamlAbsoluteUrlRewriter: "com.sonatype.repository.helm.internal.metadata.IndexYamlAbsoluteUrlRewriter"
2025-01-16T11:12:15.994Z
LocatorWiring: "org.eclipse.sisu.wire.LocatorWiring"
2025-01-16T11:12:15.994Z
NexusBundleModule: "org.sonatype.nexus.extender.modules.NexusBundleModule"
2025-01-16T11:12:15.994Z
ReplicationChecks: "com.sonatype.nexus.replication.internal.ReplicationChecks"
2025-01-16T11:12:15.994Z
ReplicationConfigurationValidator: "com.sonatype.nexus.replication.ReplicationConfigurationValidator"
2025-01-16T11:12:15.994Z
SpaceModule: "org.eclipse.sisu.space.SpaceModule"
2025-01-16T11:12:15.994Z
========================
2025-01-16T11:12:15.994Z
End of classname legend:
2025-01-16T11:12:15.994Z
========================
2025-01-16T11:12:15.994Z
at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251)
2025-01-16T11:12:15.994Z
at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1151)
2025-01-16T11:12:15.994Z
at org.eclipse.sisu.inject.Guice4$1.get(Guice4.java:162)
2025-01-16T11:12:15.994Z
at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81)
2025-01-16T11:12:15.994Z
at org.eclipse.sisu.wire.EntryListAdapter$ValueIterator.next(EntryListAdapter.java:111)
2025-01-16T11:12:15.994Z
at java.base/java.lang.Iterable.forEach(Iterable.java:74)
2025-01-16T11:12:15.994Z
at org.sonatype.nexus.repository.manager.internal.RepositoryManagerImpl.validateConfiguration(RepositoryManagerImpl.java:437)
2025-01-16T11:12:15.994Z
at org.sonatype.nexus.repository.manager.internal.RepositoryManagerImpl.update(RepositoryManagerImpl.java:413)
2025-01-16T11:12:15.994Z
at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
2025-01-16T11:12:15.994Z
at org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:287)
2025-01-16T11:12:15.994Z
at org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:54)
2025-01-16T11:12:15.994Z
at org.sonatype.nexus.repository.config.internal.datastore.ConfigurationSubscriber.lambda$2(ConfigurationSubscriber.java:61)
2025-01-16T11:12:15.994Z
at org.sonatype.nexus.repository.config.internal.datastore.ConfigurationSubscriber.handleReplication(ConfigurationSubscriber.java:73)
2025-01-16T11:12:15.994Z
at org.sonatype.nexus.repository.config.internal.datastore.ConfigurationSubscriber.on(ConfigurationSubscriber.java:60)
2025-01-16T11:12:15.994Z
at jdk.internal.reflect.GeneratedMethodAccessor293.invoke(Unknown Source)
2025-01-16T11:12:15.994Z
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-01-16T11:12:15.994Z
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-01-16T11:12:15.994Z
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:85)
2025-01-16T11:12:15.994Z
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:142)
2025-01-16T11:12:15.994Z
at com.google.common.eventbus.Subscriber.lambda$dispatchEvent$0(Subscriber.java:71)
2025-01-16T11:12:15.994Z
at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:31)
2025-01-16T11:12:15.994Z
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:68)
2025-01-16T11:12:15.994Z
at com.google.common.eventbus.Dispatcher$ImmediateDispatcher.dispatch(Dispatcher.java:187)
2025-01-16T11:12:15.994Z
at com.google.common.eventbus.EventBus.post(EventBus.java:270)
2025-01-16T11:12:15.994Z
at org.sonatype.nexus.internal.event.EventManagerImpl.post(EventManagerImpl.java:127)
2025-01-16T11:12:15.994Z
at com.sonatype.nexus.distributed.internal.event.DistributedEventProducer.lambda$4(DistributedEventProducer.java:153)
2025-01-16T11:12:15.994Z
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
2025-01-16T11:12:15.994Z
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
2025-01-16T11:12:15.994Z
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
2025-01-16T11:12:15.994Z
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
2025-01-16T11:12:15.994Z
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
2025-01-16T11:12:15.994Z
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
2025-01-16T11:12:15.994Z
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
2025-01-16T11:12:15.994Z
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
2025-01-16T11:12:15.994Z
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
2025-01-16T11:12:15.994Z
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
2025-01-16T11:12:15.994Z
at com.sonatype.nexus.distributed.internal.event.DistributedEventProducer.lambda$1(DistributedEventProducer.java:153)
2025-01-16T11:12:15.994Z
at org.sonatype.nexus.common.event.EventHelper.asReplicating(EventHelper.java:61)
2025-01-16T11:12:15.994Z
at com.sonatype.nexus.distributed.internal.event.DistributedEventProducer.readDESEvents(DistributedEventProducer.java:150)
2025-01-16T11:12:15.994Z
at org.sonatype.nexus.scheduling.internal.PeriodicJobServiceImpl.lambda$2(PeriodicJobServiceImpl.java:109)
2025-01-16T11:12:15.994Z
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
2025-01-16T11:12:15.994Z
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
2025-01-16T11:12:15.994Z
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
2025-01-16T11:12:15.994Z
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
2025-01-16T11:12:15.994Z
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
2025-01-16T11:12:15.994Z
at java.base/java.lang.Thread.run(Thread.java:840)
The text was updated successfully, but these errors were encountered:
Hi
Since recently we're getting errors when applying our configurations and nexus not starting up. After some debugging we found that the culprit is the snakeyaml dependency bump (644f00e).
Reverting to snakeyaml version 2.2 fixes the issue.
The text was updated successfully, but these errors were encountered: