I get several "Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException" errors during a MATLAB session. Help.
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello:
I get several errors that read: "Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at ..." and then it lists several items here. I have no idea what to do here. I have the latest version of Java installed on my MacBook Pro (10.10.4) running MATLAB 7.10.0.
I get this error no matter what I do in the program. If I manually edit an element in a variable, if I press any key that communicates with the program, if I run a script, etc. For example, here's immediately after I load MATLAB after a hard restart of my machine and want to bring up the help doc for the plot function:
EDU>> doc plot
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.mathworks.widgets.WindowsWidgetFactory$SearchAndClearButton.anyText(WindowsWidgetFactory.java:187)
at com.mathworks.widgets.WindowsWidgetFactory$SearchAndClearButton.getIcon(WindowsWidgetFactory.java:195)
at com.apple.laf.AquaButtonUI.setThemeBorder(AquaButtonUI.java:91)
at com.apple.laf.AquaButtonUI.installDefaults(AquaButtonUI.java:58)
at javax.swing.plaf.basic.BasicButtonUI.installUI(BasicButtonUI.java:71)
at javax.swing.JComponent.setUI(JComponent.java:670)
at javax.swing.AbstractButton.setUI(AbstractButton.java:1815)
at javax.swing.JButton.updateUI(JButton.java:128)
at javax.swing.AbstractButton.init(AbstractButton.java:2182)
at javax.swing.JButton.<init>(JButton.java:118)
at javax.swing.JButton.<init>(JButton.java:73)
at com.mathworks.mwswing.MJButton.<init>(MJButton.java:71)
at com.mathworks.widgets.WindowsWidgetFactory$SearchAndClearButton.<init>(WindowsWidgetFactory.java:153)
at com.mathworks.widgets.WindowsWidgetFactory$SearchAndClearButton.<init>(WindowsWidgetFactory.java:167)
at com.mathworks.widgets.WindowsWidgetFactory.createSearchAndClearButton(WindowsWidgetFactory.java:58)
at com.mathworks.widgets.WindowsWidgetFactory.createSearchWidgetButtonSet(WindowsWidgetFactory.java:93)
at com.mathworks.widgets.SearchTextField.buildDefaultComponent(SearchTextField.java:517)
at com.mathworks.widgets.SearchTextField.buildComponent(SearchTextField.java:480)
at com.mathworks.widgets.SearchTextField.init(SearchTextField.java:182)
at com.mathworks.widgets.SearchTextField.<init>(SearchTextField.java:173)
at com.mathworks.widgets.SearchTextField.<init>(SearchTextField.java:160)
at com.mathworks.mde.help.SearchInputPanel.<init>(SearchInputPanel.java:74)
at com.mathworks.mde.help.HelpNavigator.addSearchTextField(HelpNavigator.java:193)
at com.mathworks.mde.help.HelpNavigator.<init>(HelpNavigator.java:114)
at com.mathworks.mde.help.HelpBrowser.<init>(HelpBrowser.java:135)
at com.mathworks.mde.help.HelpBrowser.createHelpBrowser(HelpBrowser.java:640)
at com.mathworks.mde.help.HelpBrowser.getInstance(HelpBrowser.java:623)
at com.mathworks.mde.help.HelpBrowser.access$2600(HelpBrowser.java:74)
at com.mathworks.mde.help.HelpBrowser$HelpBrowserRunnable.run(HelpBrowser.java:1317)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:676)
at java.awt.EventQueue$2.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.mathworks.mde.help.HelpBrowser$11.whenHelpBrowserExists(HelpBrowser.java:835)
at com.mathworks.mde.help.HelpBrowser$HelpBrowserRunnable.run(HelpBrowser.java:1318)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:676)
at java.awt.EventQueue$2.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Thanks, your help is VERY appreciated.
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!