[Soot-list] Soot Exception, Semantic Error: duplicate member class and package
Jochen Huck
jochen.huck at student.kit.edu
Sat Dec 18 09:41:47 EST 2010
Hi,
thanks for your reply. Since I have to analyze source code I'll try to
use the polyglot frontend or I'll simply rename the class or the package.
Regards,
Jochen
Am 17.12.2010 14:41, schrieb Tobias Gutzmann:
> Hi,
>
> I experienced the very same problem before using soot. I cannot analyze
> recoder (recoder.sf.net) - there's a class recoder.java.Expression and a
> package recoder.java.expression. It doesn't look like a bug in soot
> itself but in the third-party library JastAdd. I simply analyzed the
> bytecode instead of the source code. Alternatively, use polyglot (but
> afaik it only supports up to Java 1.4).
>
> Regards,
> Tobias
>
>
> On 2010-12-17 14:11, Jochen Huck wrote:
>> Hi,
>>
>> The project (ImageJ, http://rsbweb.nih.gov/ij/download/src/,
>> ij144l-src.zip) I am analyzing compiles and runs successfully. I got
>> following exception running soot:
>>
>> ij\Macro.java:15:
>> Semantic Error: duplicate member class and package Macro
>> Exception in thread "Thread-5" soot.CompilationDeathException: there
>> were errors during parsing and/or type checking (JastAdd frontend)
>> at soot.JastAddInitialResolver.formAst(JastAddInitialResolver.java:63)
>> at soot.JavaClassSource.resolve(JavaClassSource.java:54)
>> at soot.SootResolver.bringToHierarchy(SootResolver.java:194)
>> at soot.SootResolver.bringToSignatures(SootResolver.java:219)
>> at soot.SootResolver.bringToBodies(SootResolver.java:260)
>> at soot.SootResolver.processResolveWorklist(SootResolver.java:135)
>> at soot.SootResolver.resolveClass(SootResolver.java:124)
>> at soot.Scene.loadClass(Scene.java:425)
>> at soot.Scene.loadClassAndSupport(Scene.java:410)
>> at soot.Scene.loadNecessaryClass(Scene.java:1010)
>> at soot.Scene.loadNecessaryClasses(Scene.java:1024)
>> at soot.Main.run(Main.java:167)
>> at soot.Main.main(Main.java:141)
>> at analysis.MainAnalysis.main(MainAnalysis.java:38)
>>
>> I don't understand the problem. Is it possible that the class ij.Macro
>> is in conflict with the package ij.macro.* ?
>>
>> Thanks,
>>
>> Jochen
>> _______________________________________________
>> Soot-list mailing list
>> Soot-list at sable.mcgill.ca
>> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
More information about the Soot-list
mailing list