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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via jsystemtest by alexsigal
, 1 year ago
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
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.(HtmlTestReporter.java:89)
at jsystem.extensions.report.html.LevelHtmlTestReporter.(LevelHtmlTestReporter.java:46)
at sun.reflect.GeneratedConstructorAccessor5.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at jsystem.framework.report.RunnerListenersManager.loadReporter(RunnerListenersManager.java:255)
at jsystem.framework.report.RunnerListenersManager.(RunnerListenersManager.java:169)
at jsystem.framework.report.RunnerListenersManager.getInstance(RunnerListenersManager.java:124)
at com.aqua.advanced.MyTestReporter.report(MyTestReporter.java:49)
at jsystem.framework.report.RunnerListenersManager.report(RunnerListenersManager.java:1194)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:102)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:49)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:53)
at jsystem.framework.report.RunnerListenersManager.(RunnerListenersManager.java:172)
at jsystem.framework.report.RunnerListenersManager.getInstance(RunnerListenersManager.java:124)
at com.aqua.advanced.MyTestReporter.report(MyTestReporter.java:49)
at jsystem.framework.report.RunnerListenersManager.report(RunnerListenersManager.java:1194)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:102)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:49)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:53)
at jsystem.framework.report.RunnerListenersManager.(RunnerListenersManager.java:172)
at jsystem.framework.report.RunnerListenersManager.getInstance(RunnerListenersManager.java:124)
at com.aqua.advanced.MyTestReporter.report(MyTestReporter.java:49)
at jsystem.framework.report.RunnerListenersManager.report(RunnerListenersManager.java:1194)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:102)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:49)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:53)
at jsystem.framework.report.RunnerListenersManager.(RunnerListenersManager.java:172)
at jsystem.framework.report.RunnerListenersManager.getInstance(RunnerListenersManager.java:124)
at com.aqua.advanced.MyTestReporter.report(MyTestReporter.java:49)
at jsystem.framework.report.RunnerListenersManager.report(RunnerListenersManager.java:1194)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:102)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:49)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:53)
at jsystem.framework.report.RunnerListenersManager.(RunnerListenersManager.java:172)
at jsystem.framework.report.RunnerListenersManager.getInstance(RunnerListenersManager.java:124)
at com.aqua.advanced.MyTestReporter.report(MyTestReporter.java:49)
at jsystem.framework.report.RunnerListenersManager.report(RunnerListenersManager.java:1194)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:102)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:49)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:53)
at jsystem.framework.report.RunnerListenersManager.(RunnerListenersManager.java:172)
at jsystem.framework.report.RunnerListenersManager.getInstance(RunnerListenersManager.java:124)
at com.aqua.advanced.MyTestReporter.report(MyTestReporter.java:49)
at jsystem.framework.report.RunnerListenersManager.report(RunnerListenersManager.java:1194)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:102)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:49)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:53)
at jsystem.framework.report.RunnerListenersManager.(RunnerListenersManager.java:172)
at jsystem.framework.report.RunnerListenersManager.getInstance(RunnerListenersManager.java:124)
at com.aqua.advanced.MyTestReporter.report(MyTestReporter.java:49)
at jsystem.framework.report.RunnerListenersManager.report(RunnerListenersManager.java:1194)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:102)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:49)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:53)
at jsystem.framework.report.RunnerListenersManager.(RunnerListenersManager.java:172)
at jsystem.framework.report.RunnerListenersManager.getInstance(RunnerListenersManager.java:124)
at com.aqua.advanced.MyTestReporter.report(MyTestReporter.java:49)
at jsystem.framework.report.RunnerListenersManager.report(RunnerListenersManager.java:1194)
at jsystem.framework.report.DefaultReporterImpl.report(DefaultReporterImpl.java:102)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.