[Swift-user] Swift script throws exception in mapping
Michael Wilde
wilde at mcs.anl.gov
Wed Aug 29 14:56:40 CDT 2007
The swift script:
type pcapfile;
type angleout;
type anglecenter;
(angleout ofile, anglecenter cfile) angle4 (pcapfile ifile)
{
app { angle4 @ifile @ofile @cfile; }
}
pcapfile pcapfiles[]<filesys_mapper; prefix="pc", suffix=".pcap">;
foreach pf in pcapfiles {
angleout of;
anglecenter cf;
(of,cf) = angle4(pf);
}
throws the error below using trunk, 1730, updated around noon today:
awf2.swift: source file is new. Recompiling.
Using sites file: /home/wilde/swift1730/vdsk-0.2-dev/bin/../etc/sites.xml
Using tc.data: /home/wilde/swift1730/vdsk-0.2-dev/bin/../etc/tc.data
Swift v0.2-dev
RunID: amf8l37tq0rh1
java.lang.ClassCastException: org.griphyn.vdl.mapping.RootDataNode
java.lang.ClassCastException: org.griphyn.vdl.mapping.RootDataNode
vdl:new @ awf2.kml, line: 47
Caused by: java.lang.ClassCastException:
org.griphyn.vdl.mapping.RootDataNode
at
org.griphyn.vdl.mapping.RootArrayDataNode.init(RootArrayDataNode.java:22)
at org.griphyn.vdl.karajan.lib.New.function(New.java:88)
...
The source, data and out/log files are attached.
This code seemed to work circa 8/1 with 0.2 (or with a patch that Ben
made to 0.2 around that date).
I will continue to fiddle with it and try simpler code using 1730 but
I'd appreciate it Ben and/or Mihael if you could investigate.
Thanks,
- Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug2.tar
Type: application/x-tar
Size: 51200 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20070829/9f559d3d/attachment.tar>
More information about the Swift-user
mailing list