Talend tLogCatcher 在 tJava 中发出所有空字段

Talend tLogCatcher emits all fields null in tJava

我想将我的 Talend 流程的所有 Java 错误发送到 Slack 频道。因此,我在流程中使用 tLogCatcher 作为独立组件。发生错误时,我会在 tLogRow 组件中看到所有错误字段,如下所示:

.-------------------+------+--------+----------+-----------------+------------+-------+--------+--------------+----------------------+--------------------------------------------------------------------------------------------------+----.
|                                                                                                                 tLogRow_2                                                                                                                  |
|=------------------+------+--------+----------+-----------------+------------+-------+--------+--------------+----------------------+--------------------------------------------------------------------------------------------------+---=|
|moment             |pid   |root_pid|father_pid|project          |job         |context|priority|type          |origin                |message                                                                                           |code|
|=------------------+------+--------+----------+-----------------+------------+-------+--------+--------------+----------------------+--------------------------------------------------------------------------------------------------+---=|
|2021-02-16 09:56:51|hasqZB|hasqZB  |hasqZB    |PREPROCESSOR_DATA|rf_dwh_kunde|Default|6       |Java Exception|tFileInputProperties_1|java.io.FileNotFoundException:\conf\config.cfg (Das System kann den angegebenen Pfad nicht finden)|1   |
'-------------------+------+--------+----------+-----------------+------------+-------+--------+--------------+----------------------+--------------------------------------------------------------------------------------------------+----'

当我在 tLogRow 之后添加一个额外的 tJava 对象并尝试像这样打印对象时

System.out.println(row4);

我得到以下结果

preprocessor_data.rf_dwh_kunde_0_1.rf_dwh_kunde$row3Struct@6767c1fc[moment=null,pid=null,root_pid=null,father_pid=null,project=null,job=null,context=null,priority=null,type=null,origin=null,message=null,code=null]
.

所有字段(moment、pid、origin 等)突然变为“空”。

知道为什么会这样吗?

我已经尝试将 tJava 直接附加到 tCatchLog,结果是一样的。在 YouTube 上看了一些教程,假设它应该是这样的。

使用 tJavaRow 代替 tJava 并且它有效。