View Issue Details

IDProjectCategoryView StatusLast Update
0006268SymmetricDS ProBugpublic2024-02-29 21:17
Reporteremiller Assigned Toemiller  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.15.3 
Target Version3.15.4Fixed in Version3.15.4 
Summary0006268: Registration failing when registering node is remote and SMTP password is set to null in sym_parameter
DescriptionWhen 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 Reproduce1. 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.
Tagsdata sync, registration

Relationships

related to 0006265 closedemiller Registration failing when registering node is remote and SMTP password is set to null in sym_parameter 

Activities

There are no notes attached to this issue.

Issue History

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