Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fail with IDEA 2024.3.x #3539

Open
spinachomes opened this issue Jan 9, 2025 · 0 comments
Open

Build fail with IDEA 2024.3.x #3539

spinachomes opened this issue Jan 9, 2025 · 0 comments

Comments

@spinachomes
Copy link
Contributor

spinachomes commented Jan 9, 2025

Build fail with IDEA 2024.3.x,but it's ok with IDEA 2024.2.x

Steps to reproduce

use IDEA build project with jdk21 and ebean 15.8.1

  // some java code
  [// some logging output](java: Failed to initialise EntityClassRegister error:javax.annotation.processing.FilerException: Attempt to recreate a file for type cn.gov.police.model.entity.EbeanEntityRegister stack:[jdk.compiler/com.sun.tools.javac.processing.JavacFiler.checkNameAndExistence(JavacFiler.java:741), jdk.compiler/com.sun.tools.javac.processing.JavacFiler.createSourceOrClassFile(JavacFiler.java:498), jdk.compiler/com.sun.tools.javac.processing.JavacFiler.createSourceFile(JavacFiler.java:435), org.jetbrains.jps.javac.APIWrappers$FilerWrapper.createSourceFile(APIWrappers.java:298), java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103), java.base/java.lang.reflect.Method.invoke(Method.java:580), org.jetbrains.jps.javac.APIWrappers$1.invoke(APIWrappers.java:366), org.jetbrains.jps.javac.$Proxy18.createSourceFile(Unknown Source), io.ebean.querybean.generator.ProcessingContext.createWriter(ProcessingContext.java:399), io.ebean.querybean.generator.SimpleModuleInfoWriter.<init>(SimpleModuleInfoWriter.java:31), io.ebean.querybean.generator.Processor.initModuleInfoBean(Processor.java:92), io.ebean.querybean.generator.Processor.process(Processor.java:52), org.jetbrains.jps.javac.APIWrappers$ProcessorWrapper.process(APIWrappers.java:209), java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103), java.base/java.lang.reflect.Method.invoke(Method.java:580), org.jetbrains.jps.javac.APIWrappers$1.invoke(APIWrappers.java:366), lombok.launch.AnnotationProcessorHider$AnnotationProcessor.process(Unknown Source), jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:1021), jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:937), jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1265), jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1380), jdk.compiler/com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1272), jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:946), jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.lambda$doCall$0(JavacTaskImpl.java:104), jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.invocationHelper(JavacTaskImpl.java:152), jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:100), jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:94), org.jetbrains.jps.javac.JavacMain.compile(JavacMain.java:238), org.jetbrains.jps.incremental.java.JavaBuilder.lambda$compileJava$2(JavaBuilder.java:534), org.jetbrains.jps.incremental.java.JavaBuilder.invokeJavac(JavaBuilder.java:596), org.jetbrains.jps.incremental.java.JavaBuilder.compileJava(JavaBuilder.java:532), org.jetbrains.jps.incremental.java.JavaBuilder.compile(JavaBuilder.java:376), org.jetbrains.jps.incremental.java.JavaBuilder.doBuild(JavaBuilder.java:301), org.jetbrains.jps.incremental.java.JavaBuilder.build(JavaBuilder.java:255), org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:1468), org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:595), org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:1573), org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:1287), org.jetbrains.jps.incremental.IncProjectBuilder$BuildParallelizer$1.run(IncProjectBuilder.java:1249), com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:249), com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:30), com.intellij.util.concurrency.BoundedTaskExecutor$1.executeFirstTaskAndHelpQueue(BoundedTaskExecutor.java:227), com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:218), com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:212), java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144), java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642), java.base/java.lang.Thread.run(Thread.java:1583)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant