View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006441 | SymmetricDS | Bug | public | 2024-05-22 12:42 | 2024-05-22 14:00 |
Reporter | emiller | Assigned To | emiller | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.14.12 | ||||
Target Version | 3.14.16 | Fixed in Version | 3.14.16 | ||
Summary | 0006441: NullPointerException when searching for a matching trigger history and row_data or pk_data is null | ||||
Description | When extracting a batch and the trigger history cannot be found, SymmetricDS looks up a trigger history with a column count and primary key count that matches the data row. If the row_data is null for an insert or an update, or if the pk_data is null for an update or a delete, the following NullPointerException can occur: java.lang.NullPointerException: Cannot read the array length because the return value of "org.jumpmind.symmetric.model.Data.getParsedData(String)" is null at org.jumpmind.symmetric.service.impl.DataService$DataMapper.findMatchingTriggerHistory(DataService.java:3412) at org.jumpmind.symmetric.service.impl.DataService$DataMapper.findOrCreateTriggerHistory(DataService.java:3368) at org.jumpmind.symmetric.service.impl.DataService$DataMapper.mapRow(DataService.java:3326) at org.jumpmind.symmetric.service.impl.DataService$DataMapper.mapRow(DataService.java:3296) at org.jumpmind.db.sql.JdbcSqlReadCursor.next(JdbcSqlReadCursor.java:116) at org.jumpmind.symmetric.route.DataGapRouteMultiCursor.next(DataGapRouteMultiCursor.java:49) at org.jumpmind.symmetric.route.DataGapRouteMultiCursor.next(DataGapRouteMultiCursor.java:33) at org.jumpmind.symmetric.route.DataGapRouteReader.fillPeekAheadQueue(DataGapRouteReader.java:296) at org.jumpmind.symmetric.route.DataGapRouteReader.executeTransactional(DataGapRouteReader.java:161) at org.jumpmind.symmetric.route.DataGapRouteReader.execute(DataGapRouteReader.java:127) at org.jumpmind.symmetric.route.DataGapRouteReader.run(DataGapRouteReader.java:92) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1623) | ||||
Tags | extract | ||||
SymmetricDS: 3.14 ae6d637e 2024-05-22 13:00:05 evan-miller-jumpmind Details Diff |
0006441: Fixed NullPointerException when searching for a matching trigger history and row_data or pk_data is null |
Affected Issues 0006441 |
|
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/DataService.java | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-05-22 12:42 | emiller | New Issue | |
2024-05-22 12:42 | emiller | Status | new => assigned |
2024-05-22 12:42 | emiller | Assigned To | => emiller |
2024-05-22 12:42 | emiller | Tag Attached: extract | |
2024-05-22 12:43 | emiller | Issue cloned: 0006442 | |
2024-05-22 12:43 | emiller | Relationship added | related to 0006442 |
2024-05-22 13:00 | emiller | Status | assigned => resolved |
2024-05-22 13:00 | emiller | Resolution | open => fixed |
2024-05-22 13:00 | emiller | Fixed in Version | => 3.14.16 |
2024-05-22 14:00 | Changeset attached | => SymmetricDS 3.14 ae6d637e | |
2024-08-16 17:44 | admin | Status | resolved => closed |