java.lang.IllegalArgumentException

Too many values for built statement, the maximum allowed is 65535

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • via by Jesse White,
  • via by Jesse White,
  • via by Andy Tolbert,
  • Stack trace

    • java.lang.IllegalArgumentException: Too many values for built statement, the maximum allowed is 65535 at com.datastax.driver.core.querybuilder.BuiltStatement.maybeRebuildCache(BuiltStatement.java:87) at com.datastax.driver.core.querybuilder.BuiltStatement.getValues(BuiltStatement.java:180) at com.datastax.driver.core.querybuilder.Batch.getValues(Batch.java:133) at com.datastax.driver.core.SessionManager.makeRequestMessage(SessionManager.java:513) at com.datastax.driver.core.SessionManager.makeRequestMessage(SessionManager.java:474) at com.datastax.driver.core.SessionManager.executeAsync(SessionManager.java:97) at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:52) at org.opennms.newts.cassandra.CassandraSession.execute(CassandraSession.java:87) at org.opennms.newts.cassandra.search.CassandraIndexer.update(CassandraIndexer.java:96) at org.opennms.newts.cassandra.search.CassandraIndexerSampleProcessor.submit(CassandraIndexerSampleProcessor.java:45) at org.opennms.newts.api.SampleProcessorService$1.run(SampleProcessorService.java:76) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Write tip

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

    No Bugmate found.