You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jason Dillon (JIRA)" <de...@geronimo.apache.org> on 2006/07/21 18:46:14 UTC
[jira] Assigned: (GERONIMO-2212) Enable tests (geronimo-system ::
**/PluginInstallerTest.java)
[ http://issues.apache.org/jira/browse/GERONIMO-2212?page=all ]
Jason Dillon reassigned GERONIMO-2212:
--------------------------------------
Assignee: Jason Dillon
> 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
>
>
> 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