org.xml.sax.SAXParseException: cvc-maxLength-valid: Value '<config> <recipients xmlns:dt="ns:workflow/DocumentType" xmlns:r="ns:workflow/Rule" xsi:schemaLocation="ns:workflow/Rule resource:Rule"> <r:principalName>quickstart</r:principalName> <r:user>quickstart</r:user> <role name="Technical Administrator" namespace="KR-SYS"/> </recipients> </config>' with length = '292' is not facet-valid with respect to maxLength '255' for type 'ShortStringType'.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

The persistence_2_0.xsd enforces the order of the elements in the xml. Re-ordering them makes then error go away.

Solutions on the web

via Kuali JIRA by Erik Meade, 1 year ago
="Technical Administrator" namespace="KR-SYS"/> </recipients> </config>' with length = '292' is not facet-valid with respect to maxLength '255' for type 'ShortStringType'.
via Kuali JIRA by Erik Meade, 1 year ago
="Technical Administrator" namespace="KR-SYS"/> </recipients> </config>' with length = '292' is not facet-valid with respect to maxLength '255' for type 'ShortStringType'.
via GitHub by bradleybeddoes
, 1 year ago
nGFP7EzBk76xgEs5E8gVXMOyqkaBALHktb95PzmN5g3nYBVeZFpbuwN1YcBw2rDX h6Qs+b+eu9cdDXl5sfiI5cCJuwBtNzFKIIU8T4m8xFcZkuwozTCoXxlj+ufgyN4Z nFDBFcQlKQHVnv2QNvYIgpc4/9DZmB4Jj5Jwu9sQz5pUtA4Pge1qAZ1aizl34i3L SEBurA== -----END CERTIFICATE----' is not a valid value for 'base64Binary'.
via Oracle Community by Ilario S., 1 year ago
cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type 'matchingRuleType'.
via MuleSoft JIRA by Jorge D'Alessandro, 1 year ago
cvc-complex-type.2.4.a: Invalid content was found starting with element 'idempotent-message-filter'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http
via MuleSoft JIRA by Jorge D'Alessandro, 1 year ago
cvc-complex-type.2.4.a: Invalid content was found starting with element 'idempotent-message-filter'. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":description, "http
org.xml.sax.SAXParseException: cvc-maxLength-valid: Value '<config> <recipients xmlns:dt="ns:workflow/DocumentType" xmlns:r="ns:workflow/Rule" xsi:schemaLocation="ns:workflow/Rule resource:Rule"> <r:principalName>quickstart</r:principalName> <r:user>quickstart</r:user> <role name="Technical Administrator" namespace="KR-SYS"/> </recipients> </config>' with length = '292' is not facet-valid with respect to maxLength '255' for type 'ShortStringType'.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.elementLocallyValidType(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.processElementContent(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleEndElement(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
at org.kuali.rice.core.impl.impex.xml.XmlIngesterServiceImpl.validate(XmlIngesterServiceImpl.java:143)
at org.kuali.rice.core.impl.impex.xml.XmlIngesterServiceImpl.validate(XmlIngesterServiceImpl.java:164)
at org.kuali.rice.core.impl.impex.xml.XmlIngesterServiceImpl.ingest(XmlIngesterServiceImpl.java:225)
at org.kuali.rice.core.impl.impex.xml.XmlIngesterServiceImpl.ingest(XmlIngesterServiceImpl.java:205)
at org.kuali.rice.kew.batch.KEWXmlDataLoader.loadXmlStream(KEWXmlDataLoader.java:147)
at org.kuali.rice.kew.test.KEWTestCase.loadXmlStream(KEWTestCase.java:210)
at org.kuali.rice.kew.xml.export.DocumentTypeXmlExporterTest.assertExport(DocumentTypeXmlExporterTest.java:59)
at org.kuali.rice.kew.xml.export.XmlExporterTestCase.testExportActionConfig(XmlExporterTestCase.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.kuali.rice.test.runners.RiceUnitTestClassRunner.runChild(RiceUnitTestClassRunner.java:46)
at org.kuali.rice.test.runners.RiceUnitTestClassRunner.runChild(RiceUnitTestClassRunner.java:34)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)

Users with the same issue

2 times, 2 months ago
2 times, 2 months ago
7 times, 8 months ago
2 times, 8 months ago
2 times, 8 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.