Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Gxt 2.1 can not run in Gwt2.0 Development Mode.

  1. #1
    Ext User
    Join Date
    Sep 2008
    Location
    China
    Posts
    7

    Question Gxt 2.1 can not run in Gwt2.0 Development Mode.

    The simple code :
    Code:
    package st.lv.web.im.client;
    
    
    import com.google.gwt.core.client.EntryPoint;
    
    /**
     * Entry point classes define <code>onModuleLoad()</code>.
     */
    public class WebIM implements EntryPoint {
    
    	
    	/**
    	 * This is the entry point method.
    	 */
    	public void onModuleLoad() {
    		
    //		com.google.gwt.user.client.Window.alert("ok..");//this line is ok..
    		com.extjs.gxt.ui.client.widget.MessageBox.alert("gxt", "gxt", null);
    	}
    }
    I run it in gwt development mode. when i visit the host page occur this error:
    Code:
    17:03:39.250 [ERROR] [webim] Unable to load module entry point class st.lv.web.im.client.WebIM (see associated exception for details)
    java.lang.VerifyError: (class: com/extjs/gxt/ui/client/widget/Container, method: adjustIndex signature: (Lcom/extjs/gxt/ui/client/widget/Component;I)I) Illegal constant pool index
        at com.extjs.gxt.ui.client.widget.MessageBox.getDialog(MessageBox.java:339)
        at com.extjs.gxt.ui.client.widget.MessageBox.show(MessageBox.java:737)
        at com.extjs.gxt.ui.client.widget.MessageBox.alert(MessageBox.java:104)
        at st.lv.web.im.client.WebIM.onModuleLoad(WebIM.java:18)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:369)
        at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:185)
        at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:380)
        at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
        at java.lang.Thread.run(Unknown Source

  2. #2

    Default it depends where - a bug perhaps

    I use Gxt2.1 in Gwt2.0 fine (Code Splitting and all)

    Anyway, for your example:

    FAILURE - at beginning of onModuleLoad [Invalid memory access of location 0x8 eip=0x4a8aeb] (my stack trace in the logs is similar to yours)

    Success - at end of onModuleLoad
    Success - in middle of LayoutPanel

    Shawn

  3. #3
    Sencha User
    Join Date
    Jul 2009
    Posts
    37

    Default solution...

    Hi!

    I had the same fault. And a very King gentleman sent to me his solution. I quote it bellow:

    "
    I spend a few hours looking into the same "Invalid memory access of
    location 0x8 eip=0x4a8aeb" problem yesterday. What I found out is that
    there seems to be a dependency on the order of class loading. If
    com.extjs.gxt.ui.client.widget.Layout is loaded too late, the
    classloader dies.

    I added the following to the beginning of my module's onModuleLoad()
    method to force Layout to load before my subclasses are loaded.

    @SuppressWarnings("unused")
    Layout junk = new AnchorLayout();

    I tried using Class.forName(), but that didn't seem to fix it -- only
    explicitly referencing the class did.

    - sekhar

    "

  4. #4
    Ext User
    Join Date
    Sep 2008
    Location
    China
    Posts
    7

    Default

    Quote Originally Posted by Shawn.in.Tokyo View Post
    I use Gxt2.1 in Gwt2.0 fine (Code Splitting and all)

    Anyway, for your example:

    FAILURE - at beginning of onModuleLoad [Invalid memory access of location 0x8 eip=0x4a8aeb] (my stack trace in the logs is similar to yours)

    Success - at end of onModuleLoad
    Success - in middle of LayoutPanel

    Shawn
    I change my jdk version from 1.6 to 1.5.
    When i run it in development mode, the jvm occur this exception:
    Code:
    #
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d7226b9, pid=4416, tid=4684
    #
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_08-b03 mixed mode, sharing)
    # Problematic frame:
    # V  [jvm.dll+0x626b9]
    #
    # An error report file with more information is saved as hs_err_pid4416.log
    #
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    see the log :
    Code:
    #
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d7226b9, pid=4416, tid=4684
    #
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_08-b03 mixed mode, sharing)
    # Problematic frame:
    # V  [jvm.dll+0x626b9]
    #
    ---------------  T H R E A D  ---------------
    Current thread (0x00895170):  JavaThread "Code server for gwt2gxt from Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 on http://localhost:8222/Gwt2Gxt.html?g...10.2.1.73:9997 @ Ow1NJ$}RQ)6HqhQ4" daemon [_thread_in_vm, id=4684]
    siginfo: ExceptionCode=0xc0000005, reading address 0x277006b8
    Registers:
    EAX=0x000e9010, EBX=0x00895170, ECX=0x275a5688, EDX=0x276176a8
    ESP=0x03a9ef18, EBP=0x03a9ef18, ESI=0x275a5688, EDI=0x275a5e28
    EIP=0x6d7226b9, EFLAGS=0x00010202
    Top of Stack: (sp=0x03a9ef18)
    0x03a9ef18:   03a9ef48 6d721b8e 000000e9 00000000
    0x03a9ef28:   6d721c70 000000e9 275a5688 6d760d64
    0x03a9ef38:   000000e9 00000000 03a9f058 000000b6
    0x03a9ef48:   03a9ef80 6d693aeb 00895230 00896d0c
    0x03a9ef58:   000000e9 00000015 03a9f058 03439220
    0x03a9ef68:   00000015 03a9f058 000000b6 000000e9
    0x03a9ef78:   00000000 00000000 03a9f004 6d6929de
    0x03a9ef88:   00000000 00000000 03a9efe8 03a9f058 
    Instructions: (pc=0x6d7226b9)
    0x6d7226a9:   66 8b 45 08 86 c4 8b 51 10 0f b7 c0 40 c1 e0 04
    0x6d7226b9:   8b 04 10 25 ff ff 00 00 eb 03 8b 45 08 8b 44 81 
    
    Stack: [0x03a60000,0x03aa0000),  sp=0x03a9ef18,  free space=251k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V  [jvm.dll+0x626b9]
    V  [jvm.dll+0x61b8e]
    C  [verify.dll+0x3aeb]
    C  [verify.dll+0x29de]
    C  [verify.dll+0x1aba]
    C  [verify.dll+0x126b]
    C  [java.dll+0x3fb7]
    V  [jvm.dll+0x11b6bc]
    V  [jvm.dll+0x78385]
    V  [jvm.dll+0x78799]
    V  [jvm.dll+0x78799]
    V  [jvm.dll+0x78799]
    V  [jvm.dll+0x78799]
    V  [jvm.dll+0x78799]
    V  [jvm.dll+0x78799]
    V  [jvm.dll+0x7868e]
    V  [jvm.dll+0x78364]
    V  [jvm.dll+0x81843]
    j  com.extjs.gxt.ui.client.widget.MessageBox.getDialog()Lcom/extjs/gxt/ui/client/widget/Dialog;+8
    j  com.extjs.gxt.ui.client.widget.MessageBox.show()V+2
    j  com.extjs.gxt.ui.client.widget.MessageBox.alert(Ljava/lang/String;Ljava/lang/String;Lcom/extjs/gxt/ui/client/event/Listener;)Lcom/extjs/gxt/ui/client/widget/MessageBox;+37
    j  st.lv.demo.overview.client.Gwt2Gxt.onModuleLoad()V+5
    v  ~StubRoutines::call_stub
    V  [jvm.dll+0x86e84]
    V  [jvm.dll+0xddead]
    V  [jvm.dll+0x86d55]
    V  [jvm.dll+0xf1f59]
    V  [jvm.dll+0xa4d04]
    C  [java.dll+0x6d11]
    j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
    j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
    j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111
    j  com.google.gwt.dev.shell.ModuleSpace.onLoad(Lcom/google/gwt/core/ext/TreeLogger;)V+296
    j  com.google.gwt.dev.shell.OophmSessionHandler.loadModule(Lcom/google/gwt/dev/shell/BrowserChannel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[B)Lcom/google/gwt/core/ext/TreeLogger;+128
    j  com.google.gwt.dev.shell.BrowserChannelServer.processConnection()V+772
    j  com.google.gwt.dev.shell.BrowserChannelServer.run()V+1
    j  java.lang.Thread.run()V+11
    v  ~StubRoutines::call_stub
    V  [jvm.dll+0x86e84]
    V  [jvm.dll+0xddead]
    V  [jvm.dll+0x86d55]
    V  [jvm.dll+0x86ab2]
    V  [jvm.dll+0xa16b2]
    V  [jvm.dll+0x10f4ac]
    V  [jvm.dll+0x10f47a]
    C  [MSVCRT.dll+0x2a3b0]
    C  [kernel32.dll+0xb50b]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  com.extjs.gxt.ui.client.widget.MessageBox.getDialog()Lcom/extjs/gxt/ui/client/widget/Dialog;+8
    j  com.extjs.gxt.ui.client.widget.MessageBox.show()V+2
    j  com.extjs.gxt.ui.client.widget.MessageBox.alert(Ljava/lang/String;Ljava/lang/String;Lcom/extjs/gxt/ui/client/event/Listener;)Lcom/extjs/gxt/ui/client/widget/MessageBox;+37
    j  st.lv.demo.overview.client.Gwt2Gxt.onModuleLoad()V+5
    v  ~StubRoutines::call_stub
    j  sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
    j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
    j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
    j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111
    j  com.google.gwt.dev.shell.ModuleSpace.onLoad(Lcom/google/gwt/core/ext/TreeLogger;)V+296
    j  com.google.gwt.dev.shell.OophmSessionHandler.loadModule(Lcom/google/gwt/dev/shell/BrowserChannel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[B)Lcom/google/gwt/core/ext/TreeLogger;+128
    j  com.google.gwt.dev.shell.BrowserChannelServer.processConnection()V+772
    j  com.google.gwt.dev.shell.BrowserChannelServer.run()V+1
    j  java.lang.Thread.run()V+11
    v  ~StubRoutines::call_stub
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
    =>0x00895170 JavaThread "Code server for gwt2gxt from Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 on http://localhost:8222/Gwt2Gxt.html?g...10.2.1.73:9997 @ Ow1NJ$}RQ)6HqhQ4" daemon [_thread_in_vm, id=4684]
      0x008711b0 JavaThread "pool-1-thread-2" [_thread_blocked, id=5564]
      0x00871d10 JavaThread "pool-1-thread-1" [_thread_blocked, id=540]
      0x0086d970 JavaThread "Timer-0" daemon [_thread_blocked, id=5052]
      0x008560c0 JavaThread "btpool0-1" [_thread_blocked, id=4520]
      0x008540a0 JavaThread "btpool0-0 - Acceptor0 [email protected]:8222" [_thread_in_native, id=4364]
      0x0084cc40 JavaThread "Code server listener" daemon [_thread_in_native, id=2748]
      0x00840420 JavaThread "Thread-1" daemon [_thread_blocked, id=5276]
      0x00843e70 JavaThread "Thread-0" [_thread_in_native, id=1860]
      0x00831b60 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5032]
      0x0082f170 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3072]
      0x0082fe70 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4264]
      0x0082d540 JavaThread "Finalizer" daemon [_thread_blocked, id=2128]
      0x0082c250 JavaThread "Reference Handler" daemon [_thread_blocked, id=5260]
      0x008233c0 JavaThread "main" [_thread_blocked, id=4816]
    Other Threads:
      0x0082b4c0 VMThread [id=4552]
      0x00832730 WatcherThread [id=3156]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
     def new generation   total 4608K, used 906K [0x06b50000, 0x07040000, 0x092b0000)
      eden space 4160K,  14% used [0x06b50000, 0x06be5830, 0x06f60000)
      from space 448K,  68% used [0x06f60000, 0x06fad228, 0x06fd0000)
      to   space 448K,   0% used [0x06fd0000, 0x06fd0000, 0x07040000)
     tenured generation   total 59880K, used 51213K [0x092b0000, 0x0cd2a000, 0x26b50000)
       the space 59880K,  85% used [0x092b0000, 0x0c4b3518, 0x0c4b3600, 0x0cd2a000)
     compacting perm gen  total 11264K, used 11041K [0x26b50000, 0x27650000, 0x2ab50000)
       the space 11264K,  98% used [0x26b50000, 0x27618648, 0x27618800, 0x27650000)
        ro space 8192K,  63% used [0x2ab50000, 0x2b05d608, 0x2b05d800, 0x2b350000)
        rw space 12288K,  46% used [0x2b350000, 0x2b8f0608, 0x2b8f0800, 0x2bf50000)
    Dynamic libraries:
    0x00400000 - 0x0040d000  C:\Program Files\Java\jre1.5.0_08\bin\javaw.exe
    0x7c920000 - 0x7c9b4000  C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c91c000  C:\WINDOWS\system32\kernel32.dll
    0x77da0000 - 0x77e49000  C:\WINDOWS\system32\ADVAPI32.dll
    0x77e50000 - 0x77ee1000  C:\WINDOWS\system32\RPCRT4.dll
    0x77d10000 - 0x77d9f000  C:\WINDOWS\system32\USER32.dll
    0x77ef0000 - 0x77f37000  C:\WINDOWS\system32\GDI32.dll
    0x77be0000 - 0x77c38000  C:\WINDOWS\system32\MSVCRT.dll
    0x76300000 - 0x7631d000  C:\WINDOWS\system32\IMM32.DLL
    0x62c20000 - 0x62c29000  C:\WINDOWS\system32\LPK.DLL
    0x73fa0000 - 0x7400b000  C:\WINDOWS\system32\USP10.dll
    0x6d6c0000 - 0x6d85b000  C:\Program Files\Java\jre1.5.0_08\bin\client\jvm.dll
    0x76b10000 - 0x76b3a000  C:\WINDOWS\system32\WINMM.dll
    0x6d280000 - 0x6d288000  C:\Program Files\Java\jre1.5.0_08\bin\hpi.dll
    0x76bc0000 - 0x76bcb000  C:\WINDOWS\system32\PSAPI.DLL
    0x6d690000 - 0x6d69c000  C:\Program Files\Java\jre1.5.0_08\bin\verify.dll
    0x6d300000 - 0x6d31d000  C:\Program Files\Java\jre1.5.0_08\bin\java.dll
    0x6d6b0000 - 0x6d6bf000  C:\Program Files\Java\jre1.5.0_08\bin\zip.dll
    0x6d4c0000 - 0x6d4d3000  C:\Program Files\Java\jre1.5.0_08\bin\net.dll
    0x71a20000 - 0x71a37000  C:\WINDOWS\system32\WS2_32.dll
    0x71a10000 - 0x71a18000  C:\WINDOWS\system32\WS2HELP.dll
    0x719c0000 - 0x719fe000  C:\WINDOWS\System32\mswsock.dll
    0x76ef0000 - 0x76f17000  C:\WINDOWS\system32\DNSAPI.dll
    0x76f80000 - 0x76f88000  C:\WINDOWS\System32\winrnr.dll
    0x76f30000 - 0x76f5c000  C:\WINDOWS\system32\WLDAP32.dll
    0x03570000 - 0x03589000  C:\Program Files\Bonjour\mdnsNSP.dll
    0x76d30000 - 0x76d48000  C:\WINDOWS\system32\Iphlpapi.dll
    0x76f90000 - 0x76f96000  C:\WINDOWS\system32\rasadhlp.dll
    0x60fd0000 - 0x61025000  C:\WINDOWS\system32\hnetcfg.dll
    0x71a00000 - 0x71a08000  C:\WINDOWS\System32\wshtcpip.dll
    0x67600000 - 0x67609000  F:\Google\gwt-2.0.0\gwt-ll.dll
    0x76680000 - 0x76722000  C:\WINDOWS\system32\wininet.dll
    0x765e0000 - 0x76672000  C:\WINDOWS\system32\CRYPT32.dll
    0x76db0000 - 0x76dc2000  C:\WINDOWS\system32\MSASN1.dll
    0x770f0000 - 0x7717c000  C:\WINDOWS\system32\OLEAUT32.dll
    0x76990000 - 0x76acd000  C:\WINDOWS\system32\ole32.dll
    0x77f40000 - 0x77fb6000  C:\WINDOWS\system32\SHLWAPI.dll
    0x77180000 - 0x77282000  C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x77fc0000 - 0x77fd1000  C:\WINDOWS\system32\Secur32.dll
    0x7d590000 - 0x7dd82000  C:\WINDOWS\system32\shell32.dll
    0x5d170000 - 0x5d207000  C:\WINDOWS\system32\comctl32.dll
    0x75c60000 - 0x75cfc000  C:\WINDOWS\system32\urlmon.dll
    0x77bd0000 - 0x77bd8000  C:\WINDOWS\system32\VERSION.dll
    0x71a40000 - 0x71a4b000  C:\WINDOWS\system32\wsock32.dll
    0x72240000 - 0x72245000  C:\WINDOWS\system32\sensapi.dll
    0x76eb0000 - 0x76eec000  C:\WINDOWS\system32\RASAPI32.DLL
    0x76e60000 - 0x76e72000  C:\WINDOWS\system32\rasman.dll
    0x5fdd0000 - 0x5fe24000  C:\WINDOWS\system32\NETAPI32.dll
    0x76e80000 - 0x76eaf000  C:\WINDOWS\system32\TAPI32.dll
    0x76e50000 - 0x76e5e000  C:\WINDOWS\system32\rtutils.dll
    0x77c40000 - 0x77c63000  C:\WINDOWS\system32\msv1_0.dll
    0x759d0000 - 0x75a7e000  C:\WINDOWS\system32\USERENV.dll
    0x03630000 - 0x03658000  C:\WINDOWS\system32\rsaenh.dll
    0x6d4e0000 - 0x6d4e9000  C:\Program Files\Java\jre1.5.0_08\bin\nio.dll
    VM Arguments:
    jvm_args: -Xmx512m -Xmx512m -Dfile.encoding=UTF-8
    java_command: com.google.gwt.dev.DevMode -war E:\Workspace\EclipseJ2EE\Gwt2Gxt\war -logLevel INFO -remoteUI 1284:15555881191590 -port 8222 st.lv.demo.overview.Gwt2Gxt
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JRE_HOME=C:\Program Files\Java\jre1.5.0_08
    CLASSPATH=C:\Program Files\Java\jdk1.5.0_08\lib\dt.jar;C:\Program Files\Java\jdk1.5.0_08\lib\tools.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.5\lib\servlet-api.jar;
    PATH=C:/Program Files/Java/jre1.5.0_08/bin/client;C:/Program Files/Java/jre1.5.0_08/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Intel\DMIX;C:\Program Files\Java\jdk1.5.0_08/bin;F:\Apache\ant-1.7.1\bin;D:\Program Files\Apache Software Foundation\Tomcat 5.5\bin;F:\Google\Gwt-1.7.1
    USERNAME=Administrator
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 6 Stepping 2, GenuineIntel
     
    ---------------  S Y S T E M  ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 2 (cores per cpu 2, threads per core 1) family 15 model 6 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3
    Memory: 4k page, physical 2092664k(796768k free), swap 4030496k(2695900k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_08-b03) for windows-x86, built on Jul 26 2006 01:10:50 by "java_re" with MS VC++ 6.0

  5. #5
    Ext User
    Join Date
    Sep 2008
    Location
    China
    Posts
    7

    Default

    I change my jdk version from 1.6 to 1.5; Run this code again..
    JVM has been cut down and the following message showed:
    #
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d7226b9, pid=1932, tid=692
    #
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_08-b03 mixed mode, sharing)
    # Problematic frame:
    # V [jvm.dll+0x626b9]
    #
    # An error report file with more information is saved as hs_err_pid1932.log
    #
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    #
    I've seen the log and think it could be useful for me, but I can't understand what it means...
    I can't fix the error following these log.
    j com.extjs.gxt.ui.client.widget.MessageBox.getDialog()Lcom/extjs/gxt/ui/client/widget/Dialog;+8
    j com.extjs.gxt.ui.client.widget.MessageBox.show()V+2
    j com.extjs.gxt.ui.client.widget.MessageBox.alert(Ljava/lang/String;Ljava/lang/String;Lcom/extjs/gxt/ui/client/event/ListenerLcom/extjs/gxt/ui/client/widget/MessageBox;+37
    j st.lv.demo.overview.client.Gwt2Gxt.onModuleLoad()V+5
    v ~StubRoutines::call_stub
    V [jvm.dll+0x86e84]
    V [jvm.dll+0xddead]
    V [jvm.dll+0x86d55]
    V [jvm.dll+0xf1f59]
    V [jvm.dll+0xa4d04]
    C [java.dll+0x6d11]
    j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/ObjectLjava/lang/Object;+87
    j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/ObjectLjava/lang/Object;+6
    j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/ObjectLjava/lang/Object;+111
    j com.google.gwt.dev.shell.ModuleSpace.onLoad(Lcom/google/gwt/core/ext/TreeLoggerV+296
    j com.google.gwt.dev.shell.OophmSessionHandler.loadModule(Lcom/google/gwt/dev/shell/BrowserChannel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Lcom/google/gwt/core/ext/TreeLogger;+128
    j com.google.gwt.dev.shell.BrowserChannelServer.processConnection()V+772
    j com.google.gwt.dev.shell.BrowserChannelServer.run()V+1
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    V [jvm.dll+0x86e84]
    V [jvm.dll+0xddead]
    V [jvm.dll+0x86d55]
    V [jvm.dll+0x86ab2]
    V [jvm.dll+0xa16b2]
    V [jvm.dll+0x10f4ac]
    V [jvm.dll+0x10f47a]
    C [MSVCRT.dll+0x2a3b0]
    C [kernel32.dll+0xb50b]

  6. #6

    Default

    Did you try the suggestion from tortexty?

    @SuppressWarnings("unused")
    Layout junk = new AnchorLayout();

    That seems consistent with what I experienced (error when layout not used soon enough)

  7. #7
    Ext User
    Join Date
    Sep 2008
    Location
    China
    Posts
    7

    Default

    /**
    * This is the entry point method.
    */
    public void onModuleLoad() {

    @SuppressWarnings("unused")
    Layout junk = new AnchorLayout();
    MessageBox.alert("Msg", "gxt MessageBox", null);
    }
    It can fix it .... thank you ...

  8. #8
    Ext User
    Join Date
    Sep 2008
    Location
    China
    Posts
    7

    Default

    It can fix this error..

    I add the code:

    @SuppressWarnings("unused")
    Layout junk = new AnchorLayout();
    before :

    MessageBox.alert("Msg", "gxt MessageBox", null);
    and run it again... It can work Gwt2.0 Development Mode..

    Thanks for your help..

  9. #9

    Thumbs up Solution worked for me

    tortexy's solution worked for me. I am hoping the GXT guys will develop a suitable fix in their code.

    There is another defect when running GWT 2.X and Safari 4.0.4, that has similar symptoms (i.e. you get a message in your logs like "Invalid memory access of location 0x8 ...").

    The solution to this problem is outlined here:
    http://grack.com/blog/2009/11/16/fix...-safari-4-0-4/

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

    Default

    http://code.google.com/p/google-web-...detail?id=4254
    This is probably related. I dont see any way to fix this in GXT.

Page 1 of 2 12 LastLast

Posting Permissions

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