Tuesday, July 22, 2014

Re: Unable to load Module in embedded IE / OCX

What permutation is being loaded?
(alert the GWT.getPermutationStrongName at the very beginning of the onModuleLoad, and then go get the permutation properties in the compilation-mappings.txt – assuming you're using the xsiframe linker)
It's likely that the "document mode" in IE is wrongly detected and GWT loads an inappropriate permutation.

IIRC, IE defaults to an old compatibility mode when embedded, so maybe start by making sure it runs in its most "modern" mode.

On Tuesday, July 22, 2014 8:08:30 AM UTC+2, Johann Regier wrote:
Hi Experts,

we use GWT SDK 2.6.0

we have an GWT Webshop Application which works fine in all Browsers, but we have Customers which have a special solution, a "COM Interface"  with a OnlineViewer which uses Internet Explorer OCX Component ( embedded IE ) where it does not work. I want debug, but the onModuleLoad is not called, instead it throws an exception "unable to load Module" - see Exception below.

If i compile in pretty Style i see the Exception is thrown here.

Pleas help us with a solution.

function entry_0(jsFunction){
  return function(){
    try {
      return entry0(jsFunction, this, arguments);
    }
     catch (e) {
      throw e;
    }
  }
  ;
}

function entry0(jsFunction, thisObj, args){
  var initialEntry, t;
  initialEntry = enter();
  try {
    if (uncaughtExceptionHandler) {
      try {
        return apply_0(jsFunction, thisObj, args);
      }
       catch ($e0) {
        $e0 = wrap($e0);
        if (instanceOf($e0, Q$Throwable)) {
          t = $e0;
          reportUncaughtException(t);
          return undefined;
        }
         else
          throw unwrap($e0);
      }
    }
     else {
      return apply_0(jsFunction, thisObj, args);
    }
  }
   finally {
    exit(initialEntry);
  }
}


13:56:42.839 [ERROR] [net.tecdoc.ws.gwt.MainApp] Unable to load module entry point class net.tecdoc.ws.gwt.client.MainApp (see associated exception for details)

com.google.gwt.core.client.JavaScriptException: (Error) @com.google.gwt.dom.client.Node::appendChild(Lcom/google/gwt/dom/client/Node;)([JavaScript object(36)]): Unerwarteter Aufruf oder Zugriff.

    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249)

    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)

    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576)

    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:284)

    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)

    at com.google.gwt.dom.client.Node$.appendChild$(Node.java)

    at net.tecdoc.ws.gwt.client.MainApp.onModuleLoadInternal(MainApp.java:491)

    at net.tecdoc.ws.gwt.client.MainApp.onModuleLoad(MainApp.java:452)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:411)

    at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)

    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)

    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)

    at java.lang.Thread.run(Thread.java:724)




--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment