[Swift-devel] [Bug 347] New: Java exception raised for invalid -cdm.file argument
bugzilla-daemon at mcs.anl.gov
bugzilla-daemon at mcs.anl.gov
Tue Apr 12 11:15:55 CDT 2011
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=347
Summary: Java exception raised for invalid -cdm.file argument
Product: Swift
Version: 0.92
Platform: PC
OS/Version: Mac OS
Status: ASSIGNED
Severity: normal
Priority: P2
Component: SwiftScript language
AssignedTo: skenny at uchicago.edu
ReportedBy: wilde at mcs.anl.gov
When no filename is specified after the -cdm.file argument on the swift
command, a Java exception is raised:
com$ rm -rf outdir; swift -cdm.file -config cf -tc.file tc -sites.file
local.xml catsnfp.swift -n=1
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String
index out of range: -1
at java.lang.String.substring(String.java:1937)
at org.griphyn.vdl.karajan.Loader.projectName(Loader.java:528)
at org.griphyn.vdl.karajan.Loader.main(Loader.java:120)
com$
--
A clear error message should in printed, instead, from command line arg
parsing.
--
Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the reporter.
More information about the Swift-devel
mailing list