Hi,

Fred Kiefer wrote:
> The lines that the debugger reports look like this:
>
>
>
> if ([[img image] size].width > 64
>         || [[img image] size].height > 64)
>
> The most likely reason for a crash here is [img image] being nil. Just add a 
> check for this condition a few lines above and see what happens.

yes, if I put a skip with a NSLog message on img, it fixes the crash.
But this means that there is an array of img which expect to have
images, but one or more are missing.
In my case, I get this output:

2020-12-17 17:48:02.051 Thematic[24340:3006525456] img is invalid: Tab
view (unselected to selected junction)


>From what I understand/remember we should always have an image for every
element - either it is from the theme (customzied) or it comes from the
default. Here....

Anyway, a check makes it of course a little more robust.

Riccardo

Reply via email to