diff --git a/src/decoder/com/openize/drako/SequentialIntegerAttributeDecoder.java b/src/decoder/com/openize/drako/SequentialIntegerAttributeDecoder.java index d9fa6fc..e7a4e6d 100644 --- a/src/decoder/com/openize/drako/SequentialIntegerAttributeDecoder.java +++ b/src/decoder/com/openize/drako/SequentialIntegerAttributeDecoder.java @@ -90,7 +90,10 @@ private IntSpan getValues(int numEntries) int numValues = numEntries * numComponents; if (numComponents <= 0) return null; - this.preparePortableAttribute(numEntries, numComponents); + if (this.portableAttribute == null) + { + this.preparePortableAttribute(numEntries, numComponents); + } if (this.getPortableAttribute().getNumUniqueEntries() == 0) return null; byte[] buf = this.getPortableAttribute().getBuffer().getBuffer();