Forum Discussion

rd1's avatar
rd1
New Member
6 years ago

ReadyApi Maven Plugin - ClassNotFound FileRemover

ReadyAPI 2.8.0 TestCaseRunner Summary
-----------------------------
Time Taken: 18057ms
Total TestSuites: 1
Total TestCases: 2 (0 failed)
Total TestSteps: 6
Total Request Assertions: 2
Total Failed Assertions: 0
Total Exported Results: 0
[INFO] ReadyAPI 2.8.0 shutting down
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 53.598 s
[INFO] Finished at: [...]
[INFO] Final Memory: 44M/123M
[INFO] ------------------------------------------------------------------------
Exception in thread "Thread-20" java.lang.NoClassDefFoundError: com/smartbear/ready/util/FileRemover
	at com.smartbear.ready.util.FileRemover$ShutdownHook.startFileDeletionProcess(FileRemover.java:155)
	at com.smartbear.ready.util.FileRemover$ShutdownHook.lambda$0(FileRemover.java:149)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: com.smartbear.ready.util.FileRemover
	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
	... 3 more

Getting this ClassNotFoundException after every test

  • Nastya_Khovrina's avatar
    Nastya_Khovrina
    6 years ago

    Unfortunately, you faced a known bug in ReadyAPI with the ClassNotFound FileRemover exception.

     

    There is no workaround for this bug. But, please note that this issue doesn't affect test execution - tests are run successfully.

    • Nastya_Khovrina's avatar
      Nastya_Khovrina
      SmartBear Alumni (Retired)

      Unfortunately, you faced a known bug in ReadyAPI with the ClassNotFound FileRemover exception.

       

      There is no workaround for this bug. But, please note that this issue doesn't affect test execution - tests are run successfully.

      • Brandon_Blueriq's avatar
        Brandon_Blueriq
        Senior Member

        I have also encountered this bug with v3.0.0. in our Jenkins Pipeline. Is there an issue I can keep my eyes on? Or another way to keep posted on the progress to fix this bug. 

         

        The stacktrace is causing questions and people looking in to it eventhough we stated it's a known bug.

         

        Hope to hear from you!