View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006442 | SymmetricDS | Bug | public | 2024-05-22 12:43 | 2024-05-22 13:00 |
Reporter | emiller | Assigned To | emiller | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.15.3 | ||||
Target Version | 3.15.7 | Fixed in Version | 3.15.7 | ||
Summary | 0006442: 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.15 7f4859f8 2024-05-22 12:48:41 evan-miller-jumpmind Details Diff |
0006442: Fixed NullPointerException when searching for a matching trigger history and row_data or pk_data is null |
Affected Issues 0006442 |
|
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/DataService.java | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-05-22 12:43 | emiller | New Issue | |
2024-05-22 12:43 | emiller | Status | new => assigned |
2024-05-22 12:43 | emiller | Assigned To | => emiller |
2024-05-22 12:43 | emiller | Tag Attached: extract | |
2024-05-22 12:43 | emiller | Issue generated from: 0006441 | |
2024-05-22 12:43 | emiller | Relationship added | related to 0006441 |
2024-05-22 12:49 | emiller | Status | assigned => resolved |
2024-05-22 12:49 | emiller | Resolution | open => fixed |
2024-05-22 12:49 | emiller | Fixed in Version | => 3.15.7 |
2024-05-22 13:00 | Changeset attached | => SymmetricDS 3.15 7f4859f8 | |
2024-06-07 16:46 | admin | Status | resolved => closed |