cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, I can't open my TouchGFX project. The message that appears is the following "reference to an object not set on an object instance" Can you help me? Regards, Luca

LucaCMA
Associate II
 
16 REPLIES 16
Martin KJELDSEN
Chief III

Sure, send your projects - I'll try to take a look at them. Will go have a chat with designer guys right now on the general error.

One thing that comes to mind is trying to open the excel sheet in assets/texts and seeing if Excel complains about any issues (if yes, click yes to fix).

/Martin

Martin KJELDSEN
Chief III

Can you guys check if you're using a Set Text action in your interactions ?

/Martin

Martin KJELDSEN
Chief III

@LucaCMA​ i took your project and removed the SetText actions from the .touchgfx json file and that allowed the project to be opened in 4.12.3 (and also upgraded to 4.13.0). Here's an example of how that looks, from your project. We thought we'd fixed that issue, but it appears to also be in 4.13.0.

{
            "InteractionName": "Interaction1",
            "HasCompletedTrigger": false,
            "Trigger": {
              "TriggerComponent": "btn_cup_r2_c2",
              "Type": "TriggerClicked"
            },
            "Action": {
              "TextId": "SingleUseId118",
              "ActionComponent": "txt_countdown_erog_r2_c1",
              "Type": "ActionSetText"
            }
          }

/Martin

I have this error come up too. I'm using the latest version 4.13.0. I need help with this please.

@Alexandre RENOUX  @Romain Dieleman @Martin KJELDSEN​ can someone please help?

The latest version is 4.14.0. As stated previously, the error was located in 4.13.0.

/Martin

I just hit this same issue in 4.14.0 also messing with text, in the file structure is this json file ?