java.lang.Exception: Error: Messages on stream are not being closed!

JFrog JIRA | Frederic Simon | 8 years 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

    [timerFactory ] [INFO ] (ArtifactoryTimerTask.java:28) - Gave up timer trigger because initialization did not complete yet. java.lang.Exception: Error: Messages on stream are not being closed! at org.artifactory.worker.WorkerServiceImpl$RepositoryChannel.dispose(WorkerServiceImpl.java:174) at org.artifactory.worker.WorkerServiceImpl.destroy(WorkerServiceImpl.java:112) at org.artifactory.spring.ArtifactoryApplicationContext.destroy(ArtifactoryApplicationContext.java:139) at org.artifactory.test.internal.ArtifactoryTestBase.tearDown(ArtifactoryTestBase.java:72) 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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:82) at org.testng.TestRunner.afterRun(TestRunner.java:721) at org.testng.TestRunner.run(TestRunner.java:481) at org.testng.SuiteRunner.runTest(SuiteRunner.java:324) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292) at org.testng.SuiteRunner.run(SuiteRunner.java:198) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:821) at org.testng.TestNG.runSuitesLocally(TestNG.java:788) at org.testng.TestNG.run(TestNG.java:708) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:74) at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 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:345) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

    JFrog JIRA | 8 years ago | Frederic Simon
    java.lang.Exception: Error: Messages on stream are not being closed!
  2. 0

    [timerFactory ] [INFO ] (ArtifactoryTimerTask.java:28) - Gave up timer trigger because initialization did not complete yet. java.lang.Exception: Error: Messages on stream are not being closed! at org.artifactory.worker.WorkerServiceImpl$RepositoryChannel.dispose(WorkerServiceImpl.java:174) at org.artifactory.worker.WorkerServiceImpl.destroy(WorkerServiceImpl.java:112) at org.artifactory.spring.ArtifactoryApplicationContext.destroy(ArtifactoryApplicationContext.java:139) at org.artifactory.test.internal.ArtifactoryTestBase.tearDown(ArtifactoryTestBase.java:72) 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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:82) at org.testng.TestRunner.afterRun(TestRunner.java:721) at org.testng.TestRunner.run(TestRunner.java:481) at org.testng.SuiteRunner.runTest(SuiteRunner.java:324) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292) at org.testng.SuiteRunner.run(SuiteRunner.java:198) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:821) at org.testng.TestNG.runSuitesLocally(TestNG.java:788) at org.testng.TestNG.run(TestNG.java:708) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:74) at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 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:345) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

    JFrog JIRA | 8 years ago | Frederic Simon
    java.lang.Exception: Error: Messages on stream are not being closed!

    Root Cause Analysis

    1. java.lang.Exception

      Error: Messages on stream are not being closed!

      at org.artifactory.worker.WorkerServiceImpl$RepositoryChannel.dispose()
    2. org.artifactory.worker
      WorkerServiceImpl.destroy
      1. org.artifactory.worker.WorkerServiceImpl$RepositoryChannel.dispose(WorkerServiceImpl.java:174)
      2. org.artifactory.worker.WorkerServiceImpl.destroy(WorkerServiceImpl.java:112)
      2 frames
    3. org.artifactory.spring
      ArtifactoryApplicationContext.destroy
      1. org.artifactory.spring.ArtifactoryApplicationContext.destroy(ArtifactoryApplicationContext.java:139)
      1 frame
    4. org.artifactory.test
      ArtifactoryTestBase.tearDown
      1. org.artifactory.test.internal.ArtifactoryTestBase.tearDown(ArtifactoryTestBase.java:72)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. TestNG
      TestNG.run
      1. org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
      2. org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398)
      3. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145)
      4. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:82)
      5. org.testng.TestRunner.afterRun(TestRunner.java:721)
      6. org.testng.TestRunner.run(TestRunner.java:481)
      7. org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
      8. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
      9. org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
      10. org.testng.SuiteRunner.run(SuiteRunner.java:198)
      11. org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:821)
      12. org.testng.TestNG.runSuitesLocally(TestNG.java:788)
      13. org.testng.TestNG.run(TestNG.java:708)
      13 frames
    7. org.apache.maven
      TestNGXmlTestSuite.execute
      1. org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:74)
      2. org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
      2 frames
    8. SureFire
      Surefire.run
      1. org.apache.maven.surefire.Surefire.run(Surefire.java:177)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    10. SureFire
      SurefireBooter.main
      1. org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
      2. org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
      2 frames