Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 22431 invoked from network); 28 Oct 2008 14:11:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Oct 2008 14:11:36 -0000 Received: (qmail 81034 invoked by uid 500); 28 Oct 2008 14:11:39 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 80982 invoked by uid 500); 28 Oct 2008 14:11:39 -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 80971 invoked by uid 99); 28 Oct 2008 14:11:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2008 07:11:39 -0700 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; Tue, 28 Oct 2008 14:10:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3737A234C237 for ; Tue, 28 Oct 2008 07:10:44 -0700 (PDT) Message-ID: <1314155550.1225203044221.JavaMail.jira@brutus> Date: Tue, 28 Oct 2008 07:10:44 -0700 (PDT) From: "Jarek Gawor (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-4381) Better error message for trying to inject String arrays In-Reply-To: <492496282.1225188164774.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4381?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1= 2643216#action_12643216 ]=20 Jarek Gawor commented on GERONIMO-4381: --------------------------------------- Can you please (and always) attach full stack trace? It will help to track = down the problem much faster. > Better error message for trying to inject String arrays > ------------------------------------------------------- > > Key: GERONIMO-4381 > URL: https://issues.apache.org/jira/browse/GERONIMO-4381 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues)=20 > Components: dependencies > Reporter: J=C3=BCrgen Weber > Priority: Minor > > I erroneously tried to inject a String array > @Resource > =09private String[] ... > There should be a better error message for this than > could not load class [Ljava.lang.String; > org.apache.geronimo.common.DeploymentException: could not load class [Lja= va.lang.String; --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.