Hi,
i am new to CodePro.
Currently I am using CodePro Trail version. I have got the failure notice when I run my class (ObfuscateTableTransaction).
The Failure Notice is: “One or more test cases were not generated successfully. The details are in the .log file. Please submit a bug report to instantiations and include the .log file contents”. And then there is no test case generated, but the console window shows “Test code generation complete.”
I have verified that log file it seems like TargetParser(Null Pointer Exception) problem.
Can we run this file or not?
please have a look at following lines(generated by log file):
!ENTRY com.instantiations.eclipse 4 0 2008-05-16 20:04:43.869
!MESSAGE Failed during test case generation
!STACK 0
java.lang.NullPointerException
at com.instantiations.assist.eclipse.junit.generation.parser.TargetTypeParser.visit(TargetTypeParser.java:588)
at org.eclipse.jdt.core.dom.AssertStatement.accept0(AssertStatement.java:162)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2546)
at org.eclipse.jdt.core.dom.Block.accept0(Block.java:135)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2523)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:501)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at com.instantiations.assist.eclipse.junit.generation.parser.TargetTypeParser.visit(TargetTypeParser.java:2229)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:466)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at com.instantiations.assist.eclipse.junit.ui.util.TestCaseGenerator.generateTestCase(TestCaseGenerator.java:434)
at com.instantiations.assist.eclipse.junit.ui.util.TestCaseGenerator.generateAllTestCases(TestCaseGenerator.java:357)
at com.instantiations.assist.eclipse.junit.ui.util.TestCaseGenerator.generateTestCases(TestCaseGenerator.java:295)
at com.instantiations.assist.eclipse.junit.ui.action.GenerateTestCaseAction.runInBackground(GenerateTestCaseAction.java:285)
at com.instantiations.assist.eclipse.junit.ui.action.GenerateTestCaseAction$GenerateTestsJob.runInWorkspace(GenerateTestCaseAction.java:509)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY com.instantiations.eclipse 1 0 2008-05-16 20:04:46.838
!MESSAGE Summary:
please help me.
thanks,
subbu