Skip to main content

alphaWorks  >  forumlabel  >  Security Workbench Development Environment for Java  >  developerWorks

Problem during security analysis    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

loginbox.header
 loginbox.welcomelabel loginbox.guestlabel
loginbox.signin
This question is not answered.

Permlink Replies: 1 - Pages: 1 - Last Post: May 27, 2008 6:40 PM Last Post By: habeck Threads: [ Previous | Next ]
tcelvis

Posts: 1
Registered: May 27, 2008 04:56:48 AM
Problem during security analysis
Posted: May 27, 2008 05:09:09 AM
 
Click to report abuse...   Click to reply to this thread Reply
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 ?

habeck

Posts: 10
Registered: Mar 05, 2004 10:43:14 AM
Re: Problem during security analysis
Posted: May 27, 2008 06:40:04 PM   in response to: tcelvis in response to: tcelvisthread.responsepost
 
Click to report abuse...   Click to reply to this thread Reply
Hi,

An LDC_W type 7 error can occur when running a deep analysis against Java 1.5, or 1.6 bytecode with an out of date toad library.

Please check your active configuration (Select Help->Software Updates->Manage Configuration), and see if an older version of the com.ibm.security.j2sesa plug-in is installed and enabled. (Be sure to click the show disabled features push-button on the "Product Configuration" dialog toolbar menu).

Point your RSS reader here for a feed of the latest messages in all forums