Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 13579 invoked from network); 13 Feb 2009 15:22:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2009 15:22:22 -0000 Received: (qmail 27643 invoked by uid 500); 13 Feb 2009 15:22:20 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 27583 invoked by uid 500); 13 Feb 2009 15:22:20 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 27574 invoked by uid 99); 13 Feb 2009 15:22:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2009 07:22:20 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2009 15:22:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AE28B234C48D for ; Fri, 13 Feb 2009 07:21:59 -0800 (PST) Message-ID: <1693663615.1234538519712.JavaMail.jira@brutus> Date: Fri, 13 Feb 2009 07:21:59 -0800 (PST) From: "Guillaume Nodet (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Assigned: (GSHELL-159) NegativeArraySizeException is thrown when using just the Shell Impementation when running tests. In-Reply-To: <27999165.1234537800083.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GSHELL-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume Nodet reassigned GSHELL-159: -------------------------------------- Assignee: Guillaume Nodet (was: Jason Dillon) > 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 > 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.(AbstractStringBuilder.java:44) > at java.lang.StringBuilder.(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.