[IdP] Compiler error installing idP to OS 10 J2EE

[IdP] Compiler error installing idP to OS 10 J2EE

  
Forge Component
(16)
Published on 12 Oct (6 days ago) by Denis Pertsev
16 votes
Published on 12 Oct (6 days ago) by Denis Pertsev

I get OS10 compiler error while installing idP component.

OS version: Development mode - Version 10.0.503.0
Type: on-premises
Stack: J2EE 

Preparing Database: Preparing database of module 'IdP'.
Internal Error: Invalid compiler output.
java.io.IOException: Illegal state for UTF-8 encoded string
(Error) Publishing Application: Error publishing Application Dependencies
Preparing Deploy: Preparing deploy of 'IdP'.
(Warning) Execution Plan Suspended: Deployment process was suspended due to an error.
Execution Plan Suspended: Deployment process was suspended due to an error.
(Info) Done: The application was successfully published. 2 modules were published.


Please advise how to proceed / troubleshoot this behavior. 

Kind Regards,
LM

Hi Leonids, 

I suspect that some screen of the component is not on UTF-8, ie, has some characters not UTF-8. 

Problaby its the Instructions screen. Open the component with Service Studio and remove the Instructions screen  and try to publish again. 

Regards. 


Hi Telmo,

Thanks for such prompt response, highly appreciated.

Could you please point me out to some instructions how to achieve that? 

  • E.g. can I open the component in Service Studio if it failed to install properly?
  • It failed to install fully in the first place. All I see in the idP component then I open it in the Service Studio (after error message of not fully installed)  - SAML_Utils extension.
    How can I open it to alter the Configuration screen?

Kind Regards,

Telmo Martins wrote:

Hi Leonids, 

I suspect that some screen of the component is not on UTF-8, ie, has some characters not UTF-8. 

Problaby its the Instructions screen. Open the component with Service Studio and remove the Instructions screen  and try to publish again. 

Regards. 




Hello,

After reinstalling everything N times I managed to get in the sate as below:

I am not able to navigate from this to component, field or value... to fix.

Is there any way how to to find the culprit here? Or maybe you have any idea what screen / compoenent / field - is the most likely culprit here?


Kind regards

Edit

PS> stack strace attached


Internal Error

Invalid compiler output.

java.io.IOException: Illegal state for UTF-8 encoded string

Exception 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.$eif(Unknown Source)
at outsystems.common.XElementReader.$yff(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.(Unknown Source)
at outsystems.hubedition.compiler.Compiler.innerCompile(Unknown Source)
at outsystems.hubedition.compiler.Compiler.compile(Unknown Source)
at outsystems.hubedition.compiler.Compiler.lambda$8(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.$eif(Unknown Source)
at outsystems.common.XElementReader.$yff(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.(Unknown Source)
at outsystems.hubedition.compiler.Compiler.innerCompile(Unknown Source)
at outsystems.hubedition.compiler.Compiler.compile(Unknown Source)
at outsystems.hubedition.compiler.Compiler.lambda$8(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)


Telmo Martins wrote:

Hi Leonids, 

I suspect that some screen of the component is not on UTF-8, ie, has some characters not UTF-8. 

Problaby its the Instructions screen. Open the component with Service Studio and remove the Instructions screen  and try to publish again. 

Regards. 




Solution

Hi Leonids,


On IdP espace, delete the DocumentationFlow. Then try again to publish. It should fix the issue.

Since you will lost the documentation (static html page) on that server, meanwhile you can also install the component on the personal area which should install without issues and then check the documentation screen.


Regards.

Solution

Than helped indeed. Thanks a lot, highly appreciated! 


Telmo Martins wrote:

Hi Leonids,


On IdP espace, delete the DocumentationFlow. Then try again to publish. It should fix the issue.

Since you will lost the documentation (static html page) on that server, meanwhile you can also install the component on the personal area which should install without issues and then check the documentation screen.


Regards.