Hi,
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 [1473758673210] 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
at java.util.regex.Matcher.start(Matcher.java:374)
at java.util.regex.Matcher.appendReplacement(Matcher.java:831)
at java.util.regex.Matcher.replaceAll(Matcher.java:906)
at java.lang.String.replaceAll(String.java:2162)
at org.apache.jsp.libs.cq.core.components.welcome.welcome_jsp._jspService(welcome_jsp.java:492)
An pointers what could be the issue?
Regards,
Anil
Solved! Go to Solution.
Views
Replies
Total Likes
Views
Replies
Total Likes
Try removing the recently installed packlages and see if that works. SOmething has caused an issue. I am thinking it was code in a package.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
Views
Replies
Total Likes
Exactly, what Sham Said.
Please have a look at this link:-
Link:- http://bloggershetty.blogspot.in/2006/10/java-string-replace-javalangindexoutofb.html
// 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"
~kautuk
Views
Replies
Total Likes
Views
Likes
Replies