Internal error: Reference to object not set as an instance of an object (iOS)

IDE: _Visual Studio 2015
Version: 9.1.100.2073
Target (If relevant): iOS
Description:
In the attached project you can reproduce an internal error.
Bug276.rar (387.3 KB)

Best regards,
Jose A.

Thanks, logged as bugs://76862

bugs://76862 got closed with status cannotrepro.

I can’t reproduce this one, works fine (with last beta)

It’s strange. At least in the last version that I have (9.1.100.2075) I can still reproduce it.

Carlo,
When are you going to release a new version?
This error is giving me many headaches, and maybe it is solved in the new version. :disappointed_relieved:

there’ll be a new beta friday’s, like (almost) always.

Ok. Thanks Marc.

Carlo,
This error continues to occur in the latest version of Elements (9.1.100.2077).
If I put ‘public’ to the TListRange class then the error does not occur, if I put ‘unit’ it fails:

Gravedad Código Descripción Proyecto Archivo Línea Estado de supresión
Error (E0) Internal error: Referencia a objeto no establecida como instancia de un objeto. SendaObjects.BaseLib.iOS.Test 0

  TListRange = unit class
  public
    constructor;
  end;

I have compiled this project on two different computers, one with Visual Studio 2013 and the other with Visual Studio 2015, and in both the internal error occurs.

I attached a video in which you can see all the steps to reproduce the problem.

Bug276-2.rar (7.5 MB)

Best regards,
Jose A.

bugs://76862 got reopened.

bugs://76862 got closed with status fixed.

Logged as bugs://i64660.

bugs://i64660 was closed as fixed.