[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Exception when running soot



Hi

I'm having troubles running soot with both Sun jre 1.3, IBM jre 1.3 and
WebGain 1.2.2 (on Win 2000). When running the command

java soot.Main --soot-classpath
g:\jbuilder4\jdk1.3\lib\jre\rt.jar;%CLASSPATH% -d newTest Test

I get the following output(exception):

Soot started on Mon Aug 06 21:25:57 CEST 2001
java.lang.StringIndexOutOfBoundsException: String index out of range: 1
        at java.lang.String.charAt(Unknown Source)
        at soot.util.SourceLocator.getInputStreamOf(SourceLocator.java:117)
        at soot.util.SourceLocator.getInputStreamOf(SourceLocator.java:80)
        at
soot.SootResolver.resolveClassAndSupportClasses(SootResolver.java:88)

        at soot.Scene.loadClassAndSupport(Scene.java:331)
        at soot.Main.run(Main.java:1409)
        at java.lang.Thread.run(Unknown Source)

Test.class exist in the current folder and my classpath is:

g:\java\soot-1.2.2\soot\jasminclasses-1.06-s10.jar;g:\java\soot-1.2.2\soot\s
ootclasses-1.2.2.jar;.

Any help is appreciated.

Regards
Mads