Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

JSON error after call to JRI (show_report / get_report) #19


In my new Apex App, I created a page with a button to a PL/SQL process calling xlib_jasperreports.show_report. The code was copy/pasted from a well working application, but in the new app it created an error:

1 error has occurred
Error: SyntaxError: Unexpected token % in JSON at position 0

After hours of seaching, re-writing code and diff'ing the two apps, I found the pitfall: the newly created APEX page has the default setting "Advanced/Reload on Submit: Only for success". This had to be changed to "Always" on the page using JRI calls in the processing section.

Thought I'd share this point and possibly saving time for other developers.


  • replies 1
  • views 1.5K
  • likes 0