ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6106] New: - String index out of range exception
Date Tue, 29 Jan 2002 18:29:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6106>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6106

String index out of range exception

           Summary: String index out of range exception
           Product: Ant
           Version: 1.3
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Build Process
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: KitCrumpton@gd-decisionsystems.com


Problem Description: Windows 98 only

String index out of range exception. The following messages were generated and 
are shown below.

Please let me know if you want me to send the build.xml file. The first 6 lines 
of the file are:
<?xml version="1.0"?>
<!-- This is a technique used to include define a file to include -->
<!DOCTYPE project [
  <!ENTITY IncludeBuildEnv SYSTEM "\..\..\..\..\..\..\buildEnv.xml">
  %IncludeBuildEnv;
]>  

Thank you in advance.  Kit Crumpton

BUILD FAILED

C:\openwings\HelloWorldServiceSync_im-0.1
\src\com\gd\openwings\demo\helloworld\service_sync\build.xml:4: 
C:\openwings\HelloWorldServiceSync_im-0.1\src\com\gd\
Total time: 1 second
d\service_sync\build.xml:4: java.lang.StringIndexOutOfBoundsException: String 
index out of range: -1
--- Nested Exception ---
C:\openwings\HelloWorldServiceSync_im-0.1
\src\com\gd\openwings\demo\helloworld\service_sync\build.xml:4: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
--- Nested Exception ---
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.String.substring(String.java:1525)
	at org.apache.tools.ant.taskdefs.Property.loadEnvironment
(Property.java:248)
	at org.apache.tools.ant.taskdefs.Property.execute(Property.java:172)
	at org.apache.tools.ant.ProjectHelper$TaskHandler.finished
(ProjectHelper.java:482)
	at org.apache.tools.ant.ProjectHelper$AbstractHandler.endElement
(ProjectHelper.java:204)
	at com.sun.xml.parser.Parser.maybeElement(Parser.java:1413)
	at com.sun.xml.parser.Parser.content(Parser.java:1499)
	at com.sun.xml.parser.Parser.externalParsedEntity(Parser.java:2464)
	at com.sun.xml.parser.Parser.expandEntityInContent(Parser.java:2214)
	at com.sun.xml.parser.Parser.maybeReferenceInContent(Parser.java:2090)
	at com.sun.xml.parser.Parser.content(Parser.java:1549)
	at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
	at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
	at com.sun.xml.parser.Parser.parse(Parser.java:284)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
	at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:117)
	at org.apache.tools.ant.ProjectHelper.configureProject
(ProjectHelper.java:85)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:199)
	at org.apache.tools.ant.Target.execute(Target.java:153)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)
	at org.apache.tools.ant.Target.execute(Target.java:153)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
	at org.apache.tools.ant.Target.execute(Target.java:153)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)
	at org.apache.tools.ant.Target.execute(Target.java:153)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
	at org.apache.tools.ant.Target.execute(Target.java:153)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)
	at org.apache.tools.ant.Target.execute(Target.java:153)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
	at org.apache.tools.ant.Target.execute(Target.java:153)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)
	at org.apache.tools.ant.Target.execute(Target.java:153)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
	at org.apache.tools.ant.Target.execute(Target.java:153)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)
	at org.apache.tools.ant.Target.execute(Target.java:153)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
	at org.apache.tools.ant.Target.execute(Target.java:153)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)
	at org.apache.tools.ant.Target.execute(Target.java:153)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
	at org.apache.tools.ant.Target.execute(Target.java:153)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)
	at org.apache.tools.ant.Target.execute(Target.java:153)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.Project.executeTargets(Project.java:510)
	at org.apache.tools.ant.Main.runBuild(Main.java:421)
	at org.apache.tools.ant.Main.main(Main.java:149)

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message