org.apache.cassandra.exceptions.InvalidRequestException

Unknown type ks.address_type


Solutions on the web2

Solution icon of github
Unknown type ks.address_type

Solution icon of apache
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

Stack trace

  • org.apache.cassandra.exceptions.InvalidRequestException: Unknown type ks.address_type at org.apache.cassandra.cql3.CQL3Type$Raw$RawUT.prepare(CQL3Type.java:745) at org.apache.cassandra.cql3.CQL3Type$Raw.prepareInternal(CQL3Type.java:533) at org.apache.cassandra.schema.CQLTypeParser.parse(CQLTypeParser.java:53) at org.apache.cassandra.schema.SchemaKeyspace.createColumnFromRow(SchemaKeyspace.java:1011) at org.apache.cassandra.schema.SchemaKeyspace.lambda$fetchColumns$12(SchemaKeyspace.java:995) at java.lang.Iterable.forEach(Iterable.java:75) at org.apache.cassandra.schema.SchemaKeyspace.fetchColumns(SchemaKeyspace.java:995) at org.apache.cassandra.schema.SchemaKeyspace.fetchTable(SchemaKeyspace.java:949) at org.apache.cassandra.schema.SchemaKeyspace.fetchTables(SchemaKeyspace.java:928) at org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspace(SchemaKeyspace.java:891) at org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspacesWithout(SchemaKeyspace.java:868) at org.apache.cassandra.schema.SchemaKeyspace.fetchNonSystemKeyspaces(SchemaKeyspace.java:856) at org.apache.cassandra.config.Schema.loadFromDisk(Schema.java:136) at org.apache.cassandra.config.Schema.loadFromDiskForTool(Schema.java:145) at com.scylladb.tools.SSTableExport.metadataFromSSTable(SSTableExport.java:26) at org.apache.cassandra.tools.SSTableExport.run(SSTableExport.java:192) at com.scylladb.tools.SSTableExport.main(SSTableExport.java:37)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.