<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><div>Tim, I forgot to mention: on IBI you need to use the Java in my home dir (or any recent Java).  The particular SUn java thats the default there has some weird issue in xml parsing that causes this failure.</div><div><br></div><div>- Mike<br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;">Hi,<br>  I'm trying to get a Swift script running on the IBI cluster but have been running into some issues.  I'm using a recent development version 3029.  Running the script fails at the compile stage.  <br><br>Strangely, this script compiles without issue using exactly the same swift on other machines.  <br>
Even more strangely, it looks like the swift ->  intermediate xml step completes without any exceptions being thrown, but when I look at the xml file it contains precisely zero bytes.  It appears that this is what actually causes the karajan parser to crash.<br>
What would cause the first compile step to complete without causing an exception but not produce any output?  Do we maybe have a buffering issue?  Any suggestions for how I might solve this?<br><br>The log contents are:<br>
<br>2011-01-21 16:43:13,448-0600 DEBUG Loader Max heap: 238616576<br>2011-01-21 16:43:13,449-0600 INFO  Loader rserver.swift: source file is new. Recompiling.<br>2011-01-21 16:43:13,919-0600 DEBUG Loader Detailed exception:<br>
org.griphyn.vdl.karajan.CompilationException: Unable to parse intermediate XML<br>        at org.griphyn.vdl.engine.Karajan.compile(Karajan.java:98)<br>        at org.griphyn.vdl.karajan.Loader.compile(Loader.java:300)<br>
        at org.griphyn.vdl.karajan.Loader.main(Loader.java:145)<br>Caused by: org.apache.xmlbeans.XmlException: /tmp/tga/SwiftR/swift.local.2306/rserver.xml:2:1: error: Unexpected end of file after null<br>        at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3467)<br>
        at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1270)<br>        at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1257)<br>        at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)<br>
        at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:252)<br>        at org.globus.swift.language.ProgramDocument$Factory.parse(ProgramDocument.java:499)<br>        at org.griphyn.vdl.engine.Karajan.parseProgramXML(Karajan.java:122)<br>
        at org.griphyn.vdl.engine.Karajan.compile(Karajan.java:96)<br>        ... 2 more<br>Caused by: org.xml.sax.SAXParseException: Unexpected end of file after null<br>        at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError(Piccolo.java:1038)<br>
        at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:723)<br>        at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3435)<br>        ... 9 more<br><br><br><br>
<br>_______________________________________________<br>Swift-devel mailing list<br>Swift-devel@ci.uchicago.edu<br>http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel<br></blockquote><br><span><br><br>-- <br><span name="x"></span>Michael Wilde<br>Computation Institute, University of Chicago<br>Mathematics and Computer Science Division<br>Argonne National Laboratory<br><span name="x"></span><br></span></div></div></body></html>