cancel
Showing results for 
Search instead for 
Did you mean: 

Scary java crash in CubeMX

belhage
Associate
Posted on April 23, 2014 at 14:39

When you enable any part in the ADC (F401RET 64pin mcu) you get a java-crash:

Apr 23, 2014 2:03:11 PM com.st.microxplorer.util.LogicalParser checkCondition

SEVERE: null

com.bestcode.mathparser.ParserException: ExpNtVld

at com.bestcode.mathparser.MathParserImpl.createParseTree(MathParserImpl.java:801)

at com.bestcode.mathparser.MathParserImpl.createParseTree(MathParserImpl.java:797)

at com.bestcode.mathparser.MathParserImpl.createParseTree(MathParserImpl.java:800)

at com.bestcode.mathparser.MathParserImpl.parse(MathParserImpl.java:411)

at com.bestcode.mathparser.MathParserImpl.evaluate(MathParserImpl.java:323)

at com.bestcode.mathparser.MathParserImpl.getValue(MathParserImpl.java:255)

at com.st.microxplorer.util.LogicalParser.evaluate(LogicalParser.java:234)

at com.st.microxplorer.util.LogicalParser.checkCondition(LogicalParser.java:187)

        ...

(both on m$ and linux platforms)

Does the crash have any impact ? or is just usual sloppy java-programmer style ?

Many regards

Lars Ole

PS! Why are the - almost perfectly normal - java code wrapped in m$-selfextracting .exe files ?

PPS! Running the javacode on standalone linux works almost 100% - except when trying to configure GPIO-pins:

fitInWindow Computed Zoom: 0.8

InternalPropertyChange: setIPParameter OLD value:RCC / NEW value:Never Mind

InternalPropertyChange: changePin  GPIO_Output

Exception in thread ''AWT-EventQueue-0'' java.lang.NullPointerException

at com.st.microxplorer.plugins.ip.gpio.gui.ParameterUI.addPropertyChangeListener(ParameterUI.java:157)

at javax.swing.plaf.synth.SynthPanelUI.installListeners(Unknown Source)

at javax.swing.plaf.synth.SynthPanelUI.installUI(Unknown Source)

at javax.swing.JComponent.setUI(Unknown Source)

at javax.swing.JPanel.setUI(Unknown Source)

at javax.swing.JPanel.updateUI(Unknown Source)

at javax.swing.JPanel.<init>(Unknown Source)

at javax.swing.JPanel.<init>(Unknown Source)

at javax.swing.JPanel.<init>(Unknown Source)

at com.st.microxplorer.plugins.ip.gpio.gui.ParameterUI.<init>(ParameterUI.java:68)

at com.st.microxplorer.plugins.ip.gpio.gui.ParameterUI.<init>(ParameterUI.java:95)

#java-crash
2 REPLIES 2
stm32cube-t
Senior III
Posted on April 24, 2014 at 10:54

STM32CubeMX is not yet supported on Linux.

belhage
Associate
Posted on April 27, 2014 at 19:06

Seems though as you're very close to a linux solution ;)

I'll gladly give some help ?!

Regards

Lars Ole