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

Sonatype JIRA | ArunKumar Polisetty | 7 months ago
  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 | 7 months ago | ArunKumar Polisetty
    org.osgi.framework.BundleException: Activator start error in bundle org.sonatype.nexus.bootstrap [46].
  2. 0

    jetty-restrict-writes.xml failure

    GitHub | 4 years ago | lithboy
    java.lang.IllegalStateException: No object for id=OldHandler
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jetty error - java.lang.IllegalStateException: No object for id=Contexts

    Stack Overflow | 3 years ago | tigeronk2
    java.lang.IllegalStateException: No object for id=Contexts
  6. 0

    [ANN] Jetty Integration Plug-in – JetBrains Support

    jetbrains.com | 3 months ago
    java.lang.IllegalStateException: No object for id=Contexts

    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