java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Crash on specific input
    via GitHub by calebegg
    ,
    • 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
    No Bugmate found.