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

Hide stack on nexus startup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 1.4.0, 1.4.1
    • Component/s: None
    • Labels:
      None

      Description

      [WARNING] Nexus configuration file was not loaded, it has the wrong structure.
      org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'host' (position: START_TAG seen ...<smtpConfiguration>\n    <host>... @6:11)
              at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.parseCSmtpConfiguration(NexusConfigurationXpp3Reader.java:1645)
              at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.parseConfiguration(NexusConfigurationXpp3Reader.java:1801)
              at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.read(NexusConfigurationXpp3Reader.java:2122)
              at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.read(NexusConfigurationXpp3Reader.java:2136)
              at org.sonatype.nexus.configuration.source.AbstractApplicationConfigurationSource.loadConfiguration(AbstractApplicationConfigurationSource.java:96)
              at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:258)
              at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:157)
              at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:44)
              at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.loadConfiguration(DefaultNexusConfiguration.java:148)
              at org.sonatype.nexus.test.utils.NexusConfigUtil.getNexusConfig(NexusConfigUtil.java:52)
              at org.sonatype.nexus.test.utils.NexusConfigUtil.validateConfig(NexusConfigUtil.java:137)
              at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.oncePerClassSetUp(AbstractNexusIntegrationTest.java:195)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.junit.internal.runners.MethodRoadie.runBefores(MethodRoadie.java:122)
              at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:86)
              at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
              at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
              at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
              at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
              at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
              at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
              at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
              at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
              at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
              at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
              at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
              at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
              at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:993)
      

      Put the stack as debug, is kinda weird to have an expected exception....

        Attachments

          Activity

            People

            • Assignee:
              juven Juven Xu
              Reporter:
              velo Marvin Herman Froeder
              Last Updated By:
              Rich Seddon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Time Spent - 0.25h Remaining Estimate - 0.75h
                0.75h
                Logged:
                Time Spent - 0.25h Remaining Estimate - 0.75h
                0.25h