I am unable to see the welcome screen and getting below error. My AEM version is 6.0. I have applied SP2 and the installed a few packages.
13.09.2016 14:54:34.045 *ERROR* [0:0:0:0:0:0:0:1  GET /libs/cq/core/content/welcome.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
java.lang.IndexOutOfBoundsException: No group 2
An pointers what could be the issue?
Solved! Go to Solution.
AEM 6 is a stable version with SP2, as stated by scott the packages that were installed after SP2 might have caused this issue.
This issue might occur if you have tried uninstalling SP2, as it will corrupt your instance.
Note:- SP2 once installed cannot be uninstalled, you have to setup a fresh instance.
Exactly, what Sham Said.
Please have a look at this link:-
// java.lang.IndexOutOfBoundsException: No group 2
Reason:- You possibly have "$" character in your target string.
Also check if you have used some string replacing or string manipulation function in recent service/component. Try removing the OSGI service/component added from "\crx-quickstart\launchpad\installer"