OPP throws java.lang.ArrayIndexOutOfBoundsException: -1 when template contains landscape and portrai
OPP is fails to generate pdf output when the xml template contains both landscape and portrait pages. Received below error in OPP log,
[3/30/17 5:24:13 PM] [9238:RT910063] Output file was found but is zero sized - Deleted
[3/30/17 5:24:13 PM] [UNEXPECTED] [9238:RT910063] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)