Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
Description
I get this with 0.7.4, there is no problem with 0.7.2
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:881) [:1.6.0_22]
at java.lang.StringBuilder.substring(StringBuilder.java:55) [:1.6.0_22]
at java.lang.AbstractStringBuilder.subSequence(AbstractStringBuilder.java:858) [:1.6.0_22]
at java.lang.StringBuilder.subSequence(StringBuilder.java:55) [:1.6.0_22]
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:78) [weld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.slf4j.cal10n.LocLogger.error(LocLogger.java:164)
at org.jboss.weld.bean.ManagedBean.destroy(ManagedBean.java:358) [weld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.context.ForwardingContextual.destroy(ForwardingContextual.java:34) [weld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.context.AbstractContext.destroy(AbstractContext.java:155) [weld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.context.AbstractContext.destroy(AbstractContext.java:172) [weld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.context.AbstractManagedContext.deactivate(AbstractManagedContext.java:50) [weld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.context.AbstractBoundContext.deactivate(AbstractBoundContext.java:82) [weld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.jboss.weld.servlet.WeldListener.requestDestroyed(WeldListener.java:115) [weld-core-1.1.1.Final.jar:2011-04-04 15:54]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184) [jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:658) [jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [jbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_22]
Attachments
Issue Links
- is duplicated by
-
CAL-28 StringOutOfBoundsException in LexicalUtil
- Resolved