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
But when I do some tests on class diagram generation module,I encountered a problem.
The source code I try to analyze is as below:
public class MyVector
extends Vector
{
}
However, there is an exception when parsing the code:
Exception in thread "main" java.lang.ClassCastException: class japa.parser.ast.type.ClassOrInterfaceType cannot be cast to class japa.parser.ast.type.ReferenceType (japa.parser.ast.type.ClassOrInterfaceType and japa.parser.ast.type.ReferenceType are in unnamed module of loader 'app')
at com.uml.parser.main.UMLHelper.getArrayClassName(UMLHelper.java:65)
at com.uml.parser.main.Counselor.createRelationship(Counselor.java:134)
at com.uml.parser.main.Counselor.checkForRelatives(Counselor.java:72)
at com.uml.parser.main.ParseJava.createUMLClass(ParseJava.java:81)
at com.uml.parser.main.ParseJava.parseFiles(ParseJava.java:53)
at RunUMLParser.main(RunUMLParser.java:50)
Would you please inform me if you have any ideas? Thanks a lot!
The text was updated successfully, but these errors were encountered:
Hi!Thanks for the work you have done!
But when I do some tests on class diagram generation module,I encountered a problem.
The source code I try to analyze is as below:
public class MyVector
extends Vector
{
}
However, there is an exception when parsing the code:
Exception in thread "main" java.lang.ClassCastException: class japa.parser.ast.type.ClassOrInterfaceType cannot be cast to class japa.parser.ast.type.ReferenceType (japa.parser.ast.type.ClassOrInterfaceType and japa.parser.ast.type.ReferenceType are in unnamed module of loader 'app')
at com.uml.parser.main.UMLHelper.getArrayClassName(UMLHelper.java:65)
at com.uml.parser.main.Counselor.createRelationship(Counselor.java:134)
at com.uml.parser.main.Counselor.checkForRelatives(Counselor.java:72)
at com.uml.parser.main.ParseJava.createUMLClass(ParseJava.java:81)
at com.uml.parser.main.ParseJava.parseFiles(ParseJava.java:53)
at RunUMLParser.main(RunUMLParser.java:50)
Would you please inform me if you have any ideas? Thanks a lot!
The text was updated successfully, but these errors were encountered: