Menu

#44 Error on Cancel in the 'character set' dialog

closed
nobody
3
2007-07-24
2007-07-24
Harry Wood
No

Stack trace error when you do the following:
* File menu -> Import -> CSV
* Select a valid CSV file in the open dialog
* In the 'Character Set' dialog window CANCEL

Following java stack trace, so it's feeding a null value into something it shouldn't. Not a major problem. Handled nicely without losing data

Ver 1.2.3 (200707221632) - Java 1.5.0_06 , OS Windows XP
java.lang.IllegalArgumentException: Null charset name
at java.nio.charset.Charset.lookup(Unknown Source)
at java.nio.charset.Charset.forName(Unknown Source)
at jmemorize.gui.swing.actions.file.ImportCSVAction.showCharsetChooser(ImportCSVAction.java:62)
at jmemorize.gui.swing.actions.file.ImportCSVAction.doImport(ImportCSVAction.java:74)
at jmemorize.gui.swing.actions.file.AbstractImportAction.actionPerformed(AbstractImportAction.java:79)

...etc

Discussion

  • Harry Wood

    Harry Wood - 2007-07-24
    • summary: Cancel in the 'character set' --> Error on Cancel in the 'character set' dialog
     
  • Harry Wood

    Harry Wood - 2007-07-24
    • priority: 5 --> 3
     
  • Riad Djemili

    Riad Djemili - 2007-07-24

    Logged In: YES
    user_id=853759
    Originator: NO

    Good catch. I've fixed in the devel version. Thanks for the report!

    -Riad

     
  • Riad Djemili

    Riad Djemili - 2007-07-24
    • status: open --> closed
     

Log in to post a comment.