NullPointerException when adding a driver to a project

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

NullPointerException when adding a driver to a project

跳至解决方案
5,395 次查看
joao_ribeiro
Contributor IV

Hello,

I wanted to add a new driver to my project , so I opened one the "Manage SDK component" and selected the desired new driver, but a popup window appears showing a exception NullPointerException. This error also appears click on the "Refresh SDK Components".

To be honest I don't know what seems to be the problem here. Could you please help me figuring out this issue?

I am using the MCUxpresso 11.4.0

joao_ribeiro_0-1631805566915.png

Thank you in advance

Regards

0 项奖励
回复
1 解答
5,286 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello joao_ribeiro,

How about download and install the latest version SDKv2.10.

https://mcuxpresso.nxp.com/en/select  

 

BR

Alice

在原帖中查看解决方案

0 项奖励
回复
4 回复数
5,296 次查看
joao_ribeiro
Contributor IV

Hello Alice_Yang

Thank you very much for the help.

Here is the information you asked about my SDK

joao_ribeiro_0-1634298131759.png

joao_ribeiro_1-1634298154507.png

To be honest I still have the same problem when adding a different new driver to the project 

 

Thank you in advance

Regards

0 项奖励
回复
5,287 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello joao_ribeiro,

How about download and install the latest version SDKv2.10.

https://mcuxpresso.nxp.com/en/select  

 

BR

Alice

0 项奖励
回复
5,283 次查看
joao_ribeiro
Contributor IV

Hello Alice_Yang,

Yes using the new SDK should resolve the problem.

It seems that the project got messed up some how. Therefore I am starting a new project with 2.1 SDK and copying the files to the new project.

Thank you for the help

Regards

0 项奖励
回复
5,373 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello joao_ribeiro,

Could you please hare which SDK, I will check on my side.

You can also have a look at MCUXpresso User Guide -> 7. SDK Project Component Management .

 

BR

Alice

0 项奖励
回复