gpt4 book ai didi

org.eclipse.jdt.internal.compiler.codegen.CodeStream.newArray 处的 java.lang.NullPointerException

转载 作者:行者123 更新时间:2023-12-02 06:13:33 27 4
gpt4 key购买 nike

环境jdk1.8 Spring 工具套件4

问题由于eclipse java问题,无法调试项目。

关键字codegen.TypeAnnotationCodeStream.newArray

详情

Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".

Contains: Errors running builder 'Java Builder' on project 'goodslist'.
java.lang.NullPointerException
at org.eclipse.jdt.internal.compiler.codegen.CodeStream.newArray(CodeStream.java:6096)
at org.eclipse.jdt.internal.compiler.codegen.TypeAnnotationCodeStream.newArray(TypeAnnotationCodeStream.java:88)
at org.eclipse.jdt.internal.compiler.ast.ArrayInitializer.generateCode(ArrayInitializer.java:82)
at org.eclipse.jdt.internal.compiler.ast.ArrayInitializer.generateCode(ArrayInitializer.java:70)
at org.eclipse.jdt.internal.compiler.ast.ReturnStatement.generateCode(ReturnStatement.java:224)
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:344)
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:281)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:578)
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:648)
at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.generateCode(CompilationUnitDeclaration.java:410)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:903)
at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:145)
at java.lang.Thread.run(Thread.java:748)

enter image description here

最佳答案

这可能是你的问题吗? https://bugs.eclipse.org/bugs/show_bug.cgi?id=383624

错误报告中有很多文本,但其中提到了“org.eclipse.jdt.internal.compiler.codegen.CodeStream.newArray”,并且在某些情况下提到了 Null。

该错误已标记为已修复。也许仔细检查您的版本,您可能需要更新您的 Eclipse 版本...

关于org.eclipse.jdt.internal.compiler.codegen.CodeStream.newArray 处的 java.lang.NullPointerException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55888358/

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