NullPointerException when removing LVGL from SDK Manager in MCUXpresso IDE

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

NullPointerException when removing LVGL from SDK Manager in MCUXpresso IDE

1,021 次查看
maheshwari
Contributor I

Hello,

I’m trying to remove LVGL from my project using the “Manage SDK Components” window in MCUXpresso IDE.
When I uncheck lvgl and click OK, I get the following error

Cannot invoke "org.eclipse.cdt.managedbuilder.core.IOption.getId()" because the return value of "getSuperClass()" is null

What’s the recommended way to safely remove LVGL from the project if the SDK Manager fails?

标记 (1)
0 项奖励
回复
6 回复数

1,005 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @maheshwari,

Could you please share the MCU that you are using, as well as the SDK and IDE versions?

0 项奖励
回复

984 次查看
maheshwari
Contributor I
Details:-

MCUXpresso IDE v24.9.25
SDK Version 2.16.00
manifest version 3.14.0
0 项奖励
回复

922 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @maheshwari,

I tried to replicate the issue on the latest release of MCUXpresso (v25.6.136) and with the latest SDK (v25.06.00) and there was no issue whatsoever. Could you please try using these latest software releases? 

0 项奖励
回复

898 次查看
maheshwari
Contributor I

Hi ,

Thank you for the support.

To clarify my setup:

  • MCUXpresso IDE: v24.9.25

  • SDK version: 2.14.0 for i.MX RT1050

  • Manifest version: 3.13.0 (apologies for the earlier incorrect version)

I’m working with a customized codebase that’s already integrated into our application, so updating to the latest IDE or SDK isn’t feasible at this point.

When I try to remove LVGL using the “Manage SDK Components” window, I encounter this error:

“Cannot invoke "org.eclipse.cdt.managedbuilder.core.IOption.getId()" because the return value of "getSuperClass()" is null”

Since removing LVGL through the GUI fails, could you please guide me on the recommended manual steps to safely remove LVGL from the project (e.g., configuration settings, include paths, source files, and linker settings)?

Thanks again,
Maheshwari

0 项奖励
回复

883 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @maheshwari,

I've also tried using MCUXpresso v24.9.25, with the same SDK you are using and still got no error when doing so. I was able to remove the LVGL component without any issues. This seems to be an issue of MCUXpresso on your end.

I understand you can't upgrade to the latest SDK, but upgrading MCUXpresso should cause no issues, as the latest SDK supports all previous SDKs. Please try using the latest IDE version and let me know if the problem persists.

BR,
Edwin.

0 项奖励
回复

721 次查看
maheshwari
Contributor I
Hi @Edwin,

First of all, sorry for the delayed response, and thank you again for your continued support.

I tried your suggestion with the latest MCUXpresso IDE and tested the scenario. When I create a new project and add the LVGL component via SDK Management, I’m able to remove it cleanly later without any issues—so that path seems to be working fine.

However, in my existing customized project, where LVGL was already integrated, possibly with some files manually added or modified, I’m still getting the following error when attempting to remove it through the SDK Manager:

Cannot invoke "org.eclipse.cdt.managedbuilder.core.IOption.getId()" because the return value of "getSuperClass()" is null

I'm not fully sure whether the issue is due to manual file additions or something else in the project setup—but it's likely related to some kind of mismatch or inconsistency in the component configuration.

As a workaround, I created a new clean project, imported all application-specific files, and added components via SDK Manager. In this case, removing LVGL worked without any errors.

If there are any recommended manual steps to properly remove LVGL from a customized project—such as which files, include paths, or linker settings to clean up—that would be really helpful.

Thanks again,
Maheshwari
0 项奖励
回复