org.apache.cassandra.exceptions.InvalidRequestException: Execution of user-defined function 'cql_test_keyspace.function_83' failed: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: TypeError: Cannot call method "getString" of null (<Unknown Source>#1) in <Unknown Source> at line number 1

Apache's JIRA Issue Tracker | Robert Stupp | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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: Execution of user-defined function 'cql_test_keyspace.function_83' failed: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: TypeError: Cannot call method "getString" of null (<Unknown Source>#1) in <Unknown Source> at line number 1

    Root Cause Analysis

    1. org.apache.cassandra.exceptions.InvalidRequestException

      Execution of user-defined function 'cql_test_keyspace.function_83' failed: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: TypeError: Cannot call method "getString" of null (<Unknown Source>#1) in <Unknown Source> at line number 1

      at org.apache.cassandra.cql3.functions.ScriptBasedUDF.execute()
    2. org.apache.cassandra
      UFTest.testJavascriptUTCollections
      1. org.apache.cassandra.cql3.functions.ScriptBasedUDF.execute(ScriptBasedUDF.java:142)
      2. org.apache.cassandra.cql3.selection.ScalarFunctionSelector.getOutput(ScalarFunctionSelector.java:60)
      3. org.apache.cassandra.cql3.selection.Selection$SelectionWithProcessing$1.getOutputRow(Selection.java:397)
      4. org.apache.cassandra.cql3.selection.Selection$ResultSetBuilder.build(Selection.java:241)
      5. org.apache.cassandra.cql3.statements.SelectStatement.process(SelectStatement.java:1168)
      6. org.apache.cassandra.cql3.statements.SelectStatement.processResults(SelectStatement.java:304)
      7. org.apache.cassandra.cql3.statements.SelectStatement.executeInternal(SelectStatement.java:328)
      8. org.apache.cassandra.cql3.statements.SelectStatement.executeInternal(SelectStatement.java:65)
      9. org.apache.cassandra.cql3.QueryProcessor.executeOnceInternal(QueryProcessor.java:349)
      10. org.apache.cassandra.cql3.CQLTester.execute(CQLTester.java:436)
      11. org.apache.cassandra.cql3.UFTest.testJavascriptUTCollections(UFTest.java:1278)
      11 frames