Fix NPE in LongDictionary reader
@@ -194,8 +194,10 @@ public class LongDictionarySelectiveStreamReader
if (inDictionaryStream != null) {
inDictionaryStream.skip(dataToSkip);
}
+ if (dataStream != null) {
dataStream.skip(dataToSkip);
}
+ }
else {
if (inDictionaryStream != null) {
inDictionaryStream.skip(items);
