The original Exception is swallowed by the new one in ZookeeperLastPrimaryHandler.createZooKeeperAttributeStore

Description

I have needed the stack trace of the general Exception in ZookeeperLastPrimaryHandler.createZooKeeperAttributeStore method in order to understand where is exactly failed? Is it in constructor.newInstance or _spaceImpl.getConfig() but the exception isn't pass to the new DirectPersistencyRecoveryException.

private AttributeStore createZooKeeperAttributeStore() {
try {
//noinspection unchecked
Constructor constructor = ClassLoaderHelper.loadLocalClass(ATTRIBUET_STORE_HANDLER_CLASS_NAME)
.getConstructor(String.class, SpaceConfig.class);
return (AttributeStore) constructor.newInstance("", _spaceImpl.getConfig());
} catch (Exception e) {
if (_logger.isErrorEnabled())
_logger.error("Failed to create attribute store ");
throw new DirectPersistencyRecoveryException("Failed to start [" + (_spaceImpl.getServiceName())
+ "] Failed to create attribute store.");
}
}

Workaround

None

Acceptance Test

None

Assignee

Unassigned

Reporter

Yuval Dori

Labels

None

Priority

Critical

SalesForce Case ID

00012820

Fix versions

None

Commitment Version/s

None

Due date

None

Product

XAP

Edition

Premium

Platform

All
Configure