Guillaume Nodet created FELIX-5671:
--------------------------------------
Summary: StringIndexOutOfBounds in gogo while evaluating an
arithmetic expression
Key: FELIX-5671
URL: https://issues.apache.org/jira/browse/FELIX-5671
Project: Felix
Issue Type: Bug
Components: Gogo Runtime
Affects Versions: gogo.runtime-1.0.6
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
Fix For: gogo-runtime-1.0.8
{code}
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(Unknown Source)
at
org.apache.felix.gogo.runtime.Expression.isNumber(Expression.java:1051)
at
org.apache.felix.gogo.runtime.Expression.isNumber(Expression.java:1065)
at
org.apache.felix.gogo.runtime.Expression.access$100(Expression.java:215)
at
org.apache.felix.gogo.runtime.Expression$Operator.eval(Expression.java:434)
at org.apache.felix.gogo.runtime.Expression.eval(Expression.java:1182)
at
org.apache.felix.gogo.runtime.CommandProcessorImpl.expr(CommandProcessorImpl.java:401)
at
org.apache.felix.gogo.runtime.CommandSessionImpl.expr(CommandSessionImpl.java:488)
at org.apache.felix.gogo.runtime.Closure.expr(Closure.java:633)
at org.apache.felix.gogo.runtime.Expander.expandExp(Expander.java:917)
at org.apache.felix.gogo.runtime.Expander.doExpand(Expander.java:689)
at org.apache.felix.gogo.runtime.Expander.expand(Expander.java:120)
at org.apache.felix.gogo.runtime.Expander.expand(Expander.java:73)
at org.apache.felix.gogo.runtime.Expander.expand(Expander.java:58)
at org.apache.felix.gogo.runtime.Closure.eval(Closure.java:370)
at
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:434)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:386)
at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:417)
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229)
at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)