karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4299) NoSuchElementException when clearing history
Date Sun, 31 Jan 2016 11:09:39 GMT

    [ https://issues.apache.org/jira/browse/KARAF-4299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15125298#comment-15125298
] 

ASF subversion and git services commented on KARAF-4299:
--------------------------------------------------------

Commit 5ca604ae818875442a06557b91f3b9fa592f442c in karaf's branch refs/heads/master from [~ancosen]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=5ca604a ]

[KARAF-4299] NoSuchElementException when clearing history


> NoSuchElementException when clearing history
> --------------------------------------------
>
>                 Key: KARAF-4299
>                 URL: https://issues.apache.org/jira/browse/KARAF-4299
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.4
>            Reporter: Nicolas Dutertry
>            Assignee: Andrea Cosentino
>            Priority: Minor
>
> When using command "history" with option "--clear", an error NoSuchElementException is
raised :
> {noformat}
> karaf@root()> history -c
> Error executing command: java.util.NoSuchElementException
> {noformat}
> Here is the detailed error in log file:
> {noformat}
> java.util.NoSuchElementException
> 	at jline.console.history.MemoryHistory$EntriesIterator.next(MemoryHistory.java:200)[10:jline:2.13.0]
> 	at jline.console.history.MemoryHistory$EntriesIterator.next(MemoryHistory.java:189)[10:jline:2.13.0]
> 	at org.apache.karaf.shell.impl.console.HistoryWrapper.first(HistoryWrapper.java:37)[44:org.apache.karaf.shell.core:4.0.4]
> 	at org.apache.karaf.shell.commands.impl.HistoryAction.execute(HistoryAction.java:45)[42:org.apache.karaf.shell.commands:4.0.4]
> 	at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:83)[44:org.apache.karaf.shell.core:4.0.4]
> 	at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[44:org.apache.karaf.shell.core:4.0.4]
> 	at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[44:org.apache.karaf.shell.core:4.0.4]
> 	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[44:org.apache.karaf.shell.core:4.0.4]
> 	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[44:org.apache.karaf.shell.core:4.0.4]
> 	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[44:org.apache.karaf.shell.core:4.0.4]
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[44:org.apache.karaf.shell.core:4.0.4]
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[44:org.apache.karaf.shell.core:4.0.4]
> 	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)[44:org.apache.karaf.shell.core:4.0.4]
> 	at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:270)[44:org.apache.karaf.shell.core:4.0.4]
> 	at java.lang.Thread.run(Thread.java:745)[:1.7.0_67]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message