Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    (TypeError) : this.getClass(...).applyStretchResizePolicy is not a function

    Hi,
    I have been working on GWT application that uses SmartGWT extensively. The SmartGWT application I am using is: SmartClientVersion: v9.0p_2013-07-12.
    In this phase, I am looking forward to embed this application inside Salesforce.com Canvas. Canvas is a mechanism that allows embedding web applications within Salesforce.com environment. I was able to do this successfully on Chrome. The next browser is FF 22.0. It looks like the whole code runs successfully, but when it is drawing the app, it is finding the error on the subject. The full Stack trace is below.
    Any idea why this may be happening or someone was able to integrate a SmartGWT application inside Salesforce.com Canvas using Firefox (by the way, I tried with several FF versions and it happens in all) ?
    Thanks !

    Eduardo.

    StackTraceCreator.java].[com_google_gwt_core_client_impl_StackTraceCreator$CollectorEmulated_$fillInStackTrace__Lcom_google_gwt_core_client_impl_StackTraceCreator$CollectorEmulated_2Ljava_lang_Throwable_2V]: (174)
    [StackTraceCreator.java].[com_google_gwt_core_client_JavaScriptException_JavaScriptException__Ljava_lang_Object_2V]: (508)
    [Exceptions.java].[com_google_gwt_lang_Exceptions_caught__Ljava_lang_Object_2Ljava_lang_Object_2]: (29)
    [BaseWidget.java].[com_smartgwt_client_widgets_BaseWidget_$draw__Lcom_smartgwt_client_widgets_BaseWidget_2V]: (240)
    [ApplicationFacade.java].[com_q_desktop_client_ApplicationFacade_$setCurrentDisplay__Lcom_q_desktop_client_ApplicationFacade_2Lcom_smartgwt_client_widgets_Canvas_2V]: (496)
    [LoadOrganizationSuccessfulEvent.java].[com_q_desktop_client_events_object_login_LoadOrganizationSuccessfulEvent_run__Ljava_lang_Object_2V]: (33)
    [DesktopScreenMediatorEvent.java].[com_q_desktop_client_events_DesktopScreenMediatorEvent_$triggerEvent__Lcom_q_desktop_client_events_DesktopScreenMediatorEvent_2Lorg_puremvc_java_multicore_interfaces_INotification_2V]: (40)
    [DesktopScreenMediator.java].[com_q_desktop_client_view_DesktopScreenMediator_handleNotification__Lorg_puremvc_java_multicore_interfaces_INotification_2V]: (71)
    [View.java].[org_puremvc_java_multicore_core_view_View$1_onNotification__Lorg_puremvc_java_multicore_interfaces_INotification_2V]: (196)
    [View.java].[org_puremvc_java_multicore_core_view_View_$notifyObservers__Lorg_puremvc_java_multicore_core_view_View_2Lorg_puremvc_java_multicore_interfaces_INotification_2V]: (127)
    [Facade.java].[org_puremvc_java_multicore_patterns_facade_Facade_$notifyObservers__Lorg_puremvc_java_multicore_patterns_facade_Facade_2Lorg_puremvc_java_multicore_interfaces_INotification_2V]: (361)
    [Notifier.java].[org_puremvc_java_multicore_patterns_observer_Notifier_$sendNotification__Lorg_puremvc_java_multicore_patterns_observer_Notifier_2Ljava_lang_String_2Ljava_lang_Object_2Ljava_lang_String_2V]: (70)
    [LoadOrganizationCommand.java].[com_q_desktop_client_controller_LoadOrganizationCommand$1_onEvent__Lorg_restlet_gwt_data_Request_2Lorg_restlet_gwt_data_Response_2V]: (106)
    [HttpClientConverter.java].[org_restlet_gwt_engine_http_HttpClientConverter$1_$onEvent__Lorg_restlet_gwt_engine_http_HttpClientConverter$1_2Lorg_restlet_gwt_data_Request_2Lorg_restlet_gwt_data_Response_2V]: (381)
    [Request.java].[com_google_gwt_http_client_Request_$fireOnResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_RequestCallback_2V]: (258)
    [RequestBuilder.java].[com_google_gwt_http_client_RequestBuilder$1_onReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V]: (412)
    [XMLHttpRequest.java].[anonymous]: (351)
    [Impl.java].[com_google_gwt_core_client_impl_Impl_apply__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2]: (189)
    [Impl.java].[com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2]: (243)
    [Impl.java].[anonymous]: (70)
Working...
X