SourceForge has been redesigned. Learn more.
Close

#379 .mbx from a TRIM export fail normalization

No milestone
open
margotc
None
6
2013-07-10
2013-06-18
No

Tested on Xena 6.0.1
Tried normalization with a .vmbx file and a .mbx file, both from a TRIM export. .vmbx file is guessed as a plaintext file and is normalized without error using a plaintext normalizer.

.mbx file is guessed as a TRIM Email and normalization fails with below error,

I have attached the screen shot of the error, and sample .vmbx and .mbx files.
Looks like the difference between the two files is the date format.

If I change the extension of the .mbx file to .vmbx, it normalizes in plaintext without error.

org.xml.sax.SAXException: Cannot parse Received-Date or Received-Time;
nested exception is:
java.text.ParseException: Unparseable date: "12/10/20005:03 AM"
javax.mail.MessagingException: Cannot parse Received-Date or Received-Time;
nested exception is:
java.text.ParseException: Unparseable date: "12/10/20005:03 AM"
au.gov.naa.digipres.xena.kernel.XenaException: org.xml.sax.SAXException: Cannot parse Received-Date or Received-Time;
nested exception is:
java.text.ParseException: Unparseable date: "12/10/20005:03 AM"
javax.mail.MessagingException: Cannot parse Received-Date or Received-Time;
nested exception is:
java.text.ParseException: Unparseable date: "12/10/20005:03 AM"
at au.gov.naa.digipres.xena.kernel.normalise.NormaliserManager.parse(NormaliserManager.java:838)
at au.gov.naa.digipres.xena.kernel.normalise.NormaliserManager.normalise(NormaliserManager.java:1063)
at au.gov.naa.digipres.xena.core.Xena.normalise(Xena.java:667)
at au.gov.naa.digipres.xena.core.Xena.normalise(Xena.java:572)
at au.gov.naa.digipres.xena.litegui.NormalisationThread.normaliseFile(NormalisationThread.java:337)
at au.gov.naa.digipres.xena.litegui.NormalisationThread.normaliseStandard(NormalisationThread.java:255)
at au.gov.naa.digipres.xena.litegui.NormalisationThread.run(NormalisationThread.java:195)
Caused by: org.xml.sax.SAXException: Cannot parse Received-Date or Received-Time;
nested exception is:
java.text.ParseException: Unparseable date: "12/10/20005:03 AM"
javax.mail.MessagingException: Cannot parse Received-Date or Received-Time;
nested exception is:
java.text.ParseException: Unparseable date: "12/10/20005:03 AM"
at au.gov.naa.digipres.xena.plugin.email.MessageNormaliser.parse(MessageNormaliser.java:200)
at au.gov.naa.digipres.xena.kernel.normalise.AbstractNormaliser.parse(AbstractNormaliser.java:116)
at au.gov.naa.digipres.xena.plugin.email.EmailToXenaEmailNormaliser.doFolder(EmailToXenaEmailNormaliser.java:361)
at au.gov.naa.digipres.xena.plugin.email.EmailToXenaEmailNormaliser.parse(EmailToXenaEmailNormaliser.java:232)
at au.gov.naa.digipres.xena.kernel.normalise.NormaliserManager.parse(NormaliserManager.java:829)
... 6 more
Caused by: javax.mail.MessagingException: Cannot parse Received-Date or Received-Time;
nested exception is:
java.text.ParseException: Unparseable date: "12/10/20005:03 AM"
at au.gov.naa.digipres.xena.plugin.email.trim.TrimMessage.headToDate(TrimMessage.java:374)
at au.gov.naa.digipres.xena.plugin.email.trim.TrimMessage.getReceivedDate(TrimMessage.java:361)
at au.gov.naa.digipres.xena.plugin.email.MessageNormaliser.parse(MessageNormaliser.java:131)
... 10 more

3 Attachments

Discussion

  • Kirti Chennareddy

     
  • Kirti Chennareddy

     

Log in to post a comment.