View Issue Details

IDProjectCategoryView StatusLast Update
0006962SymmetricDSBugpublic2025-06-20 20:48
Reporteremiller Assigned Toemiller  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.15.7 
Target Version3.15.18Fixed in Version3.15.18 
Summary0006962: 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 0006963 resolvedemiller DBCompare can throw a NullPointerException when the source table has unitypes and there are more source rows than target rows 

Activities

pbelov

2025-06-20 20:48

manager   ~0003121

Included in the 3.15.18 release

Related Changesets

SymmetricDS: 3.15 504bbdec

2025-06-20 14:19:02

evan-miller-jumpmind

Details Diff
0006962: Prevented DBCompare from throwing a NullPointerException when the source table has unitypes and there are more source rows than target rows Affected Issues
0006962
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 cloned: 0006963
2025-06-19 18:35 emiller Relationship added related to 0006963
2025-06-20 14:19 emiller Status assigned => resolved
2025-06-20 14:19 emiller Resolution open => fixed
2025-06-20 14:19 emiller Fixed in Version => 3.15.18
2025-06-20 14:19 emiller Target Version 3.15.19 => 3.15.18
2025-06-20 15:00 Changeset attached => SymmetricDS 3.15 504bbdec
2025-06-20 20:48 pbelov Note Added: 0003121
2025-06-20 20:48 pbelov Status resolved => closed