2021-03-04 12:56 AM
Hello everyone.
After installing Cube IDE and trying to create new project take this error.
Also i tried to solve the problem according this guide but without success (translate to English):
http://430895101.blogspot.com/2014/02/eclipse-unhandled-event-loop-exception.html
Logs of error:
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3332)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:596)
at java.lang.StringBuilder.append(StringBuilder.java:190)
at java.io.BufferedReader.readLine(BufferedReader.java:370)
at java.io.BufferedReader.readLine(BufferedReader.java:389)
at com.st.microxplorer.plugins.updater.util.ParameterSetting.reload(ParameterSetting.java:110)
at com.st.microxplorer.plugins.updater.util.ParameterSetting.load(ParameterSetting.java:84)
at com.st.microxplorer.plugins.updater.engine.MainUpdater.openIniFile(MainUpdater.java:3108)
at com.st.microxplorer.plugins.updater.engine.MainUpdater.<init>(MainUpdater.java:205)
at com.st.microxplorer.plugins.updater.Updater.initPhase2(Updater.java:1030)
at com.st.microxplorer.plugins.updater.Updater.setUserPreferencesHandler(Updater.java:1083)
at com.st.stm32cube.common.mx.core.CubeMxInstance.<init>(CubeMxInstance.java:125)
at com.st.stm32cube.common.mx.core.CubeMxInstance.getInstance(CubeMxInstance.java:70)
at com.st.stm32cube.common.mx.targetselector.TargetSelectorAdapter.addTargetSelector(TargetSelectorAdapter.java:132)
at com.st.stm32cube.common.projectcreation.ui.wizard.TargetSetupPageAbstract.createControl(TargetSetupPageAbstract.java:126)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:178)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:743)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:635)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1094)
at org.eclipse.jface.window.Window.open(Window.java:788)
at com.st.stm32cube.ide.mcu.informationcenter.WelcomePageAction.run(WelcomePageAction.java:54)
at org.eclipse.ui.internal.intro.impl.model.url.IntroURL.runAction(IntroURL.java:280)
at org.eclipse.ui.internal.intro.impl.model.url.IntroURL.doExecute(IntroURL.java:191)
at org.eclipse.ui.internal.intro.impl.model.url.IntroURL.lambda$0(IntroURL.java:146)
at org.eclipse.ui.internal.intro.impl.model.url.IntroURL$$Lambda$582/499302716.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:72)
at org.eclipse.ui.internal.intro.impl.model.url.IntroURL.execute(IntroURL.java:146)
at org.eclipse.ui.internal.intro.impl.presentations.BrowserIntroPartLocationListener.changing(BrowserIntroPartLocationListener.java:130)
at org.eclipse.swt.browser.IE.lambda$6(IE.java:525)
at org.eclipse.swt.browser.IE$$Lambda$427/1067780644.handleEvent(Unknown Source)Cube version: 1.6.1, 1.5.1 (both versions give error)
Parameters of PC:
Windows 10,v 10.0.19041
Video Card :Intel(R) UHD Graphics 620
CPU: i3-8145U CPU @ 2.10GHz
RAM: 8Gb
Please advice.
2021-03-04 01:02 AM
Maybe exit IDE session, move all <user home>/.stm32* to some backup area then restart IDE back.
Let us know if helping.
2021-03-05 01:47 AM
CUbe:
C:\ST\STM32CubeIDE_1.5.1\STM32CubeIDE
Workspace:
C:\ST\workspace
workspace folder is empty. Do you mean move Cube ID folder?
2021-03-05 02:08 AM
None of them.
You have some STM32Cube extra metadata under your user home folder. all are prefixed '.stm'
If windows most of time 'c:\Users\<user name>\.stm*'
2021-03-08 10:23 PM
It is done. Sucess!
And issue has gone!
You was write. Thank you!
2021-03-09 03:53 AM
Please tag such topic as answered. Will help community to dig more efficiently into valuable material. Thanks.
2021-03-09 04:15 AM
Sorry, i don't see correspoding settings. And i can't create topics with new name. What i have to do?