Error java.text.ParseException: Unparseable Date When Attempting to Export PDX File

(Doc ID 1935170.1)

Last updated on APRIL 30, 2017

Applies to:

Oracle Agile PLM Framework - Version 9.3.3.0 to 9.3.3.0 [Release 9.3]
Information in this document applies to any platform.

Symptoms

When exporting Item with Change, below error occurs in the application server log file even though the outputted date in aXML seems to be correct

Error
java.text.ParseException: Unparseable date: "2014-06-25T12:42:39Z"
at java.text.DateFormat.parse(DateFormat.java:357)
at com.agile.extract.server.ExtractOutputStreamWriter.convertDateToW3CFormat(ExtractOutputStreamWriter.java:178)
at com.agile.extract.server.pdx.PDXOutputStreamWriter.titleBlock(PDXOutputStreamWriter.java:316)
at com.agile.extract.server.ExtractOutputStreamWriter.writeTables(ExtractOutputStreamWriter.java:218)
at com.agile.extract.server.pdx.PDXOutputStreamWriter.write(PDXOutputStreamWriter.java:136)
at com.agile.extract.server.PDXService.bufferItemOutput(PDXService.java:513)
at com.agile.extract.server.PDXService.processExport92(PDXService.java:328)
at com.agile.extract.server.ExtractService.processExport(ExtractService.java:383)
at com.agile.extract.server.ExtractService.extract(ExtractService.java:333)
at com.agile.extract.server.ExtractSessionBean.extractPDX(ExtractSessionBean.java:82)
at com.agile.extract.server.ExtractSessionBean.extractPDX(ExtractSessionBean.java:72)
at com.agile.extract.server.ExtractSessionBean_acf5e1_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:32)
at com.agile.extract.server.ExtractSessionBean_acf5e1_EOImpl.extractPDX(Unknown Source)
at com.agile.ui.pcm.lookup.ExportTask$1.run(ExportTask.java:109)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.security.Security.runAs(Security.java:41)
at com.agile.admin.vendor.weblogic.WeblogicServerAdapter.doAs(WeblogicServerAdapter.java:240)
at com.agile.ui.pcm.lookup.ExportTask.performTask(ExportTask.java:152)
at com.agile.ui.pcm.common.BackgroundTask.run(BackgroundTask.java:38)


Steps
The issue can be reproduced at will with the following steps:
1. Login to Web Client
2. Search for Item
3. Goto Actions > Export
4. Select Format PDX and Next
5. Select Create Custom Filter and Next
6. Check on "Changes" and Next
7. Export
8. PDX file gets generated
9. Check application server log. See the error
10. Check the release date of Change. In PDX it shows "2014-06-26T09:29:13Z" (GMT).
11. In Web Client the Released date for the Change shows "26-06-2014 12:29:13 PM IDT" (Israel Time), which is equivalent to "2014-06-26 9:29:13" (GMT)

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms