I am having trouble passing arrays of doubles.
On python I write body = array.array('d',numpy_matrix.flatten().tolist());
on java I write buf.getDouble() rather than buf.getInt().
But I get an expection: java.nio.BufferUnderflowException
Any idea?