RE: COMMERCIAL: Re: fromJson(null) throws java.lang.NullPointerException on Cassandra 3.11

2017-09-21 Thread Marcel Villet
Cool thanks, will do. -Original Message- From: Jeff Jirsa [mailto:jji...@gmail.com] Sent: Thursday, September 21, 2017 5:58 PM To: user@cassandra.apache.org Subject: COMMERCIAL: Re: fromJson(null) throws java.lang.NullPointerException on Cassandra 3.11 It’s a bug. Should file a JIRA if

Re: fromJson(null) throws java.lang.NullPointerException on Cassandra 3.11

2017-09-21 Thread Jeff Jirsa
It’s a bug. Should file a JIRA if one doesn’t already exist. -- Jeff Jirsa > On Sep 21, 2017, at 8:16 AM, Marcel Villet wrote: > > Hi All > > Basically, fromJson throws a java.lang.NullPointerException when NULL is > passed, instead of just returning a NULL itself. Say I create a UDT and a

fromJson(null) throws java.lang.NullPointerException on Cassandra 3.11

2017-09-21 Thread Marcel Villet
Hi All Basically, fromJson throws a java.lang.NullPointerException when NULL is passed, instead of just returning a NULL itself. Say I create a UDT and a table as follows: create type type1 ( id int, name text ); create table table1 ( id int, t FROZEN, prim