search cancel

SEPM database schema upgrade fails due to ClassCast exception.

book

Article ID: 175024

calendar_today

Updated On:

Products

Endpoint Protection

Issue/Introduction

While upgrading the Symantec Endpoint Protection Manager (SEPM) with local (non-shared policies) present, the migration fails during the database upgrade portion of the migration at approximately 19%.

The Upgrade-0.log will contain errors similar to the following:

 

2018-07-20 14:38:20.176 THREAD 23 SEVERE: java.lang.ClassCastException: com.sygate.scm.common.configobject.schema.SemLocationConfig cannot be cast to com.sygate.scm.common.configobject.schema.SemAgentPolicy
2018-07-20 14:38:20.176 THREAD 23 SEVERE:     at com.sygate.scm.server.configmanager.ConfigManager.getSemAgentPolicyObject(ConfigManager.java:3134)
2018-07-20 14:38:20.176 THREAD 23 SEVERE:     at com.sygate.scm.server.upgrade.SchemaLamborghiniRU1MP2ToRainier.isPolicyApplied(SchemaLamborghiniRU1MP2ToRainier.java:1641)
2018-07-20 14:38:20.176 THREAD 23 SEVERE:     at com.sygate.scm.server.upgrade.SchemaLamborghiniRU1MP2ToRainier.deleteUnusedLocalPoliciesFromDb(SchemaLamborghiniRU1MP2ToRainier.java:1625)
2018-07-20 14:38:20.176 THREAD 23 SEVERE:     at com.sygate.scm.server.upgrade.SchemaLamborghiniRU1MP2ToRainier.deleteUnusedLocalPolicies(SchemaLamborghiniRU1MP2ToRainier.java:1438)
2018-07-20 14:38:20.176 THREAD 23 SEVERE:     at com.sygate.scm.server.upgrade.SchemaLamborghiniRU1MP2ToRainier.upgrade(SchemaLamborghiniRU1MP2ToRainier.java:203)
2018-07-20 14:38:20.176 THREAD 23 SEVERE:     at com.sygate.scm.server.upgrade.SchemaUpgrade.execute(SchemaUpgrade.java:99)
2018-07-20 14:38:20.176 THREAD 23 SEVERE:     at com.sygate.scm.server.upgrade.Upgrade.doUpgrade(Upgrade.java:1813)
2018-07-20 14:38:20.176 THREAD 23 SEVERE:     at com.sygate.scm.server.upgrade.ui.UpgradeTask.go(UpgradeTask.java:137)
2018-07-20 14:38:20.176 THREAD 23 SEVERE:     at com.sygate.scm.server.upgrade.ui.UpgradeProgressPanel$2.construct(UpgradeProgressPanel.java:250)
2018-07-20 14:38:20.176 THREAD 23 SEVERE:     at com.sygate.scm.util.SwingWorker$2.run(SwingWorker.java:153)
2018-07-20 14:38:20.176 THREAD 23 SEVERE:     at java.lang.Thread.run(Thread.java:748)

Cause

This issue occurs due to improper checking for local (non-shared) policies in the database upgrade process.

Resolution

This issue is resolved in SEP 14.2 RU1.