gpt4 book ai didi

java - Ant 构建结果在 Eclipse 代码上为 "NullPointerException"

转载 作者:行者123 更新时间:2023-12-01 21:08:31 25 4
gpt4 key购买 nike

我们使用 Ant 来构建 Hybris 项目。在进行 Ant 清理时,我们遇到的所有问题都低于“异常”,您能帮我解决这个问题吗?我们正在使用 Mars.2 版本 4.5.2。还有 Hybris 6.2.0。 Ant 1.9.1。

 [yjavac] Internal compiler error: java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.apt.dispatch.AnnotationDiscoveryVisitor.resolveAnnotations(AnnotationDisco

[yjavac] ----------
[yjavac] java.lang.NullPointerException
[yjavac] at org.eclipse.jdt.internal.compiler.apt.dispatch.AnnotationDiscoveryVisitor.resolveAnnotations(AnnotationDiscoveryVisitor.java:236)
[yjavac] at org.eclipse.jdt.internal.compiler.apt.dispatch.AnnotationDiscoveryVisitor.visit(AnnotationDiscoveryVisitor.java:75)
[yjavac] at org.eclipse.jdt.internal.compiler.ast.Argument.traverse(Argument.java:211)
[yjavac] at org.eclipse.jdt.internal.compiler.apt.dispatch.AnnotationDiscoveryVisitor.visit(AnnotationDiscoveryVisitor.java:187)
[yjavac] at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java:317)
[yjavac] at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1379)
[yjavac] at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:748)
[yjavac] at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:709)
[yjavac] at org.eclipse.jdt.internal.compiler.apt.dispatch.RoundEnvImpl.<init>(RoundEnvImpl.java:59)
[yjavac] at org.eclipse.jdt.internal.compiler.apt.dispatch.BaseAnnotationProcessorManager.processAnnotations(BaseAnnotationProcessorManager.java:148)
[yjavac] at org.eclipse.jdt.internal.compiler.Compiler.processAnnotations(Compiler.java:818)
[yjavac] at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:434)
[yjavac] at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Main.java:4136)
[yjavac] at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1694)
[yjavac] at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.eclipse.jdt.core.JDTCompilerAdapter.execute(JDTCompilerAdapter.java:80)
[yjavac] at de.hybris.ant.taskdefs.YJavaC.executeCompilerAdapter(YJavaC.java:165)
[yjavac] at de.hybris.ant.taskdefs.YJavaC.compile(YJavaC.java:100)
[yjavac] at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:930)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
[yjavac] at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
[yjavac] at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
[yjavac] at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
[yjavac] at net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)
[yjavac] at net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)
[yjavac] at net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:299)
[yjavac] at net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
[yjavac] at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
[yjavac] at net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)
[yjavac] at net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)
[yjavac] at net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:299)
[yjavac] at net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
[yjavac] at net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)
[yjavac] at net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)
[yjavac] at net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:299)
[yjavac] at net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
[yjavac] at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
[yjavac] at net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)
[yjavac] at net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)
[yjavac] at net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:299)
[yjavac] at net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
[yjavac] at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at de.hybris.ant.taskdefs.CallMacro.execute(CallMacro.java:58)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at net.sf.antcontrib.logic.TryCatchTask.execute(TryCatchTask.java:207)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)
[yjavac] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
[yjavac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[yjavac] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[yjavac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[yjavac] at java.lang.reflect.Method.invoke(Method.java:497)
[yjavac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[yjavac] at org.apache.tools.ant.Task.perform(Task.java:348)

最佳答案

这可能是 Eclipse 错误 472224471995

这两个错误都在 Eclipse 4.6 中被标记为已修复

关于java - Ant 构建结果在 Eclipse 代码上为 "NullPointerException",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41735021/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com