Azzera filtri
Azzera filtri

Java error in editor in R2013b

11 visualizzazioni (ultimi 30 giorni)
Heber Farnsworth
Heber Farnsworth il 25 Set 2013
Commentato: Sean de Wolski il 22 Apr 2014
New computer running windows 7 enterprise. I Installed Matlab 2013b. Whenever I launch the editor I get the following error
Undefined function 'rmiml.getAll' for input arguments of type 'char'.
Undefined function 'rmiml.visibleInToolstrip' for input arguments of type 'char'.
Undefined function 'rmiml.visibleInToolstrip' for input arguments of type 'char'.
Undefined function 'rmiml.visibleInToolstrip' for input arguments of type 'char'.
java.lang.NullPointerException at com.mathworks.toolbox.simulink.slvnv.RmiEditorToolstripContributor$4$1.runOnAWTEventDispatchThread(RmiEditorToolstripContributor.java:173) at com.mathworks.jmi.MatlabWorker$1.run(MatlabWorker.java:67) at java.awt.event.InvocationEvent.dispatch(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.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) java.lang.NullPointerException at com.mathworks.toolbox.simulink.slvnv.RmiEditorToolstripContributor$4$1.runOnAWTEventDispatchThread(RmiEditorToolstripContributor.java:173) at com.mathworks.jmi.MatlabWorker$1.run(MatlabWorker.java:67) at java.awt.event.InvocationEvent.dispatch(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.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) java.lang.NullPointerException at com.mathworks.toolbox.simulink.slvnv.RmiEditorToolstripContributor$4$1.runOnAWTEventDispatchThread(RmiEditorToolstripContributor.java:173) at com.mathworks.jmi.MatlabWorker$1.run(MatlabWorker.java:67) at java.awt.event.InvocationEvent.dispatch(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.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)
  2 Commenti
Scott
Scott il 24 Ott 2013
I am getting the same. Windows 7 Pro. Previous installation was R2013a.
Scott
Scott il 11 Nov 2013
Just a note to the original poster: This problem was resolved for me by uninstalling and reinstalling R2013b.

Accedi per commentare.

Risposte (1)

Michael
Michael il 2 Apr 2014
I had the same error, and it stopped my own GUI-based programmes running to boot.
My problem started when I launched an old version (2011a) to test some code. I had changed some paths during my testing. I then followed Scott's advice about re-installing, but the error still happened. I then uninstalled all versions of Matlab from my machine, taking care to clear out all settings and to delete folder remnants after the uninstaller finished.
I re-installed 2013b, but still had the same problem! Then I noticed my old paths still existed. I deleted my pathdef file that was sitting in Documents/Matlab folder, restarted Matlab, and all is good!
  2 Commenti
Denis Pierrot
Denis Pierrot il 22 Apr 2014
That worked for me. Thanks a lot.
Sean de Wolski
Sean de Wolski il 22 Apr 2014
Yes, the following should resolve it:
restoredefaultpath;
rehash toolboxcache;
If it does,
savepath

Accedi per commentare.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by