I got null pointer exception when database column data is null, If column have data then there is no problem. Here is my code snippet.
byte[][] data = new b