Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » RAP: Scout Session expired - SyntaxError not catched(In case of an expired session scout-side, rap-client.js throws a screen-wide exception.)
RAP: Scout Session expired - SyntaxError not catched [message #1775222] Thu, 26 October 2017 09:21 Go to next message
Eclipse UserFriend
Case:
* Session in Scout expires
* the UI (which hasn´t gone yet) is been clicked on any element
* the syntax error shows up:

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data 


Debugging by browser developer tools it just shows off some relations to event registrations and an
rwt.client.Timer
object as JSON which looks fine in syntax side of view.
But the error always shows different (!) events as errors.

1. Is this a bug?
2. If not any directions to debug into at java-side?

Best regards,

Christoph
Re: RAP: Scout Session expired - SyntaxError not catched [message #1775942 is a reply to message #1775222] Wed, 08 November 2017 08:46 Go to previous message
Eclipse UserFriend
Ok. Solved.

Added needed params to our projects plugin.xml for the related LogoutFilter.
<init-param
   name="reloadOnSessionTimeout"
   value="true">
</init-param>

[Updated on: Wed, 08 November 2017 08:47] by Moderator

Previous Topic:Documentation Clarification - Server & User Interface
Next Topic:Eclipse for Scout Developers 4.7.20171009-0410 - NoSuchFileException
Goto Forum:
  


Current Time: Wed Jun 18 15:14:38 EDT 2025

Powered by FUDForum. Page generated in 0.45708 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top