Java error on MATLAB R2018b

4 次查看(过去 30 天)
Guido Perucchini
Guido Perucchini 2018-12-15
回答: Akshay Kumar 2018-12-18
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)
>>

回答(1 个)

Akshay Kumar
Akshay Kumar 2018-12-18
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:

类别

Help CenterFile Exchange 中查找有关 Call Java from MATLAB 的更多信息

产品


版本

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by