View Issue Details

IDProjectCategoryView StatusLast Update
0006441SymmetricDSBugpublic2024-05-22 14:00
Reporteremiller Assigned Toemiller  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.14.12 
Target Version3.14.16Fixed in Version3.14.16 
Summary0006441: NullPointerException when searching for a matching trigger history and row_data or pk_data is null
DescriptionWhen 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)
Tagsextract

Relationships

related to 0006442 closedemiller NullPointerException when searching for a matching trigger history and row_data or pk_data is null 

Activities

There are no notes attached to this issue.

Related Changesets

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

Issue History

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