Java error in editor in R2013b

13 visualizaciones (últimos 30 días)
Heber Farnsworth
Heber Farnsworth el 25 de Sept. de 2013
Comentada: Sean de Wolski el 22 de Abr. de 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 comentarios
Scott
Scott el 24 de Oct. de 2013
I am getting the same. Windows 7 Pro. Previous installation was R2013a.
Scott
Scott el 11 de Nov. de 2013
Just a note to the original poster: This problem was resolved for me by uninstalling and reinstalling R2013b.

Iniciar sesión para comentar.

Respuestas (1)

Michael
Michael el 2 de Abr. de 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 comentarios
Denis Pierrot
Denis Pierrot el 22 de Abr. de 2014
That worked for me. Thanks a lot.
Sean de Wolski
Sean de Wolski el 22 de Abr. de 2014
Yes, the following should resolve it:
restoredefaultpath;
rehash toolboxcache;
If it does,
savepath

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by