I am trying to analyze a Java project using SWORD. I get a similar exception:
**************************
JCSClassLoader.addClass: Class sun.plugin.viewer.LifeCycleManager already exists in the parent ClassLoader: Primordial (ProtectionDomain: file:C:/Program Files/Java/jre1.6.0_05/lib/plugin.jar) Ignoring the duplicate.
.
.
.
JCSClassLoader.addClass: Class sun.plugin.viewer.WNetscapePluginContext already exists in the parent ClassLoader: Primordial (ProtectionDomain: file:C:/Program Files/Java/jre1.6.0_05/lib/plugin.jar) Ignoring the duplicate.
JCSClassLoader.addClass: Class sun.plugin.viewer.WNetscapePluginObject$1 already exists in the parent ClassLoader: Primordial (ProtectionDomain: file:C:/Program Files/Java/jre1.6.0_05/lib/plugin.jar) Ignoring the duplicate.
JCSClassLoader.addClass: Class sun.plugin.viewer.WNetscapePluginObject$2 already exists in the parent ClassLoader: Primordial (ProtectionDomain: file:C:/Program Files/Java/jre1.6.0_05/lib/plugin.jar) Ignoring the duplicate.
JCSClassLoader.addClass: Class sun.plugin.viewer.WNetscapePluginObject$Initer already exists in the parent ClassLoader: Primordial (ProtectionDomain: file:C:/Program Files/Java/jre1.6.0_05/lib/plugin.jar) Ignoring the duplicate.
JCSClassLoader.addClass: Class sun.plugin.viewer.WNetscapePluginObject already exists in the parent ClassLoader: Primordial (ProtectionDomain: file:C:/Program Files/Java/jre1.6.0_05/lib/plugin.jar) Ignoring the duplicate.
JCSClassLoader.addClass: Class sun.plugin.WJcovUtil already exists in the parent ClassLoader: Primordial (ProtectionDomain: file:C:/Program Files/Java/jre1.6.0_05/lib/plugin.jar) Ignoring the duplicate.
C.H. CRC values do not match: Jars: 3698382950 c.h. file: 143158787
Rebuilding the C.H. cache file C:\ApplSIn\Produkter\e-SafekeyJavaWithAnt\src\Analysis\eSafeKeyWithAnt\Applicat ion.ch
JCSLog: created file: C:\ApplSIn\Produkter\e-SafekeyJavaWithAnt\src\Analysis\eSafeKeyWithAnt/Applicat ion.ch
Actual URL(s):
file:C:/ApplSIn/Produkter/e-SafekeyJavaWithAnt/src/eSafeKeyWithAnt.jar
file:C:/ApplSIn/Produkter/e-SafekeyJavaWithAnt/iaik_cms.jar
file:C:/ApplSIn/Produkter/e-SafekeyJavaWithAnt/iaik_jce.jar
file:C:/Program Files/Java/jre1.6.0_03/lib/plugin.jar
Main: Finding root nodes.
Analyzing the program.
Total elapsed time: 6000ms. Interval time: 6000ms.
com.ibm.toad.utils.D$AssertionException:
Assertion failure:illegal LDC_W type7
at com.ibm.toad.utils.D.assert(Unknown Source)
at com.ibm.toad.utils.D.abort(Unknown Source)
at com.ibm.toad.jan.jbc.myIter.traverse(Unknown Source)
at com.ibm.toad.jan.jbc.cfgimpl.FindLeadersVisitor.findLeaders(Unknown Source)
at com.ibm.toad.jan.jbc.cfgimpl.myCFG.<init>(Unknown Source)
at com.ibm.toad.jan.jbc.cfgimpl.CFGFactory.makeNewGraph(Unknown Source)
at com.ibm.etools.saber.engine.cs.JCSMethodCFP.processByteCodes(Unknown Source)
at com.ibm.etools.saber.engine.cs.JCSMethodLP.processByteCodesAndResolve(Unknown Source)
at com.ibm.etools.saber.engine.cs.JCSMethodLP.getReturnTypeFunctSet(Unknown Source)
at com.ibm.etools.saber.engine.cg.CGCallSiteSimpleImpl.doReturnValue(Unknown Source)
at com.ibm.etools.saber.engine.cg.CGCallSiteSimpleImpl.doAllCallSites(Unknown Source)
at com.ibm.etools.saber.engine.cg.CGCallSiteSimpleImpl.evaluateSite(Unknown Source)
at com.ibm.etools.saber.engine.cg.OldCallGraph.traverse(Unknown Source)
at com.ibm.etools.saber.engine.cg.OldCallGraph.makeCallGraph(Unknown Source)
at com.ibm.etools.saber.engine.main.Main.process(Unknown Source)
at com.ibm.etools.saber.engine.main.Main.start(Unknown Source)
at com.ibm.etools.saber.engine.main.Main.start(Unknown Source)
at com.ibm.security.handlers.j2sesa.AnalysisHandler.startNewAnalysis(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.ibm.security.j2sesa.jobs.JarAnalysisJob.run(JarAnalysisJob.java:248)
at java.lang.Thread.run(Unknown Source)
**************************
I downloaded "SWORD4J.zip" on May 23rd 2008 and am using
"com.ibm.security.j2sesa_2.0.126.jar"
Eclipse SDK
Version: 3.2.2
Build id: M20070212-1330
Anyone have any suggestions as to a solution ?