You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Edell Nolan (JIRA)" <ji...@apache.org> on 2009/02/13 16:11:59 UTC

[jira] Updated: (GSHELL-159) NegativeArraySizeException is thrown when using just the Shell Impementation when running tests.

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

Edell Nolan updated GSHELL-159:
-------------------------------

    Attachment: gshell-159.patch

> 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: Jason Dillon
>         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.