#BUGFIX
authorClaus Gittinger <cg@exept.de>
Fri, 12 Feb 2016 00:07:50 +0100
changeset 16111 335aa560bb05
parent 16110 4347775e9885
child 16112 0b45bfee3595
child 16113 508badaa3a48
#BUGFIX class: AbstractLauncherApplication
AbstractLauncherApplication.st
--- a/AbstractLauncherApplication.st	Thu Feb 11 23:40:16 2016 +0100
+++ b/AbstractLauncherApplication.st	Fri Feb 12 00:07:50 2016 +0100
@@ -7482,10 +7482,14 @@
             ] on:PackageLoadError do:[:ex |
                 |path|
 
-                path := pathByItem at:someItem.
-                "/ try to load the file as is (i.e. not via package-id
-                (Dialog information:'package ID inconsistency - loading file directly...').
-                Smalltalk fileIn:(packageDirPath asFilename / path).
+                path := pathByItem at:someItem ifAbsent:nil.
+                path isNil ifTrue:[
+                    (Dialog information:'package ID inconsistency - cannot load...').
+                ] ifFalse:[    
+                    "/ try to load the file as is (i.e. not via package-id
+                    (Dialog information:'package ID inconsistency - loading file directly...').
+                    Smalltalk fileIn:(packageDirPath asFilename / path).
+                ].
             ]
         ] ensure:[
             Smalltalk retractInterestsFor:updateAction.