Notifications

14 views

Description

This error message is shown: An unexpected error has occurred. Please see the instance logs for more details

And this log message appears in the System logs:

com.snc.whtp: An error occurred when generating callback URL: java.net.URISyntaxException: Illegal character in query at index 32: /home.do?sysparm_view=Roundtable Report - 

Steps to Reproduce

As a system user

  1. Create a new homepage:
    • For example, Homepage test 1
  2. Navigate to: sys_portal_page_list.do
    • Look for the record with the title: Homepage test 1 and open it
  3. Add a View with spaces in the name: "Homepage test 1 view"
  4. Export the homepage to PDF using the "Export to PDF" button in the top right
    • The export will fail with this message: "An unexpected error has occurred. Please see the instance logs for more details"
    • System log will show: com.snc.whtp: An error occurred when generating callback URL: java.net.URISyntaxException: Illegal character in query at index 32: /home.do?sysparm_view=Homepage test 1
  5. It fails because of the spaces in "sysparm_view=Homepage test 1"

Workaround

Make sure that there are NO spaces in the "View" field of the sys_portal_page record. For example, use underscores: Homepage_2_test_example.


Related Problem: PRB1302679

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-07-09 08:00:37
Published:2019-06-27