I am working on Struts2 and spring integrated project.
I am getting OGNL exception as: -
Error setting expression 'lookupLicProductSKU.udiPID' with value '[Ljava.lang.String;@1feae0f'
ognl.OgnlException: target is null for setProperty(null, "udiPID", [Ljava.lang.String;@1feae0f)
I also have Spring AOP configured for all the actions to capture few logs. When ever AOP in in action and when I get the OGNL exception specified above, the flow breaks. If I remove the AOP defined in applicationContext.xml, flow runs smooth though there are the above specified OGNL exceptions. I do not understand the reason why this is happening.
Is there a way to make it work with AOP in place? Please let me know.