java.lang.IllegalArgumentException: Invalid token '' | Community
Skip to main content
sai111
Level 2
October 14, 2019
Question

java.lang.IllegalArgumentException: Invalid token ''

  • October 14, 2019
  • 13 replies
  • 15029 views

On AEM login seeing exception java.lang.IllegalArgumentException: Invalid token '' can someone please help(It is existing 6.3 sp2 instance no upgrade is done), is there any possibility I can recover it

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

13 replies

Ankur_Khare
Community Advisor
Community Advisor
October 14, 2019
sai111
sai111Author
Level 2
October 14, 2019

Tried restarting using bin/start but did not work for me ...cleared cookies nd tried logging in but still did not help...

Ankur_Khare
Community Advisor
Community Advisor
October 14, 2019

Could u pls have a look at this thread as well-

How to close user session after 30 minutes of inactivity In AEM 6.1

Specifically this one-

  • Also make sure to set Token Length otherwise will throw exception "org.eclipse.jetty.servlet.ServletHandler / java.lang.IllegalArgumentException: Invalid token ''"

sai111
sai111Author
Level 2
October 14, 2019

I am not able to open any of the consoles now , it is only throwing that exception on every console, is there anything else I should do to have a successful login

Ankur_Khare
Community Advisor
Community Advisor
October 14, 2019

Try deleting launchpad folder-

crx-quickstart\launchpad

and restart the server.

sai111
sai111Author
Level 2
October 14, 2019

It is taking so long to load and start after deletion of launchpad folder..will it take some time or something is wrong ..

Ankur_Khare
Community Advisor
Community Advisor
October 14, 2019

It will take time keep monitoring the bundles under launchpad folder..

sai111
sai111Author
Level 2
October 14, 2019

Instance startup stopped I believe I can see few folders came up in launchpad folder ..it is at the same point as 2 hours back not starting

Ankur_Khare
Community Advisor
Community Advisor
October 14, 2019

Please check the logs.

If you are seeing segment not found then follow steps given in below link to fix that issue-

Fix Inconsistencies in the repository when SegmentNotFound Issue is reported in AEM 6.x

Ankur_Khare
Community Advisor
Community Advisor
October 16, 2019

Hope you were able to resolve this..