Skip to main content
Jzhan.81
Associate II
June 23, 2021
Question

我在使用STM32CUBEMX生�?GUI代�?完�?�?�,在工程目录TouchGFX里�?�打开Applacation Template.touchgfx.part文件�?�,desigener报错,Error: 无法对 null 引用执行�?行时绑定,请问下这个问题怎么解决

  • June 23, 2021
  • 7 replies
  • 4407 views

0693W00000BbjtdQAB.png

This topic has been closed for replies.

7 replies

Alexandre RENOUX
Visitor II
June 23, 2021

Hello Jzhan.8,

Could you tell us in English the steps you did to arrive to this unexpected error ? Can you reproduce it ?

/Alexandre

Jzhan.81
Jzhan.81Author
Associate II
June 23, 2021

OK,After using stm32cubemx to generate GUI code, I open the application template.touchgfx.part file in the project directory TouchGFX, and the designer reports an error. Error: I can't perform runtime binding on null reference. How can I solve this problem?Thanks~

Jzhan.81
Jzhan.81Author
Associate II
June 23, 2021

Yes,I can reproduce it,it always does that,I haven't sloved it yet.

Jzhan.81
Jzhan.81Author
Associate II
June 23, 2021

When I used STM32CUBEMX to generate GUI code,it's not appearing any warning and wrong.

Alexandre RENOUX
Visitor II
June 23, 2021

Hi Jzhan.8,

Could you enclose your .touchgfx.part (and .touchgfx files if you have it) ?

/Alexandre

Jzhan.81
Jzhan.81Author
Associate II
June 23, 2021

Can I add your Wechat or QQ?I can send it to you through it.

Alexandre RENOUX
Visitor II
June 23, 2021

Unfortunately I don't have WeChat nor QQ.

You can send it to me by private message on this community.

/Alexandre

Jzhan.81
Jzhan.81Author
Associate II
June 23, 2021

I haved sent it to you through privacy communication.

Alexandre RENOUX
Visitor II
June 23, 2021

Your touchgfx.part is empty. It should not happen.

Can you tell me exactly the steps you did to generate it ?

Did you use CubeMX, add the TouchGFX Generator additional software to your project and generate code ?

/Alexandre

Jzhan.81
Jzhan.81Author
Associate II
June 23, 2021

Yes,I use cubemx,here are my steps;

0693W00000Bbl5fQAB.png0693W00000Bbl5uQAB.png0693W00000Bbl6EQAR.png0693W00000Bbl6YQAR.png