Menu

#385 Null pointer exception when destination directory does not exist

Next Release
closed
None
4
2013-09-06
2013-08-26
No

Testing on Xena testing branch,

If the Destination directory selected in the xena preferences does not exist, normalizing any file throws null pointer exception. There is no error message on the GUI. Below error is shown in the console,

Aug 26, 2013 11:31:40 AM au.gov.naa.digipres.xena.litegui.LiteMainFrame handleException
FINER: java.lang.NullPointerException
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:432)
at au.gov.naa.digipres.xena.litegui.NormalisationResultsTableModel.addResultToHash(NormalisationResultsTableModel.java:130)
at au.gov.naa.digipres.xena.litegui.NormalisationResultsTableModel.addNormalisationResult(NormalisationResultsTableModel.java:88)
at au.gov.naa.digipres.xena.litegui.NormalisationThread.normaliseFile(NormalisationThread.java:436)
at au.gov.naa.digipres.xena.litegui.NormalisationThread.normaliseStandard(NormalisationThread.java:255)
at au.gov.naa.digipres.xena.litegui.NormalisationThread.run(NormalisationThread.java:195)

Discussion

  • Terry O'Neill

    Terry O'Neill - 2013-08-26
    • status: open --> open-fixed
    • assigned_to: Kirti Chennareddy
     
  • Terry O'Neill

    Terry O'Neill - 2013-08-26

    Fixed in testing branch and assigned to Kirti to test

     
  • Kirti Chennareddy

    • status: open-fixed --> closed
     
  • Kirti Chennareddy

    Tested on Xena 6.1.0 testing branch on Ubuntu

    Destination\Output directory is checked before the normalisation process starts and throws an error to correct the path.

    tested ok.

     

Log in to post a comment.