Java error on MATLAB R2018b
4 views (last 30 days)
Show older comments
Dear all,
I already found that this type of errors are related to bug in the actual version but I cannot find a solution for it.
Everytime I open Matlab I get this error lines, hereby attached.
java.lang.ArrayIndexOutOfBoundsException: 6
at com.mathworks.appmanagement.MlappinstallUtil.getInstalledApps(MlappinstallUtil.java:75)
at com.mathworks.appmanagement.MlappinstallUtil.getInstalledApps(MlappinstallUtil.java:55)
at com.mathworks.appmanagement.MlappinstallUtil.getAppMetadataByGuid(MlappinstallUtil.java:101)
at com.mathworks.appmanagement.LegacyAppGalleryServiceProvider.register(LegacyAppGalleryServiceProvider.java:30)
at com.mathworks.addon_service_management_api.AddonServiceManager.register(AddonServiceManager.java:36)
at com.mathworks.addon_enable_disable_management.EnableDisableManagementNotifierImpl.enableNonCoreServices(EnableDisableManagementNotifierImpl.java:45)
at com.mathworks.addon_enable_disable_management.EnableDisableManagementNotifierImpl.enable(EnableDisableManagementNotifierImpl.java:22)
at com.mathworks.addons_common.notificationframework.EnableDisableManagementNotifier.notifyToEnable(EnableDisableManagementNotifier.java:22)
at com.mathworks.addons_common.notificationframework.RegistrationManager.registerEnabledAddons(RegistrationManager.java:27)
at com.mathworks.addons.launchers.InitializeCacheAndRegisterAddonsAndAddSupportPackages.run(InitializeCacheAndRegisterAddonsAndAddSupportPackages.java:23)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
java.lang.ArrayIndexOutOfBoundsException: 6
at com.mathworks.appmanagement.MlappinstallUtil.getInstalledApps(MlappinstallUtil.java:75)
at com.mathworks.appmanagement.MlappinstallUtil.getInstalledApps(MlappinstallUtil.java:55)
at com.mathworks.appmanagement.MlappinstallUtil.getAppMetadataByGuid(MlappinstallUtil.java:101)
at com.mathworks.appmanagement.LegacyAppGalleryServiceProvider.register(LegacyAppGalleryServiceProvider.java:30)
at com.mathworks.addon_service_management_api.AddonServiceManager.register(AddonServiceManager.java:36)
at com.mathworks.addon_enable_disable_management.EnableDisableManagementNotifierImpl.enableNonCoreServices(EnableDisableManagementNotifierImpl.java:45)
at com.mathworks.addon_enable_disable_management.EnableDisableManagementNotifierImpl.enable(EnableDisableManagementNotifierImpl.java:22)
at com.mathworks.addons_common.notificationframework.EnableDisableManagementNotifier.notifyToEnable(EnableDisableManagementNotifier.java:22)
at com.mathworks.addons_common.notificationframework.RegistrationManager.registerEnabledAddons(RegistrationManager.java:27)
at com.mathworks.addons.launchers.InitializeCacheAndRegisterAddonsAndAddSupportPackages.run(InitializeCacheAndRegisterAddonsAndAddSupportPackages.java:23)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
java.lang.ArrayIndexOutOfBoundsException: 6
at com.mathworks.appmanagement.MlappinstallUtil.getInstalledApps(MlappinstallUtil.java:75)
at com.mathworks.appmanagement.MlappinstallUtil.getInstalledApps(MlappinstallUtil.java:55)
at com.mathworks.appmanagement.MlappinstallUtil.getAppMetadataByGuid(MlappinstallUtil.java:101)
at com.mathworks.appmanagement.LegacyAppGalleryServiceProvider.register(LegacyAppGalleryServiceProvider.java:30)
at com.mathworks.addon_service_management_api.AddonServiceManager.register(AddonServiceManager.java:36)
at com.mathworks.addon_enable_disable_management.EnableDisableManagementNotifierImpl.enableNonCoreServices(EnableDisableManagementNotifierImpl.java:45)
at com.mathworks.addon_enable_disable_management.EnableDisableManagementNotifierImpl.enable(EnableDisableManagementNotifierImpl.java:22)
at com.mathworks.addons_common.notificationframework.EnableDisableManagementNotifier.notifyToEnable(EnableDisableManagementNotifier.java:22)
at com.mathworks.addons_common.notificationframework.RegistrationManager.registerEnabledAddons(RegistrationManager.java:27)
at com.mathworks.addons.launchers.InitializeCacheAndRegisterAddonsAndAddSupportPackages.run(InitializeCacheAndRegisterAddonsAndAddSupportPackages.java:23)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
java.lang.ArrayIndexOutOfBoundsException: 6
at com.mathworks.appmanagement.MlappinstallUtil.getInstalledApps(MlappinstallUtil.java:75)
at com.mathworks.appmanagement.MlappinstallUtil.getInstalledApps(MlappinstallUtil.java:55)
at com.mathworks.appmanagement.MlappinstallUtil.getAppMetadataByGuid(MlappinstallUtil.java:101)
at com.mathworks.appmanagement.LegacyAppGalleryServiceProvider.register(LegacyAppGalleryServiceProvider.java:30)
at com.mathworks.addon_service_management_api.AddonServiceManager.register(AddonServiceManager.java:36)
at com.mathworks.addon_enable_disable_management.EnableDisableManagementNotifierImpl.enableNonCoreServices(EnableDisableManagementNotifierImpl.java:45)
at com.mathworks.addon_enable_disable_management.EnableDisableManagementNotifierImpl.enable(EnableDisableManagementNotifierImpl.java:22)
at com.mathworks.addons_common.notificationframework.EnableDisableManagementNotifier.notifyToEnable(EnableDisableManagementNotifier.java:22)
at com.mathworks.addons_common.notificationframework.RegistrationManager.registerEnabledAddons(RegistrationManager.java:27)
at com.mathworks.addons.launchers.InitializeCacheAndRegisterAddonsAndAddSupportPackages.run(InitializeCacheAndRegisterAddonsAndAddSupportPackages.java:23)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
>>
0 Comments
Answers (1)
Akshay Kumar
on 18 Dec 2018
This looks like a bug.I would suggest you to contact MathWorks Technical Support to get assistance.
You can refer to the below link to do so:
0 Comments
See Also
Categories
Find more on Call Java from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!