org.testng.TestNGException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • applet fileopen dialog npe
    via Stack Overflow by cp.
    ,
  • grails initializing bean null pointer exception
    via Stack Overflow by bdas
    ,
    • org.testng.TestNGException: Cannot instantiate class com.perficient.util.result.CustomReportListener at org.testng.internal.ClassHelper.newInstance(ClassHelper.java:53) at org.testng.TestNG.initializeConfiguration(TestNG.java:981) at org.testng.TestNG.run(TestNG.java:1089) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281) at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121) Caused by: java.lang.ExceptionInInitializerError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at org.testng.internal.ClassHelper.newInstance(ClassHelper.java:51) ... 8 more Caused by: java.lang.NullPointerException at sun.awt.shell.Win32ShellFolder2.access$200(Win32ShellFolder2.java:72) at sun.awt.shell.Win32ShellFolder2$1.call(Win32ShellFolder2.java:242) at sun.awt.shell.Win32ShellFolder2$1.call(Win32ShellFolder2.java:237) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Win32ShellFolderManager2.java:547) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    Unknown visitor1 times, last one,
    Indri Yunita
    96 times, last one,
    Hiren Amaliyar
    4 times, last one,
    justCodeit
    29 times, last one,
    malhobayyeb
    4 times, last one,
    21 more bugmates