Hello all,
I installed Arm Mobile Studio 2022.0 on windows 10 successfully, but launching graphics analyzer failed due to the following exception.
!ENTRY org.eclipse.e4.ui.workbench 4 0 2022-04-16 17:56:52.129!MESSAGE Failed to evaluate: ReferenceExpression [definitionId=com.arm.mgd.ui.expressions.replayEnabled]!STACK 0org.eclipse.core.runtime.CoreException: Plug-in "com.arm.mgd.ui" was unable to instantiate class "com.arm.mgd.ui.propertytesters.ModelPropertyTester". at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:212) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:206) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:923) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:246) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:63) at org.eclipse.core.internal.expressions.PropertyTesterDescriptor.instantiate(PropertyTesterDescriptor.java:99) at org.eclipse.core.internal.expressions.TypeExtension.findTypeExtender(TypeExtension.java:100) at org.eclipse.core.internal.expressions.TypeExtension.findTypeExtender(TypeExtension.java:133) at org.eclipse.core.internal.expressions.TypeExtension.findTypeExtender(TypeExtension.java:133) at org.eclipse.core.internal.expressions.TypeExtension.findTypeExtender(TypeExtension.java:133) at org.eclipse.core.internal.expressions.TypeExtensionManager.getProperty(TypeExtensionManager.java:122) at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:100) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:55) at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:34) at org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:74) at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:74) at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:100) at org.eclipse.ui.internal.services.EvaluationReference.changed(EvaluationReference.java:94) at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:108) at org.eclipse.e4.core.internal.contexts.EclipseContext.runAndTrack(EclipseContext.java:346) at org.eclipse.ui.internal.services.EvaluationService.addEvaluationReference(EvaluationService.java:239) at org.eclipse.ui.internal.services.EvaluationService.addEvaluationListener(EvaluationService.java:213) at org.eclipse.ui.internal.handlers.HandlerProxy.registerEnablement(HandlerProxy.java:209) at org.eclipse.ui.internal.handlers.HandlerProxy.<init>(HandlerProxy.java:189) at org.eclipse.ui.internal.handlers.LegacyHandlerService.readHandlers(LegacyHandlerService.java:639) at org.eclipse.ui.internal.handlers.LegacyHandlerService.readRegistry(LegacyHandlerService.java:579) at org.eclipse.ui.internal.Workbench$36.runWithException(Workbench.java:2361) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:36) 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:4735) at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94) at org.eclipse.ui.internal.Workbench.initializeDefaultServices(Workbench.java:2355) at org.eclipse.ui.internal.Workbench.init(Workbench.java:1640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2793) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:646) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:557) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154) at com.arm.mgd.ui.Application.start(Application.java:129) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107) 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:657) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) at org.eclipse.equinox.launcher.Main.run(Main.java:1447)Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:204) ... 50 moreCaused by: java.lang.UnsatisfiedLinkError: 'com.arm.compilermanager.Compilers com.arm.compilermanager.CompilerManager.getCompilers(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int)' at com.arm.compilermanager.CompilerManager.getCompilers(Native Method) at com.arm.mgd.core.offlinecompiler.MidgardShaderCompiler.findPreferredCompiler(MidgardShaderCompiler.java:133) at com.arm.mgd.core.offlinecompiler.MidgardShaderCompiler.<init>(MidgardShaderCompiler.java:99) at com.arm.mgd.core.CoreInstance.<clinit>(CoreInstance.java:37) at com.arm.mgd.ui.propertytesters.ModelPropertyTester.<init>(ModelPropertyTester.java:35) ... 55 more
Does anyone know how to resolve the above exception ?
Thanks
(Updated - I had the wrong version)You're missing the VS2013 C/C++ library redistributable installation - for some reason the version we package in the JAR file isn't getting picked up.
It can be found here:
https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
Thank you very much for the bug report - we'll get this fixed in the next release.
Kind regards, Pete
Hi Peter,
Thanks for your reply.
This exception is resolved after installing VS2013 C/C++ library redistributable manually, and graphics analyzer can work now.
BR