Announcement

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

    isc.showConsole() is not working

    Hi,
    I am trying to run isc.showConsole() from the console and I end up with blank new page popping up.
    Trying to understand why this is happening I opened dev' console from the blank page and saw the following errors -

    Code:
    ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152 *10:07:24.126:WARN:Log:TypeError: isc.isA.DataSource is not a function
    Stack from error.stack:
    ClassFactory._defineClass(<no args: exited>) @ ISC_Core.js:178:50
    ClassFactory._defineNonRootClass(<no args: exited>) @ ISC_Core.js:174:87
    ClassFactory.defineClass(<no args: exited>) @ ISC_Core.js:173:1699
    <anonymous>(<no args: exited>) @ ISC_Foundation.js:37:18
    
    isc.B.push.isc.A.addToMasterLog @ ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152
    ISC_Core.js?isc_version=v11.0p_2016-07-18.js:178 Uncaught TypeError: isc.isA.DataSource is not a function
    at Object.isc_ClassFactory__defineClass [as $b3] (ISC_Core.js?isc_version=v11.0p_2016-07-18.js:178)
    at Object.isc_ClassFactory__defineNonRootClass [as $b2] (ISC_Core.js?isc_version=v11.0p_2016-07-18.js:174)
    at Object.isc_ClassFactory_defineClass [as defineClass] (ISC_Core.js?isc_version=v11.0p_2016-07-18.js:173)
    at ISC_Foundation.js?isc_version=v11.0p_2016-07-18.js:37
    ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152 *10:07:24.135:WARN:Log:TypeError: isc.ImgTab.getPrototype is not a function
    Stack from error.stack:
    <anonymous>(<no args: exited>) @ ISC_Containers.js:37:76
    
    isc.B.push.isc.A.addToMasterLog @ ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152
    ISC_Containers.js?isc_version=v11.0p_2016-07-18.js:37 Uncaught TypeError: isc.ImgTab.getPrototype is not a function
    at ISC_Containers.js?isc_version=v11.0p_2016-07-18.js:37
    ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152 *10:07:24.145:WARN:Log:TypeError: _2.getPrototype is not a function
    Stack from error.stack:
    ClassFactory._mixInProperties(<no args: exited>) @ ISC_Core.js:221:327
    ClassFactory.mixInInterface(<no args: exited>) @ ISC_Core.js:221:89
    ClassFactory._defineClass(<no args: exited>) @ ISC_Core.js:185:79
    ClassFactory._defineNonRootClass(<no args: exited>) @ ISC_Core.js:174:87
    ClassFactory.defineClass(<no args: exited>) @ ISC_Core.js:173:1699
    <anonymous>(<no args: exited>) @ ISC_Grids.js:747:2607
    
    isc.B.push.isc.A.addToMasterLog @ ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152
    ISC_Core.js?isc_version=v11.0p_2016-07-18.js:221 Uncaught TypeError: _2.getPrototype is not a function
    at Object.isc_ClassFactory__mixInProperties [as $ce] (ISC_Core.js?isc_version=v11.0p_2016-07-18.js:221)
    at Object.isc_ClassFactory_mixInInterface [as mixInInterface] (ISC_Core.js?isc_version=v11.0p_2016-07-18.js:221)
    at Object.isc_ClassFactory__defineClass [as $b3] (ISC_Core.js?isc_version=v11.0p_2016-07-18.js:185)
    at Object.isc_ClassFactory__defineNonRootClass [as $b2] (ISC_Core.js?isc_version=v11.0p_2016-07-18.js:174)
    at Object.isc_ClassFactory_defineClass [as defineClass] (ISC_Core.js?isc_version=v11.0p_2016-07-18.js:173)
    at ISC_Grids.js?isc_version=v11.0p_2016-07-18.js:747
    ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152 *10:07:24.174:WARN:Log:TypeError: isc.DateGrid.getPrototype is not a function
    Stack from error.stack:
    <anonymous>(<no args: exited>) @ ISC_Forms.js:79:1749
    
    isc.B.push.isc.A.addToMasterLog @ ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152
    ISC_Forms.js?isc_version=v11.0p_2016-07-18.js:79 Uncaught TypeError: isc.DateGrid.getPrototype is not a function
    at ISC_Forms.js?isc_version=v11.0p_2016-07-18.js:79
    ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152 *10:07:24.220:WARN:Log:TypeError: Cannot read property 'getPrototype' of undefined
    Stack from error.stack:
    <anonymous>(<no args: exited>) @ ISC_DataBinding.js:2653:1126
    
    isc.B.push.isc.A.addToMasterLog @ ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152
    ISC_DataBinding.js?isc_version=v11.0p_2016-07-18.js:2653 Uncaught TypeError: Cannot read property 'getPrototype' of undefined
    at ISC_DataBinding.js?isc_version=v11.0p_2016-07-18.js:2653
    DataSourceLoader:1 Failed to load resource: the server responded with a status of 404 (Not Found)
    ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152 *10:07:24.247:WARN:Log:TypeError: isc.ComponentEditor.getPrototype is not a function
    Stack from error.stack:
    <anonymous>(<no args: exited>) @ ISC_Tools.js:36:919
    
    isc.B.push.isc.A.addToMasterLog @ ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152
    ISC_Tools.js?isc_version=v11.0p_2016-07-18.js:36 Uncaught TypeError: isc.ComponentEditor.getPrototype is not a function
    at ISC_Tools.js?isc_version=v11.0p_2016-07-18.js:36
    ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152 *10:07:24.259:WARN:Log:TypeError: Cannot read property 'addProperties' of undefined
    Stack from error.stack:
    loadSkin(<no args: exited>) @ load_skin.js:62:31
    <anonymous>(<no args: exited>) @ load_skin.js:2420:5
    
    isc.B.push.isc.A.addToMasterLog @ ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152
    load_skin.js?isc_version=v11.0p_2016-07-18.js:62 Uncaught TypeError: Cannot read property 'addProperties' of undefined
    at Object.isc.loadSkin (load_skin.js?isc_version=v11.0p_2016-07-18.js:62)
    at load_skin.js?isc_version=v11.0p_2016-07-18.js:2420
    adminConsoleOperations.jsp:1 Failed to load resource: the server responded with a status of 404 (Not Found)
    2developerConsoleOperations.jsp:1 Failed to load resource: the server responded with a status of 404 (Not Found)
    ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152 *10:07:24.285:WARN:Log:TypeError: Cannot read property 'getPrototype' of undefined
    Stack from error.stack:
    <anonymous>(<no args: exited>) @ ISC_DeveloperConsole.js:39:19
    
    isc.B.push.isc.A.addToMasterLog @ ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152
    ISC_DeveloperConsole.js?isc_version=v11.0p_2016-07-18.js:39 Uncaught TypeError: Cannot read property 'getPrototype' of undefined
    at ISC_DeveloperConsole.js?isc_version=v11.0p_2016-07-18.js:39
    ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152 *10:07:24.329:WARN:Log:TypeError: isc.ListGrid.addProperties is not a function
    Stack from error.stack:
    ApplyAutoTestMethods(<no args: exited>) @ ISC_Core.js:4043:31
    eval(<no args: exited>) @ [no file]:1:5
    [c]Page.handleEvent(<no args: exited>) on [Class Page] @ ISC_Core.js:1445:40
    [c]EventHandler.handleLoad(_1=>[object Event]) @ ISC_Core.js:1475:108
    
    isc.B.push.isc.A.addToMasterLog @ ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1152
    ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1475 Uncaught TypeError: isc.ListGrid.addProperties is not a function
    at Object.isc.ApplyAutoTestMethods (ISC_Core.js?isc_version=v11.0p_2016-07-18.js:4043)
    at Object.eval [as action] (eval at isc__makeFunction (ISC_Core.js?isc_version=v11.0p_2016-07-18.js:81), <anonymous>:1:5)
    at _3.isc_c_Page_handleEvent [as handleEvent] (ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1445)
    at isc_c_EventHandler_handleLoad (ISC_Core.js?isc_version=v11.0p_2016-07-18.js:1475)
    Any ideas for solving the problem?

    Edit: It seems like the code failed on -
    Code:
     isc.isA.DataSource
    I try to run this code again from the same console and I didn't get this type of error (the function exists).
    Code:
    isc.isA.DataSource ƒ (_2){if(_2==null||_2.isA==null||_2.ns==null||_2.ns.isA==null||_2.isA===_2.ns.isA){return false} return _2.isA(_1)}
    Last edited by NF; 7 Nov 2019, 00:22.

    #2
    Are you using SmartClient or SmartGWT?

    In SmartGWT, the Developer Console won't be functional unless you have the correct GWT declarations - see the installation and debugging docs. Also, make sure that after changing your GWT includes, you have run a GWT compile, which causes the necessary files to be copied to your test environment or deployment.

    In SmartClient, it's hard to imagine how this would happen unless you actively removed files from the standard installation.

    Comment


      #3
      You're trying to use a really old version of SC 11.0p. In fact, SC 11.0p has been patched to avoid that specific issue, which is related to newer browsers. If for some reason you want to use an unsupported browser with potential security holes, FF45ESR will likely work with that version of SC without the problem you report.

      Comment


        #4
        Ok, thanks.

        Comment

        Working...
        X