Accessing a Dashboard causes a Java Exception

Document ID : KB000097084
Last Modified Date : 12/06/2018
Show Technical Document Details
Issue:
When opening a Dashboard object in Automic Web Interface (AWI) - a java exception is shown:
 
javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:200) at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:152) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:232) at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:127) at com.sun.xml.internal.bind.v2.util.XmlFactory.createParserFactory(XmlFactory.java:116) at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.getXMLReader(UnmarshallerImpl.java:139) at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157) at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:214) at com.uc4.ecc.framework.commons.dashboard.xml.DashboardService.unmarshal(DashboardService.java:49) at com.uc4.ecc.backends.impl.dataservice.dashboard.DashboardService.load(DashboardService.java:199) at com.uc4.ecc.backends.dataservice.dashboard.IDashboardService$pbryglu.load(Unknown Source) at com.uc4.ecc.ae.commons.dashboard.home.HomeDashboardContentPresenter.tryLoadUserHomeDashboard(HomeDashboardContentPresenter.java:538) at com.uc4.ecc.ae.commons.dashboard.home.HomeDashboardContentPresenter.provideUserHomeDashboard(HomeDashboardContentPresenter.java:494) at com.uc4.ecc.ae.commons.dashboard.home.HomeDashboardContentPresenter.load(HomeDashboardContentPresenter.java:478) at com.uc4.ecc.ae.commons.dashboard.home.HomeDashboardContentPresenter.access$000(HomeDashboardContentPresenter.java:66) at com.uc4.ecc.ae.commons.dashboard.home.HomeDashboardContentPresenter$1.loadWithNullAsDefault(HomeDashboardContentPresenter.java:277) at com.uc4.ecc.ae.commons.dashboard.home.HomeDashboardContentPresenter$1.loadWithNullAsDefault(HomeDashboardContentPresenter.java:273) at com.uc4.webui.common.async.NullAsDefaultLoader.load(NullAsDefaultLoader.java:10) at com.uc4.webui.common.async.NullAsDefaultLoader.load(NullAsDefaultLoader.java:6) at com.uc4.ecc.framework.core.async.BaseRequestCoordinator$1$1.call(BaseRequestCoordinator.java:223) at com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$CallableImplementation.call(ContextAwareExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ClassNotFoundException: org/apache/xerces/jaxp/SAXParserFactoryImpl at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at javax.xml.parsers.FactoryFinder.getProviderClass(FactoryFinder.java:124) at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:188) ... 24 more

This happend without any warning or configuration change. Also this was the case for all Dashboard Objects. A restart of the tomcat server solved the issue. However a restart is not a suitable workaround since it means a session breakdowns for AWI users.
Environment:
Automic.Web.Interface 12.1.1 HF1
Resolution:
Workaround: Restart Tomcat