Skip to main content
Jzhan.81
Associate II
Question

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

0693W00000BbjtdQAB.png

This topic has been closed for replies.

12 replies

Alexandre RENOUX
Visitor II

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

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

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

Jzhan.81
Jzhan.81Author
Associate II

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

Alexandre RENOUX
Visitor II

Hi Jzhan.8,

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

/Alexandre

Jzhan.81
Jzhan.81Author
Associate II

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

Alexandre RENOUX
Visitor II

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

I haved sent it to you through privacy communication.

Alexandre RENOUX
Visitor II

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

Yes,I use cubemx,here are my steps;

0693W00000Bbl5fQAB.png0693W00000Bbl5uQAB.png0693W00000Bbl6EQAR.png0693W00000Bbl6YQAR.png