Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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 13:21 Go to next message
Christoph Hillebrand is currently offline Christoph HillebrandFriend
Messages: 2
Registered: October 2017
Junior Member
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 13:46 Go to previous message
Christoph Hillebrand is currently offline Christoph HillebrandFriend
Messages: 2
Registered: October 2017
Junior Member
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 13:47]

Report message to a moderator

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


Current Time: Tue Sep 18 14:25:49 GMT 2018

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

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

Back to the top