hansva opened a new issue, #9508:
URL: https://github.com/apache/hop/issues/9508

   ### Apache Hop version?
   
   2.20.0
   
   ### Java version?
   
   21
   
   ### Operating system
   
   Other
   
   ### What happened?
   
   After a CSV file input with lazy conversion on, an empty Number, Integer, 
BigNumber or Boolean field makes the Excel writer fail with a 
NullPointerException. A lazily converted empty value is an empty byte array, 
not null, so the `v != null` check passes. `getNumber()` / `getBoolean()` then 
return null, and `cell.setCellValue(double)` unboxes it.
   
   Fix: leave the cell empty when the value converts to null, as dates already 
do.
   
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Transforms


-- 
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