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

Guillaume Nodet reopened GSHELL-159:
------------------------------------


Needs more investigation

> NegativeArraySizeException is thrown when using just the Shell Impementation 
> when running tests.
> ------------------------------------------------------------------------------------------------
>
>                 Key: GSHELL-159
>                 URL: https://issues.apache.org/jira/browse/GSHELL-159
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Wisdom
>    Affects Versions: 1.0-alpha-2
>            Reporter: Edell Nolan
>            Assignee: Guillaume Nodet
>             Fix For: 1.0-alpha-2
>
>         Attachments: gshell-159.patch
>
>
> If just using the shell implementation when running tests - a real teminal 
> may not be created
> and as a result the teminalWidth results in a negative value. 
> Example: Is using the servicemix kernel gshell itests
> [localShell] ERROR org.apache.servicemix.kernel.gshell.core.LocalConsole - 
> Exiti
> ng shell due to caught exception java.lang.NegativeArraySizeException
> java.lang.NegativeArraySizeException
> at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:44)
> at java.lang.StringBuilder.<init>(StringBuilder.java:81)
> at org.apache.geronimo.gshell.wisdom.shell.ShellImpl.repeat(ShellImpl.ja
> va:265)
> at org.apache.geronimo.gshell.wisdom.shell.ShellImpl.run(ShellImpl.java:
> 242)
> at org.apache.servicemix.kernel.gshell.core.ShellWrapper.run(ShellWrappe
> r.java:81)
> at org.apache.servicemix.kernel.gshell.core.LocalConsole.run(LocalConsol
> e.java:125)
> at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to