View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002728 | SymmetricDS | Bug | public | 2016-08-16 13:25 | 2016-08-16 18:57 |
Reporter | gatokino | Assigned To | elong | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.8.0 | ||||
Target Version | 3.8.1 | Fixed in Version | 3.8.1 | ||
Summary | 0002728: NPE on uninstall using symadmin | ||||
Description | When 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 Reproduce | create tables ../bin/symadmin --engine corp-000 create-sym-tables uninstall ../bin/symadmin --engine corp-000 uninstall | ||||
Tags | No tags attached. | ||||
|
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(); } |
|
Thanks for reporting this. Fixed for next release. |
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 |