cancel
Showing results for 
Search instead for 
Did you mean: 

Update from 5.0.1 to 5.1.0 under Linux Mint failed

Katzenberger.Michael
Associate III

After updating the program from the GUI it doesn't start anymore:

2019-04-14 16:41:18,352 [WARN] Updater:457 - Unsupported task request: 37
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.base/java.lang.Integer cannot be cast to java.desktop/javax.swing.JPanel
	at com.st.microxplorer.maingui.New_gui_UpdateMngrLinePanel.<init>(New_gui_UpdateMngrLinePanel.java:82)
	at com.st.microxplorer.maingui.New_gui_RightPanel.<init>(New_gui_RightPanel.java:62)
	at com.st.microxplorer.maingui.NewUIStartupPanel.InitStartupPanel(NewUIStartupPanel.java:127)
	at com.st.microxplorer.maingui.NewUIStartupPanel.<init>(NewUIStartupPanel.java:69)
	at com.st.microxplorer.maingui.MainPanel.initialization(MainPanel.java:247)
	at com.st.microxplorer.maingui.MainFrame.initialization(MainFrame.java:148)
	at com.st.microxplorer.maingui.MicroXplorer.run(MicroXplorer.java:187)
	at com.st.microxplorer.maingui.STM32CubeMX.run(STM32CubeMX.java:25)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
	at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Installed java version:

> java --version
openjdk 10.0.2 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)

Any hints are appreciated - thanks !!

1 REPLY 1
Katzenberger.Michael
Associate III

a fresh install of version 5.2.0 fixes the problem