org.osgi.framework.BundleException: Activator start error in bundle org.sonatype.nexus.bootstrap [46].

Sonatype JIRA | ArunKumar Polisetty | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hi, I am trying to setup ssl for Nexus url so that we can use docker capabilities. I am getting the below error while trying to start Nexus. 2016-04-19 14:07:51,234-0400 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - OS: Linux, 2.6.18-348.1.1.el5, amd64 2016-04-19 14:07:51,234-0400 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - User: root, en, /root 2016-04-19 14:07:51,234-0400 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - CWD: /opt/build/nexus-3.0.0-03 2016-04-19 14:07:51,238-0400 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - TMP: /opt/build/sonatype-work/nexus/tmp 2016-04-19 14:07:51,243-0400 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Starting 2016-04-19 14:07:51,256-0400 INFO [FelixStartLevel] *SYSTEM org.eclipse.jetty.util.log - Logging initialized @4015ms 2016-04-19 14:07:51,260-0400 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Applying configuration: file:/opt/build/nexus-3.0.0-03/etc/jetty-https.xml 2016-04-19 14:07:51,313-0400 WARN [FelixStartLevel] *SYSTEM org.eclipse.jetty.xml.XmlConfiguration - Config error at <Ref refid="httpConfig"><Set name="secureScheme">https</Set><Set name="securePort"><Property name="application-port-ssl"/></Set></Ref> 2016-04-19 14:07:51,319-0400 ERROR [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Start failed java.lang.IllegalStateException: No object for refid=httpConfig at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.refObj(XmlConfiguration.java:815) [org.eclipse.jetty.xml:9.3.7.v20160115] at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:432) [org.eclipse.jetty.xml:9.3.7.v20160115] at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:358) [org.eclipse.jetty.xml:9.3.7.v20160115] at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:259) [org.eclipse.jetty.xml:9.3.7.v20160115] at org.sonatype.nexus.bootstrap.jetty.JettyServer.doStart(JettyServer.java:168) [org.sonatype.nexus.bootstrap:3.0.0.03] at org.sonatype.nexus.bootstrap.jetty.JettyServer.lambda$0(JettyServer.java:117) [org.sonatype.nexus.bootstrap:3.0.0.03] at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_77] at org.sonatype.nexus.bootstrap.jetty.JettyServer.start(JettyServer.java:115) [org.sonatype.nexus.bootstrap:3.0.0.03] at org.sonatype.nexus.bootstrap.Launcher.start(Launcher.java:129) [org.sonatype.nexus.bootstrap:3.0.0.03] at org.sonatype.nexus.bootstrap.Launcher.startAsync(Launcher.java:125) [org.sonatype.nexus.bootstrap:3.0.0.03] at org.sonatype.nexus.bootstrap.osgi.LauncherActivator.start(LauncherActivator.java:62) [org.sonatype.nexus.bootstrap:3.0.0.03] at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) [org.apache.felix.framework-5.4.0.jar:na] at org.apache.felix.framework.Felix.activateBundle(Felix.java:2226) [org.apache.felix.framework-5.4.0.jar:na] at org.apache.felix.framework.Felix.startBundle(Felix.java:2144) [org.apache.felix.framework-5.4.0.jar:na] at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371) [org.apache.felix.framework-5.4.0.jar:na] at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) [org.apache.felix.framework-5.4.0.jar:na] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77] 2016-04-19 14:07:51,324-0400 ERROR [FelixDispatchQueue] org.sonatype.nexus.bootstrap - FrameworkEvent ERROR - org.sonatype.nexus.bootstrap org.osgi.framework.BundleException: Activator start error in bundle org.sonatype.nexus.bootstrap [46]. at org.apache.felix.framework.Felix.activateBundle(Felix.java:2276) [na:na] at org.apache.felix.framework.Felix.startBundle(Felix.java:2144) [na:na] at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371) [na:na] at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) [na:na] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77] Caused by: java.lang.IllegalStateException: No object for refid=httpConfig at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.refObj(XmlConfiguration.java:815) [org.eclipse.jetty.xml:9.3.7.v20160115] at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:432) [org.eclipse.jetty.xml:9.3.7.v20160115] at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:358) [org.eclipse.jetty.xml:9.3.7.v20160115] at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:259) [org.eclipse.jetty.xml:9.3.7.v20160115] at org.sonatype.nexus.bootstrap.jetty.JettyServer.doStart(JettyServer.java:168) [na:na] at org.sonatype.nexus.bootstrap.jetty.JettyServer.lambda$0(JettyServer.java:117) [na:na] at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_77] at org.sonatype.nexus.bootstrap.jetty.JettyServer.start(JettyServer.java:115) [na:na] at org.sonatype.nexus.bootstrap.Launcher.start(Launcher.java:129) [na:na] at org.sonatype.nexus.bootstrap.Launcher.startAsync(Launcher.java:125) [na:na] at org.sonatype.nexus.bootstrap.osgi.LauncherActivator.start(LauncherActivator.java:62) [na:na] at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697) [na:na] at org.apache.felix.framework.Felix.activateBundle(Felix.java:2226) [na:na] ... 4 common frames omitted

    Sonatype JIRA | 1 year ago | ArunKumar Polisetty
    org.osgi.framework.BundleException: Activator start error in bundle org.sonatype.nexus.bootstrap [46].
  2. 0

    Re: Fuseki over HTTPS?

    apache.org | 1 year ago
    java.lang.IllegalStateException: No suitable constructor: <New id="httpConnector" class="org.eclipse.jetty.server.ServerConnector"><Arg name="server"><Ref refid="Server"/></Arg><Arg name="acceptors" type="int"><Property name="jetty.http.acceptors" deprecated="http.acceptors" default="-1"/></Arg><Arg name="selectors" type="int"><Property name="jetty.http.selectors" deprecated="http.selectors" default="-1"/></Arg><Arg name="factories"> <Array type="org.eclipse.jetty.server.ConnectionFactory"><Item> <New class="org.eclipse.jetty.server.HttpConnectionFactory"><Arg name="config"><Ref refid="httpConfig"/></Arg></New> </Item></Array> </Arg><Set name="host"><Property name="jetty.http.host" deprecated="jetty.host"/></Set><Set name="port"><Property name="jetty.http.port" deprecated="jetty.port" default="3030"/></Set><Set name="idleTimeout"><Property name="jetty.http.idleTimeout" deprecated="http.timeout" default="30000"/></Set><Set name="soLingerTime"><Property name="jetty.http.soLingerTime" deprecated="http.soLingerTime" default="-1"/></Set><Set name="acceptorPriorityDelta"><Property name="jetty.http.acceptorPriorityDelta" deprecated="http.acceptorPriorityDelta" default="0"/></Set><Set name="acceptQueueSize"><Property name="jetty.http.acceptQueueSize" deprecated="http.acceptQueueSize" default="0"/></Set></New> on org.eclipse.jetty.server.Server@9b0314
  3. 0

    jetty-restrict-writes.xml failure

    GitHub | 4 years ago | lithboy
    java.lang.IllegalStateException: No object for id=OldHandler
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How can I cope with "IllegalStateException: BeanFactory not initialized or already closed"?

    Stack Overflow | 6 years ago | user569825
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
  6. 0

    issues in spring petclinic applicaiton

    Stack Overflow | 4 years ago | user2216702
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - c all 'refresh' before multicasting events via the context: Root WebApplicationCon text: startup date [Wed Mar 27 11:31:56 CDT 2013]; root of context hierarchy at org.springframework.context.support.AbstractApplic ationContext.getApp licationEventMulticaster(AbstractApplicationContex t.java:347) [spring-context-3. 2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.publis hEvent(AbstractApplicationContext.java:334) [spring-context-3.2.2.RELEASE.jar:3. 2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.doClos e(AbstractApplicationContext.java:1049) [spring-context-3.2.2.RELEASE.jar:3.2.2. RELEASE] at org.springframework.context.support.AbstractApplic ationContext.close( AbstractApplicationContext.java:1010) [spring-context-3.2.2.RELEASE.jar:3.2.2.RE LEASE] at org.springframework.web.context.ContextLoader.clos eWebApplicationCont ext(ContextLoader.java:558) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.web.context.ContextLoaderListe ner.contextDestroye d(ContextLoaderListener.java:143) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.apache.catalina.core.StandardContext.listenerS top(StandardContext .java:4831) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.StandardContext.stopInter nal(StandardContext .java:5478) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.stop(Lifecy cleBase.java:232) [ tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:160) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1559) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1549) [tomcat-embed-core-7.0.30.jar:7.0.30] at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303) [n a:1.6.0_20] at java.util.concurrent.FutureTask.run(FutureTask.jav a:138) [na:1.6.0_20 ] at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExec utor.java:886) [na:1.6.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor .java:908) [na:1.6.0_20]

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      No object for refid=httpConfig

      at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.refObj()
    2. Jetty
      XmlConfiguration.configure
      1. org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.refObj(XmlConfiguration.java:815)[org.eclipse.jetty.xml:9.3.7.v20160115]
      2. org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:432)[org.eclipse.jetty.xml:9.3.7.v20160115]
      3. org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:358)[org.eclipse.jetty.xml:9.3.7.v20160115]
      4. org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:259)[org.eclipse.jetty.xml:9.3.7.v20160115]
      4 frames
    3. org.sonatype.nexus
      JettyServer.lambda$0
      1. org.sonatype.nexus.bootstrap.jetty.JettyServer.doStart(JettyServer.java:168)[na:na]
      2. org.sonatype.nexus.bootstrap.jetty.JettyServer.lambda$0(JettyServer.java:117)[na:na]
      2 frames
    4. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)[na:1.8.0_77]
      1 frame
    5. org.sonatype.nexus
      LauncherActivator.start
      1. org.sonatype.nexus.bootstrap.jetty.JettyServer.start(JettyServer.java:115)[na:na]
      2. org.sonatype.nexus.bootstrap.Launcher.start(Launcher.java:129)[na:na]
      3. org.sonatype.nexus.bootstrap.Launcher.startAsync(Launcher.java:125)[na:na]
      4. org.sonatype.nexus.bootstrap.osgi.LauncherActivator.start(LauncherActivator.java:62)[na:na]
      4 frames
    6. Apache Felix Framework
      FrameworkStartLevelImpl.run
      1. org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)[na:na]
      2. org.apache.felix.framework.Felix.activateBundle(Felix.java:2226)[na:na]
      3. org.apache.felix.framework.Felix.startBundle(Felix.java:2144)[na:na]
      4. org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371)[na:na]
      5. org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)[na:na]
      5 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_77]
      1 frame