[Glass] Grrrr cannot migrate (class rename with subclasses and with a name of a deleted class)

Dale Henrichs via Glass glass at lists.gemtalksystems.com
Fri Aug 28 12:38:18 PDT 2015



On 8/27/15 7:37 PM, Mariano Martinez Peck via Glass wrote:
>
> Now..what is interesting was the Monticello warning I got which I did 
> NOT get when running james code before. Tracing that is cryptic 
> because Monticello kind of etas the exception and all it does is the 
> add the definition to a list of error definitions..... After putting 
> some flags/halts in #tryToLoad: I found out that indeed the definition 
> in question was the class definition of 
> FaSecurityAdjustedClosingPriceRecord. Why it failed?
> Well, as part of the class definition it does "MCPlatformSupport 
> migrateInstancesWithSubclassesOf: cls" and that ends up with a problem 
> in the
>
> result addAll: (diskBlock value: scanSetThisTime ).
>
> from #_doListInstancesFrom: inputSet with: diskBlock includeMemory: 
> inMemoryBool
>
> The problem is in fact that "(diskBlock value: scanSetThisTime )" 
> answers nil.
>
> scanSetThisTime of course is "anIdentitySet( 
> FaSecurityAdjustedClosingPriceRecord)"
>
> diskBlock closure is this:
>
>  '"This is source for a block.  "
>  ^ [ :scanSetThisTime |
>      self _scanPomWithMaxThreads: maxThreads waitForLock: 60 
> pageBufSize: 8
>                              percentCpuActiveLimit: aPercentage
>                              identSet: scanSetThisTime limit: aSmallInt
>                              scanKind: code toDirectory: directoryString
>   ]'
>
>
>
> So...clearly the one that decided to use the word "MAY work" in the 
> error description was wise!
>
What is the exception that is being raised in this code ...

Dale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20150828/d4b5f249/attachment.html>


More information about the Glass mailing list