Recently we have started to see an exception thrown when
loading a newer version of a bundle onto an older one. The error arises in the method
installChangedClasses: aCodeComponent when the code component is a PackageModel
which does not understand relatedPundle. I’ve attached the stack. installChangedClasses: aCodeComponent …. loadOrderedClasses
copy do: [:each
| (Override
isOverriddenClassOrNameSpace: each strictReference value in: aCodeComponent
relatedPundle) ifTrue: [loadOrderedClasses
remove: each. overriddenClasses
add: each]]. … After reloading from scratch the situation still occurs the
next time I try load a more recent version. I am tempted to try implement
relatedPundle returning nil which the other implementation does if it can’t
find a related pundle. Anyone else encountered this and know what is going on? Joerg -----
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc stack.txt (97K) Download Attachment |
Joerg:
> I am tempted to try implement relatedPundle returning nil which the other implementation does if it can’t find a related pundle. Is something loading binary? It seems so. Anyway, the answer/fix is to have PundleModel answer ^self not ^nil for #relatedPundle. And So It Goes Sames ______________________________________________________________________ Samuel S. Shuster [|] VisualWorks Engineering, Store Project Smalltalk Enables Success -- What Are YOU Using? _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Sam
Yes indeed there is more loading binary than there should be... Thank you explains why source is missing in another environment. That aside, next time this comes up I'll implement the change you recommend and see if that addresses the issue. Joerg -----Original Message----- From: Samuel S. Shuster [mailto:[hidden email]] Sent: Friday, March 04, 2011 4:36 PM To: Joerg Beekmann, DeepCove Labs Cc: [hidden email] Subject: Re: [vwnc] DNU when loading a bundle form Store Joerg: > I am tempted to try implement relatedPundle returning nil which the other implementation does if it can't find a related pundle. Is something loading binary? It seems so. Anyway, the answer/fix is to have PundleModel answer ^self not ^nil for #relatedPundle. And So It Goes Sames ______________________________________________________________________ Samuel S. Shuster [|] VisualWorks Engineering, Store Project Smalltalk Enables Success -- What Are YOU Using? _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Hi Sam
It just came up again and implementing relatedPundle as ^self did indeed allow the load to proceed, apparently successfully. Should this be raised as an AR? Joerg -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Joerg Beekmann, DeepCove Labs Sent: Monday, March 07, 2011 10:10 AM To: Samuel S. Shuster Cc: [hidden email] Subject: Re: [vwnc] DNU when loading a bundle form Store Sam Yes indeed there is more loading binary than there should be... Thank you explains why source is missing in another environment. That aside, next time this comes up I'll implement the change you recommend and see if that addresses the issue. Joerg -----Original Message----- From: Samuel S. Shuster [mailto:[hidden email]] Sent: Friday, March 04, 2011 4:36 PM To: Joerg Beekmann, DeepCove Labs Cc: [hidden email] Subject: Re: [vwnc] DNU when loading a bundle form Store Joerg: > I am tempted to try implement relatedPundle returning nil which the other implementation does if it can't find a related pundle. Is something loading binary? It seems so. Anyway, the answer/fix is to have PundleModel answer ^self not ^nil for #relatedPundle. And So It Goes Sames ______________________________________________________________________ Samuel S. Shuster [|] VisualWorks Engineering, Store Project Smalltalk Enables Success -- What Are YOU Using? _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Joerg:
> It just came up again and implementing relatedPundle as ^self did indeed > allow the load to proceed, apparently successfully. Should this be > raised as an AR? This is already fixed for the upcoming 7.8. And So It Goes Sames ______________________________________________________________________ Samuel S. Shuster [|] VisualWorks Engineering, Store Project Smalltalk Enables Success -- What Are YOU Using? _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |