java.lang.IllegalArgumentException: empty expression should not be here during generating Javascript code

YouTrack | 9 months ago
  1. 0

    K2JS crashes on `when` condition containing `return`, `break` or `continue`

    YouTrack | 9 months ago
    java.lang.IllegalArgumentException: empty expression should not be here during generating Javascript code
  2. 0
    This happened when I tried to insert an empty list of elements to a collection.
  3. 0
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      empty expression should not be here during generating Javascript code

      at com.google.dart.compiler.backend.js.ast.JsEmptyExpression.accept()
    2. com.google.dart
      JsIf.accept
      1. com.google.dart.compiler.backend.js.ast.JsEmptyExpression.accept(JsEmptyExpression.java:34)
      2. com.google.dart.compiler.backend.js.ast.JsVisitor.accept(JsVisitor.kt:11)
      3. com.google.dart.compiler.backend.js.ast.JsIf.acceptChildren(JsIf.java:63)
      4. com.google.dart.compiler.backend.js.ast.RecursiveJsVisitor.visitElement(RecursiveJsVisitor.java:8)
      5. com.google.dart.compiler.backend.js.ast.JsVisitor.visitIf(JsVisitor.kt:85)
      6. com.google.dart.compiler.backend.js.ast.JsIf.accept(JsIf.java:58)
      6 frames