My Oracle Support Banner

Javascript Errors Seen When Refreshing Page Containing Map Portlet (Doc ID 1420873.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version: and later   [Release: 11g and later ]
Information in this document applies to any platform.


In an JDeveloper installation, after creating a portlet with the Map Viewer component in it, and consuming it by another application, clicking refresh on the page is giving javascript errors and the map is not re-displaying.

The javascript errors are of the following types :-

1. Error: AdfRichUIPeer.getDomElementForComponent(x92) is undefined
2. Error: this._themeInfoTable is undefined

To reproduce do this :-
1. Create a JDeveloper Application for portlet containing the Map Viewer Component - MapPortlet
2. Test running it standalone -- Works fine and shows a map
3. Create a consumer application
4. Create a new WSRP Producer connection using the WSDL details for the portlet
5. Run the consumer application
6. Add the portlet <NewProducerConnectionName>--MapPortlet_start_jspx from Resource Catalog
7. The map is displayed within the page.
8. Click refresh - the portlet is blank and one of the javascript errors are seen.


To view full details, 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 a vibrant support community of peers and Oracle experts.