Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-4638

Exception In log caused by an EventInpecter not initiallized when Warning is logged while Nexus starts up

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3

      Description

      (I purposely corrupted the access log file to make this happen )

      jvm 1    | 2011-11-15 16:46:05 INFO  [7-main-thread-1] - org.sonatype.nexus.proxy.registry.DefaultRepositoryTypeRegistry - Registered Repository type RepositoryType=(org.sonatype.nexus.proxy.repository.GroupRepository:p2).
      jvm 1    | [INFO] Unexpected exception in listener, continuing listener notification.
      jvm 1    | java.lang.IllegalStateException: This is a proxy used to support circular references. The object we're proxying is not constructed yet. Please wait until after injection has completed to use this object.
      jvm 1    | 	at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:30)
      jvm 1    | 	at $Proxy37.hashCode(Unknown Source)
      jvm 1    | 	at java.util.HashMap.put(HashMap.java:372)
      jvm 1    | 	at java.util.HashSet.add(HashSet.java:200)
      jvm 1    | 	at java.util.AbstractCollection.addAll(AbstractCollection.java:305)
      jvm 1    | 	at java.util.HashSet.<init>(HashSet.java:100)
      jvm 1    | 	at org.sonatype.nexus.events.DefaultEventInspectorHost.getEventInspectors(DefaultEventInspectorHost.java:66)
      jvm 1    | 	at org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:104)
      jvm 1    | 	at org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:135)
      jvm 1    | 	at org.sonatype.plexus.appevents.AbstractSimpleEventMulticaster.notifyEventListeners(AbstractSimpleEventMulticaster.java:55)
      jvm 1    | 	at org.sonatype.nexus.log.internal.NexusEventSystemAppender.append(NexusEventSystemAppender.java:49)
      jvm 1    | 	at org.sonatype.nexus.log.internal.NexusEventSystemAppender.append(NexusEventSystemAppender.java:33)
      jvm 1    | 	at ch.qos.logback.core.UnsynchronizedAppenderBase.doAppend(UnsynchronizedAppenderBase.java:88)
      jvm 1    | 	at ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:64)
      jvm 1    | 	at ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:285)
      jvm 1    | 	at ch.qos.logback.classic.Logger.callAppenders(Logger.java:272)
      jvm 1    | 	at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:473)
      jvm 1    | 	at ch.qos.logback.classic.Logger.filterAndLog_1(Logger.java:445)
      jvm 1    | 	at ch.qos.logback.classic.Logger.warn(Logger.java:748)
      jvm 1    | 	at com.sonatype.nexus.licensing.api.access.h2.H2DatabaseManager.startup(H2DatabaseManager.java:127)
      jvm 1    | 	at com.sonatype.nexus.licensing.api.access.h2.H2UserIPTracker.<init>(H2UserIPTracker.java:59)
      jvm 1    | 	at com.sonatype.nexus.licensing.api.access.h2.H2UserIPTracker.<init>(H2UserIPTracker.java:42)
      jvm 1    | 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      jvm 1    | 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      jvm 1    | 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      jvm 1    | 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      jvm 1    | 	at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:86)
      jvm 1    | 	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108)
      jvm 1    | 	at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
      jvm 1    | 	at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:91)
      jvm 1    | 	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
      jvm 1    | 	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
      jvm 1    | 	at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
      jvm 1    | 	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:89)
      jvm 1    | 	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259)
      jvm 1    | 	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      jvm 1    | 	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018)
      jvm 1    | 	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      jvm 1    | 	at com.google.inject.Scopes$1$1.get(Scopes.java:59)
      jvm 1    | 	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
      jvm 1    | 	at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
      jvm 1    | 	at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)
      jvm 1    | 	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018)
      jvm 1    | 	at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)
      jvm 1    | 	at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83)
      jvm 1    | 	at org.sonatype.guice.bean.binders.BeanProvider.get(BeanProviders.java:287)
      jvm 1    | 	at org.sonatype.guice.bean.binders.PlaceholderBeanProvider.get(BeanProviders.java:396)
      jvm 1    | 	at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84)
      jvm 1    | 	at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52)
      jvm 1    | 	at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
      jvm 1    | 	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
      jvm 1    | 	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
      jvm 1    | 	at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
      jvm 1    | 	at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
      jvm 1    | 	at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
      jvm 1    | 	at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54)
      jvm 1    | 	at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:118)
      jvm 1    | 	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117)
      jvm 1    | 	at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
      jvm 1    | 	at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:91)
      jvm 1    | 	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
      jvm 1    | 	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
      jvm 1    | 	at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
      jvm 1    | 	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:89)
      jvm 1    | 	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259)
      jvm 1    | 	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      jvm 1    | 	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018)
      jvm 1    | 	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      jvm 1    | 	at com.google.inject.Scopes$1$1.get(Scopes.java:59)
      jvm 1    | 	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
      jvm 1    | 	at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)
      jvm 1    | 	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018)
      jvm 1    | 	at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)
      jvm 1    | 	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1000)
      jvm 1    | 	at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:45)
      jvm 1    | 	at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84)
      jvm 1    | 	at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52)
      jvm 1    | 	at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
      jvm 1    | 	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
      jvm 1    | 	at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138)
      jvm 1    | 	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108)
      jvm 1    | 	at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
      jvm 1    | 	at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
      jvm 1    | 	at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
      jvm 1    | 	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      jvm 1    | 	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018)
      jvm 1    | 	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      jvm 1    | 	at com.google.inject.Scopes$1$1.get(Scopes.java:59)
      jvm 1    | 	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
      jvm 1    | 	at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)
      jvm 1    | 	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011)
      jvm 1    | 	at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)
      jvm 1    | 	at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83)
      jvm 1    | 	at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49)
      jvm 1    | 	at java.util.AbstractMap$2$1.next(AbstractMap.java:360)
      jvm 1    | 	at java.util.AbstractCollection.addAll(AbstractCollection.java:305)
      jvm 1    | 	at java.util.HashSet.<init>(HashSet.java:100)
      jvm 1    | 	at org.sonatype.nexus.events.DefaultEventInspectorHost.getEventInspectors(DefaultEventInspectorHost.java:66)
      jvm 1    | 	at org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:104)
      jvm 1    | 	at org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:135)
      jvm 1    | 	at org.sonatype.plexus.appevents.AbstractSimpleEventMulticaster.notifyEventListeners(AbstractSimpleEventMulticaster.java:55)
      jvm 1    | 	at org.sonatype.nexus.plugins.DefaultNexusPluginManager.reportActivationResult(DefaultNexusPluginManager.java:379)
      jvm 1    | 	at org.sonatype.nexus.plugins.DefaultNexusPluginManager.activatePlugin(DefaultNexusPluginManager.java:213)
      jvm 1    | 	at org.sonatype.nexus.plugins.DefaultNexusPluginManager.activatePlugin(DefaultNexusPluginManager.java:142)
      jvm 1    | 	at org.sonatype.nexus.plugins.DefaultNexusPluginManager.activateInstalledPlugins(DefaultNexusPluginManager.java:125)
      jvm 1    | 	at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:537)
      jvm 1    | 	at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:338)
      jvm 1    | 	at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:296)
      jvm 1    | 	at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:148)
      jvm 1    | 	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108)
      jvm 1    | 	at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
      jvm 1    | 	at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
      jvm 1    | 	at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
      jvm 1    | 	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      jvm 1    | 	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018)
      jvm 1    | 	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      jvm 1    | 	at com.google.inject.Scopes$1$1.get(Scopes.java:59)
      jvm 1    | 	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
      jvm 1    | 	at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)
      jvm 1    | 	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011)
      jvm 1    | 	at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)
      jvm 1    | 	at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83)
      jvm 1    | 	at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49)
      jvm 1    | 	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253)
      jvm 1    | 	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245)
      jvm 1    | 	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239)
      jvm 1    | 	at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:46)
      jvm 1    | 	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:643)
      jvm 1    | 	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:233)
      jvm 1    | 	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213)
      jvm 1    | 	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:589)
      jvm 1    | 	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
      jvm 1    | 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      jvm 1    | 	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
      jvm 1    | 	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167)
      jvm 1    | 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      jvm 1    | 	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:89)
      jvm 1    | 	at org.eclipse.jetty.server.Server.doStart(Server.java:261)
      jvm 1    | 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      jvm 1    | 	at org.sonatype.plexus.jetty.Jetty7$JettyWrapperThread.run(Jetty7.java:142)
      
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bdemers Brian Demers
              Last Updated By:
              Rich Seddon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: