Skip to content

Commit

Permalink
0005766: Fixed NPE when inserting into sym_incoming_error on some pla…
Browse files Browse the repository at this point in the history
…tforms
  • Loading branch information
evan-miller-jumpmind committed Apr 24, 2023
1 parent aaa445d commit 2550650
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,8 @@ public void insertIncomingError(IncomingError incomingError) {
public void insertIncomingError(ISqlTransaction transaction, IncomingError incomingError) {
if (StringUtils.isNotBlank(incomingError.getNodeId()) && incomingError.getBatchId() >= 0) {
boolean alreadyExists = false;
if (symmetricDialect.getDriverName().equalsIgnoreCase(DatabaseNamesConstants.OPENEDGE)) {
if (symmetricDialect.getDriverName() != null
&& symmetricDialect.getDriverName().equalsIgnoreCase(DatabaseNamesConstants.OPENEDGE)) {
if (getIncomingError(incomingError.getBatchId(), incomingError.getNodeId(),
incomingError.getFailedRowNumber()) != null) {
alreadyExists = true;
Expand Down

0 comments on commit 2550650

Please sign in to comment.