-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AssertionError in JarAnalyzer #21
Comments
I have collected following details: MethodInvocation string : Mockito.mock(BaseClient.class,Mockito.RETURNS_SELF) It reproduces 100% |
MethodInvocation string : atLeast(1) |
Project Name: aws/aws-sdk-java This project also gives a lot of assertion errors. |
I have found the following backtrace while running the test. I don't have any other details other than the backtrace. Please check for the possible reason.
java.lang.AssertionError
at ca.concordia.jaranalyzer.util.InferenceUtility.getClassInstanceCreationQualifiedName(InferenceUtility.java:2283)
at ca.concordia.jaranalyzer.util.InferenceUtility.getFirstEnclosingClassQName(InferenceUtility.java:2216)
at ca.concordia.jaranalyzer.util.InferenceUtility$1.visit(InferenceUtility.java:458)
at org.eclipse.jdt.core.dom.FieldDeclaration.accept0(FieldDeclaration.java:265)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2971)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:3042)
at org.eclipse.jdt.core.dom.AnonymousClassDeclaration.accept0(AnonymousClassDeclaration.java:135)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2971)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:3019)
at org.eclipse.jdt.core.dom.ClassInstanceCreation.accept0(ClassInstanceCreation.java:305)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2971)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:3019)
at org.eclipse.jdt.core.dom.VariableDeclarationFragment.accept0(VariableDeclarationFragment.java:238)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2971)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:3042)
at org.eclipse.jdt.core.dom.VariableDeclarationStatement.accept0(VariableDeclarationStatement.java:254)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2971)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:3042)
at org.eclipse.jdt.core.dom.Block.accept0(Block.java:128)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2971)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:3019)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:698)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2971)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:3042)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:447)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2971)
at ca.concordia.jaranalyzer.util.InferenceUtility.getFieldVariableDeclarationDtoList(InferenceUtility.java:455)
at ca.concordia.jaranalyzer.util.InferenceUtility.getVariableNameMap(InferenceUtility.java:412)
at ca.concordia.jaranalyzer.TypeInferenceV2API.getMethodInfo(TypeInferenceV2API.java:112)
The text was updated successfully, but these errors were encountered: