Announcement

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

  • 12.0d BuiltInDS sample does not run in GWT Legacy Development Mode DevMode

    Hi Isomorphic,

    retesting this issue with 12.0d, I tried to run the testcase in normal GWT Dev Mode (not Super Dev Mode) first.
    This does not come up, but shows an exception. The same thing happens with the unchanged BuiltInDS sample (SNAPSHOT_v12.0d_2018-02-14).

    I'm using:
    I'm getting this exception:
    Code:
    10:19:24.354 [ERROR] [builtinds] Unable to load module entry point class com.smartgwt.sample.client.BuiltInDS (see associated exception for details)
    
    com.google.gwt.core.client.JavaScriptException: (null) @com.smartgwt.client.widgets.BaseWidget::draw()([]): null
        at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:252)
        at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:137)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:589)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:315)
        at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
        at com.smartgwt.client.widgets.BaseWidget.draw(BaseWidget.java)
        at com.smartgwt.sample.client.BuiltInDS.onModuleLoad(BuiltInDS.java:75)
        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:423)
        at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
        at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:530)
        at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:368)
        at java.lang.Thread.run(Unknown Source)
    As I can't use SuperDevMode (this issue is still current, a 1 space change needs 32secs to show the GUI after a F5-reload of the browser, while the compile step is only 1 second, see below) it really would be great if normal Development mode would continue to work.

    Code:
    === 2018-02-15 10:25:30,695 [8-31] INFO  ProxyHttpServletResponse - content-encoding set to: gzip - unwrapping response output stream (CompressionFilter)
    === 2018-02-15 10:25:30,695 [8-28] INFO  ProxyHttpServletResponse - content-encoding set to: gzip - unwrapping response output stream (CompressionFilter)
    === 2018-02-15 10:25:30,696 [8-34] INFO  Compression - /builtinds/sc/DataSourceLoader: 3852 -> 758 bytes
    === 2018-02-15 10:25:30,700 [8-48] INFO  ProxyHttpServletResponse - content-encoding set to: gzip - unwrapping response output stream (CompressionFilter)
    === 2018-02-15 10:25:30,700 [8-70] INFO  ProxyHttpServletResponse - content-encoding set to: gzip - unwrapping response output stream (CompressionFilter)
    === 2018-02-15 10:25:30,704 [8-28] INFO  ProxyHttpServletResponse - content-encoding set to: gzip - unwrapping response output stream (CompressionFilter)
    === 2018-02-15 10:25:30,705 [8-71] INFO  ProxyHttpServletResponse - content-encoding set to: gzip - unwrapping response output stream (CompressionFilter)
    === 2018-02-15 10:25:30,710 [8-31] INFO  Download - Using gzipped form of request file: C:/Users/ST/workspace/lib/smartgwtee-12.0d/samples/built-in-ds/war/builtinds/sc/skins/Enterprise/load_skin.js
    === 2018-02-15 10:25:30,710 [8-31] INFO  ProxyHttpServletResponse - content-encoding set to: gzip - unwrapping response output stream (CompressionFilter)
    === 2018-02-15 10:25:30,728 [8-31] INFO  Download - done streaming: C:/Users/ST/workspace/lib/smartgwtee-12.0d/samples/built-in-ds/war/builtinds/sc/skins/Enterprise/load_skin.js
    === 2018-02-15 10:25:31,060 [8-70] INFO  Download - Using gzipped form of request file: C:/Users/ST/workspace/lib/smartgwtee-12.0d/samples/built-in-ds/war/builtinds/sc/skins/Enterprise/skin_styles.css
    === 2018-02-15 10:25:31,060 [8-70] INFO  ProxyHttpServletResponse - content-encoding set to: gzip - unwrapping response output stream (CompressionFilter)
    === 2018-02-15 10:25:31,061 [8-70] INFO  Download - done streaming: C:/Users/ST/workspace/lib/smartgwtee-12.0d/samples/built-in-ds/war/builtinds/sc/skins/Enterprise/skin_styles.css
    GET /recompile/builtinds
       Job com.smartgwt.sample.BuiltInDS_1_1
          starting job: com.smartgwt.sample.BuiltInDS_1_1
          binding: user.agent=gecko1_8
          Compiling module com.smartgwt.sample.BuiltInDS
             Unification traversed 516 fields and methods and 334 types. 11 are considered part of the current module and 11 had all of their fields and methods traversed.
             Compiling 1 permutation
                Compiling permutation 0...
                Linking per-type JS with 11 new types.
                   prelink JS size = 13935
                   prelink sourcemap = 13935 bytes and 330 lines
                   postlink JS size = 10173832
                   postlink sourcemap = 10173832 bytes and 270081 lines
                Source Maps Enabled
             Compile of permutations succeeded
             Compilation succeeded -- 1,181s
          Linking into C:\Users\ST\AppData\Local\Temp\gwt-codeserver-1008982376150736038.tmp\com.smartgwt.sample.BuiltInDS\compile-3\war\builtinds; Writing extras to C:\Users\ST\AppData\Local\Temp\gwt-codeserver-1008982376150736038.tmp\com.smartgwt.sample.BuiltInDS\compile-3\extras\builtinds
             Invoking Linker Cross-Site-Iframe
                Ignoring the following script tags in the gwt.xml file
    sc/initsc.js
    sc/modules/ISC_Core.js?isc_version=12.0d_2018-02-14.js
    sc/modules/ISC_Foundation.js?isc_version=12.0d_2018-02-14.js
    sc/modules/ISC_Containers.js?isc_version=12.0d_2018-02-14.js
    sc/modules/ISC_Grids.js?isc_version=12.0d_2018-02-14.js
    sc/modules/ISC_Forms.js?isc_version=12.0d_2018-02-14.js
    sc/modules/ISC_RichTextEditor.js?isc_version=12.0d_2018-02-14.js
    sc/modules/ISC_Calendar.js?isc_version=12.0d_2018-02-14.js
    sc/modules/ISC_DataBinding.js?isc_version=12.0d_2018-02-14.js
    sc/skins/Enterprise/load_skin.js
    
       Invoking Linker SmartGwtScriptInjector
          Creating loadScriptTagFiles.js to manually load the following script tags:
    sc/initsc.js
    sc/modules/ISC_Core.js?isc_version=12.0d_2018-02-14.js
    sc/modules/ISC_Foundation.js?isc_version=12.0d_2018-02-14.js
    sc/modules/ISC_Containers.js?isc_version=12.0d_2018-02-14.js
    sc/modules/ISC_Grids.js?isc_version=12.0d_2018-02-14.js
    sc/modules/ISC_Forms.js?isc_version=12.0d_2018-02-14.js
    sc/modules/ISC_RichTextEditor.js?isc_version=12.0d_2018-02-14.js
    sc/modules/ISC_Calendar.js?isc_version=12.0d_2018-02-14.js
    sc/modules/ISC_DataBinding.js?isc_version=12.0d_2018-02-14.js
    sc/skins/Enterprise/load_skin.js
             Link succeeded
             Linking succeeded -- 17,241s
          31,395s total -- Compile completed
    === 2018-02-15 10:26:03,388 [8-71] INFO  Download - done streaming: C:/Users/ST/workspace/lib/smartgwtee-12.0d/samples/built-in-ds/war/builtinds/sc/skins/Enterprise/images/blank.gif
    Best regards
    Blama

  • #2
    This has been fixed for the nightly builds dated 2018-02-24. We believe it only affected SGWT 12.0d.

    Comment


    • #3
      Hi Isomorphic,

      yes, for me only 12.0d was affected, 11.1p did work as before. Using 12.0d_2018-02-26, this is fixed for me in 12.0d now as well.

      Thank you & Best regards
      Blama

      Comment

      Working...
      X