java.lang.Exception: You are trying to activate the HTML reporter from the test, while test is communicating with the runner. A common reason for this problem is activating the reporter from the RunnerListenersManager. Use the ListenersManager instead

jsystemtest | alexsigal | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    jsystem.framework.report.RunnerListenersMan

    jsystemtest | 8 years ago | alexsigal
    java.lang.Exception: You are trying to activate the HTML reporter from the test, while test is communicating with the runner. A common reason for this problem is activating the reporter from the RunnerListenersManager. Use the ListenersManager instead

    Root Cause Analysis

    1. java.lang.Exception

      You are trying to activate the HTML reporter from the test, while test is communicating with the runner. A common reason for this problem is activating the reporter from the RunnerListenersManager. Use the ListenersManager instead

      at jsystem.extensions.report.html.HtmlTestReporter.<init>()
    2. jsystem.extensions.report
      LevelHtmlTestReporter.<init>
      1. jsystem.extensions.report.html.HtmlTestReporter.<init>(HtmlTestReporter.java:89)
      2. jsystem.extensions.report.html.LevelHtmlTestReporter.<init>(LevelHtmlTestReporter.java:46)
      2 frames
    3. Java RT
      Class.newInstance
      1. sun.reflect.GeneratedConstructorAccessor5.newInstance(Unknown Source)
      2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      3. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      4. java.lang.Class.newInstance0(Class.java:355)
      5. java.lang.Class.newInstance(Class.java:308)
      5 frames
    4. jsystem.framework.report
      RunnerListenersManager.getInstance
      1. jsystem.framework.report.RunnerListenersManager.loadReporter(RunnerListenersManager.java:255)
      2. jsystem.framework.report.RunnerListenersManager.<init>(RunnerListenersManager.java:169)
      3. jsystem.framework.report.RunnerListenersManager.getInstance(RunnerListenersManager.java:124)
      3 frames
    5. com.aqua.advanced
      MyTestReporter.report
      1. com.aqua.advanced.MyTestReporter.report(MyTestReporter.java:49)
      1 frame
    6. jsystem.framework.report
      RunnerListenersManager.getInstance
      1. jsystem.framework.report.RunnerListenersManager.report(RunnerListenersManager.java:1194)
      2. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:102)
      3. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:49)
      4. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:53)
      5. jsystem.framework.report.RunnerListenersManager.<init>(RunnerListenersManager.java:172)
      6. jsystem.framework.report.RunnerListenersManager.getInstance(RunnerListenersManager.java:124)
      6 frames
    7. com.aqua.advanced
      MyTestReporter.report
      1. com.aqua.advanced.MyTestReporter.report(MyTestReporter.java:49)
      1 frame
    8. jsystem.framework.report
      RunnerListenersManager.getInstance
      1. jsystem.framework.report.RunnerListenersManager.report(RunnerListenersManager.java:1194)
      2. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:102)
      3. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:49)
      4. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:53)
      5. jsystem.framework.report.RunnerListenersManager.<init>(RunnerListenersManager.java:172)
      6. jsystem.framework.report.RunnerListenersManager.getInstance(RunnerListenersManager.java:124)
      6 frames
    9. com.aqua.advanced
      MyTestReporter.report
      1. com.aqua.advanced.MyTestReporter.report(MyTestReporter.java:49)
      1 frame
    10. jsystem.framework.report
      RunnerListenersManager.getInstance
      1. jsystem.framework.report.RunnerListenersManager.report(RunnerListenersManager.java:1194)
      2. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:102)
      3. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:49)
      4. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:53)
      5. jsystem.framework.report.RunnerListenersManager.<init>(RunnerListenersManager.java:172)
      6. jsystem.framework.report.RunnerListenersManager.getInstance(RunnerListenersManager.java:124)
      6 frames
    11. com.aqua.advanced
      MyTestReporter.report
      1. com.aqua.advanced.MyTestReporter.report(MyTestReporter.java:49)
      1 frame
    12. jsystem.framework.report
      RunnerListenersManager.getInstance
      1. jsystem.framework.report.RunnerListenersManager.report(RunnerListenersManager.java:1194)
      2. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:102)
      3. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:49)
      4. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:53)
      5. jsystem.framework.report.RunnerListenersManager.<init>(RunnerListenersManager.java:172)
      6. jsystem.framework.report.RunnerListenersManager.getInstance(RunnerListenersManager.java:124)
      6 frames
    13. com.aqua.advanced
      MyTestReporter.report
      1. com.aqua.advanced.MyTestReporter.report(MyTestReporter.java:49)
      1 frame
    14. jsystem.framework.report
      RunnerListenersManager.getInstance
      1. jsystem.framework.report.RunnerListenersManager.report(RunnerListenersManager.java:1194)
      2. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:102)
      3. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:49)
      4. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:53)
      5. jsystem.framework.report.RunnerListenersManager.<init>(RunnerListenersManager.java:172)
      6. jsystem.framework.report.RunnerListenersManager.getInstance(RunnerListenersManager.java:124)
      6 frames
    15. com.aqua.advanced
      MyTestReporter.report
      1. com.aqua.advanced.MyTestReporter.report(MyTestReporter.java:49)
      1 frame
    16. jsystem.framework.report
      RunnerListenersManager.getInstance
      1. jsystem.framework.report.RunnerListenersManager.report(RunnerListenersManager.java:1194)
      2. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:102)
      3. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:49)
      4. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:53)
      5. jsystem.framework.report.RunnerListenersManager.<init>(RunnerListenersManager.java:172)
      6. jsystem.framework.report.RunnerListenersManager.getInstance(RunnerListenersManager.java:124)
      6 frames
    17. com.aqua.advanced
      MyTestReporter.report
      1. com.aqua.advanced.MyTestReporter.report(MyTestReporter.java:49)
      1 frame
    18. jsystem.framework.report
      RunnerListenersManager.getInstance
      1. jsystem.framework.report.RunnerListenersManager.report(RunnerListenersManager.java:1194)
      2. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:102)
      3. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:49)
      4. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:53)
      5. jsystem.framework.report.RunnerListenersManager.<init>(RunnerListenersManager.java:172)
      6. jsystem.framework.report.RunnerListenersManager.getInstance(RunnerListenersManager.java:124)
      6 frames
    19. com.aqua.advanced
      MyTestReporter.report
      1. com.aqua.advanced.MyTestReporter.report(MyTestReporter.java:49)
      1 frame
    20. jsystem.framework.report
      DefaultReporterImpl.report
      1. jsystem.framework.report.RunnerListenersManager.report(RunnerListenersManager.java:1194)
      2. jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:102)
      2 frames