Parse Error while converting to date format java.text.ParseException: Unparseable date (Doc ID 1553635.1)

Last updated on JANUARY 16, 2017

Applies to:

Oracle WebCenter Sites - Version 11.1.1.6.1 and later
Information in this document applies to any platform.

Symptoms

This error could occur when docking the Browse Tab in Contributor UI.

Steps taken to produce error:

1. Load a Browse tab, e.g. by double-clicking a parent asset from the left-hand tree
2. click the dock button to dock the Browse tab results

The following popup error message may be seen in the Contributor UI:

Unable to load /cs/ContentServer?pagename=fatwire%2Fui%2Fcontroller%2Fcontroller&elementName=UI%2FLayout%2FCenterPane%2FSearch%2FView%2FAdvancedForm
status:12031


The following error is seen in the sites.log:

[com.fatwire.services] [SearchUtil - formatDate()] Parse Error while converting to date format
java.text.ParseException: Unparseable date: "20120523143045"
  at java.text.DateFormat.parse(DateFormat.java:337)
  at com.fatwire.ui.util.SearchUtil.formatDate(SearchUtil.java:538)
  at com.fatwire.services.ui.beans.UISearchResultBean.formatDateField(UISearchResultBean.java:73)
  at com.fatwire.services.ui.beans.UISearchResultBean.setResultRow(UISearchResultBean.java:59)
  at com.fatwire.services.ui.beans.UISearchResultBean.(UISearchResultBean.java:39)
  at com.fatwire.ui.util.SearchUtil$3.transform(SearchUtil.java:144)
  at com.fatwire.ui.util.SearchUtil$3.transform(SearchUtil.java:138)
  at com.fatwire.ui.util.GenericUtil.transformList(GenericUtil.java:202)
  at com.fatwire.ui.util.GenericUtil.transformList(GenericUtil.java:214)
  at com.fatwire.ui.util.SearchUtil.buildData(SearchUtil.java:138)
  at com.fatwire.ui.util.SearchUtil.buildListData(SearchUtil.java:190)
  at org.apache.jsp.jsp.cs_005fdeployed.UI.Data.Search.ListAction_jsp._jspService(ListAction_jsp.java:134)
  .
  .
  .


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