Announcement

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

    Visual Builder Add New DataSource won't launch

    Recently upgraded from v4.1 to v12.0 Power Edition.

    Visual Builder, Add-New DataSource is not working. Click, the expected wizard does not launch.

    Please advise, thanks.

    SmartClient Version: v12.0p_2019-10-06/PowerEdition Deployment (built 2019-10-06)
    Chrome Version 77.0.3865.90 (Official Build) (64-bit)
    Internet Explorer v11.740.17763.0


    #2
    Make sure you've run a GWT compile after the upgrade, restarted your IDE and cleared the browser cache.

    If you still have a problem, you should go to the Developer Console and gather any logs (especially a JS error). Just a reminder: this is always required when reporting issues.

    Comment


      #3
      Sorry about that, here is JS error from SGWT Console:
      Code:
      *07:58:29.360:INFO:Log:initialized
      *07:58:29.701:INFO:Log:isc.Page is loaded
      *07:58:30.508:XRP1:WARN:Log:Unexpected failure to find stack entry logging timing data: description: 'Marshall and send request', type: start
      *07:58:30.509:XRP1:WARN:Log:Unexpected failure to find stack entry logging timing data: description: 'Marshall and send request', type: end
      *07:58:30.509:XRP1:WARN:Log:Unexpected failure to find stack entry logging timing data: description: 'Client processing', type: end
      *07:58:30.528:XRP2:WARN:Log:Unexpected failure to find stack entry logging timing data: description: 'Marshall and send request', type: start
      *07:58:30.529:XRP2:WARN:Log:Unexpected failure to find stack entry logging timing data: description: 'Marshall and send request', type: end
      *07:58:30.530:XRP2:WARN:Log:Unexpected failure to find stack entry logging timing data: description: 'Client processing', type: end
      *07:58:30.640:XRP4:WARN:VisualBuilder:isc_VisualBuilder_0:Unable to create autoChild 'screenList' of type 'TTreeGrid' - no such class in runtime.
      *07:58:30.690:XRP4:WARN:Log:Unexpected failure to find stack entry logging timing data: description: 'Marshall and send request', type: start
      *07:58:30.694:XRP4:WARN:Log:Unexpected failure to find stack entry logging timing data: description: 'Marshall and send request', type: end
      *07:58:30.694:XRP4:WARN:Log:Unexpected failure to find stack entry logging timing data: description: 'Client processing', type: end
      Remote Debugging unavailable (Messaging endpoint not responding).  To enable Remote Debugging, see the Remote Debugging overview in the reference.
      08:00:18.895:MUP0:WARN:Log:TypeError: Cannot read property 'create' of undefined
      Stack from error.stack:
          VisualBuilder.showDSWizard(<no args: exited>) on [VisualBuilder ID:isc_VisualBuilder_0] @ ISC_VisualBuilder.js:259:650
          click(<no args: exited>) @ ISC_VisualBuilder.js:65:1558
          Menu.selectMenuItem(<no args: exited>) on [Menu ID:isc_VisualBuilder_0_dsNewButtonMenu] @ ISC_Grids.js:3494:46
          Menu.rowClick(<no args: exited>) on [Menu ID:isc_VisualBuilder_0_dsNewButtonMenu] @ ISC_Grids.js:3480:286
          _3.eval(<no args: exited>) on [GridBody ID:isc_VisualBuilder_0_dsNewButtonMenu_body] @ [no file]:4:115
          GridRenderer._rowClick(<no args: exited>) on [GridBody ID:isc_VisualBuilder_0_dsNewButtonMenu_body] @ ISC_Grids.js:587:183
          [c]Class.invokeSuper(<no args: exited>) on [GridBody ID:isc_VisualBuilder_0_dsNewButtonMenu_body] @ ISC_Core.js:315:93
          [c]Class.Super(<no args: exited>) on [GridBody ID:isc_VisualBuilder_0_dsNewButtonMenu_body] @ ISC_Core.js:307:170
          GridBody._rowClick(<no args: exited>) on [GridBody ID:isc_VisualBuilder_0_dsNewButtonMenu_body] @ ISC_Grids.js:656:76
          GridRenderer.click(<no args: exited>) on [GridBody ID:isc_VisualBuilder_0_dsNewButtonMenu_body] @ ISC_Grids.js:585:167
          Canvas.handleClick(<no args: exited>) on [GridBody ID:isc_VisualBuilder_0_dsNewButtonMenu_body] @ ISC_Core.js:3546:400
          [c]EventHandler.bubbleEvent(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:2151:89
          [c]EventHandler.handleClick(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1986:50
          EventHandler._handleMouseUp(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1970:11
          [c]EventHandler.handleMouseUp(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1961:57
          [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(), _2=>[object MouseEvent]) on [Class EventHandler] @ ISC_Core.js:2238:108
          HTMLDocument.eval(event=>[object MouseEvent]) @ [no file]:3:123

      Comment


        #4
        VisualBuilder needs both the Tahoe and ToolSkin (or ToolSkinNative) skins. This error indicates that the ToolSkin is not loaded in addition to the normal skin. Check your browser network log to determine if an attempt to load the ToolSkin is being made and from where.

        Comment


          #5
          That did it, thanks.

          I had copied over my v4.1 GWT Module file, which lacked the inherits found in the current v12 BuiltInDS sample:

          Code:
           <!-- For some tools, you may need to inherit specific skin resources, such as tool skins.
                For example, VisualBuilder needs Tahoe and the tool skins, so you may need to add: -->
          
              <inherits name="com.smartclient.theme.tahoe.TahoeResources"/>
              <inherits name="com.smartclientee.toolskin.ToolSkinResources"/>
              <inherits name="com.smartclientee.toolskinnative.ToolSkinNativeResources"/>

          Comment

          Working...
          X