View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006268 | SymmetricDS Pro | Bug | public | 2024-02-29 20:50 | 2024-02-29 21:17 |
Reporter | emiller | Assigned To | emiller | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.15.3 | ||||
Target Version | 3.15.4 | Fixed in Version | 3.15.4 | ||
Summary | 0006268: Registration failing when registering node is remote and SMTP password is set to null in sym_parameter | ||||
Description | When a node that is registering is remote from the registration server, and the SMTP password is set to null in sym_parameter, the loading of the registration batch on the remote server fails due to the following NullPointerException: org.jumpmind.symmetric.io.data.transform.TransformColumnException: Beanshell script error on line 2 for target column param_value on transform null at org.jumpmind.symmetric.io.data.transform.BshColumnTransform.transform(BshColumnTransform.java:161) at org.jumpmind.symmetric.io.data.transform.BshColumnTransform.transform(BshColumnTransform.java:53) at org.jumpmind.symmetric.io.data.writer.TransformWriter.transformColumn(TransformWriter.java:439) at org.jumpmind.symmetric.io.data.writer.TransformWriter.perform(TransformWriter.java:278) at org.jumpmind.symmetric.io.data.writer.TransformWriter.transform(TransformWriter.java:229) at org.jumpmind.symmetric.io.data.writer.TransformWriter.write(TransformWriter.java:174) at org.jumpmind.symmetric.io.data.DataProcessor.forEachDataInTable(DataProcessor.java:194) at org.jumpmind.symmetric.io.data.DataProcessor.forEachTableInBatch(DataProcessor.java:160) at org.jumpmind.symmetric.io.data.DataProcessor.process(DataProcessor.java:108) at org.jumpmind.symmetric.service.impl.DataLoaderService$LoadIntoDatabaseOnArrivalListener$2.call(DataLoaderService.java:1069) at org.jumpmind.symmetric.service.impl.DataLoaderService$LoadIntoDatabaseOnArrivalListener$2.call(DataLoaderService.java:1045) 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) Caused by: java.lang.NullPointerException at org.jumpmind.security.SecurityService.encrypt(SecurityService.java:278) at com.jumpmind.symmetric.security.SmtpPasswordFilter.onSmtpPasswordSave(SmtpPasswordFilter.java:24) | ||||
Steps To Reproduce | 1. Configure SMTP Mail Server authentication, defining the smtp password as null in sym_parameter 2. Create a remote node (remote from the registration server). 3. Registration will fail because of a null pointer exception in the remote node when attempting to load the registration batch. | ||||
Tags | data sync, registration | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-02-29 20:50 | emiller | New Issue | |
2024-02-29 20:50 | emiller | Status | new => assigned |
2024-02-29 20:50 | emiller | Assigned To | => emiller |
2024-02-29 20:50 | emiller | Tag Attached: data sync | |
2024-02-29 20:50 | emiller | Tag Attached: registration | |
2024-02-29 20:50 | emiller | Issue generated from: 0006265 | |
2024-02-29 20:50 | emiller | Relationship added | related to 0006265 |
2024-02-29 21:17 | emiller | Status | assigned => resolved |
2024-02-29 21:17 | emiller | Resolution | open => fixed |
2024-02-29 21:17 | emiller | Fixed in Version | => 3.15.4 |
2024-03-19 16:20 | admin | Status | resolved => closed |