Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 33211 invoked from network); 21 Jul 2006 16:50:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Jul 2006 16:50:31 -0000 Received: (qmail 98474 invoked by uid 500); 21 Jul 2006 16:50:28 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 98430 invoked by uid 500); 21 Jul 2006 16:50:28 -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 98419 invoked by uid 99); 21 Jul 2006 16:50:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 09:50:28 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 09:50:27 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 40DE841000A for ; Fri, 21 Jul 2006 16:48:14 +0000 (GMT) Message-ID: <27472916.1153500494254.JavaMail.jira@brutus> Date: Fri, 21 Jul 2006 09:48:14 -0700 (PDT) From: "Prasad Kashyap (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-2212) Enable tests (geronimo-system :: **/PluginInstallerTest.java) In-Reply-To: <17019233.1153432153994.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GERONIMO-2212?page=all ] Prasad Kashyap updated GERONIMO-2212: ------------------------------------- Attachment: geronimo-system.patch Can you please try this ? > Enable tests (geronimo-system :: **/PluginInstallerTest.java) > ------------------------------------------------------------- > > Key: GERONIMO-2212 > URL: http://issues.apache.org/jira/browse/GERONIMO-2212 > Project: Geronimo > Issue Type: Sub-task > Security Level: public(Regular issues) > Affects Versions: 1.2 > Reporter: Jason Dillon > Assigned To: Jason Dillon > Fix For: 1.2 > > Attachments: geronimo-system.patch > > > A few tests failed in non-obvious ways when run under the m2 build. Need someone who knows these tests better to inspect, resolve and enable the test (remove the test exclusions in the pom). > The test fails with (on the console): > {noformat} > 14:59:18,201 ERROR [PluginInstallerGBean] Unable to load repository configuration data > java.lang.IllegalArgumentException: No attributes are implemented > at org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:93) at org.apache.geronimo.system.plugin.PluginInstallerGBean.createDocumentBuilder(PluginInstallerGBean.java:1246) > at org.apache.geronimo.system.plugin.PluginInstallerGBean.loadPluginList(PluginInstallerGBean.java:1212) > at org.apache.geronimo.system.plugin.PluginInstallerGBean.listPlugins(PluginInstallerGBean.java:359) > at org.apache.geronimo.system.plugin.PluginInstallerTest.testParsing(PluginInstallerTest.java:77) > 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:324) > at junit.framework.TestCase.runTest(TestCase.java:154) > at junit.framework.TestCase.runBare(TestCase.java:127) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:118) > at junit.framework.TestSuite.runTest(TestSuite.java:208) > at junit.framework.TestSuite.run(TestSuite.java:203) > 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:324) > at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210) > at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135) > at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122) > at org.apache.maven.surefire.Surefire.run(Surefire.java:129) > 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:324) > at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225) > at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747) > {noformat} > And in the surefire report: > {noformat} > ------------------------------------------------------------------------------- > Test set: org.apache.geronimo.system.plugin.PluginInstallerTest > ------------------------------------------------------------------------------- > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.342 sec <<< FAILURE! > testParsing(org.apache.geronimo.system.plugin.PluginInstallerTest) Time elapsed: 0.207 sec <<< ERROR! > java.lang.NullPointerException > at org.apache.geronimo.system.plugin.PluginInstallerTest.testParsing(PluginInstallerTest.java:78) > {noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira