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 calebegg
, 1 year ago
Failed to emit type $jscomp.scope.Bar
java.lang.RuntimeException: Failed to emit type $jscomp.scope.Bar at com.google.javascript.clutz.DeclarationGenerator$TreeWalker.visitType(DeclarationGenerator.java:1172) at com.google.javascript.clutz.DeclarationGenerator$TreeWalker.visitType(DeclarationGenerator.java:940) at com.google.javascript.clutz.DeclarationGenerator$TreeWalker.visitTypeDeclaration(DeclarationGenerator.java:910) at com.google.javascript.clutz.DeclarationGenerator$TreeWalker.visitFunctionParameters(DeclarationGenerator.java:1383) at com.google.javascript.clutz.DeclarationGenerator$TreeWalker.visitObjectType(DeclarationGenerator.java:1265) at com.google.javascript.clutz.DeclarationGenerator$TreeWalker.visitClassOrInterface(DeclarationGenerator.java:822) at com.google.javascript.clutz.DeclarationGenerator$TreeWalker.walk(DeclarationGenerator.java:702) at com.google.javascript.clutz.DeclarationGenerator$TreeWalker.access$100(DeclarationGenerator.java:636) at com.google.javascript.clutz.DeclarationGenerator.declareNamespace(DeclarationGenerator.java:345) at com.google.javascript.clutz.DeclarationGenerator.produceDts(DeclarationGenerator.java:228) at com.google.javascript.clutz.DeclarationGenerator.generateDeclarations(DeclarationGenerator.java:168) at com.google.javascript.clutz.DeclarationGenerator.generateDeclarations(DeclarationGenerator.java:143) at com.google.javascript.clutz.DeclarationGenerator.main(DeclarationGenerator.java:88)Caused by: java.lang.RuntimeException: Did not find a matching goog.module while processing type $jscomp.scope.Bar at com.google.javascript.clutz.DeclarationGenerator$TreeWalker.visitSyntheticModuleTypes(DeclarationGenerator.java:1191) at com.google.javascript.clutz.DeclarationGenerator$TreeWalker.access$1800(DeclarationGenerator.java:636) at com.google.javascript.clutz.DeclarationGenerator$TreeWalker$1.caseObjectType(DeclarationGenerator.java:996) at com.google.javascript.clutz.DeclarationGenerator$TreeWalker$1.caseObjectType(DeclarationGenerator.java:955) at com.google.javascript.rhino.jstype.ObjectType.visit(ObjectType.java:602) at com.google.javascript.clutz.DeclarationGenerator$TreeWalker.visitType(DeclarationGenerator.java:1170) ... 12 more