Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 5031 invoked from network); 1 Jul 2008 15:11:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jul 2008 15:11:09 -0000 Received: (qmail 40969 invoked by uid 500); 1 Jul 2008 15:11:09 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 40652 invoked by uid 500); 1 Jul 2008 15:11:08 -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 40641 invoked by uid 99); 1 Jul 2008 15:11:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2008 08:11:08 -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, 01 Jul 2008 15:10:25 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1AEEE234C148 for ; Tue, 1 Jul 2008 08:10:46 -0700 (PDT) Message-ID: <1560887272.1214925046094.JavaMail.jira@brutus> Date: Tue, 1 Jul 2008 08:10:46 -0700 (PDT) From: "Jarek Gawor (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Resolved: (GERONIMO-4110) NPE upon deployment of unrecognized xml file (seam-gen based application) In-Reply-To: <2104180824.1212936465202.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/GERONIMO-4110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jarek Gawor resolved GERONIMO-4110. ----------------------------------- Resolution: Fixed Fix Version/s: 2.2 2.1.2 Committed a fix for this issue to trunk (revision 673093) and branches/2.1 (revision 673095). > NPE upon deployment of unrecognized xml file (seam-gen based application) > ------------------------------------------------------------------------- > > Key: GERONIMO-4110 > URL: https://issues.apache.org/jira/browse/GERONIMO-4110 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment, Hot Deploy Dir > Affects Versions: 2.1.1 > Reporter: Jacek Laskowski > Assignee: Jarek Gawor > Fix For: 2.1.2, 2.2 > > > Created a webapp with seam-gen script (JBoss Seam 2.0.2.SP1). It deploys fine, but when I pointed out to deploy directory of Geronimo additional file seam_rozpoczynamy-dev-ds.xml is deployed too by default and it causes NPE to be thrown. I can disable the file to be deployed yet the NPE should not be thrown anyway. > {code} > 16:36:02,563 INFO [DirectoryMonitor] At startup, found C:\geronimo\deploy\seam_rozpoczynamy.ear with deploy time 1212929201328 and file time 1212928085578 > 16:36:08,875 INFO [DirectoryHotDeployer] Deploying seam_rozpoczynamy-dev-ds.xml > 16:36:09,094 ERROR [DirectoryHotDeployer] Unable to deploy: Cannot deploy the requested application module because no deployer is able to handle it. This can happen if you have omitted the J2EE deployment descriptor, disabled a deployer module, or if, for example, you are trying to deploy an EJB module on a minimal Geronimo server that does not have EJB support installed. (planFile=C:\geronimo\deploy\seam_rozpoczynamy-dev-ds.xml) > org.apache.geronimo.common.DeploymentException: Cannot deploy the requested application module because no deployer is able to handle it. This can happen if you have omitted the J2EE deployment descriptor, disabled a deployer module, or if, for example, you are trying to deploy an EJB module on a minimal Geronimo server that does not have EJB support installed. (planFile=C:\geronimo\deploy\seam_rozpoczynamy-dev-ds.xml) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:233) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867) > at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239) > at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) > at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) > at java.lang.Thread.run(Thread.java:595) > ... > 16:37:26,219 INFO [DirectoryHotDeployer] Undeploying seam_rozpoczynamy-dev-ds.xml > 16:37:26,938 ERROR [DirectoryHotDeployer] Unable to undeploy > java.lang.NullPointerException > at org.apache.geronimo.deployment.plugin.ConfigIDExtractor.identifyTargetModuleIDs(ConfigIDExtractor.java:174) > at org.apache.geronimo.deployment.hot.DirectoryHotDeployer.fileRemoved(DirectoryHotDeployer.java:355) > at org.apache.geronimo.deployment.hot.DirectoryMonitor.scanDirectory(DirectoryMonitor.java:325) > at org.apache.geronimo.deployment.hot.DirectoryMonitor.run(DirectoryMonitor.java:216) > at java.lang.Thread.run(Thread.java:595) > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.