When I was doing some crazy experiments with XSL variables in BI Publisher,
came across the error "java.lang.reflect.InvocationTargetException".
The error was generated by the MS Word Addin of BIP while creating a pdf preview. as shown.
The error screen was the following.
A little googling saved me!!! the reason for this error in java is mainly due to incorrect datatype.
Say a variable of type "Number" is getting assigned with a value of type "Text".
Bingo... the error might be in the variable I decalred as below..!!!
<?xdoxslt:set_variable($_XDOCTX,'V_NA',0)?>
and what generated the error should be,
<?xdoxslt:set_variable($_XDOCTX,'V_NA',NAME)?>
The error was resolved by changing the code to
<?xdoxslt:set_variable($_XDOCTX,'V_NA','xyz')?>
And tried again to get a preview.... Ta..da... It Worked.
came across the error "java.lang.reflect.InvocationTargetException".
The error was generated by the MS Word Addin of BIP while creating a pdf preview. as shown.
The error screen was the following.
A little googling saved me!!! the reason for this error in java is mainly due to incorrect datatype.
Say a variable of type "Number" is getting assigned with a value of type "Text".
Bingo... the error might be in the variable I decalred as below..!!!
<?xdoxslt:set_variable($_XDOCTX,'V_NA',0)?>
and what generated the error should be,
<?xdoxslt:set_variable($_XDOCTX,'V_NA',NAME)?>
The error was resolved by changing the code to
<?xdoxslt:set_variable($_XDOCTX,'V_NA','xyz')?>
And tried again to get a preview.... Ta..da... It Worked.