XPDateFormat Error When Joining a WCI Community After Adding Custom Language Support (Doc ID 1061910.1)

Last updated on JANUARY 03, 2017

Applies to:

Oracle WebCenter Interaction - Version 6.5.1 and later
Microsoft Windows (32-bit)

Symptoms

After adding language support that is not included with WebCenter Interaction, a portal deployed on Windows with IIS/.Net will generate an error when users attempt to join a community. Logging spy will record a stack trace of the UI_Infrastructure XPDateFormat error like this:

8 portal.hoepts20.xsprtl6dnaext 1-15-2010 12:51:45.121 Error UI_Infrastructure .NET #13 com.plumtree.uiinfrastructure.interpreter.Interpreter Unable to process request.
com.plumtree.openfoundation.util.XPNullPointerException: Object reference not set to an instance of an object.
com.plumtree.openfoundation.util.XPNullPointerException: Object reference not set to an instance of an object.
at com.plumtree.openfoundation.util.XPException.GetInstance(String strErrorMsg, Exception e)
at com.plumtree.openfoundation.util.XPException.GetInstance(Exception e)
at com.plumtree.openfoundation.util.XPDateFormat..ctor(Int32 date_type,Int32 time_type, Int32 type, XPLocale locale, XPTimeZone timezone)
at com.plumtree.openfoundation.util.XPDateFormat.GetDateTimeInstance(Int32 dateType, Int32 timeType, XPLocale locale, XPTimeZone timezone)
at com.plumtree.portaluiinfrastructure.search.SearchResultModel.GetDateFormat(AActivitySpace owner) in e:\buildroot\Release\portalui\6.5.x\ptwebui\portaluiinfrastructure\dotnet\prod\src\com\plumtree\portaluiinfrastructure\search\SearchResultModel.cs:line 3542
at com.plumtree.portalpages.browsing.objectselection.communities.CommSelGroupedResultsViewHelper.Init(AActivitySpace _owner, ISearchResultModelRO _model, GroupedResultsView _view)
at com.plumtree.portaluiinfrastructure.search.GroupedResultsView.SetHelper(IGroupedResultsViewHelper helper) in e:\buildroot\Release\portalui\6.5.x\ptwebui\portaluiinfrastructure\dotnet\prod\src\com\plumtree\portaluiinfrastructure\search\GroupedResultsView.cs:line 52
at com.plumtree.portalpages.browsing.objectselection.communities.CommunitySelectionEditorAS.Init()
at com.plumtree.uiinfrastructure.interpreter.MVCController.CreateSpace(RequestDa ta tempData) in e:\buildroot\Release\uiinfrastructure\6.5.x\dotnet\prod\src\com\plumtree\uiinfrastructure\interpreter\MVCController.cs:line 605
at com.plumtree.uiinfrastructure.interpreter.MVCController.HandleRedirectChain(Redirect myRedirect, RequestData tempData) in e:\buildroot\Release\uiinfrastructure\6.5.x\dotnet\prod\src\com\plumtree\uiinfrastructure\interpreter\MVCController.cs:line 777
at com.plumtree.uiinfrastructure.interpreter.MVCController.HandleRedirect(Redirect redirect, RequestData tempData) in e:\buildroot\Release\uiinfrastructure\6.5.x\dotnet\prod\src\com\plumtree\uiinfrastructure\interpreter\MVCController.cs:line 452
at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplicationapplication) in e:\buildroot\Release\uiinfrastructure\6.5.x\dotnet\prod\src\com\plumtree\uiinfrastructure\interpreter\Interpreter.cs:line 403
at com.plumtree.uiinfrastructure.interpreter.Interpreter.DoService(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) in e:\buildroot\Release\uiinfrastructure\6.5.x\dotnet\prod\src\com\plumtree\uiinfrastructure\interpreter\Interpreter.cs:line 163
at com.plumtree.uiinfrastructure.web.XPPage.Service(HttpRequesthttpRequest, HttpResponse httpResponse, HttpSessionState httpSession,HttpApplicationState httpApplication) in e:\buildroot\Release\httpmemorymanagement\6.5.x\dotNET\src\com\plumtree\uiinfrastructure\web\XPPage.cs:line 81
at com.plumtree.portaluiinfrastructure.activityspace.PlumHandler.ProcessRequest(HttpContext context) in e:\buildroot\Release\portalui\6.5.x\ptwebui\portal\dotnet\prod\src\web\PlumHandler.cs:line 36
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&completedSynchronously)
at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)
at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr at System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
Caused by: System.NullReferenceException: Object reference not set to an instance of an object.
at System.Xml.XmlReader.CalcBufferSize(Stream input)
at System.Xml.XmlTextReaderImpl.InitStreamInput(Uri baseUri, String baseUriStr, Stream stream, Byte[] bytes, Int32 byteCount, Encoding encoding)
at System.Xml.XmlTextReaderImpl.InitStreamInput(Stream stream, Encoding encoding)
at System.Xml.XmlTextReaderImpl..ctor(String url, Stream input, XmlNameTable nt)
at System.Xml.XmlTextReader..ctor(Stream input, XmlNameTable nt)
at System.Xml.XmlDocument.Load(Stream inStream)
at com.plumtree.openfoundation.util.XPDateFormat.LoadDateTimeFormats(String language, String country)
at com.plumtree.openfoundation.util.XPDateFormat..ctor(Int32 date_type, Int32 time_type, Int32 type, XPLocale locale, XPTimeZone timezone)

Changes

Adding language support that is not already included with WebCenter Interaction portal can lead to this problem.

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