[IdP] Illegal state for UTF-8 encoded string

[IdP] Illegal state for UTF-8 encoded string

  
Forge Component
(25)
Published on 4 Jul by Telmo Martins
25 votes
Published on 4 Jul by Telmo Martins


Hello team,


I am trying to install the idp in to java stack environment and the app is not getting published.Its giving UTF-8 encoded string as error.Please check below error stack for reference


xception Details:
[1] javax.xml.stream.XMLStreamException: java.io.IOException: Illegal state for UTF-8 encoded string
at com.sun.xml.fastinfoset.stax.StAXDocumentParser.next(StAXDocumentParser.java:455)
at outsystems.hubedition.util.xml.XmlReader.read(Unknown Source)
at outsystems.common.XElementReader.$xgf(Unknown Source)
at outsystems.common.XElementReader.$hgf(Unknown Source)
at outsystems.common.iIiiiiiiIIIi.advance(Unknown Source)
at outsystems.hubedition.util.Yielder.hasNext(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.AbstractContainer.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.Container.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.AbstractContainer.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.Container.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.AbstractContainer.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.Container.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.AbstractContainer.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.Container.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.AbstractContainer.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.Container.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.AbstractContainer.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.Container.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.PlaceholderArgument.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.AbstractWebBlockInstance.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.WebBlockInstance.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.lazyLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.ESpace.loadCacheableCollection(Unknown Source)
at outsystems.hubedition.compiler.AbstractObject.ensureCacheableCollectionIsLoaded(Unknown Source)
at outsystems.hubedition.compiler.nodes.AbstractWebContentNode.getChildCollection(Unknown Source)
at outsystems.hubedition.compiler.nodes.AbstractWebInteractiveContentNode.getChildCollection(Unknown Source)
at outsystems.hubedition.compiler.nodes.WebScreen.getChildCollection(Unknown Source)
at outsystems.hubedition.compiler.Locale.innerLoadTextResources(Unknown Source)
at outsystems.hubedition.compiler.Locale.lambda$10(Unknown Source)
at outsystems.hubedition.util.delegates.Action$Action1_Lambda.execute(Unknown Source)
at outsystems.runtimecommon.CollectionsExtensions.apply(Unknown Source)
at outsystems.hubedition.compiler.Locale.innerLoadTextResources(Unknown Source)
at outsystems.hubedition.compiler.Locale.lambda$10(Unknown Source)
at outsystems.hubedition.util.delegates.Action$Action1_Lambda.execute(Unknown Source)
at outsystems.runtimecommon.CollectionsExtensions.apply(Unknown Source)
at outsystems.hubedition.compiler.Locale.innerLoadTextResources(Unknown Source)
at outsystems.hubedition.compiler.Locale.loadTextResources(Unknown Source)
at outsystems.hubedition.compiler.Locale.ensureResourceLoading(Unknown Source)
at outsystems.hubedition.compiler.ESpace.afterLoad(Unknown Source)
at outsystems.hubedition.compiler.ESpace.<init>(Unknown Source)
at outsystems.hubedition.compiler.Compiler.innerCompile(Unknown Source)
at outsystems.hubedition.compiler.Compiler.compile(Unknown Source)
at outsystems.hubedition.compiler.Compiler.lambda$9(Unknown Source)
at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)
at outsystems.hubedition.compiler.utils.CompilerUtils.withOverridenSettings(Unknown Source)
at outsystems.hubedition.compiler.Compiler.lambda$0(Unknown Source)
at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)
at outsystems.hubedition.util.delegates.Action$Action0_Lambda.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Illegal state for UTF-8 encoded string
at com.sun.xml.fastinfoset.Decoder.decodeUtf8StringIllegalState(Decoder.java:1775)
at com.sun.xml.fastinfoset.Decoder.decodeTwoToFourByteUtf8Character(Decoder.java:1527)
at com.sun.xml.fastinfoset.Decoder.decodeUtf8StringIntoCharBuffer(Decoder.java:1466)
at com.sun.xml.fastinfoset.Decoder.decodeUtf8StringAsCharBuffer(Decoder.java:1387)
at com.sun.xml.fastinfoset.Decoder.decodeUtf8StringAsString(Decoder.java:1396)
at com.sun.xml.fastinfoset.stax.StAXDocumentParser.processAIIs(StAXDocumentParser.java:1370)
at com.sun.xml.fastinfoset.stax.StAXDocumentParser.processEII(StAXDocumentParser.java:1277)
at com.sun.xml.fastinfoset.stax.StAXDocumentParser.next(StAXDocumentParser.java:274)
... 65 more
[2] java.io.IOException: Illegal state for UTF-8 encoded string
at com.sun.xml.fastinfoset.Decoder.decodeUtf8StringIllegalState(Decoder.java:1775)
at com.sun.xml.fastinfoset.Decoder.decodeTwoToFourByteUtf8Character(Decoder.java:1527)
at com.sun.xml.fastinfoset.Decoder.decodeUtf8StringIntoCharBuffer(Decoder.java:1466)
at com.sun.xml.fastinfoset.Decoder.decodeUtf8StringAsCharBuffer(Decoder.java:1387)
at com.sun.xml.fastinfoset.Decoder.decodeUtf8StringAsString(Decoder.java:1396)
at com.sun.xml.fastinfoset.stax.StAXDocumentParser.processAIIs(StAXDocumentParser.java:1370)
at com.sun.xml.fastinfoset.stax.StAXDocumentParser.processEII(StAXDocumentParser.java:1277)
at com.sun.xml.fastinfoset.stax.StAXDocumentParser.next(StAXDocumentParser.java:274)
at outsystems.hubedition.util.xml.XmlReader.read(Unknown Source)
at outsystems.common.XElementReader.$xgf(Unknown Source)
at outsystems.common.XElementReader.$hgf(Unknown Source)
at outsystems.common.iIiiiiiiIIIi.advance(Unknown Source)
at outsystems.hubedition.util.Yielder.hasNext(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.AbstractContainer.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.Container.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.AbstractContainer.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.Container.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.AbstractContainer.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.Container.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.AbstractContainer.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.Container.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.AbstractContainer.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.Container.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.AbstractContainer.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.Container.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.PlaceholderArgument.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.AbstractWebBlockInstance.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.webwidgets.WebBlockInstance.loadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.innerLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.serialization.ESpaceReader.lazyLoadChildren(Unknown Source)
at outsystems.hubedition.compiler.ESpace.loadCacheableCollection(Unknown Source)
at outsystems.hubedition.compiler.AbstractObject.ensureCacheableCollectionIsLoaded(Unknown Source)
at outsystems.hubedition.compiler.nodes.AbstractWebContentNode.getChildCollection(Unknown Source)
at outsystems.hubedition.compiler.nodes.AbstractWebInteractiveContentNode.getChildCollection(Unknown Source)
at outsystems.hubedition.compiler.nodes.WebScreen.getChildCollection(Unknown Source)
at outsystems.hubedition.compiler.Locale.innerLoadTextResources(Unknown Source)
at outsystems.hubedition.compiler.Locale.lambda$10(Unknown Source)
at outsystems.hubedition.util.delegates.Action$Action1_Lambda.execute(Unknown Source)
at outsystems.runtimecommon.CollectionsExtensions.apply(Unknown Source)
at outsystems.hubedition.compiler.Locale.innerLoadTextResources(Unknown Source)
at outsystems.hubedition.compiler.Locale.lambda$10(Unknown Source)
at outsystems.hubedition.util.delegates.Action$Action1_Lambda.execute(Unknown Source)
at outsystems.runtimecommon.CollectionsExtensions.apply(Unknown Source)
at outsystems.hubedition.compiler.Locale.innerLoadTextResources(Unknown Source)
at outsystems.hubedition.compiler.Locale.loadTextResources(Unknown Source)
at outsystems.hubedition.compiler.Locale.ensureResourceLoading(Unknown Source)
at outsystems.hubedition.compiler.ESpace.afterLoad(Unknown Source)
at outsystems.hubedition.compiler.ESpace.<init>(Unknown Source)
at outsystems.hubedition.compiler.Compiler.innerCompile(Unknown Source)
at outsystems.hubedition.compiler.Compiler.compile(Unknown Source)
at outsystems.hubedition.compiler.Compiler.lambda$9(Unknown Source)
at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)
at outsystems.hubedition.compiler.utils.CompilerUtils.withOverridenSettings(Unknown Source)
at outsystems.hubedition.compiler.Compiler.lambda$0(Unknown Source)
at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)
at outsystems.hubedition.util.delegates.Action$Action0_Lambda.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)

Solution

Hi Rajasekhar,

Open the IdP module with Service Studio, and remove the DocumentationFlow and try to publish again.

For the moment just to access the IdP instructions pages, you can install the component in your personal environment without removing the DocumentationFlow.

Regards.


Solution

Thanks Telmo.Its working now.

Hello Rajasekhar,

If Telmo's answer is the answer to your question, please, mark it as the correct answer.

Thanks :)

Cheers

Eduardo Jauch