Results 1 to 3 of 3

Thread: [FNR] Malformed JSNI reference

  1. #1
    Sencha Premium Member
    Join Date
    Jul 2008
    Posts
    17

    Default [FNR] Malformed JSNI reference

    Hi,

    I just updated a project to work with GXT 2.0 and GWT 1.6.4. When clicking on some menu items, or opening some grids/dialogs in hosted mode, two entries are added to the log: Malformed JSNI reference '0' and Malformed JSNI reference '1'. This does not seem to hinder normal operation of the program though. I'm currently unable to provide a simple example producing this problem, but I hope the stacktrace below will be sufficient:

    Code:
    [WARN] Malformed JSNI reference '0'; expect subsequent failures
    java.lang.NoSuchFieldError: 0
    	at com.google.gwt.dev.shell.CompilingClassLoader$DispatchClassInfoOracle.getDispId(CompilingClassLoader.java:122)
    	at com.google.gwt.dev.shell.CompilingClassLoader.getDispId(CompilingClassLoader.java:574)
    	at com.google.gwt.dev.shell.ie.IDispatchProxy.getIDsOfNames(IDispatchProxy.java:124)
    	at com.google.gwt.dev.shell.ie.IDispatchImpl.GetIDsOfNames(IDispatchImpl.java:273)
    	at com.google.gwt.dev.shell.ie.IDispatchImpl.method5(IDispatchImpl.java:189)
    	at org.eclipse.swt.internal.ole.win32.COMObject.callback5(COMObject.java:108)
    	at org.eclipse.swt.internal.ole.win32.COM.VtblCall(Native Method)
    	at org.eclipse.swt.internal.ole.win32.IDispatch.Invoke(IDispatch.java:64)
    	at org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:493)
    	at org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:417)
    	at com.google.gwt.dev.shell.ie.ModuleSpaceIE6.doInvokeOnWindow(ModuleSpaceIE6.java:68)
    	at com.google.gwt.dev.shell.ie.ModuleSpaceIE6.doInvoke(ModuleSpaceIE6.java:153)
    	at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:453)
    	at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:231)
    	at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    	at com.extjs.gxt.ui.client.core.El.getAlignToXY(El.java)
    	at com.extjs.gxt.ui.client.core.El.alignTo(El.java:254)
    	at com.extjs.gxt.ui.client.widget.Layer.alignTo(Layer.java:54)
    	at com.extjs.gxt.ui.client.widget.menu.Menu.show(Menu.java:404)
    	at com.extjs.gxt.ui.client.widget.menu.Menu.show(Menu.java:385)
    	at com.extjs.gxt.ui.client.widget.button.Button.showMenu(Button.java:427)
    	at com.extjs.gxt.ui.client.widget.button.Button.onClick(Button.java:528)
    	at com.extjs.gxt.ui.client.widget.button.Button.onComponentEvent(Button.java:274)
    	at com.extjs.gxt.ui.client.widget.Component.onBrowserEvent(Component.java:750)
    	at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1320)
    	at com.google.gwt.user.client.DOM.dispatchEventAndCatch(DOM.java:1299)
    	at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1262)
    	at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    	at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java:126)
    	at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:155)
    	at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:294)
    	at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:194)
    	at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117)
    	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
    	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
    	at com.google.gwt.dev.SwtHostedModeBase.processEvents(SwtHostedModeBase.java:235)
    	at com.google.gwt.dev.HostedModeBase.pumpEventLoop(HostedModeBase.java:558)
    	at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405)
    	at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976

    Default

    2.0 is just a first milestone release. It is not yet ready for production use.

  3. #3
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572

    Default

    fixed in svn

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •