Task #859 (closed)
Opened 17 years ago
Closed 10 years ago
Ivy fails with StackOverflowError when CLASSPATH is set via Classpath.sh
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | Milestone: | Unscheduled |
Component: | Deployment | Version: | 3.0-M1 |
Keywords: | any, ivy | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
cd components/server . target/generated/resources/Classpath.sh ant quick install
results in
Buildfile: build.xml quick: deps-configure: deps-retrieve: [ivy:retrieve] :: Ivy 2.0.0-beta1 - 20071206070608 :: http://ant.apache.org/ivy/ :: :: loading settings :: file = /Users/josh/code/git/etc/ivysettings.xml BUILD FAILED java.lang.StackOverflowError Total time: 2 seconds
And more specifically:
BUILD FAILED java.lang.StackOverflowError at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1225) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.Main.runBuild(Main.java:668) at org.apache.tools.ant.Main.startAnt(Main.java:187) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Caused by: java.lang.StackOverflowError at org.apache.xerces.impl.xs.XMLSchemaLoader.processJAXPSchemaSource(XMLSchemaLoader.java:575) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:489) at org.apache.xerces.impl.xs.XMLSchemaLoader.processJAXPSchemaSource(XMLSchemaLoader.java:588) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:489) ...repeating...
Workaround:
- Unset CLASSPATH, or
- Use env CLASSPATH= ant quick install
Change History (1)
comment:1 Changed 10 years ago by jamoore
- Resolution set to invalid
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Haven't seen this subsequently.