In the code PDataTypeForArray.createPhoenixArray() for fixed width elements we would try to get the byte size from the PDataType.getByteSize() api. Then for char_array i would get NPE if fixedwidh is true.