View Issue Details

IDProjectCategoryView StatusLast Update
0002728SymmetricDSBugpublic2016-08-16 18:57
Reportergatokino Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.8.0 
Target Version3.8.1Fixed in Version3.8.1 
Summary0002728: NPE on uninstall using symadmin
DescriptionWhen trying to uninstall the database objects the following error occurs:

java.lang.NullPointerException
    at org.jumpmind.symmetric.service.impl.ClusterService.lockCluster(ClusterService.java:182)
    at org.jumpmind.symmetric.service.impl.ClusterService.lock(ClusterService.java:169)
    at org.jumpmind.symmetric.service.impl.TriggerRouterService.syncTriggers(TriggerRouterService.java:1155)
    at org.jumpmind.symmetric.service.impl.TriggerRouterService.syncTriggers(TriggerRouterService.java:1149)
    at org.jumpmind.symmetric.service.impl.TriggerRouterService.syncTriggers(TriggerRouterService.java:1145)
    at org.jumpmind.symmetric.AbstractSymmetricEngine.uninstall(AbstractSymmetricEngine.java:722)
    at org.jumpmind.symmetric.SymmetricAdmin.uninstall(SymmetricAdmin.java:551)
    at org.jumpmind.symmetric.SymmetricAdmin.executeWithOptions(SymmetricAdmin.java:331)
    at org.jumpmind.symmetric.AbstractCommandLauncher.execute(AbstractCommandLauncher.java:190)
    at org.jumpmind.symmetric.SymmetricAdmin.main(SymmetricAdmin.java:140)
Steps To Reproducecreate tables

../bin/symadmin --engine corp-000 create-sym-tables

uninstall

../bin/symadmin --engine corp-000 uninstall

TagsNo tags attached.

Activities

gatokino

2016-08-16 13:26

reporter   ~0000839

adding in the constructor of

org.jumpmind.symmetric.service.impl.ClusterService

a call to initCache(); is fixing the problem



public ClusterService(IParameterService parameterService, ISymmetricDialect dialect) {
        super(parameterService, dialect);
        setSqlMap(new ClusterServiceSqlMap(symmetricDialect.getPlatform(),
                createSqlReplacementTokens()));
        initCache();
    }

elong

2016-08-16 13:49

developer   ~0000842

Thanks for reporting this. Fixed for next release.

Related Changesets

SymmetricDS: 3.8 16eaa845

2016-08-16 09:47:32

admin

Details Diff
0002728: NPE on uninstall using symadmin Affected Issues
0002728
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/ClusterService.java Diff File

Issue History

Date Modified Username Field Change
2016-08-16 13:25 gatokino New Issue
2016-08-16 13:26 gatokino Note Added: 0000839
2016-08-16 13:49 elong Note Added: 0000842
2016-08-16 13:49 elong Assigned To => elong
2016-08-16 13:49 elong Status new => resolved
2016-08-16 13:49 elong Resolution open => fixed
2016-08-16 13:49 elong Fixed in Version => 3.8.1
2016-08-16 13:49 elong Target Version => 3.8.1
2016-08-16 14:00 admin Changeset attached => SymmetricDS 3.8 16eaa845
2016-08-16 18:57 elong Status resolved => closed