You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide below a detailed introduction to the issue itself, and describe what you were doing when the issue happened. Or, what do you want to achieve?
Inheritance tree loaded from C:\Users\ASUS\AppData\Local\Temp\ES_inheritancetree831980620130679995.xml.gz
Error while initializing target class: impl/DictServiceImpl (wrong name: com/yupi/sqlfather/service/impl/DictServiceImpl)
[MASTER] 11:36:38.207 [logback-2] ERROR TestSuiteGenerator - Problem for impl.DictServiceImpl. Full stack:
java.lang.ClassNotFoundException: impl/DictServiceImpl (wrong name: com/yupi/sqlfather/service/impl/DictServiceImpl)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:164)
at org.smartut.instrumentation.InstrumentingClassLoader.loadClass(InstrumentingClassLoader.java:132)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.smartut.testcase.statements.MethodStatement$1.execute(MethodStatement.java:262)
at org.smartut.testcase.statements.AbstractStatement.exceptionHandler(AbstractStatement.java:177)
at org.smartut.testcase.statements.MethodStatement.execute(MethodStatement.java:225)
at org.smartut.testcase.execution.TestRunnable.executeStatements(TestRunnable.java:296)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:201)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:54)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: impl/DictServiceImpl (wrong name: com/yupi/sqlfather/service/impl/DictServiceImpl)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.lang.ClassLoader.defineClass(ClassLoader.java:635)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:157)
... 17 common frames omitted
Computation finished
[MASTER] 11:36:40.835 [main] ERROR SearchStatistics - No statistics has been saved because SmartUt failed to generate any test case
[MASTER] 11:36:40.945 [main] ERROR TestGeneration - failed to write statistics data
Current class: impl.FieldServiceImpl
Going to generate test cases for class: impl.FieldServiceImpl
Starting Client-0
Properties loaded from D:\PlayGround\sql-father-backend-public\smartut-files\smartut.properties
Inheritance tree loaded from C:\Users\ASUS\AppData\Local\Temp\ES_inheritancetree831980620130679995.xml.gz
Error while initializing target class: impl/FieldServiceImpl (wrong name: com/yupi/sqlfather/service/impl/FieldServiceImpl)
[MASTER] 11:36:45.334 [logback-2] ERROR TestSuiteGenerator - Problem for impl.FieldServiceImpl. Full stack:
java.lang.ClassNotFoundException: impl/FieldServiceImpl (wrong name: com/yupi/sqlfather/service/impl/FieldServiceImpl)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:164)
at org.smartut.instrumentation.InstrumentingClassLoader.loadClass(InstrumentingClassLoader.java:132)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.smartut.testcase.statements.MethodStatement$1.execute(MethodStatement.java:262)
at org.smartut.testcase.statements.AbstractStatement.exceptionHandler(AbstractStatement.java:177)
at org.smartut.testcase.statements.MethodStatement.execute(MethodStatement.java:225)
at org.smartut.testcase.execution.TestRunnable.executeStatements(TestRunnable.java:296)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:201)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:54)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: impl/FieldServiceImpl (wrong name: com/yupi/sqlfather/service/impl/FieldServiceImpl)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.lang.ClassLoader.defineClass(ClassLoader.java:635)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:157)
... 17 common frames omitted
Computation finished
[MASTER] 11:36:47.940 [main] ERROR SearchStatistics - No statistics has been saved because SmartUt failed to generate any test case
[MASTER] 11:36:48.051 [main] ERROR TestGeneration - failed to write statistics data
Current class: impl.ReportServiceImpl
Going to generate test cases for class: impl.ReportServiceImpl
Starting Client-0
Properties loaded from D:\PlayGround\sql-father-backend-public\smartut-files\smartut.properties
Inheritance tree loaded from C:\Users\ASUS\AppData\Local\Temp\ES_inheritancetree831980620130679995.xml.gz
Error while initializing target class: impl/ReportServiceImpl (wrong name: com/yupi/sqlfather/service/impl/ReportServiceImpl)
[MASTER] 11:36:52.362 [logback-2] ERROR TestSuiteGenerator - Problem for impl.ReportServiceImpl. Full stack:
java.lang.ClassNotFoundException: impl/ReportServiceImpl (wrong name: com/yupi/sqlfather/service/impl/ReportServiceImpl)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:164)
at org.smartut.instrumentation.InstrumentingClassLoader.loadClass(InstrumentingClassLoader.java:132)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.smartut.testcase.statements.MethodStatement$1.execute(MethodStatement.java:262)
at org.smartut.testcase.statements.AbstractStatement.exceptionHandler(AbstractStatement.java:177)
at org.smartut.testcase.statements.MethodStatement.execute(MethodStatement.java:225)
at org.smartut.testcase.execution.TestRunnable.executeStatements(TestRunnable.java:296)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:201)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:54)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: impl/ReportServiceImpl (wrong name: com/yupi/sqlfather/service/impl/ReportServiceImpl)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.lang.ClassLoader.defineClass(ClassLoader.java:635)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:157)
... 17 common frames omitted
Computation finished
[MASTER] 11:36:55.026 [main] ERROR SearchStatistics - No statistics has been saved because SmartUt failed to generate any test case
[MASTER] 11:36:55.137 [main] ERROR TestGeneration - failed to write statistics data
Current class: impl.TableInfoServiceImpl
Going to generate test cases for class: impl.TableInfoServiceImpl
Starting Client-0
Properties loaded from D:\PlayGround\sql-father-backend-public\smartut-files\smartut.properties
Inheritance tree loaded from C:\Users\ASUS\AppData\Local\Temp\ES_inheritancetree831980620130679995.xml.gz
Error while initializing target class: impl/TableInfoServiceImpl (wrong name: com/yupi/sqlfather/service/impl/TableInfoServiceImpl)
[MASTER] 11:36:59.478 [logback-2] ERROR TestSuiteGenerator - Problem for impl.TableInfoServiceImpl. Full stack:
java.lang.ClassNotFoundException: impl/TableInfoServiceImpl (wrong name: com/yupi/sqlfather/service/impl/TableInfoServiceImpl)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:164)
at org.smartut.instrumentation.InstrumentingClassLoader.loadClass(InstrumentingClassLoader.java:132)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.smartut.testcase.statements.MethodStatement$1.execute(MethodStatement.java:262)
at org.smartut.testcase.statements.AbstractStatement.exceptionHandler(AbstractStatement.java:177)
at org.smartut.testcase.statements.MethodStatement.execute(MethodStatement.java:225)
at org.smartut.testcase.execution.TestRunnable.executeStatements(TestRunnable.java:296)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:201)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:54)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: impl/TableInfoServiceImpl (wrong name: com/yupi/sqlfather/service/impl/TableInfoServiceImpl)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.lang.ClassLoader.defineClass(ClassLoader.java:635)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:157)
... 17 common frames omitted
Computation finished
[MASTER] 11:37:02.102 [main] ERROR SearchStatistics - No statistics has been saved because SmartUt failed to generate any test case
[MASTER] 11:37:02.212 [main] ERROR TestGeneration - failed to write statistics data
Current class: impl.UserServiceImpl
Going to generate test cases for class: impl.UserServiceImpl
Starting Client-0
Properties loaded from D:\PlayGround\sql-father-backend-public\smartut-files\smartut.properties
Inheritance tree loaded from C:\Users\ASUS\AppData\Local\Temp\ES_inheritancetree831980620130679995.xml.gz
Error while initializing target class: impl/UserServiceImpl (wrong name: com/yupi/sqlfather/service/impl/UserServiceImpl)
[MASTER] 11:37:06.617 [logback-2] ERROR TestSuiteGenerator - Problem for impl.UserServiceImpl. Full stack:
java.lang.ClassNotFoundException: impl/UserServiceImpl (wrong name: com/yupi/sqlfather/service/impl/UserServiceImpl)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:164)
at org.smartut.instrumentation.InstrumentingClassLoader.loadClass(InstrumentingClassLoader.java:132)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.smartut.testcase.statements.MethodStatement$1.execute(MethodStatement.java:262)
at org.smartut.testcase.statements.AbstractStatement.exceptionHandler(AbstractStatement.java:177)
at org.smartut.testcase.statements.MethodStatement.execute(MethodStatement.java:225)
at org.smartut.testcase.execution.TestRunnable.executeStatements(TestRunnable.java:296)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:201)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:54)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: impl/UserServiceImpl (wrong name: com/yupi/sqlfather/service/impl/UserServiceImpl)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.lang.ClassLoader.defineClass(ClassLoader.java:635)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:157)
... 17 common frames omitted
Computation finished
[MASTER] 11:37:09.478 [main] ERROR SearchStatistics - No statistics has been saved because SmartUt failed to generate any test case
[MASTER] 11:37:09.586 [main] ERROR TestGeneration - failed to write statistics data
Skipping interface: ReportService
Skipping interface: TableInfoService
Skipping interface: UserService
Steps to Reproduce
Please break down here below all the needed steps to reproduce the issue.
[If possible, please upload an example of the project you are generating tests for.]
SmartUt Arguments
Please provide the whole SmartUt commmand you executed (if relevant)
Current Result
Please describe here below the current result you got (if relevant)
[if relevant, include a screenshot]
Expected result
Please describe here below what should be the expected behaviour (if relevant)
Additional info
Please add any information of interest here below
The text was updated successfully, but these errors were encountered:
Context
Please provide below a detailed introduction to the issue itself, and describe what you were doing when the issue happened. Or, what do you want to achieve?
按照操作对service层代码进行单元测试生成,后运行报错
D:\PlayGround\sql-father-backend-public>java -jar ./smartut.jar -target target\classes\com\yupi\sqlfather\service
[MASTER] 11:36:35.014 [logback-1] WARN TestSuiteGenerator - initializeTargetClass start!
[MASTER] 11:36:38.207 [logback-2] ERROR TestSuiteGenerator - Problem for impl.DictServiceImpl. Full stack:
java.lang.ClassNotFoundException: impl/DictServiceImpl (wrong name: com/yupi/sqlfather/service/impl/DictServiceImpl)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:164)
at org.smartut.instrumentation.InstrumentingClassLoader.loadClass(InstrumentingClassLoader.java:132)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.smartut.testcase.statements.MethodStatement$1.execute(MethodStatement.java:262)
at org.smartut.testcase.statements.AbstractStatement.exceptionHandler(AbstractStatement.java:177)
at org.smartut.testcase.statements.MethodStatement.execute(MethodStatement.java:225)
at org.smartut.testcase.execution.TestRunnable.executeStatements(TestRunnable.java:296)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:201)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:54)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: impl/DictServiceImpl (wrong name: com/yupi/sqlfather/service/impl/DictServiceImpl)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.lang.ClassLoader.defineClass(ClassLoader.java:635)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:157)
... 17 common frames omitted
[MASTER] 11:36:40.835 [main] ERROR SearchStatistics - No statistics has been saved because SmartUt failed to generate any test case
[MASTER] 11:36:40.945 [main] ERROR TestGeneration - failed to write statistics data
[MASTER] 11:36:42.105 [logback-1] WARN TestSuiteGenerator - initializeTargetClass start!
[MASTER] 11:36:45.334 [logback-2] ERROR TestSuiteGenerator - Problem for impl.FieldServiceImpl. Full stack:
java.lang.ClassNotFoundException: impl/FieldServiceImpl (wrong name: com/yupi/sqlfather/service/impl/FieldServiceImpl)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:164)
at org.smartut.instrumentation.InstrumentingClassLoader.loadClass(InstrumentingClassLoader.java:132)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.smartut.testcase.statements.MethodStatement$1.execute(MethodStatement.java:262)
at org.smartut.testcase.statements.AbstractStatement.exceptionHandler(AbstractStatement.java:177)
at org.smartut.testcase.statements.MethodStatement.execute(MethodStatement.java:225)
at org.smartut.testcase.execution.TestRunnable.executeStatements(TestRunnable.java:296)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:201)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:54)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: impl/FieldServiceImpl (wrong name: com/yupi/sqlfather/service/impl/FieldServiceImpl)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.lang.ClassLoader.defineClass(ClassLoader.java:635)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:157)
... 17 common frames omitted
[MASTER] 11:36:47.940 [main] ERROR SearchStatistics - No statistics has been saved because SmartUt failed to generate any test case
[MASTER] 11:36:48.051 [main] ERROR TestGeneration - failed to write statistics data
[MASTER] 11:36:49.200 [logback-1] WARN TestSuiteGenerator - initializeTargetClass start!
[MASTER] 11:36:52.362 [logback-2] ERROR TestSuiteGenerator - Problem for impl.ReportServiceImpl. Full stack:
java.lang.ClassNotFoundException: impl/ReportServiceImpl (wrong name: com/yupi/sqlfather/service/impl/ReportServiceImpl)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:164)
at org.smartut.instrumentation.InstrumentingClassLoader.loadClass(InstrumentingClassLoader.java:132)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.smartut.testcase.statements.MethodStatement$1.execute(MethodStatement.java:262)
at org.smartut.testcase.statements.AbstractStatement.exceptionHandler(AbstractStatement.java:177)
at org.smartut.testcase.statements.MethodStatement.execute(MethodStatement.java:225)
at org.smartut.testcase.execution.TestRunnable.executeStatements(TestRunnable.java:296)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:201)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:54)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: impl/ReportServiceImpl (wrong name: com/yupi/sqlfather/service/impl/ReportServiceImpl)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.lang.ClassLoader.defineClass(ClassLoader.java:635)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:157)
... 17 common frames omitted
[MASTER] 11:36:55.026 [main] ERROR SearchStatistics - No statistics has been saved because SmartUt failed to generate any test case
[MASTER] 11:36:55.137 [main] ERROR TestGeneration - failed to write statistics data
[MASTER] 11:36:56.283 [logback-1] WARN TestSuiteGenerator - initializeTargetClass start!
[MASTER] 11:36:59.478 [logback-2] ERROR TestSuiteGenerator - Problem for impl.TableInfoServiceImpl. Full stack:
java.lang.ClassNotFoundException: impl/TableInfoServiceImpl (wrong name: com/yupi/sqlfather/service/impl/TableInfoServiceImpl)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:164)
at org.smartut.instrumentation.InstrumentingClassLoader.loadClass(InstrumentingClassLoader.java:132)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.smartut.testcase.statements.MethodStatement$1.execute(MethodStatement.java:262)
at org.smartut.testcase.statements.AbstractStatement.exceptionHandler(AbstractStatement.java:177)
at org.smartut.testcase.statements.MethodStatement.execute(MethodStatement.java:225)
at org.smartut.testcase.execution.TestRunnable.executeStatements(TestRunnable.java:296)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:201)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:54)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: impl/TableInfoServiceImpl (wrong name: com/yupi/sqlfather/service/impl/TableInfoServiceImpl)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.lang.ClassLoader.defineClass(ClassLoader.java:635)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:157)
... 17 common frames omitted
[MASTER] 11:37:02.102 [main] ERROR SearchStatistics - No statistics has been saved because SmartUt failed to generate any test case
[MASTER] 11:37:02.212 [main] ERROR TestGeneration - failed to write statistics data
[MASTER] 11:37:03.377 [logback-1] WARN TestSuiteGenerator - initializeTargetClass start!
[MASTER] 11:37:06.617 [logback-2] ERROR TestSuiteGenerator - Problem for impl.UserServiceImpl. Full stack:
java.lang.ClassNotFoundException: impl/UserServiceImpl (wrong name: com/yupi/sqlfather/service/impl/UserServiceImpl)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:164)
at org.smartut.instrumentation.InstrumentingClassLoader.loadClass(InstrumentingClassLoader.java:132)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.smartut.testcase.statements.MethodStatement$1.execute(MethodStatement.java:262)
at org.smartut.testcase.statements.AbstractStatement.exceptionHandler(AbstractStatement.java:177)
at org.smartut.testcase.statements.MethodStatement.execute(MethodStatement.java:225)
at org.smartut.testcase.execution.TestRunnable.executeStatements(TestRunnable.java:296)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:201)
at org.smartut.testcase.execution.TestRunnable.call(TestRunnable.java:54)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: impl/UserServiceImpl (wrong name: com/yupi/sqlfather/service/impl/UserServiceImpl)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.lang.ClassLoader.defineClass(ClassLoader.java:635)
at org.smartut.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:157)
... 17 common frames omitted
[MASTER] 11:37:09.478 [main] ERROR SearchStatistics - No statistics has been saved because SmartUt failed to generate any test case
[MASTER] 11:37:09.586 [main] ERROR TestGeneration - failed to write statistics data
Steps to Reproduce
Please break down here below all the needed steps to reproduce the issue.
[If possible, please upload an example of the project you are generating tests for.]
SmartUt Arguments
Please provide the whole SmartUt commmand you executed (if relevant)
Current Result
Please describe here below the current result you got (if relevant)
[if relevant, include a screenshot]
Expected result
Please describe here below what should be the expected behaviour (if relevant)
Additional info
Please add any information of interest here below
The text was updated successfully, but these errors were encountered: