Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 69699 invoked from network); 28 Oct 2008 16:10:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Oct 2008 16:10:06 -0000 Received: (qmail 76580 invoked by uid 500); 28 Oct 2008 16:10:10 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 76111 invoked by uid 500); 28 Oct 2008 16:10:09 -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 76094 invoked by uid 99); 28 Oct 2008 16:10:09 -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 09:10:09 -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 16:09:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 43DBF234C236 for ; Tue, 28 Oct 2008 09:09:44 -0700 (PDT) Message-ID: <2069171076.1225210184262.JavaMail.jira@brutus> Date: Tue, 28 Oct 2008 09:09:44 -0700 (PDT) From: =?utf-8?Q?J=C3=BCrgen_Weber_=28JIRA=29?= 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= 2643239#action_12643239 ]=20 J=C3=BCrgen Weber commented on GERONIMO-4381: ---------------------------------------- Sorry, thought, it's easy to reproduce. But anyway: could not load class [Ljava.lang.String; org.apache.geronimo.common.DeploymentException: could not load class [Ljava= .lang.String; =09at org.apache.geronimo.connector.deployment.ResourceRefBuilder.buildNami= ng(ResourceRefBuilder.java:137) =09at org.apache.geronimo.j2ee.deployment.NamingBuilderCollection.buildNami= ng(NamingBuilderCollection.java:53) =09at org.apache.geronimo.openejb.deployment.EjbDeploymentBuilder.addEnc(Ej= bDeploymentBuilder.java:321) =09at org.apache.geronimo.openejb.deployment.EjbDeploymentBuilder.buildEnc(= EjbDeploymentBuilder.java:286) =09at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(Ejb= ModuleBuilder.java:764) =09at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfigurati= on(EARConfigBuilder.java:647) =09at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254) =09at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133) =09at sun.reflect.GeneratedMethodAccessor255.invoke(Unknown Source) =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces= sorImpl.java:25) =09at java.lang.reflect.Method.invoke(Method.java:597) =09at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl= ectionMethodInvoker.java:34) =09at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio= n.java:124) =09at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.= java:867) =09at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:= 239) =09at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doD= eploy(AbstractDeployCommand.java:116) =09at org.apache.geronimo.deployment.plugin.local.RedeployCommand.redeployU= pdatedConfiguration(RedeployCommand.java:137) =09at org.apache.geronimo.deployment.plugin.local.RedeployCommand.run(Redep= loyCommand.java:106) =09at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassNotFoundException: [Ljava.lang.String; in classlo= ader default/CommandEar/1225209995541/car =09at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimize= dClass(MultiParentClassLoader.java:437) =09at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(Mu= ltiParentClassLoader.java:279) =09at java.lang.ClassLoader.loadClass(ClassLoader.java:251) =09at org.apache.geronimo.connector.deployment.ResourceRefBuilder.buildNami= ng(ResourceRefBuilder.java:135) =09... 18 more > 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.