Java Client and Data types

Annette Bieniusa bieniusa at cs.uni-kl.de
Tue Jan 20 13:59:52 EST 2015


Hello,

I am trying to build a small demo app involving the Java Client and the Data types by following the official documentation.
However, map operations are not working. A fetch with the Java client always returns an empty map, writes create new maps, but they remain empty. 
In the source file that I attached, this yields a null pointer exception when doing the getRegister() in getLastName, for example.

I am using riak-client-2.0.0 and riak-pb-2.0.0.14.

Any hint for me?

	Annette

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main.java
Type: application/octet-stream
Size: 940 bytes
Desc: not available
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20150120/e3b978f2/attachment.java>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: User.java
Type: application/octet-stream
Size: 3839 bytes
Desc: not available
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20150120/e3b978f2/attachment-0001.java>
-------------- next part --------------






More information about the riak-users mailing list