ADF Javascript error in MS IE v 8.0.6001.18702

Hi,
I'm using jdeveloper v11.1.2.0.0. I have a login page with language, username, password fields. Language is af:selectonechoice and is using ppr to re-render the page on language change. It's working fine with FireFox 4 and chrome. But when I open the page in IE (8.0.6001.18702), it's showing the following javascript error, and I cannot even submit the login details(eventhough I'm not changing language). The error is,
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; the Windows NT 5.1; Trident/4.0; NET CLR 2.0.50727)
Timestamp: Thu, 23 Feb 2012 01:57:28 UTC
Message: Element not found.
Line: 6219
Characters: 2
Code: 0
URI: http://192.168.5.140:7101/eMotor/afr/partition/ie/default/opt/boot-SHERMAN-1147.js
Please find my web.xml code below,
<?xml version = '1.0' encoding = 'windows-1252'?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         version="2.5">
    <display-name>eMotor</display-name>
    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>client</param-value>
    </context-param>
    <context-param>
        <description>No obfuscation of CSS.</description>
        <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
        <param-value>true</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
        <param-value>false</param-value>
    </context-param>
    <context-param>
        <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
        <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
        <param-value>false</param-value>
    </context-param>
    <context-param>
        <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
        <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
        <param-value>false</param-value>
    </context-param>
    <context-param>
        <description>Security precaution to prevent clickjacking: bust frames if the ancestor window domain(protocol, host, and port) and the frame domain are different. Another options for this parameter are always and never.</description>
        <param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>
        <param-value>differentDomain</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.FACELETS_VIEW_MAPPINGS</param-name>
        <param-value>*.jsf;*.xhtml</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.FACELETS_SKIP_XML_INSTRUCTIONS</param-name>
        <param-value>true</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
        <param-value>true</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.FACELETS_DECORATORS</param-name>
        <param-value>oracle.adfinternal.view.faces.facelets.rich.AdfTagDecorator</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.FACELETS_RESOURCE_RESOLVER</param-name>
        <param-value>oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver</param-value>
    </context-param>
    <filter>
        <filter-name>JpsFilter</filter-name>
        <filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
        <init-param>
            <param-name>enable.anonymous</param-name>
            <param-value>true</param-value>
        </init-param>
    </filter>
    <filter>
        <filter-name>SecurityFilter</filter-name>
        <filter-class>com.allianz.common.web.filter.SecurityFilter</filter-class>
    </filter>
    <filter>
        <filter-name>trinidad</filter-name>
        <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
    </filter>
    <filter>
        <filter-name>adfBindings</filter-name>
        <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter>
        <filter-name>ADFLibraryFilter</filter-name>
        <filter-class>oracle.adf.library.webapp.LibraryFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>JpsFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter-mapping>
        <filter-name>SecurityFilter</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>ERROR</dispatcher>
    </filter-mapping>
    <filter-mapping>
        <filter-name>trinidad</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>ERROR</dispatcher>
    </filter-mapping>
    <filter-mapping>
        <filter-name>adfBindings</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
        <filter-name>ADFLibraryFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <listener>
        <listener-class>oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack</listener-class>
    </listener>
    <listener>
        <listener-class>oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack</listener-class>
    </listener>
    <listener>
        <listener-class>oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack</listener-class>
    </listener>
    <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
        <servlet-name>resources</servlet-name>
        <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>BIGRAPHSERVLET</servlet-name>
        <servlet-class>oracle.adf.view.faces.bi.webapp.GraphServlet</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>BIGAUGESERVLET</servlet-name>
        <servlet-class>oracle.adf.view.faces.bi.webapp.GaugeServlet</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>MapProxyServlet</servlet-name>
        <servlet-class>oracle.adf.view.faces.bi.webapp.MapProxyServlet</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>adflibResources</servlet-name>
        <servlet-class>oracle.adf.library.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/afr/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>BIGRAPHSERVLET</servlet-name>
        <url-pattern>/servlet/GraphServlet/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>BIGAUGESERVLET</servlet-name>
        <url-pattern>/servlet/GaugeServlet/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>MapProxyServlet</servlet-name>
        <url-pattern>/mapproxy/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/bi/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>adflibResources</servlet-name>
        <url-pattern>/adflib/*</url-pattern>
    </servlet-mapping>
    <context-param>
        <param-name>oracle.adf.view.rich.sessionHandling.WARNING_BEFORE_ TIMEOUT</param-name>
        <param-value>1800</param-value>
    </context-param>
    <session-config>
        <session-timeout>30</session-timeout>
    </session-config>
    <mime-mapping>
        <extension>swf</extension>
        <mime-type>application/x-shockwave-flash</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>amf</extension>
        <mime-type>application/x-amf</mime-type>
    </mime-mapping>
    <welcome-file-list>
        <welcome-file>/faces/Login.jspx</welcome-file>
    </welcome-file-list>
    <mime-mapping>
        <extension>rrpa</extension>
        <mime-type>application/x-orarrp-pdf</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>rar</extension>
        <mime-type>application/octet-stream</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>zip</extension>
        <mime-type>application/x-zip-compressed</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>doc</extension>
        <mime-type>application/msword</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>docx</extension>
        <mime-type>application/vnd.openxmlformats-officedocument.wordprocessingml.document</mime-type>
    </mime-mapping>
    <servlet>
    <servlet-name>imageServlet</servlet-name>
    <servlet-class>com.allianz.web.servlet.ImageServlet</servlet-class>
</servlet>
<servlet-mapping>
    <servlet-name>imageServlet</servlet-name>
    <url-pattern>/image/*</url-pattern>
</servlet-mapping>
</web-app>
            And in faces-config, I have the following details,
<application>
        <default-render-kit-id>oracle.adf.rich</default-render-kit-id>
        <locale-config>
            <default-locale>zh</default-locale>
            <supported-locale>en</supported-locale>
        </locale-config>
        <resource-bundle>
            <base-name>resources.UIResources</base-name>
            <var>msg</var>
        </resource-bundle>
    </application>My Login.jspx code,
<af:pageTemplate viewId="/template/LoginTemplate.jspx" id="pt1">
                <f:facet name="loginArea">
                    <af:panelFormLayout id="pgl1"
                                        inlineStyle="width: 398px; height: 278px; margin-top: 150px; margin-left: 300px; 
                                       background: url(#{facesContext.externalContext.requestContextPath}/img/login.PNG);">
                        <af:spacer height="15px"/>
                        <af:outputLabel value="#{msg['login.loginheader']}"
                                        inlineStyle="font-weight: bold; font-size: 15px; align: left; margin-left: 5px"/>
                        <af:panelFormLayout labelAlignment="start" inlineStyle="margin-top: 30px">
                            <af:selectOneChoice label="#{msg['login.country']}" value="#{authorizationBean.country}"
                                                autoSubmit="true" styleClass="select_normal" id="country"
                                                valueChangeListener="#{authorizationBean.changeLanguage}">
                                <af:selectItem value="zh" label="#{msg['label.china']}"/>
                                <af:selectItem value="en" label="#{msg['label.english']}"/>
                            </af:selectOneChoice>
                            <af:spacer height="5px"/>
                            <af:inputText label="#{msg['login.username']}" value="#{authorizationBean.auth.userName}" required="true"
                                        requiredMessageDetail="#{msg['message.mandatoryselect']}"/>
                            <af:spacer height="5px"/>
                            <af:inputText label="#{msg['login.password']}" secret="true" value="#{authorizationBean.auth.password}" required="true"
                                        requiredMessageDetail="#{msg['message.mandatoryselect']}">
                               </af:inputText>
                            <af:spacer height="5px"/>
                            <af:commandButton text="#{msg['label.login']}" accessKey="L" styleClass="button_normal"
                                              action="#{authorizationBean.doLogin}" id="loginButton"/>
                             <af:commandLink text="#{msg['title.forgotPassword']}" id="cl1" immediate="true" partialSubmit="true"  >
                                <af:clientListener method="openForgetPasswordPage" type="action"/>
                            </af:commandLink>                
                          <af:outputLabel value="#{authorizationBean.loginErrorMsg}" inlineStyle="color:Red;"/>
                        </af:panelFormLayout>
                    </af:panelFormLayout>
                </f:facet>
            </af:pageTemplate>Any help would be much appreciated...

chk this
http://vtkrishn.com/2011/08/23/ie8-element-not-found-error/

Similar Messages

  • Configuring the ADF Javascript error handler

    I've noticed that ADF has a default Javascript error handler which seems to swallow all Javascript errors. Now this is a problem since all errors disappear into this logger system.
    How can I get this logger to write error messages to the Firebug console?

    Hi,
    please read page 23 onwards of: http://www.oracle.com/technetwork/developer-tools/jdev/1-2011-javascript-302460.pdf
    Frank

  • Javascript error on ADF Popup

    Hi,
    I have a very strange problem.I am using ADF Popup ,action on one of the button in the Popup opens another Popup on top of it(Using popup.show(hints) JS to open this popup).
    When i try to close the second Popup (Using popup.hide()) it throws Javascript error Error:Object Required in IE7,Same code works fine in FireFox.Any suggestions ,please?

    We are using JDEV 11.1.1.0.0.
    Code to Open/Close popup.
    public void ShowPopup(String clientId,String Id){
    FacesContext context = FacesContext.getCurrentInstance();
    String popupId = clientId;
    String alignId =Id; //inputText290.getClientId(FacesContext.getCurrentInstance());
    StringBuilder script = new StringBuilder();
    script.append("var popup = AdfPage.PAGE.findComponent('").append(popupId).append("'); ").
    append("if (!popup.isPopupVisible()) { ").
    append("var hints = {}; ").
    append("hints[AdfRichPopup.HINT_ALIGN_ID] = '").append(alignId).append("'; ").
    append("hints[AdfRichPopup.HINT_ALIGN] = AdfRichPopup.ALIGN_AFTER_END; ").
    append("popup.show(hints);}");
    ExtendedRenderKitService erks =
    Service.getService(context.getRenderKit(),
    ExtendedRenderKitService.class);
    erks.addScript(context, script.toString());
    public void closePopup(String popupId){
    StringBuilder script = new StringBuilder();
    FacesContext context = FacesContext.getCurrentInstance();
    script.append("var popup = AdfPage.PAGE.findComponent('").append(popupId).append("'); ")
    .append("if (popup.isPopupVisible()) { ")
    .append("popup.hide();}");
    ExtendedRenderKitService erks =
    Service.getService(context.getRenderKit(), ExtendedRenderKitService.class);
    erks.addScript(context, script.toString());
    Command Button action for the Button on the popup
    public String commandButton50_action() {
    // Add event code here...
    closePopup(popup13.getClientId(FacesContext.getCurrentInstance()));
    return null;
    JSPX Code:
    <af:popup binding="#{backingBeanScope.backing_MbrMemberReview.popup8}"
    id="popup8" contentDelivery="lazyUncached"
    popupFetchListener="#{backingBeanScope.backing_MbrMemberReview.popup8_popupFetchListener}">
    <af:panelWindow binding="#{backingBeanScope.backing_MbrMemberReview.panelWindow8}"
    id="panelWindow8"
    title="Search for Member to Combine"
    inlineStyle="width:600px; height:400px;"
    modal="true">
    <af:commandButton text="OK"
    binding="#{backingBeanScope.backing_MbrMemberReview.commandButton50}"
    id="commandButton50"
    inlineStyle="width:80px; height:15px; text-align:center;"
    action="#{backingBeanScope.backing_MbrMemberReview.commandButton50_action}"
    partialSubmit="true"/>
    </af:panelWindow>
    </af:popup>

  • Javascript errors when loading ADF app

    We are running two ADF applications in a weblogic server with ADF 11.1.2.3 patches. Out of these two applications, users intermittently encounter javascript error using either IE 8, IE 9, or Firefox in http mode at first screen.  We only recently started testing https, so we do not know if the error will occur with https – however, it needs to work in both modes.  This error sometimes goes away by clearing the cache and sometimes goes away over time.   The front page for the two applications are essentially the same.  We investigated and diagnosed  (through IE developer tool) is that the JS files containing the core ADF JavaScript libraries are not being downloaded completely (this is same for other static files including image files).  Also could notice that these incomplete files  took a much longer time to download (16ms) when compared to others(<1ms) of same size.
    The issue may be related to : https://forums.oracle.com/thread/1558474. as the error messages shown here are almost the same especially those with ADF Javsacript API missing.

    Can you try restarting the server once. We resolved this issue by restarting the server and clearing and restting the browesr to the defaults.

  • ADF Calendar JavaScript error

    Has anyone seen this error before?
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.2; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Timestamp: Thu, 12 Aug 2010 20:41:04 UTC
    Message: Invalid argument.
    Line: 2555
    Char: 1
    Code: 0
    URI: http://........../calendar-11.1.1.3.0-0084.js
    It happens at random.

    I replaced the calendar control, but when I resize my browser, 20% of the time I keep getting that same javascript error. Is there anything else that I can attempt to try to fix this once and for all?

  • 10.1.3 Faces: Javascript error on PPR

    Hi all,
    I'm getting a Javascript error during PPR in IE 6.0. This error does not appear in FF 2.0. The error is "Invalid Argument" on line 2984 of adf/jsLibs/Common10_1_3_2_0.js:
    form.removeChild(tempParams[paramName]);
    Research suggests that this error should occur when "tempParams[paramName]" was created in a different document from "form", and sure enough, with a DOM inspector, I was able to determine that the documents have different unique IDs.
    Does anyone know why this might be happening? It doesn't happen in all my pages, but I can't figure out what might be special about this one.
    Thanks much,
    Avrom

    Hi Frank,
    The development environment is JDev 10.1.3.2; I can see if upgrading makes a difference--but the error is actually appearing in the deployed environment, which is Oracle AS 10.1.2.
    The error is getting reported by Microsoft's script debugger--without it, there's a brief flash of a warning symbol in the IE status bar, but it disappears quickly.
    The reason I care about this error (although it's transient and doesn't really seem to affect the outcome of that PPR) is that I suspect it as the culprit in more worrisome behavior--after this error appears once, the <af:messages> component on the page will no longer refresh until the page is left and returned to (although no error is reported at that time). I'm so suspicious because they always go together--I've never been able to get the component to refresh after getting this error, or to keep it from refreshing without getting it. This includes the fact that neither problem surfaces in FireFox.

  • Javascript error in JSP when deployed to Weblogic

    Hi, I am getting the below Javascript error whenever I try to sort within an ADF table in my page once deployed in the Weblogic Server. Running it in local/integrated server is not causing any errors:
    Message: 'AdfIEAgent.superclass.createXMLHttpRequest' is null or not an object
    URI: http://{HOST_NAME}/{Context_Root}/afr/partition/ie/default/opt/boot-11.1.2.2.0-2121.js
    A little background:
    This application was a migrated Jdeveloper 10.1.3 application. I converted the converted trinidad table to adf rich tables.
    Thanks.

    Can you reproduce this error in Firefox/Chrome?
    How you converted trinidad tables(did you manually changed source or you recreated table(by drag and drop from data control)) ?
    Probably the fastest way to identify this problem is to create simple test case in JDev 11.1.2.2 and deploy to standalane WLS.
    If you can reproduce this error then this is some bug in ADF, but if this works as expected then you can compare content in ear files(included jar files, content of web.xml file, etc..) to find difference.
    Dario

  • Javascript error on function call MVThemeBasedFOI

    I am getting a javascript error Error(36,55):  This attribute is not recognized. in the below code line highlighted in bold, what is going wrong. I am using JDeveloper and Mapviewer 11g. Please suggest
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:trh="http://myfaces.apache.org/trinidad/html"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:tr="http://myfaces.apache.org/trinidad">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <trh:html>
    <trh:head title="map">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <trh:script source="/jslib/oraclemaps.js"></trh:script>
    <trh:script text='
    var baseURL = "http://"+document.location.host+"/mapviewer";
    var mapCenterLon = 145.07;
    var mapCenterLat = -37.57;
    var mapZoom = 1;
    function showMap() {
    var mapview = new MVMapView(document.getElementById("map"), baseURL);
    mapview.addMapTileLayer(new MVMapTileLayer("gis_data.AV_VICMAP"));
    mapview.setCenter(MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,4283));
    mapview.setZoomLevel(mapZoom);
    mapview.addNavigationPanel("WEST");
    addThemeBasedFOI();
    mapview.display();
    function addThemeBasedFOI() {
    var themebasedfoi1 = new MVThemeBasedFOI('themebasedfoi1','gis_data.geom_avl_rural_lastknown'); mapview.addThemeBasedFOI(themebasedfoi1);
    }'></trh:script>
    </trh:head>
    <trh:body onload="javascript:showMap()">
    <h:form>
    <tr:panelPage>
    <f:facet name="navigation1"/>
    <f:facet name="navigationGlobal"/>
    <f:facet name="branding">
    <tr:outputText value="Oracle Maps"/>
    </f:facet>
    <!--TODO: Migrator from ADF Faces 10.1.3 to Trinidad removed the following node and its contents since it does not exist in Trinidad anymore
    <f:facet name="brandingApp" />
    -->
    <f:facet name="appCopyright"/>
    <f:facet name="appPrivacy"/>
    <f:facet name="appAbout"/>
    <f:verbatim>
    <div id="map"
    style="width:800.0px; height:600.0px; background-color:rgb(255,255,255); border-width:thin; border-color:rgb(99,99,255); border-style:solid;"/>
    </f:verbatim>
    </tr:panelPage>
    </h:form>
    </trh:body>
    </trh:html>
    </f:view>
    </jsp:root>
    Thanks

    Try use another name of FOI. Not the same as FOI var

  • Getting javascript error while selecting the Recipients in OBIEE delivers.

    Hi All,
    I am working on OBIEE from quite a long time, but recently I came across a error while selecting the Recipients in Recipients list of OBIEE delivers.
    Making it more comprehensive, when I try to create an ibot , after entering all necessary information when I select Recipients in Recipients list and click on ok. I get a JavaScript error "null" is null or an object. The surprising thing is when i select cancel it works as ok.
    Any help will be highly appreciated
    Thanks,
    Jyoti
    Message was edited by:
    user616430

    I think you dont have a field named /BIC/XXXXXX in the table from which you are trying to fetch the data. Chech the spelling of the field name and table name.

  • Javascript error calling a bi 7.0 webapplication from a bsp application

    Hi everyone,
    This is the scenario we're facing a javascript error :
    Enterprise Portal is calling a custom bsp application ( via an iview in the enterprise portal ) in the bi system with a parameter "template_id" and a value, which is the technical name of a bi web application.
    The bsp application is evaluating the parameter by some custom code and creating a html page with a redirect or a maintenance message to the bi web application passed with the parameter "template_id".
    The html link to the bi web application is created according to this documentation :
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/03d4ac801467e6e10000000a1553f6/content.htm
    Purpose of the bsp application :
    in the bi system there is a database table to maintain a flag for each webtemplate and infocube, which should not be called via the enterprise portal for a certain time ( some kind of maintenance switch ). The bsp application then decides to show a maintenance page for the called webtemplate or to send the redirect page to the client.
    The process described above is :
    working with the bi 7.01 sp7 in the bi ( enterprise portal sp22 ) in the productive system.
    working in the Q&A system bi 7.01 sp8 with bi 3.5 web applications.
    not working in the Q&A system bi 7.01 sp8 with bi 7.0 web applications.
    The javascript error calling bi 7.0 web applications is :
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET4.0C; .NET4.0E)
    Timestamp: Mon, 6 Jun 2011 09:11:04 UTC
    Message: Object doesn't support this property or method
    Line: 96
    Char: 11
    Code: 0
    URI: https://mlptb1.mlp-ag.com:58001/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=B_221_002_KUNDEN_POSTEN_AD
    We've opened a message. Support center is saying that this method isn't supported by sap. We should ommit the bsp application and the used functionality.
    Is there any way to find out, what is causing this object is missing ?
    Is there another way than a bsp application to use this custom maintenance function in the described system setup ?
    system components :
    production system
    SAP NetWeaver 7.0 Portal SP22
    SAP BI 7.01 SP 7
    q&a system
    SAP NetWeaver 7.0 Portal SP22
    SAP BI 7.01 SP 8
    Kind regards.
    Dirk

    Hello everyone,
    we did some further analysis on this problem und we think we found the problem.
    The error occurs while trying to execute the standard url for web templates inside a Enterprise Portal Frame, for example
    https://XXX:XXX/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=XXX
    While executing the URL a HTML-Page with some embeded Javascript-code is sent back to the browser.
    In this Javascrip-Code, the method-call "dsmObj.registerAll" leads to a script error in Internet Explorer.
    dsmObj.registerAll("pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex", "GUSID:6FC9SuhGDPIMMLwOdeHEIg--_7WQud13yeLJDz2kYoQFSg--", "1307605928212");
    In SP7, the method "dsmObj.registerFullKey" is called instead of "dsmObj.registerAll". This has changed in SP8.
    dsmObj.registerFullKey("GUSID:iBPvyska9*xE_JBalkQG2g--YyKv2C3NToP0I79Mw7EO8w--", "1307606479963");
    The object "dsmObj" seems to reference the parent frame of the Enterprise Portal.
    Has anyone seen this before? Any ideas how we can fix this?
    Kind regards,
    Matthias
    Edited by: Matthias Keller on Jun 9, 2011 2:07 PM

  • Dreamweaver 6 launch error - JavaScript error bcinit

    Hi
    I have DW6 latest version running on Win XP SP3 and am all of a sudden getting the strangest bug (I have reported it), but I am wondering if anyone else has seen it or has any ideas how to fix it?
    FYI I have already tried completely uninstalling Creative Cloud, rebooting, running the Creative Clean utility to remove all traces of any suite and then reinstalling Creative Cloud (takes hours ) and still have the same problem which is as follows below (FWIW I have never used BusinessCatalyst, either):
    I launch DW and get the following error message "While executing onLoad in BusinessCatalyst.htm, the following JavaScript error(s) occurred: In file "BusinessCatalyst": bcinit is not defined"
    When I try to open a file I get the following error message "The following translators were no loaded due to errors: ASP.NET: has configuration information that is invalid. BCDynamicTranslator.html: has configuration data that is invalid. BCStaticTranslator.html has configuration information that is invalid. XSLTransform.htm: has configuration data that is invalid"
    Once I clear the dialog DW loads. However, when I attempt to save a file I then get the message "While executing onLoad in _beforeSave.htm, the following JavaScript error(s) occurred: In file "_beforeSave": beforeSave is not defined"
    In addition, the space in the Help menu for Updates is simply blank and there is no Edit > Paste item either (just an empty space).
    One other clue is that after I reinstalled Creative Cloud and BEFORE I applied the latest updates it seemed DW ran OK (it was a quick check, so I might be wrong).
    The problems above are rendering DW unuseable to me at the moment, and it is totally bizarre they remain after a complete reinstall, so any clues on what has happened/how to fix it would be greatfully received!
    Thanks!

    Hi John
    So many thanks for that. I tried step 4 and deleted 2 WinFileCache files (neither of which were called what they said they were) and restarted DW and it now (so far!) seems to work again.
    I have no idea what went wrong, but I am up and running again, so MUCHOS thanks again for your swift repsonse!
    atb

  • Dreamweaver 6.1 - JavaScript error when switching between open tabs

    When switching between open tabs a sequence of javascript
    errors occurs. I had not used Dreamweaver for about 2 weeks, and
    last time I used it with no problems.
    I have tried uninstalling it, OKing removal of all files when
    asked, re-installing it and updating with dwmx61_updater.exe, but I
    still get the same errors.
    This has rendered the software virtually unuseable, so any
    help would be greatly appreciated, as I'm working to a
    rapidly-approaching deadline.
    "While executing Browse_Back enabled in toolbars.xml, a
    JavaScript error occurred"
    followed by
    "While executing Browse_Forward enabled in toolbars.xml, a
    JavaScript error occurred"
    followed by
    "While executing Browse_Stop enabled in toolbars.xml, a
    JavaScript error occurred"
    The relevant code seems to be :
    <!-- Browser nav toolbar -->
    <toolbar id="Browser_Toolbar" platform="win"
    label="Browser Navigation" container="document"
    initiallyVisible="false">
    <button id="Browse_Back"
    image="Toolbars/images/MM/back.gif"
    disabledImage="Toolbars/images/MM/back_dis.gif"
    tooltip="Back"
    label="Back"
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('back')"
    command="dw.getDocumentDOM().browser.backPage()"
    update="onEveryIdle"/>
    <button id="Browse_Forward"
    image="Toolbars/images/MM/forward.gif"
    disabledImage="Toolbars/images/MM/forward_dis.gif"
    tooltip="Forward"
    label="Forward"
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('forward')"
    command="dw.getDocumentDOM().browser.forwardPage()"
    update="onEveryIdle"/>
    <button id="Browse_Stop"
    image="Toolbars/images/MM/stop.gif"
    disabledImage="Toolbars/images/MM/stop_dis.gif"
    tooltip="Stop"
    label="Stop"
    enabled="dw.getDocumentDOM().browser.getPageBusy()"
    command="dw.getDocumentDOM().browser.stopPage()"
    update="onBrowserPageBusyChange"/>
    <button id="Browse_Refresh"
    image="Toolbars/images/MM/browserRefresh.gif"
    tooltip="Refresh"
    label="Refresh"
    enabled="true"
    command="dw.getDocumentDOM().browser.refreshPage()"/>
    presumably the next error is caused by the previous ones
    failing :
    "While executing getCurrentValue in AddressURL.htm, a
    JavaScript error occurred"
    the relevan tcode :
    function getCurrentValue()
    var dom = dw.getDocumentDOM();
    var value = dom.browser.getURL();
    if (value && value.length)
    //check if is it not a temp file
    //extract the tail of the url
    var filename = value;
    var slashIndex = filename.lastIndexOf("/");
    filename = filename.substring(slashIndex+1);
    var tempIndex = filename.indexOf("TMP");
    if (tempIndex != 0)
    addRecentAddress(value);
    return value;

    You can try this simple fix -
    Quit DW.
    Find this folder -
    C:\Documents and Settings\<username>\Application
    Data\Macromedia\Dreamweaver
    8\Configuration\WinFileCache-*.dat
    (these folders are normally hidden - you may have to use
    Explorer > Tools >
    Folder Options to unhide them)
    and delete it.
    Restart DW. Works better?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "earthdoctor" <[email protected]> wrote in
    message
    news:[email protected]...
    > When switching between open tabs a sequence of
    javascript errors occurs. I
    > had
    > not used Dreamweaver for about 2 weeks, and last time I
    used it with no
    > problems.
    >
    > I have tried uninstalling it, OKing removal of all files
    when asked,
    > re-installing it and updating with dwmx61_updater.exe,
    but I still get the
    > same
    > errors.
    >
    > This has rendered the software virtually unuseable, so
    any help would be
    > greatly appreciated, as I'm working to a
    rapidly-approaching deadline.
    >
    >
    > "While executing Browse_Back enabled in toolbars.xml, a
    JavaScript error
    > occurred"
    > followed by
    > "While executing Browse_Forward enabled in toolbars.xml,
    a JavaScript
    > error
    > occurred"
    > followed by
    > "While executing Browse_Stop enabled in toolbars.xml, a
    JavaScript error
    > occurred"
    >
    > The relevant code seems to be :
    >
    > <!-- Browser nav toolbar -->
    >
    > <toolbar id="Browser_Toolbar" platform="win"
    label="Browser
    > Navigation"
    > container="document" initiallyVisible="false">
    >
    > <button id="Browse_Back"
    > image="Toolbars/images/MM/back.gif"
    > disabledImage="Toolbars/images/MM/back_dis.gif"
    > tooltip="Back"
    > label="Back"
    >
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('back')"
    > command="dw.getDocumentDOM().browser.backPage()"
    > update="onEveryIdle"/>
    >
    > <button id="Browse_Forward"
    > image="Toolbars/images/MM/forward.gif"
    > disabledImage="Toolbars/images/MM/forward_dis.gif"
    > tooltip="Forward"
    > label="Forward"
    >
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('forward')"
    > command="dw.getDocumentDOM().browser.forwardPage()"
    > update="onEveryIdle"/>
    >
    > <button id="Browse_Stop"
    > image="Toolbars/images/MM/stop.gif"
    > disabledImage="Toolbars/images/MM/stop_dis.gif"
    > tooltip="Stop"
    > label="Stop"
    > enabled="dw.getDocumentDOM().browser.getPageBusy()"
    > command="dw.getDocumentDOM().browser.stopPage()"
    > update="onBrowserPageBusyChange"/>
    >
    > <button id="Browse_Refresh"
    > image="Toolbars/images/MM/browserRefresh.gif"
    > tooltip="Refresh"
    > label="Refresh"
    > enabled="true"
    > command="dw.getDocumentDOM().browser.refreshPage()"/>
    >
    >
    >
    > presumably the next error is caused by the previous ones
    failing :
    >
    > "While executing getCurrentValue in AddressURL.htm, a
    JavaScript error
    > occurred"
    > the relevan tcode :
    >
    >
    > function getCurrentValue()
    > {
    > var dom = dw.getDocumentDOM();
    > var value = dom.browser.getURL();
    > if (value && value.length)
    > {
    > //check if is it not a temp file
    > //extract the tail of the url
    > var filename = value;
    > var slashIndex = filename.lastIndexOf("/");
    > filename = filename.substring(slashIndex+1);
    > var tempIndex = filename.indexOf("TMP");
    > if (tempIndex != 0)
    > {
    > addRecentAddress(value);
    > }
    > }
    > return value;
    > }
    >
    >

  • On my iPad 2 I can nolonger view maps.  It says there are JavaScript errors.  How can I fix this problem?

    On my iPad 2 I can nolonger view maps.  It says there are JavaScript errors.  How can I fix this problem?

    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."

  • Report Viewer Javascript error

    I have a good report that works great if I export to pdf.
    objdoc.ExportToDisk (ExportFormatType.PortableDocFormat, "c: \ \ testreport.pdf");
    When I load the CrystalReportViewer
    CrystalReportViewer1.ReportSource = objdoc;
    returns a javascript error:
    TreeWidget_getHTML JScript
    file:
    allinOne.js
    this instruction:
    to for (var D in E) {B [C + +] = E [D]. getHTML (F.initialIndent, D == 0)
    because b[c++] is undefined for some values ...
    The only problem I have when I load the report in the ReportViewer.
    The old crystalreportviewer 10.0.53 works on VS2008 now i like import this aspx on VS2010 but i have this problem.

    Is there any resolution for the above issue?
    I have the similar problem.
    To reproduce the error just add a reference to a js script file in the page head:
    <script src="/Scripts/ClassExtentions.js" type="text/jscript"></script>
    where the Array prototype has an extension like: "Array.prototype.testing = true;"
    on loading the page an error occurs in treeview.js TreeWidget_getHTML() function:
    ..sub[i].getHTML < is undefined (Object doesn't support this property or method) = no getHTML function.
    Verifying function (prototype property) availability is missing from other code parts as the next error is in palette.js PaletteWidget_init function:
    ..item.init() < is undefined = no init function for the runtime object, item..
    tryed this fix (works fine):
    treeview.js line 711
         for (var i in sub)
           if (sub[i].getHTML) a[j++]=sub[i].getHTML(o.initialIndent,i==0)
    best regards, Zsolt

  • JavaScript error on Interactive Report

    When clicking on the Magnifying glass of my interactive report search bar, I receive a JavaScript error.
    Line: 2 Char: 15193 Error: Syntax Error
    The page that I am navigating to has 2 regions. The first is an interactive report and the second is an html region that has an Iframe reference to another interactive report. Based upon the selection of a radio group, the corresponding region(interactive report) displays. All other interactive reports work fine when their pages don't have a region with a Iframe reference.
    If I navigate to another page after the error occurs and then come back to the page, everything then works fine. The error only happens on the first use. I have installed the latest patch set for Apex 3.2 I currently am running 3.2.1.00.11. I read a bug on Metalink that referenced this javascript error, but applying the patch set does not seem to fix the issue. The bug was 8568894.
    Any help would be appreciated.

    This might be useful for others also...
    After hours and hours of debugging headers and responses and comparing pages to others which work, I realised that this interactive report's display condition is based on REQUEST = SUBMIT.
    As such, the actions menu will NOT set the Request parameter when clicking in the actions menu and the Apex engine refuses to send anything back to the browser - not even an error message.
    I'll raise a bug for this via Oracle Support.
    Cheers, Pete

Maybe you are looking for