View Issue Details

IDProjectCategoryView StatusLast Update
0004833SymmetricDSBugpublic2021-02-25 21:33
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.12.0 
Target Version3.12.7Fixed in Version3.12.7 
Summary0004833: Can't export batch that includes sym_node_security
DescriptionWhen trying to export a batch that contains sym_node_security, it will get a null pointer exception.

./symadmin -p ../engines/server.properties export-batch 1 344 out.csv
java.lang.NullPointerException: Null Pointer in Method Invocation
    at bsh.Name.invokeMethod(Name.java:838)
    at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:69)
    at bsh.BSHPrimarySuffix.doSuffix(BSHPrimarySuffix.java:97)
    at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:74)
    at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:41)
    at bsh.BSHReturnStatement.eval(BSHReturnStatement.java:42)
    at bsh.BSHBlock.evalBlock(BSHBlock.java:125)
    at bsh.BSHBlock.eval(BSHBlock.java:75)
    at bsh.BshMethod.invokeImpl(BshMethod.java:356)
    at bsh.BshMethod.invoke(BshMethod.java:252)
    at bsh.BshMethod.invoke(BshMethod.java:180)
    at bsh.Name.invokeLocalMethod(Name.java:911)
    at bsh.Name.invokeMethod(Name.java:798)
    at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:69)
    at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:96)
    at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:41)
    at bsh.Interpreter.eval(Interpreter.java:659)
    at bsh.Interpreter.eval(Interpreter.java:750)
    at bsh.Interpreter.eval(Interpreter.java:739)
    at org.jumpmind.symmetric.io.data.transform.BshColumnTransform.transform(BshColumnTransform.java:141)
 [wrapped] org.jumpmind.symmetric.io.data.transform.TransformColumnException: Beanshell script error on line 2 for target column node_password on transform null
    at org.jumpmind.symmetric.io.data.transform.BshColumnTransform.transform(BshColumnTransform.java:174)
    at org.jumpmind.symmetric.io.data.transform.BshColumnTransform.transform(BshColumnTransform.java:53)
    at org.jumpmind.symmetric.io.data.writer.TransformWriter.transformColumn(TransformWriter.java:449)
    at org.jumpmind.symmetric.io.data.writer.TransformWriter.perform(TransformWriter.java:281)
    at org.jumpmind.symmetric.io.data.writer.TransformWriter.transform(TransformWriter.java:228)
    at org.jumpmind.symmetric.io.data.writer.TransformWriter.write(TransformWriter.java:176)
    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.DataExtractorService.extractBatchRange(DataExtractorService.java:1769)
    at org.jumpmind.symmetric.SymmetricAdmin.exportBatch(SymmetricAdmin.java:486)
    at org.jumpmind.symmetric.SymmetricAdmin.executeWithOptions(SymmetricAdmin.java:372)
    at org.jumpmind.symmetric.AbstractCommandLauncher.execute(AbstractCommandLauncher.java:184)
    at org.jumpmind.symmetric.SymmetricAdmin.main(SymmetricAdmin.java:176)
Tagssymadmin

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.12 0e22f2e3

2021-02-17 17:44:24

admin

Details Diff
0004833: Can't export batch that includes sym_node_security Affected Issues
0004833
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/TransformService.java Diff File

Issue History

Date Modified Username Field Change
2021-02-17 17:42 elong New Issue
2021-02-17 17:42 elong Status new => assigned
2021-02-17 17:42 elong Assigned To => elong
2021-02-17 17:42 elong Tag Attached: symadmin
2021-02-17 17:44 elong Status assigned => resolved
2021-02-17 17:44 elong Resolution open => fixed
2021-02-17 17:44 elong Fixed in Version => 3.12.7
2021-02-17 18:00 admin Changeset attached => SymmetricDS 3.12 0e22f2e3
2021-02-25 21:33 admin Status resolved => closed