You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:53:49 UTC
[sling-org-apache-sling-launchpad-installer] 12/16: Fixing
SLING-3958, updating to add an integration test and fix the naming mismatch
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.launchpad.installer-1.2.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-installer.git
commit f34bb43df75527176ad8475b76be7ad33ffb3adb
Author: Dan Klco <dk...@apache.org>
AuthorDate: Fri Sep 19 17:42:45 2014 +0000
Fixing SLING-3958, updating to add an integration test and fix the naming mismatch
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/launchpad/installer@1626283 13f79535-47bb-0310-9956-ffa450edef68
---
.../sling/launchpad/installer/impl/LaunchpadConfigInstaller.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/main/java/org/apache/sling/launchpad/installer/impl/LaunchpadConfigInstaller.java b/src/main/java/org/apache/sling/launchpad/installer/impl/LaunchpadConfigInstaller.java
index 318aa56..382a66f 100644
--- a/src/main/java/org/apache/sling/launchpad/installer/impl/LaunchpadConfigInstaller.java
+++ b/src/main/java/org/apache/sling/launchpad/installer/impl/LaunchpadConfigInstaller.java
@@ -89,6 +89,9 @@ public class LaunchpadConfigInstaller {
count++;
final URL url = resourceProvider.getResource(path);
+ if(url == null){
+ throw new RuntimeException("Retrieved null resource for path: "+path);
+ }
Dictionary<String, Object> dict = null;
if ( InstallableResource.TYPE_FILE.equals(resourceType) ) {
dict = new Hashtable<String, Object>();
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.