[ https://issues.apache.org/jira/browse/MYFACES-4626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17765828#comment-17765828 ]
Melloware commented on MYFACES-4626: ------------------------------------ OK got to the bottom of the issue and my OmniFaces Integration tests are passing again! > Quarkus: Native compilation can't find key attribute > ---------------------------------------------------- > > Key: MYFACES-4626 > URL: https://issues.apache.org/jira/browse/MYFACES-4626 > Project: MyFaces Core > Issue Type: Bug > Components: Extension Feature > Affects Versions: 4.0.1 > Reporter: Melloware > Assignee: Melloware > Priority: Major > > Running integration tests for OmniFaces the tests pass in JVM mode but fail > in Native mode with this error. > > {code:java} > org.apache.myfaces.view.facelets.el.ContextAwarePropertyNotFoundException: > jakarta.el.PropertyNotFoundException: The class > 'org.apache.myfaces.util.lang.AbstractThreadSafeAttributeMap$EntrySetEntry' > does not have the property 'key'. > 766 at > org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.getValue(ContextAwareTagValueExpression.java:104) > 767 at > org.apache.myfaces.view.facelets.el.ELText$ELTextVariable.writeText(ELText.java:238) > 768 at > org.apache.myfaces.view.facelets.compiler.TextInstruction.write(TextInstruction.java:45) > 769 at > org.apache.myfaces.view.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:46) > 770 at > org.apache.myfaces.view.facelets.compiler.UILeaf.encodeAll(UILeaf.java:362) > 771 at > org.apache.myfaces.view.facelets.component.RepeatRenderer.encodeChildren(RepeatRenderer.java:78) > 772 at > org.apache.myfaces.view.facelets.component.UIRepeat.process(UIRepeat.java:1056) > 773 at > org.apache.myfaces.view.facelets.component.UIRepeat.encodeChildren(UIRepeat.java:1698) > {code} > Basically the XML page has this just to print out the Session Scope > {code:java} > <h3>Session Scope</h3> > <table> > <ui:repeat value="#{sessionScope}" var="s"> > <tr> > <td>#{s.key}</td> > <td>#{s.value}</td> > </tr> > </ui:repeat> > </table> {code} > And my guess is the Native compilation needs to be aware of > `org.apache.myfaces.util.lang.AbstractThreadSafeAttributeMap$EntrySetEntry` > or exposed somehow as it must be getting compiled out? -- This message was sent by Atlassian Jira (v8.20.10#820010)