Thomas Fischbacher wrote:
tf@ouija:~/Java/sisc-1.10.0/sisc$ ./sisc.sh
SISC (1.10.0-alpha) - main
#;> (load "src/sisc/modules/std-modules.scm")
Why are you doing that?
#;> (load "tests/s2j.scm")
Error: #<java java.lang.StringIndexOutOfBoundsException
java.lang.StringIndexOutOfBoundsException: String index out of range: 3>
Error in load.
Uncaught error: ((message . expected type Scheme type, got '#0=#<record #1=#<record #2=#<r...'.)
(location . type<=) (java-exception . #<java java.lang.RuntimeException java.lang.RuntimeException:
expected type Scheme type, got '#0=#<record #1=#<record #2=#<r...'.>))
Please report this error to sisc-devel@xxxxxxxxxxxxxxxxxxxxx
Uncaught error: ((message . expected type Scheme type, got '#0=#<record #1=#<record #2=#<r...'.)
(location . type<=) (java-exception . #<java java.lang.RuntimeException java.lang.RuntimeException:
expected type Scheme type, got '#0=#<record #1=#<record #2=#<r...'.>))
Please report this error to sisc-devel@xxxxxxxxxxxxxxxxxxxxx
(...)
std-modules.scm gets loaded during heap build. Things will go wrong if
you try loading it again. That's why the "uncaught error" is reported.
When loading s2j.scm without loading std-modules.scm first I get:
SISC (1.10.0-alpha) - main
#;> (load "/home/rade/programs/sisc/tests/s2j.scm")
Error: #<java java.lang.StringIndexOutOfBoundsException
java.lang.StringIndexOutOfBoundsException: String index out of range: 3>
file:../modules/s2j/reflection.scm:123:18: <from call to
@s2j-reflection::java/invoke-method>
Error in load.
?:?:?: <indeterminate call>
?:?:?: <indeterminate call>
?:?:?: <indeterminate call>
file:repl.scm:128:39: <indeterminate call>
file:repl.scm:123:25: <indeterminate call>
file:repl.scm:149:26: <indeterminate call>
file:repl.scm:137:14: <from call to call/cc>
file:repl.scm:136:13: <indeterminate call>
Caused by Error: #<java java.util.NoSuchElementException
java.util.NoSuchElementException>
file:/home/rade/programs/sisc/tests/s2j.scm:175:9: <from call to load>
#;>
That's actually two error reports. The first gets printed by code that
tests exception handling & reporting, so is not actually an error.
The second error is a bug in the test. I fixed it but there are a few
more errors after that which I need to work through.
Matthias.
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
|