SightlyCompilerException:BinaryOperator.strictEq
SightlyCompilerException: BinaryOperator.strictEq
需要您的帮助来解决以下异常:获取以下异常 post 从 AEM 6.1 迁移到 AEM 6.3。
尝试 render/load 一个 HTML 页面时发生此异常。
所有捆绑包都处于活动状态。
27.09.2017 10:15:31.272 ERROR [10.5.2.154 [1506500131064] GET /content/suninternational/properties/table-bay.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
org.apache.sling.scripting.sightly.compiler.SightlyCompilerException: Operands are not of the same type: the equality operator can only be applied to String, Number and Boolean types.
at org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator.strictEq(Bina ryOperator.java:238)
at org.apache.sling.scripting.sightly.apps.suninternational.components.content.flyoutCompone nt.flyoutComponent_html.render(flyoutComponent_html.java:81)
谢谢
当您在不兼容的类型(字符串与数字、对象与 Number/String)之间进行相等比较时,通常会发生这种情况。
根据提供的堆栈跟踪判断,问题发生在 apps/suninternational/components/content/flyoutComponent/flyoutComponent.html
中的某处
需要您的帮助来解决以下异常:获取以下异常 post 从 AEM 6.1 迁移到 AEM 6.3。
尝试 render/load 一个 HTML 页面时发生此异常。
所有捆绑包都处于活动状态。
27.09.2017 10:15:31.272 ERROR [10.5.2.154 [1506500131064] GET /content/suninternational/properties/table-bay.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException org.apache.sling.scripting.sightly.compiler.SightlyCompilerException: Operands are not of the same type: the equality operator can only be applied to String, Number and Boolean types. at org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator.strictEq(Bina ryOperator.java:238) at org.apache.sling.scripting.sightly.apps.suninternational.components.content.flyoutCompone nt.flyoutComponent_html.render(flyoutComponent_html.java:81)
谢谢
当您在不兼容的类型(字符串与数字、对象与 Number/String)之间进行相等比较时,通常会发生这种情况。
根据提供的堆栈跟踪判断,问题发生在 apps/suninternational/components/content/flyoutComponent/flyoutComponent.html