AnsweredAssumed Answered

Scary java crash in CubeMX

Question asked by belhage.lars_ole on Apr 23, 2014
Latest reply on Apr 27, 2014 by belhage.lars_ole
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)

Outcomes