package dev.remaker.demo;
public class Main {
public static int totalCount = 1;
public static int didCreateProject = totalCount++;
public static void main(String[] args) {
System.out.println("Total count: " + totalCount);
}
}
Stacktrace:
Stack trace:
java.lang.IllegalStateException: com.sun.tools.javac.util.FatalError: Fatal Error: Unable to find method makeConcatWithConstants
at com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:574)
at org.cosmicide.editor.analyzers.JavaAnalyzer.analyze(JavaAnalyzer.kt:100)
at org.cosmicide.editor.analyzers.EditorDiagnosticsMarker$analyze$1.invokeSuspend(EditorDiagnosticsMarker.kt:43)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:100)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@6ff649c, Dispatchers.IO]
Caused by: com.sun.tools.javac.util.FatalError: Fatal Error: Unable to find method makeConcatWithConstants
at com.sun.tools.javac.comp.Resolve.resolveInternalMethod(Resolve.java:2836)
at com.sun.tools.javac.jvm.StringConcat$IndyConstants.doCall(StringConcat.java:490)
at com.sun.tools.javac.jvm.StringConcat$IndyConstants.emit(StringConcat.java:450)
at com.sun.tools.javac.jvm.StringConcat$Indy.makeConcat(StringConcat.java:275)
at com.sun.tools.javac.jvm.Gen.visitBinary(Gen.java:2149)
at com.sun.tools.javac.tree.JCTree$JCBinary.accept(JCTree.java:2173)
at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:881)
at com.sun.tools.javac.jvm.Gen.genArgs(Gen.java:906)
at com.sun.tools.javac.jvm.Gen.visitApply(Gen.java:1879)
at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1814)
at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:881)
at com.sun.tools.javac.jvm.Gen.visitExec(Gen.java:1747)
at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1601)
at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:614)
at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:649)
at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:635)
at com.sun.tools.javac.jvm.Gen.genStats(Gen.java:686)
at com.sun.tools.javac.jvm.Gen.visitBlock(Gen.java:1101)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1106)
at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:614)
at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:649)
at com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:971)
at com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:934)
at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:936)
at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:614)
at com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2422)
at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:767)
at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1725)
at com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:593)
at com.sun.tools.javac.api.JavacTaskImpl.lambda$generate$2$com-sun-tools-javac-api-JavacTaskImpl(JavacTaskImpl.java:570)
at com.sun.tools.javac.api.JavacTaskImpl$$ExternalSyntheticLambda2.call(Unknown Source:2)
at com.sun.tools.javac.api.JavacTaskImpl.invocationHelper(JavacTaskImpl.java:169)
at com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:570)
... 10 more
User actions:
2023-07-24 10:21:04: MainActivity created
2023-07-24 10:21:05: MainActivity resumed
It crashes when I open this code:
Stacktrace: