yangjiexuhuan opened a new issue, #9721:
URL: https://github.com/apache/iotdb/issues/9721

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and 
found nothing similar.
   
   
   ### Version
   
   1.1.0
   
   ### Describe the bug and provide the minimal reproduce step
   
   1、构建Table schemas ,指定TSDataType 类型是TSDataType.TEXT
   2、构造模拟数据插入空值
          if (containNull && i % 9 == 0) {
                 tablet.bitMaps[i].mark((int) row);
               }else{
                 
tablet.addValue(schemaList.get(i).getMeasurementId(),row,random.nextDouble()*1000+"");
               }
   3、插入  sessionPool.insertTablets(tabletMap, false); 报错
   Exception in thread "main" java.lang.NullPointerException
        at 
org.apache.iotdb.tsfile.write.record.Tablet.calOccupationOfOneColumn(Tablet.java:341)
              
   
   ### What did you expect to see?
   
   希望正常入库
   
   ### What did you see instead?
   
   Exception in thread "main" java.lang.NullPointerException
        at 
org.apache.iotdb.tsfile.write.record.Tablet.calOccupationOfOneColumn(Tablet.java:341)
   source code:   Tablet l ine:252
           for(int rowIndex = 0; rowIndex < this.rowSize; ++rowIndex) {
                       valueOccupation += ### binaries[rowIndex].getLength();
                   }
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to