Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE when refreshing packs from web #114

Open
AdrianOltean opened this issue Jul 24, 2024 · 0 comments
Open

NPE when refreshing packs from web #114

AdrianOltean opened this issue Jul 24, 2024 · 0 comments
Assignees
Labels

Comments

@AdrianOltean
Copy link

When starting MCUXpresso IDE (without having the required Packs folder previously populated) and clicking to refresh the index, a NPE is encountered:
image

Once refresh is done:
image

!ENTRY org.eclipse.core.jobs 4 2 2024-07-23 15:18:06.913
!MESSAGE An internal error occurred during: "Refresh packs from web".
!STACK 0
java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.toString()" because "com.arm.cmsis.pack.preferences.CpPreferenceInitializer.autoUpdateFlag" is null
	at com.arm.cmsis.pack.preferences.CpPreferenceInitializer.writeUpdateFile(CpPreferenceInitializer.java:334)
	at com.arm.cmsis.pack.preferences.CpPreferenceInitializer.updateLastUpdateTime(CpPreferenceInitializer.java:285)
	at com.arm.cmsis.pack.installer.CpPackInstaller.updatePacks(CpPackInstaller.java:609)
	at com.arm.cmsis.pack.installer.CpPackInstaller.updatePacks(CpPackInstaller.java:447)
	at com.arm.cmsis.pack.installer.jobs.CpUpdatePacksJob.run(CpUpdatePacksJob.java:33)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Environment: MCUXpressoIDE_11.10.0 + ARM CMSIS-Pack Management plugins v2.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants