DanielLeens commented on issue #10089:
URL: https://github.com/apache/seatunnel/issues/10089#issuecomment-4703710050

   Thanks for the detailed reproduction.
   
   I checked the current JSON collect path, and this does look like a real bug 
rather than a usage problem.
   
   The fragile part is that `JsonDeserializationSchema.collect(...)` 
unconditionally calls `setCollectorTablePath(...)` after 
`convertJsonNode(...)`. But `convertJsonNode(...)` can still return `null` for 
a selected element, and `setCollectorTablePath(...)` then dereferences that 
null row. With `content_field` extracting nested elements, that path is 
reachable, which matches the `NullPointerException` you reported.
   
   So the issue is worth keeping open as a real bug in the JSON collect path 
when `content_field` is used.
   
   One small note for future issue updates: please try to use English in the 
issue body so more community members can participate directly. Thanks again for 
the clear config and stack trace.


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