Skip to content

Instantly share code, notes, and snippets.

@alexflav23
Last active August 29, 2015 14:11
Show Gist options
  • Save alexflav23/3cc0e4f00912931b20fd to your computer and use it in GitHub Desktop.
Save alexflav23/3cc0e4f00912931b20fd to your computer and use it in GitHub Desktop.
Barclays Online Website error

Here's some free debugging as we all really need the service back up and running properly. Cookies and cache where completely wipped before attempting the exercise, several times. The error is consistent across operating systems, devices, browsers and even machines.

At line 356 of LoginLink.action you are passing empty constructor arguments to a JavaScript class instantiation potentially due to a server side error failing to output the relevant arguments where they should be.

The code ends up being:

var timeout = new LoginTimeout( , );

Notice no arguments are passed and the comma is causing the JS engine to throw:

 Uncaught SyntaxError: Unexpected token , at LoginLink.action#356
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment