matty-r commented on issue #6737: URL: https://github.com/apache/netbeans/issues/6737#issuecomment-1822240713
I've been able to reproduce this on two separate machines. All libraries are in the classpath:  Error message: ``` Couldn't find a constructor in class org.testng.reporters.VerboseReporter at org.testng.internal.objects.InstanceCreator.newInstance(InstanceCreator.java:57) at org.testng.ITestObjectFactory.newInstance(ITestObjectFactory.java:10) at org.testng.TestNG.setListenerClasses(TestNG.java:684) at org.testng.TestNG.configure(TestNG.java:1549) at org.testng.TestNG.privateMain(TestNG.java:1431) at org.testng.TestNG.main(TestNG.java:1404) ``` This is there the VerboseReporter is referenced in the build-impl.xml ```xml <target if="${testng.available}" name="-init-macrodef-testng"> <macrodef name="testng" uri="http://www.netbeans.org/ns/j2se-project/3"> <attribute default="${includes}" name="includes"/> <attribute default="${excludes}" name="excludes"/> <attribute default="**" name="testincludes"/> <attribute default="" name="testmethods"/> <element name="customize" optional="true"/> <sequential> <condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}"> <isset property="test.method"/> </condition> <union id="test.set"> <fileset dir="${test.tests.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}"> <filename name="@{testincludes}"/> </fileset> </union> <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/> <testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="urchat" testname="TestNG tests" workingDir="${work.dir}"> <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/> <propertyset> <propertyref prefix="test-sys-prop."/> <mapper from="test-sys-prop.*" to="*" type="glob"/> </propertyset> <classpath> <path path="${run.test.classpath}"/> </classpath> <jvmarg line="${endorsed.classpath.cmd.line.arg}"/> <customize/> </testng> </sequential> </macrodef> </target> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
