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 GitHub by mdiiorio
, 1 year ago
Enum.java:12: could not find constructor
com.google.devtools.j2objc.ast.TreeVisitorAssertionError: Enum.java:12: could not find constructor	at com.google.devtools.j2objc.translate.AnonymousClassConverter.findSuperConstructorBinding(AnonymousClassConverter.java:179)	at com.google.devtools.j2objc.translate.AnonymousClassConverter.addDefaultConstructor(AnonymousClassConverter.java:137)	at com.google.devtools.j2objc.translate.AnonymousClassConverter.endVisit(AnonymousClassConverter.java:93)	at com.google.devtools.j2objc.ast.AnonymousClassDeclaration.acceptInner(AnonymousClassDeclaration.java:73)	at com.google.devtools.j2objc.ast.TreeNode.accept(TreeNode.java:106)	at com.google.devtools.j2objc.ast.ChildLink.accept(ChildLink.java:76)	at com.google.devtools.j2objc.ast.EnumConstantDeclaration.acceptInner(EnumConstantDeclaration.java:103)	at com.google.devtools.j2objc.ast.TreeNode.accept(TreeNode.java:106)	at com.google.devtools.j2objc.ast.ChildLink.accept(ChildLink.java:76)	at com.google.devtools.j2objc.ast.ChildList.accept(ChildList.java:91)	at com.google.devtools.j2objc.ast.EnumDeclaration.acceptInner(EnumDeclaration.java:65)	at com.google.devtools.j2objc.ast.TreeNode.accept(TreeNode.java:106)	at com.google.devtools.j2objc.ast.ChildLink.accept(ChildLink.java:76)	at com.google.devtools.j2objc.ast.ChildList.accept(ChildList.java:91)	at com.google.devtools.j2objc.ast.CompilationUnit.acceptInner(CompilationUnit.java:199)	at com.google.devtools.j2objc.ast.TreeNode.accept(TreeNode.java:106)	at com.google.devtools.j2objc.ast.TreeVisitor.run(TreeVisitor.java:39)	at com.google.devtools.j2objc.pipeline.TranslationProcessor.applyMutations(TranslationProcessor.java:181)	at com.google.devtools.j2objc.pipeline.TranslationProcessor.processConvertedTree(TranslationProcessor.java:100)	at com.google.devtools.j2objc.pipeline.FileProcessor.processCompiledSource(FileProcessor.java:173)	at com.google.devtools.j2objc.pipeline.FileProcessor.access$000(FileProcessor.java:43)	at com.google.devtools.j2objc.pipeline.FileProcessor$1.handleParsedUnit(FileProcessor.java:145)	at com.google.devtools.j2objc.util.JdtParser$1.acceptAST(JdtParser.java:165)	at j2objc.org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:1029)	at j2objc.org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:636)	at j2objc.org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:990)	at com.google.devtools.j2objc.util.JdtParser.parseFiles(JdtParser.java:174)	at com.google.devtools.j2objc.pipeline.FileProcessor.processBatch(FileProcessor.java:153)	at com.google.devtools.j2objc.pipeline.FileProcessor.processInputs(FileProcessor.java:72)	at com.google.devtools.j2objc.pipeline.TranslationProcessor.processInputs(TranslationProcessor.java:80)	at com.google.devtools.j2objc.J2ObjC.run(J2ObjC.java:139)	at com.google.devtools.j2objc.J2ObjC.main(J2ObjC.java:174)