[ https://issues.apache.org/jira/browse/GERONIMO-3741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jencks closed GERONIMO-3741. ---------------------------------- Resolution: Fixed Rev 611714. I think the patch is the correct solution. The other calls to SourceRepositoryFactory.getSourceRepository(defaultRepository) can not supply a null argument, whereas this call can. I added a null check in SourceRepositoryFactory.getSourceRepository(defaultRepository) and a check here that: if (restrictToDefaultRepository && defaultRepository == null) { throw new IllegalArgumentException("You must supply a default repository if you want to restrict to it"); } > Fail to install plugin via deploy.bat/sh > ---------------------------------------- > > Key: GERONIMO-3741 > URL: https://issues.apache.org/jira/browse/GERONIMO-3741 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 2.1 > Reporter: YunFeng Ma > Assignee: David Jencks > Fix For: 2.1 > > Attachments: GERONIMO-3741.patch > > > Using deploy.bat/sh to install a plugin, get the following error: > > deploy --user system --password manager install-plugin > > F:\apache\geronimo\plugins\debugviews\debugviews-jetty\target\debugviews-jetty-2.1-SNAPSHOT.car > Using GERONIMO_BASE: > F:\apache\geronimo\testsuite\console-testsuite\target\geronimo-jetty6-javaee5-2.1-SNAPSHOT > Using GERONIMO_HOME: > F:\apache\geronimo\testsuite\console-testsuite\target\geronimo-jetty6-javaee5-2.1-SNAPSHOT > Using GERONIMO_TMPDIR: var\temp > Using JRE_HOME: C:\Program Files\IBM\Java50\jre > 16:01:26,921 WARN [AbstractGBeanReference] GBean references are not using > proxi > es > Checking for status every 1000ms: > Finished downloading > org.apache.geronimo.plugins/debugviews-jetty/2.1-SNAPSHOT/car (358 kB) (100%) > Installation FAILED: null -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.