Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

saw.dll TypeError: document.getElementById() is null ( after migration to 12.2.1.2.0 )

Received Response
1
Views
7
Comments
3520535
3520535 Rank 3 - Community Apprentice

After migration to Oracle BI 12.2.1.2.0 when I click a link in a row tab on the left side of my dashboard to refresh a map on my right side I have this error in Firefox and in Internet Explorer:

saw.dll TypeError: document.getElementById() is null.

The sorce code is :

document.getElementById("DashboardPageContentOuterDiv").setAttribute("class","DashboardPageContentOuterDiv DashboardPageWithTabsContentOuterDiv PageContentBodyDiv");

The download of the maps is regular.

Can you help me to debug Oracle BI js and dll?

Best regard

Sergio

Answers

  • 3520535
    3520535 Rank 3 - Community Apprentice

    After a grep command ( grep -r 'DashboardPageContentOuterDiv' )

    I found that the string DashboardPageContentOuterDiv is in portalcontent.css

    Sergio

  • Hi,

    Where the CSS class "DashboardPageContentOuterDiv" is defined isn't going to help you. Even if the class doesn't exist at all you will just not see the style defined but that class.

    Your error is a javascript error coming before that: there isn't an element with the ID defined in the function.

    What version did you migrate from? What kind of customization do you had in the original version? What kind of customization did you migrate to the new one?

  • 3520535
    3520535 Rank 3 - Community Apprentice

    Hi Gianni.

    I'm migrating from Oracle BI 11.1.1.5.0 to 12.2.1.2.0

    In a dashboard there is an analisys with a static text and a table.

    In the table I load some data.

    The static text has markup HTML: I use "ICO_LIB_standard.js" to load Google map from cache o from Google ( there is a function to produce the URL for retrieving the tile layers desidered ).

    In the script of the static text there is a function to create an iframe for content with a target page as MyFile.html

    The file MyFile.html load some js library and a function to call the function in ICO_LIB_standard.js

    I can try to do a new one simpler to do only the iframe and I can debug it.

    Sergio 

  • Moving from 11.1.1.5 to 12c isn't really supported (you would have to first move to 11.1.1.9 or 11.1.1.7 first in theory).

    And it looks like the issue is more related to your own customization.

    Identify exactly what is generating the issue, if it is your own custom code (JS etc.) then it's up to you to fix it and make it work as it's a customization ...

  • Joel
    Joel Rank 8 - Analytics Strategist

    Are you migrating directly from 11.1.1.5 to 12c? Oracle's 11g - 12c migration documentation states that the migration should be done from 11.1.1.7 and above.

    I would strongly recommend that you upgrade to 11.1.1.7 or higher 1st before the migration and see if this corrects these issues that you are experiencing.

  • 3520535
    3520535 Rank 3 - Community Apprentice

    Hi Gianni!

    I produced a little dashboard+analysys to focus the problem.

    In the old Oracle BI version the dashboard load Google maps, Google maps from cache and detail maps from Mapviewer.

    In the new version It doesn't load maps from Mapviewer.

    I'm going to check the migration of Mapviewer.

    I let you know.

    Thanks

    Sergio

  • 3520535
    3520535 Rank 3 - Community Apprentice

    Sorry for my late reply.

    I'm having problem with Mapviewer ( 12.2.1.2  ) migrated on Linux. I think that this is the cause.

    I can close the case and I can open a new one.

    Sergio