geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edell Nolan (JIRA)" <j...@apache.org>
Subject [jira] Created: (GSHELL-159) NegativeArraySizeException is thrown when using just the Shell Impementation when running tests.
Date Fri, 13 Feb 2009 15:10:00 GMT
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


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.


Mime
View raw message