Receiving StackOverFlowError when I tried reverse Engineer code for UML ( what sketch does)

Issue #22 duplicate
Akhil Surapuram created an issue

Here is the stack trace.

null java.lang.StackOverflowError at gnu.trove.TObjectCanonicalHashingStrategy.computeHashCode(TObjectCanonicalHashingStrategy.java:8) at com.intellij.util.containers.ConcurrentWeakKeySoftValueHashMap.createHardKey(ConcurrentWeakKeySoftValueHashMap.java:214) at com.intellij.util.containers.ConcurrentWeakKeySoftValueHashMap.get(ConcurrentWeakKeySoftValueHashMap.java:222) at com.intellij.util.containers.ConcurrentFactoryMap.get(ConcurrentFactoryMap.java:60) at com.intellij.psi.impl.file.impl.ResolveScopeManagerImpl.getResolveScopeFromProviders(ResolveScopeManagerImpl.java:62) at com.intellij.psi.impl.file.impl.ResolveScopeManagerImpl.getResolveScope(ResolveScopeManagerImpl.java:124) at com.intellij.psi.impl.ResolveScopeManager.getElementResolveScope(ResolveScopeManager.java:51) at com.intellij.psi.impl.PsiElementBase.getResolveScope(PsiElementBase.java:184) at com.intellij.psi.impl.PsiClassImplUtil.findSpecialSuperClass(PsiClassImplUtil.java:790) at com.intellij.psi.impl.PsiClassImplUtil.getSuperClass(PsiClassImplUtil.java:765) at com.intellij.psi.impl.compiled.ClsClassImpl.getSuperClass(ClsClassImpl.java:146) at org.pmesmeur.sketchit.diagram.clazz.ClassDiagramGenerator$RelationshipsGenerator.generateClassInheritence(ClassDiagramGenerator.java:476) at org.pmesmeur.sketchit.diagram.clazz.ClassDiagramGenerator$RelationshipsGenerator.generate(ClassDiagramGenerator.java:456) at org.pmesmeur.sketchit.diagram.clazz.ClassDiagramGenerator$RelationshipsGenerator.generateInnerClassesRelationships(ClassDiagramGenerator.java:519) at org.pmesmeur.sketchit.diagram.clazz.ClassDiagramGenerator$RelationshipsGenerator.generateInnerClassesAssociations(ClassDiagramGenerator.java:511) at org.pmesmeur.sketchit.diagram.clazz.ClassDiagramGenerator$RelationshipsGenerator.generate(ClassDiagramGenerator.java:460) at org.pmesmeur.sketchit.diagram.clazz.ClassDiagramGenerator$RelationshipsGenerator.generateInnerClassesRelationships(ClassDiagramGenerator.java:519) at org.pmesmeur.sketchit.diagram.clazz.ClassDiagramGenerator$RelationshipsGenerator.generateInnerClassesAssociations(ClassDiagramGenerator.java:511) at org.pmesmeur.sketchit.diagram.clazz.ClassDiagramGenerator$RelationshipsGenerator.generate(ClassDiagramGenerator.java:460) at org.pmesmeur.sketchit.diagram.clazz.ClassDiagramGenerator$RelationshipsGenerator.generateInnerClassesRelationships(ClassDiagramGenerator.java:519) at org.pmesmeur.sketchit.diagram.clazz.ClassDiagramGenerator$RelationshipsGenerator.generateInnerClassesAssociations(ClassDiagramGenerator.java:511) at org.pmesmeur.sketchit.diagram.clazz.ClassDiagramGenerator$RelationshipsGenerator.generate(ClassDiagramGenerator.java:460) at org.pmesmeur.sketchit.diagram.clazz.ClassDiagramGenerator$RelationshipsGenerator.generateInnerClassesRelationships(ClassDiagramGenerator.java:519) at org.pmesmeur.sketchit.diagram.clazz.ClassDiagramGenerator$RelationshipsGenerator.generateInnerClassesAssociations(ClassDiagramGenerator.java:511) at org.pmesmeur.sketchit.diagram.clazz.ClassDiagramGenerator$RelationshipsGenerator.generate(ClassDiagramGenerator.java:460) //above three lines are recurring couldn't find the start poing

Hope it helps in identifing the issue to fix

Comments (14)

  1. Philippe MESMEUR repo owner

    Hello

    First of all thank you for using Sketch.It! And thank you also for taking time to report this issue.

    As you may see, the Stack Overflow issue is recurrent in my issue backlog.

    Unfortunately, I never succeed to reproduce it on my development environment, and I have no idea about how it happens and how to correct it.

    In these conditions, I would strongly appreciate if you could provide me a light project sample allowing to reproduce the defect.

    Once again, thanks for all.

    Best regards,

    Philippe

  2. Philippe MESMEUR repo owner

    Hello Akhil,

    In Sketch.It! version 0.05.01, I added log traces in order to help to progress on the StackOverflow issue

    I would strongly appreciate if you could upgrade your Sketch.It!, reproduce the defect and provide me the logs

    Thank you for your contribution,

    Regards,

    Philippe

  3. Log in to comment