While saving to a file, the error "NullPointerException" occurs. It isn't possible to save any file in yEd.
Applies to: yEd 3.4, 3.3 print article email article

Type: Troubleshooting

Categories this article belongs to:
yEd

The exception "NullPointerException" occurs on Windows XP when you try to save a file. What can you do?

Since yEd 3.5, the work-around mentioned below is included and the error should not appear anymore.

yEd might not be able to save your diagram. Instead an exception occurs with this stack trace:

stacktrace: java.lang.NullPointerException
    at javax.swing.ImageIcon.<init>(Unknown Source)
    at javax.swing.ImageIcon.<init>(Unknown Source)
    at sun.swing.WindowsPlacesBar.<init>(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.updateUseShellFolder(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponents(Unknown Source)
    at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknown Source) 

This may happen if you have removed or replaced some system desktop icons on Windows XP. To work around this problem, try to follow the advice given on these pages: http://www.minq.se/forum/message.jspa?messageID=9662 and http://www.auctober.de/mantis/view.php?id=86&PHPSESSID=905a3cc248d2a42b6c1c8c3d264bb3d9"


Keywords: filechooser - save - exception - trouble

Provide feedback:
How useful was this article?    less 1 2 3 4 5 more
Email address (optional):
COPYRIGHT © 2012 yWorks · ALL RIGHTS RESERVED imprint | terms of use | privacy policy | home