I migrated my project workspace from MCUXpressoIDE 11.3.0_5222 to 11.5.0_7232. From that time I cannot view peripheral registers and I get and error "Could not create the view: com.crt.peripheral.PeripheralView" in GUI and errors in MCUXpressoIDE log file
!ENTRY com.nxp.swtools.periphs.gui.view 4 0 2022-01-23 09:02:59.549
!MESSAGE [TOOL] Could not find any matching component for type freemaster
!ENTRY com.nxp.swtools.periphs.gui.view 4 0 2022-01-23 09:02:59.562
!MESSAGE [TOOL] Could not find any matching component for type freemaster
!ENTRY com.nxp.swtools.periphs.gui.view 4 0 2022-01-23 09:03:03.589
!MESSAGE [TOOL] Could not find any matching component for type rtc
!ENTRY com.nxp.swtools.periphs.gui.view 4 0 2022-01-23 09:03:03.605
!MESSAGE [TOOL] Could not find any matching component for type wdog32
!ENTRY com.nxp.swtools.periphs.gui.view 4 0 2022-01-23 09:03:03.644
!MESSAGE [TOOL] Could not find any matching component for type acmp
!ENTRY com.nxp.swtools.periphs.gui.view 4 0 2022-01-23 09:03:03.669
!MESSAGE [TOOL] Could not find any matching component for type lpspi
!ENTRY com.nxp.swtools.periphs.gui.view 4 0 2022-01-23 09:03:03.703
!MESSAGE [TOOL] Could not find any matching component for type lptmr
!ENTRY com.nxp.swtools.periphs.gui.view 4 0 2022-01-23 09:03:03.718
!MESSAGE [TOOL] Could not find any matching component for type crc
!ENTRY com.nxp.swtools.periphs.gui.view 4 0 2022-01-23 09:03:03.737
!MESSAGE [TOOL] Could not find any matching component for type ewm
!ENTRY com.nxp.swtools.periphs.gui.view 4 0 2022-01-23 09:03:03.768
!MESSAGE [TOOL] Could not find any matching component for type ftm
Detailed error in GUI
java.lang.Exception
at org.eclipse.ui.internal.ViewReference.createErrorPart(ViewReference.java:115)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:101)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPart(CompatibilityPart.java:304)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:342)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:999)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:964)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:140)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:405)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:332)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:202)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:91)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:42)
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:132)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:999)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:659)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$1.run(PartRenderingEngine.java:544)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:528)
at org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.createWidget(ElementReferenceRenderer.java:73)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:999)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:659)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:765)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:730)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:714)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.lambda$0(PartServiceImpl.java:109)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.lambda$0(UIEventHandler.java:38)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:236)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:133)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4742)
at org.eclipse.e4.ui.workbench.swt.DisplayUISynchronize.syncExec(DisplayUISynchronize.java:34)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:205)
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:203)
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:133)
at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:75)
at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:44)
at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:55)
at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424)
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElementGen(ElementContainerImpl.java:170)
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:188)
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.lambda$4(StackRenderer.java:975)
at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:84)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4209)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1043)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1067)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:766)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3243)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1881)
at org.eclipse.swt.custom.CTabFolder.lambda$0(CTabFolder.java:330)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4209)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1043)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4026)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3626)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1157)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:654)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1462)
Is there a way how to fix the workspace to view peripheral registers?
解決済! 解決策の投稿を見る。
>>I migrated my project workspace from MCUXpressoIDE 11.3.0_5222
Are you saying you point the new IDE to that previous IDE workspace folder? I never do that: I always use a new workspace for a new/different IDE. The reasons is with the meta data inside the workspace: you easily can create conflicts with that or strange things you see now.
The steps for a new IDE are for me:
a) every IDE uses its own workspace folder
b) it is possible to share *projects* between IDE versions: simply drag&drop and reference to the project
c) to use the previous workspace settings, you can import/export the settings, see https://mcuoneclipse.com/2012/04/04/copy-my-workspace-settings/
I hope this helps,
Erich
>>I migrated my project workspace from MCUXpressoIDE 11.3.0_5222
Are you saying you point the new IDE to that previous IDE workspace folder? I never do that: I always use a new workspace for a new/different IDE. The reasons is with the meta data inside the workspace: you easily can create conflicts with that or strange things you see now.
The steps for a new IDE are for me:
a) every IDE uses its own workspace folder
b) it is possible to share *projects* between IDE versions: simply drag&drop and reference to the project
c) to use the previous workspace settings, you can import/export the settings, see https://mcuoneclipse.com/2012/04/04/copy-my-workspace-settings/
I hope this helps,
Erich
> Are you saying you point the new IDE to that previous IDE workspace folder?
I opened previous project workspace in new IDE. New IDE displays info that the workspace was created in older IDE version and asked me if I want to update this workspace. I confirmed. It seems that this does not work correctly.
I recovered project workspace from backup and I did what you proposed in step b). I opened old and new IDE. I drag&drop project from old IDE Project Explorer to new IDE Project Explorer and it seems to work fine. Then there is no issue with viewing the peripheral registers.
I'll also try to export and import workspace settings as you post in step c)
Thank you for help.