[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NullPointerException in TypeNode.<init>
Hi Rohan,
We have only MacOS X 10.0.3, and only jdk1.2 and 1.3 available. I runed
'soot --jimple Hello' correctly on jdk1.3. Please let us know if you find
out the cause of exception.
Cheers,
-- Feng
On Sun, 1 Jun 2003, Rohan Lloyd wrote:
> I'm trying to run soot on Mac OS X, and I get the following error:
>
> rohanl@gromit> soot --jimple Hello
> Soot started on Sun Jun 01 17:56:58 EST 2003
> Transforming Hello... Exception in thread "main"
> java.lang.NullPointerException
> at soot.jimple.toolkits.typing.TypeNode.<init>(TypeNode.java:88)
> at
> soot.jimple.toolkits.typing.ClassHierarchy$ConstructorChooser.caseRefTyp
> e(ClassHierarchy.java:240)
> at soot.RefType.apply(RefType.java:153)
> at
> soot.jimple.toolkits.typing.ClassHierarchy$ConstructorChooser.typeNode(C
> lassHierarchy.java:233)
> at
> soot.jimple.toolkits.typing.ClassHierarchy.typeNode(ClassHierarchy.java:
> 129)
> at
> soot.jimple.toolkits.typing.ClassHierarchy.<init>(ClassHierarchy.java:84
> )
> at
> soot.jimple.toolkits.typing.ClassHierarchy.classHierarchy(ClassHierarchy
> .java:107)
> at
> soot.jimple.toolkits.typing.TypeResolver.<init>(TypeResolver.java:157)
> at
> soot.jimple.toolkits.typing.TypeResolver.resolve(TypeResolver.java:180)
> at
> soot.jimple.toolkits.typing.TypeAssigner.internalTransform(TypeAssigner.
> java:59)
> at soot.BodyTransformer.transform(BodyTransformer.java:58)
> at soot.BodyTransformer.transform(BodyTransformer.java:80)
> at soot.jimple.JimpleBody.applyPhaseOptions(JimpleBody.java:118)
> at
> soot.coffi.CoffiMethodSource.getBody(CoffiMethodSource.java:111)
> at soot.SootMethod.getBodyFromMethodSource(SootMethod.java:89)
> at soot.SootMethod.retrieveActiveBody(SootMethod.java:311)
> at soot.Main.handleClass(Main.java:2186)
> at soot.Main.processClasses(Main.java:1775)
> at soot.Main.run(Main.java:1684)
> at soot.Main.main(Main.java:1573)
>
> rohanl@gromit> java -version
> java version "1.4.1_01"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39)
> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode)
>
> rohanl@gromit> soot --version
> Soot version 1.2.5
> Copyright (C) 1997-2003 Raja Vallee-Rai (rvalleerai@sable.mcgill.ca).
> All rights reserved.
>
> Any ideas?
>
> --
> Rohan Lloyd
>