cancel
Showing results for 
Search instead for 
Did you mean: 

failed to action task - try again [Solved]

michaelc
Champ on-the-rise
Champ on-the-rise
I have come back to this issue and hope someone has found an answer and to also add more info.

I am running 3.3g and tomcat is running on 8080, I have a mod-jk.so installed on my apache server to forward all request to
/alfresco/ and /share/ to tomcat.

everything works fine except the my tasks that will give a failed to action error when an item is selected.
http://forums.alfresco.com/en/viewtopic.php?f=48&t=27764&start=0&hilit=8080

I see the internal error as index out of bound No Group 3 some times group 4.
If I change the URL to 8080 it works. 


Dec 22, 2010 2:20:25 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet default threw exception
java.lang.IndexOutOfBoundsException: No group 3
   at java.util.regex.Matcher.group(Matcher.java:470)
   at java.util.regex.Matcher.appendReplacement(Matcher.java:737)
   at org.tuckey.web.filters.urlrewrite.utils.WildcardMatcher.replaceAll(WildcardMatcher.java:118)
   at org.tuckey.web.filters.urlrewrite.RuleBase.matchesBase(RuleBase.java:242)
   at org.tuckey.web.filters.urlrewrite.NormalRule.matches(NormalRule.java:88)
   at org.tuckey.web.filters.urlrewrite.RuleChain.doRuleProcessing(RuleChain.java:79)
   at org.tuckey.web.filters.urlrewrite.RuleChain.process(RuleChain.java:133)
   at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:140)
   at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
   at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
   at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
   at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
   at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
   at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
   at java.lang.Thread.run(Thread.java:619)

Need a fix, my only other alternative is to remove the my-tasks dashlet.
3 REPLIES 3

croc
Champ in-the-making
Champ in-the-making
Hi,
I doubt this has anything to do with port 8080.
The roor cause of the problem is here "java.lang.IndexOutOfBoundsException: No group 3".
You should debug the code and fix it.
Sometimes you find that you have a for loop, and you loop more that the length or the size of the List/Array/Collection, so the best option is to change your loop to be based on the size -(minus) 1, in case your counter starts at zero.

Thanx,
Croc

michaelc
Champ on-the-rise
Champ on-the-rise
None of this is my code,
it's the my tasks dashlet that fails.

but only when using the mod_jk connector.

michaelc
Champ on-the-rise
Champ on-the-rise
None of this is my code,
it's the my tasks dashlet that fails.

but only when using the mod_jk connector.

Seems to be resolved in 3.3.4 Enterprise