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 2010/02/18 20:50:28 UTC
[jira] Created: (FELIX-2101) Exception in grep command
Exception in grep command
-------------------------
Key: FELIX-2101
URL: https://issues.apache.org/jira/browse/FELIX-2101
Project: Felix
Issue Type: Bug
Components: Karaf
Reporter: Guillaume Nodet
When running "osgi:ls | grep -C 100 URL" i have the following exception
java.lang.IndexOutOfBoundsException: Index: 183, Size: 183
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.apache.felix.karaf.shell.commands.GrepAction.doExecute(GrepAction.java:176)
at org.apache.felix.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:34)
at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:45)
at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:211)
at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:146)
at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:91)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-2101) Exception in grep command
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved FELIX-2101.
------------------------------------
Assignee: Guillaume Nodet
Fix Version/s: karaf-1.6.2
Resolution: Fixed
Committing to https://svn.apache.org/repos/asf/felix/trunk ...
M karaf/shell/commands/pom.xml
M karaf/shell/commands/src/main/java/org/apache/felix/karaf/shell/commands/GrepAction.java
A karaf/shell/commands/src/test/java/org/apache/felix/karaf/shell/commands/GrepTest.java
Committed r953295
> Exception in grep command
> -------------------------
>
> Key: FELIX-2101
> URL: https://issues.apache.org/jira/browse/FELIX-2101
> Project: Felix
> Issue Type: Bug
> Components: Karaf
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: karaf-1.6.2
>
>
> When running "osgi:ls | grep -C 100 URL" i have the following exception
> java.lang.IndexOutOfBoundsException: Index: 183, Size: 183
> at java.util.ArrayList.RangeCheck(ArrayList.java:547)
> at java.util.ArrayList.get(ArrayList.java:322)
> at org.apache.felix.karaf.shell.commands.GrepAction.doExecute(GrepAction.java:176)
> at org.apache.felix.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
> at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:34)
> at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:45)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:211)
> at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:146)
> at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:91)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.