java.lang.UnsupportedOperationException: EMPTY is not a string node

GitHub | supersteves | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Invalid var args jsdoc crashes the pretty printer

    GitHub | 8 months ago | supersteves
    java.lang.UnsupportedOperationException: EMPTY is not a string node

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      EMPTY is not a string node

      at com.google.javascript.rhino.Node.getString()
    2. Closure Compiler
      CodeGenerator.add
      1. com.google.javascript.rhino.Node.getString(Node.java:1095)
      2. com.google.javascript.jscomp.JSDocInfoPrinter.appendTypeNode(JSDocInfoPrinter.java:296)
      3. com.google.javascript.jscomp.JSDocInfoPrinter.appendTypeNode(JSDocInfoPrinter.java:250)
      4. com.google.javascript.jscomp.JSDocInfoPrinter.typeNode(JSDocInfoPrinter.java:228)
      5. com.google.javascript.jscomp.JSDocInfoPrinter.buildParamType(JSDocInfoPrinter.java:220)
      6. com.google.javascript.jscomp.JSDocInfoPrinter.print(JSDocInfoPrinter.java:128)
      7. com.google.javascript.jscomp.CodeGenerator.add(CodeGenerator.java:114)
      7 frames