java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.RuntimeException: java.lang.RuntimeException: Error setting schema for test (query was: DROP TYPE IF EXISTS cql_test_keyspace.type_4) at org.apache.cassandra.cql3.CQLTester$1.run(CQLTester.java:188)[classes/:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_25] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[na:1.8.0_25] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[na:1.8.0_25] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_25] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_25] Caused by: java.lang.RuntimeException: Error setting schema for test (query was: DROP TYPE IF EXISTS cql_test_keyspace.type_4) at org.apache.cassandra.cql3.CQLTester.schemaChange(CQLTester.java:404)[classes/:na] at org.apache.cassandra.cql3.CQLTester.access$000(CQLTester.java:63)[classes/:na] at org.apache.cassandra.cql3.CQLTester$1.run(CQLTester.java:167)[classes/:na] ... 7 more Caused by: java.lang.RuntimeException: Error validating query DROP TYPE IF EXISTS cql_test_keyspace.type_4 at org.apache.cassandra.cql3.QueryProcessor.executeOnceInternal(QueryProcessor.java:374)[main/:na] at org.apache.cassandra.cql3.CQLTester.schemaChange(CQLTester.java:400)[classes/:na] ... 9 more Caused by: org.apache.cassandra.exceptions.InvalidRequestException: Cannot drop user type cql_test_keyspace.type_4 as it is still used by function cql_test_keyspace.function_6 at org.apache.cassandra.cql3.statements.DropTypeStatement.validate(DropTypeStatement.java:83)[main/:na] at org.apache.cassandra.cql3.QueryProcessor.executeOnceInternal(QueryProcessor.java:361)[main/:na] ... 10 more
No Bugmate found.