Matlab problem...version 2015a

6 次查看(过去 30 天)
Dear reader im new here; i have a problem with my Matlab R2015a when i use help it show me a java error error lines :
  • Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class com.mathworks.mlwidgets.help.ProductFilterModel$InstalledState at com.mathworks.mlwidgets.help.DocCenterProductPrefs.getSelectedProductsFromPref(DocCenterProductPrefs.java:47) at com.mathworks.mlwidgets.help.DocCenterProductPrefs.getProductFilterModel(DocCenterProductPrefs.java:33) at com.mathworks.mlwidgets.help.DocCenterDocConfigParams.<init>(DocCenterDocConfigParams.java:37) at com.mathworks.mlwidgets.help.DocCenterDocConfig.getLocalConfig(DocCenterDocConfig.java:77) at com.mathworks.mlwidgets.help.DocCenterDocConfig.getInstance(DocCenterDocConfig.java:65) at com.mathworks.mde.help.DocCenterBrowserHandler.resolveHelpBrowserTaskUrl(DocCenterBrowserHandler.java:116) at com.mathworks.mde.help.DocCenterBrowserHandler.getUrlDisplayBehavior(DocCenterBrowserHandler.java:85) at com.mathworks.mde.help.DocCenterBrowserHandler.doHelpBrowserTask(DocCenterBrowserHandler.java:45) at com.mathworks.mde.help.DocCenterBrowserHandler.doHelpBrowserTask(DocCenterBrowserHandler.java:39) at com.mathworks.mde.help.DocCenterBrowserHandler.invoke(DocCenterBrowserHandler.java:342) at com.mathworks.mde.help.HelpBrowserBridge.invoke(HelpBrowserBridge.java:39) at com.mathworks.mlservices.MLHelpServices.invoke(MLHelpServices.java:38) at com.mathworks.mde.desk.MLDesktop$HelpProductPageAction.actionPerformed(MLDesktop.java:3084) at com.mathworks.mwswing.ChildAction.actionPerformed(ChildAction.java:214) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at com.mathworks.toolstrip.components.DropDownButtonModel.originalSetPressed(DropDownButtonModel.java:31) at com.mathworks.toolstrip.components.SplitButtonModel.setPressed(SplitButtonModel.java:35) at com.mathworks.toolstrip.plaf.SplitButtonUI$MyToolstripButtonListener.mouseReleased(SplitButtonUI.java:558) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at com.mathworks.mwswing.MJButton.processMouseEvent(MJButton.java:348) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)*

回答(4 个)

Image Analyst
Image Analyst 2015-10-19
For any major crashes like this you should call the Mathworks, as per the FAQ. I assume you've updated your Java.

Guerroudj Abdelmalek
update of JAVA is not the solution... i think its the version of Matlab or windows

PRIYA ALAGARSAMY
PRIYA ALAGARSAMY 2016-3-8
编辑:Walter Roberson 2016-3-8
I am receiving the following error when i am clicking getting started
Java exception occurred:
java.lang.NoClassDefFoundError: Could not initialize class
com.mathworks.mlwidgets.help.ProductFilterModel$InstalledState
at
com.mathworks.mlwidgets.help.DocCenterProductPrefs.getSelectedProductsFromPref(DocCenterProductPrefs.java:47)
at com.mathworks.mlwidgets.help.DocCenterProductPrefs.getProductFilterModel(DocCenterProductPrefs.java:33)
at com.mathworks.mlwidgets.help.DocCenterDocConfigParams.<init>(DocCenterDocConfigParams.java:37)
at com.mathworks.mlwidgets.help.DocCenterDocConfig.getLocalConfig(DocCenterDocConfig.java:77)
at
com.mathworks.mlwidgets.help.HelpUtils$DefaultDependencyProvider.isUrlUnderDocCenterDocroot(HelpUtils.java:944)
at com.mathworks.mlwidgets.help.HelpUtils$DefaultDependencyProvider.isUrlUnderDocroot(HelpUtils.java:937)
at com.mathworks.mlwidgets.help.HelpUtils.getUrlUnderDocroot(HelpUtils.java:475)
at com.mathworks.mlwidgets.help.HelpUtils.convertClassicDocPath(HelpUtils.java:457)
at com.mathworks.mlwidgets.help.HelpUtils.getLocalizedDocCenterFilename(HelpUtils.java:351)
at com.mathworks.mlwidgets.help.HelpUtils.getLocalizedFile(HelpUtils.java:328)
at com.mathworks.mlwidgets.help.CSHelpTopicMap.<init>(CSHelpTopicMap.java:78)
at com.mathworks.mlwidgets.help.CSHelpTopicMap.<init>(CSHelpTopicMap.java:73)

Yahia Hamdi
Yahia Hamdi 2017-1-19
  • Matlab problem...version 2015a*
Dear reader im new here; i have a problem with my Matlab R2015a when i use help it show me a java error error lines :
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class com.mathworks.mlwidgets.help.ProductFilterModel$InstalledState at com.mathworks.mlwidgets.help.DocCenterProductPrefs.getSelectedProductsFromPref(DocCenterProductPrefs.java:47) at com.mathworks.mlwidgets.help.DocCenterProductPrefs.getProductFilterModel(DocCenterProductPrefs.java:33) at com.mathworks.mlwidgets.help.DocCenterDocConfigParams.<init>(DocCenterDocConfigParams.java:37) at com.mathworks.mlwidgets.help.DocCenterDocConfig.getLocalConfig(DocCenterDocConfig.java:77) at com.mathworks.mlwidgets.help.DocCenterDocConfig.getInstance(DocCenterDocConfig.java:65) at com.mathworks.mde.help.DocCenterBrowserHandler.resolveHelpBrowserTaskUrl(DocCenterBrowserHandler.java:116) at com.mathworks.mde.help.DocCenterBrowserHandler.getUrlDisplayBehavior(DocCenterBrowserHandler.java:85) at com.mathworks.mde.help.DocCenterBrowserHandler.doHelpBrowserTask(DocCenterBrowserHandler.java:45) at com.mathworks.mde.help.DocCenterBrowserHandler.doHelpBrowserTask(DocCenterBrowserHandler.java:39) at com.mathworks.mde.help.DocCenterBrowserHandler.invoke(DocCenterBrowserHandler.java:342) at com.mathworks.mde.help.HelpBrowserBridge.invoke(HelpBrowserBridge.java:39) at com.mathworks.mlservices.MLHelpServices.invoke(MLHelpServices.java:38) at com.mathworks.mde.desk.MLDesktop$HelpProductPageAction.actionPerformed(MLDesktop.java:3084) at com.mathworks.mwswing.ChildAction.actionPerformed(ChildAction.java:214) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at com.mathworks.toolstrip.components.DropDownButtonModel.originalSetPressed(DropDownButtonModel.java:31) at com.mathworks.toolstrip.components.SplitButtonModel.setPressed(SplitButtonModel.java:35) at com.mathworks.toolstrip.plaf.SplitButtonUI$MyToolstripButtonListener.mouseReleased(SplitButtonUI.java:558) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at com.mathworks.mwswing.MJButton.processMouseEvent(MJButton.java:348) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

尚未输入任何标签。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by