Why does MATLAB hang or return a NullPointer exception while trying to save a file in the MATLAB Editor/Debugger?
Show older comments
The following steps reproduce the hanging behavior:
1. Create a new file within the MATLAB Editor/Debugger by typing "edit x" within the MATLAB Command Window.
2. Type some text in the file.
3. Select "Save" (either by the toolbar or the menu).
This will result in the NullPointer exception being shown within the MATLAB Command Window.
java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(Unknown Source)
at javax.swing.ImageIcon.<init>(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI$ShortCutPanel.<init>(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponents(Unknown Source)
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!