Jump to content

Topic on Talk:RESTBase/Installation

Cassandra server query, java.lang.AssertionError

1
John Majorly (talkcontribs)

I keep getting this java.lang.AssertionError from my cassandra server. I tried to search for an answer but what I found, which was not specific to restbase, didn't work.

Has anyone encountered this java.lang.AssertionError or has any idea why I might be getting this?

This happens when I try to Get myrestserver:7231/mysite/v1/page/html/Main_Page


I can Get /page/title/Main_Page

But the error seems to be when I Get /page/html/{title}


{"name":"restbase","hostname":"myhost","pid":3711,"level":10,"message":"Connection","info":"Sent stream #1 to 3.234.XXX.XXX:9142","levelPath":"trace/table/cassandra/driver","msg":"Connection","time":"2020-11-11T10:24:37.761Z","v":0}

{"name":"restbase","hostname":"myhost","pid":3728,"level":10,"message":"Connection","info":"Received frame #1 from 3.234.XXX.XXX:9142","levelPath":"trace/table/cassandra/driver","msg":"Connection","time":"2020-11-11T10:24:37.816Z","v":0}

{"name":"restbase","hostname":"myhost","pid":3728,"level":30,"message":"HostConnectionPool","info":"Connection to 3.234.XXX.XXX:9142 opened successfully","levelPath":"info/table/cassandra/driver","msg":"HostConnectionPool","time":"2020-11-11T10:24:37.817Z","v":0}

{"name":"restbase","hostname":"myhost","pid":3728,"level":30,"message":"HostConnectionPool","info":"Connection pool to host 3.234.XXX.XXX:9142 created with 1 connection(s)","levelPath":"info/table/cassandra/driver","msg":"HostConnectionPool","time":"2020-11-11T10:24:37.817Z","v":0}

{"name":"restbase","hostname":"myhost","pid":3728,"level":10,"message":"Connection","info":"Received frame #1 from 3.234.XXX.XXX:9142","levelPath":"trace/table/cassandra/driver","msg":"Connection","time":"2020-11-11T10:24:37.817Z","v":0}

{"name":"restbase","hostname":"myhost","pid":3728,"level":30,"message":"HostConnectionPool","info":"Connection to 3.234.XXX.XXX:9142 opened successfully","levelPath":"info/table/cassandra/driver","msg":"HostConnectionPool","time":"2020-11-11T10:24:37.817Z","v":0}

{"name":"restbase","hostname":"myhost","pid":3728,"level":30,"message":"HostConnectionPool","info":"Connection pool to host 3.234.XXX.XXX:9142 created with 1 connection(s)","levelPath":"info/table/cassandra/driver","msg":"HostConnectionPool","time":"2020-11-11T10:24:37.817Z","v":0}

{ ResponseError: java.lang.AssertionError

   at FrameReader.readError (/var/www/html/node_modules/cassandra-driver/lib/readers.js:326:15)

   at Parser.parseBody (/var/www/html/node_modules/cassandra-driver/lib/streams.js:194:27)

   at Parser._transform (/var/www/html/node_modules/cassandra-driver/lib/streams.js:137:10)

   at Parser.Transform._read (_stream_transform.js:190:10)

   at Parser.Transform._write (_stream_transform.js:178:12)

   at doWrite (_stream_writable.js:415:12)

   at writeOrBuffer (_stream_writable.js:399:5)

   at Parser.Writable.write (_stream_writable.js:299:11)

   at Protocol.ondata (_stream_readable.js:710:20)

   at Protocol.emit (events.js:198:13)

   at addChunk (_stream_readable.js:288:12)

   at readableAddChunk (_stream_readable.js:269:11)

   at Protocol.Readable.push (_stream_readable.js:224:10)

   at Protocol.Transform.push (_stream_transform.js:151:32)

   at Protocol.readItems (/var/www/html/node_modules/cassandra-driver/lib/streams.js:109:10)

   at Protocol._transform (/var/www/html/node_modules/cassandra-driver/lib/streams.js:32:10)

  name: 'ResponseError',

  info: 'Represents an error message from the server',

  message: 'java.lang.AssertionError',

  code: 0 }

Reply to "Cassandra server query, java.lang.AssertionError"