SAP Knowledge Base Article - Preview

3136378 - Unable to create business process due to DVFactoryException

Symptom

When create business process by custom code, below exception is observed.

ERROR [hybrisHTTP12] [TestServiceImpl] Error in Business Process for test:8809757389866
org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.
at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source) ~[xercesImpl-2.12.0.jar:?]
at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source) ~[xercesImpl-2.12.0.jar:?]
at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.<init>(Unknown Source) ~[xercesImpl-2.12.0.jar:?]
at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.<init>(Unknown Source) ~[xercesImpl-2.12.0.jar:?]
at org.apache.xerces.impl.xs.traversers.XSDHandler.<init>(Unknown Source) ~[xercesImpl-2.12.0.jar:?]
at org.apache.xerces.impl.xs.traversers.XSDHandler.<init>(Unknown Source) ~[xercesImpl-2.12.0.jar:?]
at org.apache.xerces.impl.xs.XMLSchemaLoader.<init>(Unknown Source) ~[xercesImpl-2.12.0.jar:?]
at org.apache.xerces.impl.xs.XMLSchemaLoader.<init>(Unknown Source) ~[xercesImpl-2.12.0.jar:?]
at org.apache.xerces.impl.xs.XMLSchemaValidator.<init>(Unknown Source) ~[xercesImpl-2.12.0.jar:?]
at org.apache.xerces.jaxp.validation.XMLSchemaValidatorComponentManager.<init>(Unknown Source) ~[xercesImpl-2.12.0.jar:?]
at org.apache.xerces.jaxp.validation.ValidatorHandlerImpl.<init>(Unknown Source) ~[xercesImpl-2.12.0.jar:?]
at org.apache.xerces.jaxp.validation.AbstractXMLSchema.newValidatorHandler(Unknown Source) ~[xercesImpl-2.12.0.jar:?]
at com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.<init>(ValidatingUnmarshaller.java:43) ~[jaxb-impl-2.3.2.jar:2.3.2]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshallerHandler(UnmarshallerImpl.java:167) ~[jaxb-impl-2.3.2.jar:2.3.2]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:381) ~[jaxb-impl-2.3.2.jar:2.3.2]
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:356) ~[jaxb-impl-2.3.2.jar:2.3.2]
at de.hybris.platform.processengine.definition.XMLProcessDefinitionsReader.from(XMLProcessDefinitionsReader.java:176) ~[workflowserver.jar:?]
at de.hybris.platform.processengine.definition.ProcessDefinitionsProvider.getDefinition(ProcessDefinitionsProvider.java:116) ~[workflowserver.jar:?]
at de.hybris.platform.processengine.definition.ProcessDefinitionsCache$7.execute(ProcessDefinitionsCache.java:210) ~[workflowserver.jar:?]
at de.hybris.platform.processengine.definition.ProcessDefinitionsCache$7.execute(ProcessDefinitionsCache.java:1) ~[workflowserver.jar:?]
at de.hybris.platform.processengine.definition.ProcessDefinitionsCache.executeWithLock(ProcessDefinitionsCache.java:235) ~[workflowserver.jar:?]
at de.hybris.platform.processengine.definition.ProcessDefinitionsCache.executeWrite(ProcessDefinitionsCache.java:222) ~[workflowserver.jar:?]
at de.hybris.platform.processengine.definition.ProcessDefinitionsCache.findHistoricalDefinition(ProcessDefinitionsCache.java:129) ~[workflowserver.jar:?]
at de.hybris.platform.processengine.definition.ProcessDefinitionsCache.find(ProcessDefinitionsCache.java:49) ~[workflowserver.jar:?]
at de.hybris.platform.processengine.definition.DefaultProcessDefinitionFactory.getProcessDefinition(DefaultProcessDefinitionFactory.java:50) ~[workflowserver.jar:?]
at de.hybris.platform.processengine.helpers.impl.DefaultProcessFactory.createProcessModel(DefaultProcessFactory.java:44) ~[processingserver.jar:?]
at de.hybris.platform.processengine.impl.DefaultBusinessProcessService.createProcess(DefaultBusinessProcessService.java:76) ~[processingserver.jar:?]
at de.hybris.platform.processengine.impl.DefaultBusinessProcessService.createProcess(DefaultBusinessProcessService.java:67) ~[processingserver.jar:?]
at com.test.core.service.impl.TestServiceImpl.createBusinessProcess(TestServiceImpl.java:120) ~[testcoreserver.jar:?]
...


Read more...

Product

SAP Commerce 1905 ; SAP Commerce 2005 ; SAP Commerce 2011 ; SAP Commerce 2105

Keywords

DVFactoryException, ClassCastException, DTD factory class, xercesImpl jar, class loader , KBA , CEC-COM-CPS-OTH , Other topics , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.