View Issue Details

IDProjectCategoryView StatusLast Update
0004653SymmetricDSBugpublic2021-01-11 13:47
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.12.0 
Target Version3.12.6Fixed in Version3.12.6 
Summary0004653: NPE in PostgreSqlDmlStatement
DescriptionNull pointer exception in PostgreSqlDmlStatement. It seems the JDBC type name can return as null.

 StackTraceKey.init [NullPointerException:217424409] java.lang.NullPointerException
    at org.jumpmind.db.platform.postgresql.PostgreSqlDmlStatement.appendColumnParameter(PostgreSqlDmlStatement.java:128)
    at org.jumpmind.db.sql.DmlStatement.appendColumnParameters(DmlStatement.java:346)
    at org.jumpmind.db.platform.postgresql.PostgreSqlDmlStatement95.buildInsertSql(PostgreSqlDmlStatement95.java:22)
    at org.jumpmind.db.sql.DmlStatement.init(DmlStatement.java:134)
    at org.jumpmind.db.sql.DmlStatement.<init>(DmlStatement.java:89)
    at org.jumpmind.db.platform.postgresql.PostgreSqlDmlStatement.<init>(PostgreSqlDmlStatement.java:36)
    at org.jumpmind.db.platform.postgresql.PostgreSqlDmlStatement95.<init>(PostgreSqlDmlStatement95.java:13)
    at org.jumpmind.db.platform.DmlStatementFactory.createDmlStatement(DmlStatementFactory.java:78)
    at org.jumpmind.db.platform.AbstractDatabasePlatform.createDmlStatement(AbstractDatabasePlatform.java:150)
    at org.jumpmind.db.platform.AbstractDatabasePlatform.createDmlStatement(AbstractDatabasePlatform.java:143)
    at org.jumpmind.symmetric.io.data.writer.DefaultDatabaseWriter.insert(DefaultDatabaseWriter.java:211)
    at org.jumpmind.symmetric.io.data.writer.AbstractDatabaseWriter.write(AbstractDatabaseWriter.java:192)
    at org.jumpmind.symmetric.io.data.writer.NestedDataWriter.write(NestedDataWriter.java:64)
    at org.jumpmind.symmetric.model.ProcessInfoDataWriter.write(ProcessInfoDataWriter.java:84)
    at org.jumpmind.symmetric.io.data.writer.NestedDataWriter.write(NestedDataWriter.java:64)
    at org.jumpmind.symmetric.io.data.writer.TransformWriter.write(TransformWriter.java:202)
    at org.jumpmind.symmetric.io.data.DataProcessor.forEachDataInTable(DataProcessor.java:212)
    at org.jumpmind.symmetric.io.data.DataProcessor.forEachTableInBatch(DataProcessor.java:178)
    at org.jumpmind.symmetric.io.data.DataProcessor.process(DataProcessor.java:124)
    at org.jumpmind.symmetric.service.impl.DataLoaderService$LoadIntoDatabaseOnArrivalListener$2.call(DataLoaderService.java:1085)
    at org.jumpmind.symmetric.service.impl.DataLoaderService$LoadIntoDatabaseOnArrivalListener$2.call(DataLoaderService.java:1061)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.12 6494c0dc

2020-11-23 14:02:40

admin

Details Diff
0004653: NPE in PostgreSqlDmlStatement Affected Issues
0004653
mod - symmetric-db/src/main/java/org/jumpmind/db/platform/postgresql/PostgreSqlDmlStatement.java Diff File

Issue History

Date Modified Username Field Change
2020-11-23 14:01 elong New Issue
2020-11-23 14:01 elong Status new => assigned
2020-11-23 14:01 elong Assigned To => elong
2020-11-23 15:00 admin Changeset attached => SymmetricDS 3.12 6494c0dc
2020-11-23 15:05 elong Status assigned => resolved
2020-11-23 15:05 elong Resolution open => fixed
2020-11-23 15:05 elong Fixed in Version => 3.12.6
2021-01-11 13:47 admin Status resolved => closed