org.apache.cassandra.exceptions.InvalidRequestException: Failed to compile function 'cql_test_keyspace_alt.function_75' for language javascript: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: missing name after . operator (<Unknown Source>#1)

Apache's JIRA Issue Tracker | Robert Stupp | 3 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

    * is Java Driver as a dependency required ? * is it possible to extract parts of the Java Driver for UDT/TT/coll support ? * CQL {{DROP TYPE}} must check UDFs * must check keyspace access permissions (if those exist)

    Apache's JIRA Issue Tracker | 3 years ago | Robert Stupp
    org.apache.cassandra.exceptions.InvalidRequestException: Failed to compile function 'cql_test_keyspace_alt.function_75' for language javascript: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: missing name after . operator (<Unknown Source>#1)

    Root Cause Analysis

    1. org.apache.cassandra.exceptions.InvalidRequestException

      Failed to compile function 'cql_test_keyspace_alt.function_75' for language javascript: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: missing name after . operator (<Unknown Source>#1)

      at org.apache.cassandra.cql3.functions.ScriptBasedUDF.<init>()
    2. org.apache.cassandra
      UFTest.testJavascriptTupleTypeCollection
      1. org.apache.cassandra.cql3.functions.ScriptBasedUDF.<init>(ScriptBasedUDF.java:86)
      2. org.apache.cassandra.cql3.functions.UDFunction.create(UDFunction.java:202)
      3. org.apache.cassandra.cql3.statements.CreateFunctionStatement.announceMigration(CreateFunctionStatement.java:132)
      4. org.apache.cassandra.cql3.statements.SchemaAlteringStatement.executeInternal(SchemaAlteringStatement.java:92)
      5. org.apache.cassandra.cql3.QueryProcessor.executeOnceInternal(QueryProcessor.java:349)
      6. org.apache.cassandra.cql3.CQLTester.execute(CQLTester.java:436)
      7. org.apache.cassandra.cql3.CQLTester.createFunctionOverload(CQLTester.java:298)
      8. org.apache.cassandra.cql3.CQLTester.createFunction(CQLTester.java:289)
      9. org.apache.cassandra.cql3.UFTest.testJavascriptTupleTypeCollection(UFTest.java:1138)
      9 frames