cancel
Showing results for 
Search instead for 
Did you mean: 

NullPointerException running script to generate files

joe23
Associate II

This is my script

config load /mypath/stm32cubemx.ioc
project name pango
project toolchain Makefile
csv pinout /mypath/stm32cubemx-pinout.csv
project path /mypath
project generate
exit

Here is the exception

project path /mypath
java.lang.NullPointerException
at com.st.microxplorer.plugins.projectmanager.engine.MainProjectManager$10.onCommandEntered(MainProjectManager.java:263)
        at com.st.components.util.CommandLineManager.onCommandEntered(CommandLineManager.java:155)
at com.st.components.util.CommandLineManager.runCommand(CommandLineManager.java:174)
        at com.st.components.util.CommandLineManager.runCommand(CommandLineManager.java:188)
        at com.st.components.util.CommandLineManager.runCommand(CommandLineManager.java:331)
        at com.st.components.util.CommandLineManager.onCommandEntered(CommandLineManager.java:414)
at com.st.components.util.CommandLineManager.onCommandEntered(CommandLineManager.java:140)
        at com.st.components.util.CommandLineManager.runCommand(CommandLineManager.java:174)
        at com.st.components.util.CommandLineManager.runCommand(CommandLineManager.java:331)
        at com.st.microxplorer.maingui.MicroXplorer.run(MicroXplorer.java:192)
        at com.st.microxplorer.maingui.STM32CubeMX.run(STM32CubeMX.java:25)
        at com.st.microxplorer.maingui.STM32CubeMX.main(STM32CubeMX.java:40)

I'm running this on Linux

STM32CubeMX 5.0.1

0 REPLIES 0