Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #34179 All Revisions ] Back to Issue ]
Summary 0034179: random request failures
Revision 2016-10-10 11:02 by alostale
Steps To Reproduce I was unable to reproduce the cause the request is set in invalid state, so alternatively.

1. Add TestListener.java in the sources and modify web.xml to be used as 1st listener
2. Try to open openbravo:
  2.1 All requests are rejected
  2.2 In localhost.log see:
   Oct 05, 2016 10:18:42 AM org.apache.catalina.core.StandardContext fireRequestInitEvent
SEVERE: Exception sending request initialized lifecycle event to listener instance of class org.jboss.weld.environment.servlet.Listener
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:872)
        at java.lang.StringBuilder.substring(StringBuilder.java:72)
        at java.lang.AbstractStringBuilder.subSequence(AbstractStringBuilder.java:849)
        at java.lang.StringBuilder.subSequence(StringBuilder.java:72)
        at ch.qos.cal10n.util.LexicalUtil.convertSpecialCharacters(LexicalUtil.java:42)
        at ch.qos.cal10n.util.TokenStream.tokenizeLine(TokenStream.java:146)
        at ch.qos.cal10n.util.TokenStream.tokenize(TokenStream.java:67)
        at ch.qos.cal10n.util.Parser.<init>(Parser.java:56)
        at ch.qos.cal10n.util.CAL10NResourceBundle.read(CAL10NResourceBundle.java:56)
        at ch.qos.cal10n.util.CAL10NResourceBundle.<init>(CAL10NResourceBundle.java:50)
        at ch.qos.cal10n.util.CAL10NResourceBundleFinder.makePropertyResourceBundle(CAL10NResourceBundleFinder.java:83)
        at ch.qos.cal10n.util.CAL10NResourceBundleFinder.getBundle(CAL10NResourceBundleFinder.java:51)
        at ch.qos.cal10n.MessageConveyor.lookup(MessageConveyor.java:111)
        at ch.qos.cal10n.MessageConveyor.getMessage(MessageConveyor.java:77)
        at org.jboss.weld.logging.WeldMessageConveyor.getMessage(WeldMessageConveyor.java:68)
        at org.slf4j.cal10n.LocLogger.warn(LocLogger.java:141)
        at org.jboss.weld.context.http.HttpRequestContextImpl.associate(HttpRequestContextImpl.java:58)
        at org.jboss.weld.context.http.HttpRequestContextImpl.associate(HttpRequestContextImpl.java:41)
        at org.jboss.weld.servlet.WeldListener.requestInitialized(WeldListener.java:204)
        at org.jboss.weld.servlet.api.helpers.ForwardingServletListener.requestInitialized(ForwardingServletListener.java:47)
        at org.apache.catalina.core.StandardContext.fireRequestInitEvent(StandardContext.java:6166)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:166)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Revision 2016-10-10 10:58 by alostale
Steps To Reproduce -


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker