You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2017/08/03 09:42:00 UTC

[jira] [Closed] (FELIX-5671) StringIndexOutOfBounds in gogo while evaluating an arithmetic expression

     [ https://issues.apache.org/jira/browse/FELIX-5671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet closed FELIX-5671.
----------------------------------
       Resolution: Duplicate
    Fix Version/s:     (was: gogo-runtime-1.0.8)

> 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
>
> {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)