Skip to content

ClassCastException on reading splay table #51

@dzmipt

Description

@dzmipt

The bug is inside c.java which parses the result from kdb.

If you run GridViewer with the following query

String query ="get `:test/ set ([] a:til 10)";

then you get the following exception

Dec 07, 2020 10:04:00 PM kx.examples.GridViewer main
SEVERE: null
java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.Object;
	at kx.c$Flip.<init>(c.java:479)
	at kx.c.r(c.java:977)
	at kx.c.deserialize(c.java:1395)
	at kx.c.readMsg(c.java:1522)
	at kx.c.k(c.java:1602)
	at kx.c.k(c.java:1617)
	at kx.examples.GridViewer.main(GridViewer.java:48)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions