java.lang.IllegalArgumentException: Invalid operator: 126

htmlunit | zmeuldumy | 6 years 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

    UnaryExpression#toSource() fails with void operator

    htmlunit | 6 years ago | zmeuldumy
    java.lang.IllegalArgumentException: Invalid operator: 126

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Invalid operator: 126

      at net.sourceforge.htmlunit.corejs.javascript.ast.AstNode.operatorToString()
    2. HtmlUnit Core JS
      UnaryExpression.toSource
      1. net.sourceforge.htmlunit.corejs.javascript.ast.AstNode.operatorToString(AstNode.java:360)
      2. net.sourceforge.htmlunit.corejs.javascript.ast.UnaryExpression.toSource(UnaryExpression.java:165)
      2 frames