Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via jsystemtest by roni_el
, 1 year ago
via sourceforge.net by Unknown author, 2 years ago
java.lang.OutOfMemoryError: Java heap space	at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:541)	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)	at net.sf.antcontrib.logic.AntCallBack.execute(AntCallBack.java:54)	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)	at org.apache.tools.ant.Task.perform(Task.java:348)	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)	at org.apache.tools.ant.Task.perform(Task.java:348)	at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)	at net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)	at net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)	at net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:299)	at net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)	at com.aqua.anttask.jsystem.JSystemForTask.execute(JSystemForTask.java:50)	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)	at org.apache.tools.ant.Task.perform(Task.java:348)	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)	at org.apache.tools.ant.Task.perform(Task.java:348)	at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)	at net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)	at net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)	at net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:299)	at net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)	at com.aqua.anttask.jsystem.JSystemForTask.execute(JSystemForTask.java:50)	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)	at org.apache.tools.ant.Task.perform(Task.java:348)	at org.apache.tools.ant.Target.execute(Target.java:357)	at org.apache.tools.ant.Target.performTasks(Target.java:385)	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)	at com.aqua.anttask.jsystem.JSystemAntTask.execute(JSystemAntTask.java:85)	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)	at org.apache.tools.ant.Task.perform(Task.java:348)	at org.apache.tools.ant.Target.execute(Target.java:357)	at org.apache.tools.ant.Target.performTasks(Target.java:385)	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)	at net.sf.antcontrib.logic.AntCallBack.execute(AntCallBack.java:54)	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)