[
https://issues.apache.org/jira/browse/GERONIMO-6216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13536154#comment-13536154
]
Amichai Rothman commented on GERONIMO-6216:
-------------------------------------------
This still occurs in the Geronimo 3.0.0 release (on Oracle Java 1.7.0_10
Kubuntu 12.10 x86) with an exception every time enter is pressed after initial
server startup. The stack trace is slightly different though (probably
different JRE). After the first command is issued on the console, it doesn't
show up again.
2012-12-19 19:09:48,070 INFO [Console] Exception caught while executing command
java.util.NoSuchElementException
at java.util.LinkedList.removeLast(LinkedList.java:281)
at jline.console.history.MemoryHistory.replace(MemoryHistory.java:115)
at org.apache.karaf.shell.console.jline.Console.run(Console.java:227)
at java.lang.Thread.run(Thread.java:722)
> "java.util.NoSuchElementException" info displayed on server console for the
> first time enter into karaf shell
> -------------------------------------------------------------------------------------------------------------
>
> Key: GERONIMO-6216
> URL: https://issues.apache.org/jira/browse/GERONIMO-6216
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: osgi
> Environment: redhat6 x86_64;pxa6460sr9fp2-20110625_01(SR9 FP2)
> Reporter: Tina Li
> Priority: Minor
>
> 1.Using the build of geronimo server web
> profile:http://www.apache.org/dyn/closer.cgi/geronimo/3.0-beta-1/geronimo-tomcat7-javaee6-web-3.0-beta-1-bin.tar.gz
> 2.Start the server successfully using command: <geronimo_home>/geronimo.sh run
> 3.Press enter to go into karaf shell console, displayed red message "Error
> executing command: java.util.NoSuchElementException"
> 4.Check geronimo.log file:
> 2011-11-18 07:24:11,331 INFO [Console] Exception caught while executing
> command
> java.util.NoSuchElementException
> at java.util.LinkedList.removeLastImpl(LinkedList.java:714)
> at java.util.LinkedList.removeLast(LinkedList.java:701)
> at jline.console.history.MemoryHistory.replace(MemoryHistory.java:115)
> at org.apache.karaf.shell.console.jline.Console.run(Console.java:227)
> at java.lang.Thread.run(Thread.java:736)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira