View Issue Details

IDProjectCategoryView StatusLast Update
0006963SymmetricDSBugpublic2025-06-20 15:00
Reporteremiller Assigned Toemiller  
Prioritynormal 
Status resolvedResolutionfixed 
Product Version3.16.0 
Target Version3.16.4Fixed in Version3.16.4 
Summary0006963: DBCompare can throw a NullPointerException when the source table has unitypes and there are more source rows than target rows
DescriptionWhen using DBCompare to compare a Sybase ASE source table with unitypes and there are more source rows than target rows, it can throw the following NullPointerException:

[client] - DbCompare - Exception while comparing Table [name=test; 15 columns] to Table [name=test; 15 columns] java.lang.NullPointerException: Cannot invoke "org.jumpmind.db.sql.Row.keySet()" because "sourceRow" is null
        at org.jumpmind.symmetric.io.DbCompare.compareTables(DbCompare.java:208)
        at org.jumpmind.symmetric.io.DbCompare.compare(DbCompare.java:94)
        at org.jumpmind.symmetric.DbCompareCommand.executeWithOptions(DbCompareCommand.java:128)
        at org.jumpmind.symmetric.AbstractCommandLauncher.execute(AbstractCommandLauncher.java:157)
        at org.jumpmind.symmetric.DbCompareCommand.main(DbCompareCommand.java:172)
Tagsdbcompare, dialect: sybase

Relationships

related to 0006962 closedemiller DBCompare can throw a NullPointerException when the source table has unitypes and there are more source rows than target rows 

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.16 0bb719a9

2025-06-20 14:22:38

evan-miller-jumpmind

Details Diff
0006963: Prevented DBCompare from throwing a NullPointerException when the source table has unitypes and there are more source rows than target rows Affected Issues
0006963
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/io/DbCompare.java Diff File

Issue History

Date Modified Username Field Change
2025-06-19 18:35 emiller New Issue
2025-06-19 18:35 emiller Status new => assigned
2025-06-19 18:35 emiller Assigned To => emiller
2025-06-19 18:35 emiller Tag Attached: dbcompare
2025-06-19 18:35 emiller Tag Attached: dialect: sybase
2025-06-19 18:35 emiller Issue generated from: 0006962
2025-06-19 18:35 emiller Relationship added related to 0006962
2025-06-20 14:22 emiller Status assigned => resolved
2025-06-20 14:22 emiller Resolution open => fixed
2025-06-20 14:22 emiller Fixed in Version => 3.16.4
2025-06-20 15:00 Changeset attached => SymmetricDS 3.16 0bb719a9