Announcement

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

    showcase becomes unusable w/developer console opened under chrome/OSX

    SmartClient Version: v10.0d_2014-09-02/EVAL Development Only (expires 2014.11.01_12.51.36) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

    you may try with SmartClient_Reference or Explorer, with
    chrome 37.0.2062.94 on Mac OSX, after opening the developer console the application becomes unusable, with lots of errors like that

    Code:
    11:45:30.763:MMV8:WARN:Log:TypeError: undefined is not a function
    Stack from error.stack:
    	EventHandler.eval(<no args: exited>) @ [no file]:4:10
    	LogViewer.thunk(<no args: exited>) @ ISC_Core.js:321:28
    	EventHandler.observation(<no args: exited>) @ ISC_Core.js:318:378
    	[c]EventHandler.getMouseEventProperties(<no args: exited>) @ ISC_Core.js:1282:54
    	EventHandler._handleMouseMove(<no args: exited>) @ ISC_Core.js:1339:707
    	EventHandler._dispatch(_1=>[c]EventHandler.handleMouseMove(), _2=>[object MouseEvent]) @ ISC_Core.js:1599:155
    	HTMLDocument.eval(event=>[object MouseEvent]) @ [no file]:3:123

    #2
    We're not reproducing this. You may have some kind of special browser plugins installed, or security settings that are intended to block the behavior of "remote" browser windows.

    Comment


      #3
      actually my MAC crashed some time after writing the post, run disk utility which fixed some errors, and after restart the problem has gone....I'm very sorry for the false alarm.

      Comment


        #4
        Thanks for letting us know.

        Comment


          #5
          SmartClient Version: v10.0p_2014-09-14/EVAL Deployment (expires 2014.11.13_13.14.27) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

          I didn't work with 10.0 from my last post since today, and now it seems that I've still got some strange problem with 10.0.

          I've got this problem not only with chrome, but also with Safari, which hasn't any plugin installed. Note that IE11 on parallels works correctly.

          I'll try to explain: the developer console opens, but has got 'Server Logs' and 'XML' tabs disabled (the hover shows 'Requires Smartclient Server')

          clicking on the application page doesn't show 'Mouse Event Target' nor 'Last MouseDown Target'

          then, if I close and reopen the dev console, it shows a very long log, which I'll attach (is a zip file renamed to .txt, it contains a 1.8MB txt file).

          Actually I don't know how to make a test case...it's the same project/deploy I use with 9.1, the only difference being that I've added httpclient-4.3.3.jar and httpcore-4.3.2.jar which I discovered are new dependencies. Are there other new dependencies/settings in 10.0?
          Attached Files

          Comment


            #6
            I've got the Graphite skin only, in my deploy.

            This is the server log when I open the dev console:

            Code:
            2014-09-15 23:26:28,489 DEBUG RPCManager Request #1 (RPCRequest) data: {
                appID:"isc_builtin",
                className:"builtin",
                methodName:"getAvailableScriptEngines",
                arguments:[
                ],
                is_ISC_RPC_DMI:true
            } 
            2014-09-15 23:26:28,490 INFO  IDACall Performing 1 operation(s) 
            2014-09-15 23:26:28,494 DEBUG RPCDMI appConfig: isc.Application.create({
                rpcBindings:[
                    {
                        ID:"builtin",
                        className:"com.isomorphic.rpc.BuiltinRPC",
                        visibleMethods:[
                            {
                                name:"downloadWSDL"
                            },
                            {
                                name:"downloadClientContent"
                            },
                            {
                                name:"downloadClientExport"
                            },
                            {
                                name:"xmlToJS"
                            },
                            {
                                name:"uploadProgressCheck"
                            },
                            {
                                name:"saveFile"
                            },
                            {
                                name:"appendToFile"
                            },
                            {
                                name:"loadFile"
                            },
                            {
                                name:"deleteFile"
                            },
                            {
                                name:"loadSharedXML"
                            },
                            {
                                name:"saveSharedXML"
                            },
                            {
                                name:"getAvailableScriptEngines"
                            },
                            {
                                name:"devConsoleEvalServerScript"
                            },
                            {
                                name:"evalJava"
                            },
                            {
                                name:"getLogNames"
                            },
                            {
                                name:"getLogEntries"
                            },
                            {
                                name:"clearLogEntries"
                            },
                            {
                                name:"getLogThresholds"
                            },
                            {
                                name:"setLogThreshold"
                            },
                            {
                                name:"setTemporaryLogThreshold"
                            },
                            {
                                name:"revertTemporaryLogThresholds"
                            },
                            {
                                name:"getPdfObject"
                            },
                            {
                                name:"exportImage"
                            },
                            {
                                name:"areServerTimingsTracked"
                            },
                            {
                                name:"trackServerTimings"
                            }
                        ]
                    },
                    {
                        ID:"builtin_tools",
                        className:"com.isomorphic.tools.BuiltinRPC",
                        visibleMethods:[
                            {
                                name:"getDataSourceFromTable"
                            },
                            {
                                name:"getDataSourceJSONFromTable"
                            },
                            {
                                name:"getDataSourceFromHibernateMapping"
                            },
                            {
                                name:"getDataSourceJSONFromHibernateMapping"
                            },
                            {
                                name:"getTables"
                            },
                            {
                                name:"getFieldsFromTable"
                            },
                            {
                                name:"getBeanFields"
                            },
                            {
                                name:"getHibernateBeans"
                            },
                            {
                                name:"getDatabaseProductNameAndVersion"
                            },
                            {
                                name:"getDatabaseTableTypes"
                            },
                            {
                                name:"setAttributes"
                            },
                            {
                                name:"clearAttributes"
                            },
                            {
                                name:"getAttributes"
                            },
                            {
                                name:"getAttribute"
                            },
                            {
                                name:"getDataSourceConfigFromJavaClass"
                            },
                            {
                                args:"cName",
                                language:"groovy",
                                name:"getJavaSource",
                                script:"\n                    if (!com.isomorphic.auth.DevModeAuthFilter.devModeAuthorized(request)) throw new Exception(\"Not Authorized\");                    \n                    //import org.apache.bcel.Repository;\n\n                    try {\n                        return org.apache.bcel.Repository.lookupClass(cName).toString();\n                    } catch (Throwable e) {\n                        return \"Unable to reverse engineer class \"+cName+\": \"+e.getMessage();\n                    }\n                "
                            },
                            {
                                name:"loadDataSource"
                            },
                            {
                                name:"dsFromXML"
                            },
                            {
                                name:"dsConfigFromXML"
                            },
                            {
                                name:"getDefinedDataSources"
                            }
                        ]
                    },
                    {
                        ID:"builtin_adminconsole",
                        className:"com.isomorphic.tools.AdminConsole",
                        visibleMethods:[
                            {
                                name:"getDefinedDatabases"
                            },
                            {
                                name:"testDB"
                            },
                            {
                                name:"saveDBConfig"
                            },
                            {
                                name:"setDefaultDB"
                            },
                            {
                                name:"importDataSources"
                            },
                            {
                                name:"discoverJNDIDatabases"
                            }
                        ]
                    }
                ]
            })

            Comment


              #7
              Originally posted by claudiobosticco View Post
              Note that IE11 on parallels works correctly.
              Actually I've got this error with IE11:
              Code:
              09:40:09.969:TMR3:WARN:Log:Error:
              	'Spazio dello stack esaurito'
              	in https://srvubuntu.juventus.priv:8443/Bas/isomorphic/system/modules/ISC_Core.js?isc_version=v91p_2014-08-27.js
              	at line 3408
              'Spazio dello stack esaurito' means 'Maximum call stack size exceeded'

              Same problem on a real Windows 7 machine.

              Comment


                #8
                same problem with SmartClient Version: SNAPSHOT_v10.1d_2014-09-15/EVAL Deployment (expires 2014.11.14_13.19.18) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

                note that, when testing the deployment on my local machine, if I revert the SmartClient module of my project to 9.1, everything works as expected.

                any clue on what's going on?

                Comment


                  #9
                  just in case someone has got the same problem...I've just discovered the fix:
                  'Clear browsing data' on Chrome, 'Reset Safari', etc...

                  Note that if I re-open the dev console with 9.1, and check 'Track RPCs', then I've got to 'Clear browsing data' again, otherwise dev console with 10.0 won't work.
                  Never experienced that with previous releases.

                  The only remaining problem are the disabled tabs as in the attachment. Is it normal with evaluation versions?
                  Attached Files

                  Comment


                    #10
                    The remoteDebug feature is not working, also :-(

                    Comment


                      #11
                      Hello, any clues on what's going on?
                      periodically I've got to do 'Reset Safari' because of 'RangeError: Maximum call stack size exceeded.'

                      Comment


                        #12
                        Hello, I'm still having problems in migrating to 10.0.
                        Originally posted by claudiobosticco View Post
                        just in case someone has got the same problem...I've just discovered the fix:
                        'Clear browsing data' on Chrome, 'Reset Safari', etc...

                        Note that if I re-open the dev console with 9.1, and check 'Track RPCs', then I've got to 'Clear browsing data' again, otherwise dev console with 10.0 won't work.
                        Never experienced that with previous releases.
                        actually the 'Reset Safari' procedure doesn't solve the problem: after a browser refresh the problem resurrect. I'm putting together a test case which seems to raise an error in the developer console window.
                        Originally posted by claudiobosticco View Post
                        The only remaining problem are the disabled tabs as in the attachment. Is it normal with evaluation versions?
                        I've just discovered that I've got to deploy the 'tools' directory: it's better to read the 'toolsDeployment' section in the docs if migrating from 9.1.
                        The 'iscInstall' section doesn't mention this.

                        Is it available a "what's new" section in the docs?
                        Last edited by claudiobosticco; 22 Sep 2014, 05:24.

                        Comment


                          #13
                          SmartClient Version: v10.0p_2014-09-16/EVAL Deployment (expires 2014.11.15_09.33.59) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)
                          and
                          SmartClient Version: v10.0p_2014-09-21/EVAL Deployment (expires 2014.11.20_04.49.24) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

                          Browser: Safari, Chrome, Firefox on Mac OSX, IE 11 on Parallels

                          If I run this simple test case (just after a 'Reset Safari' operation):
                          Code:
                          <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" session="true" %>
                          
                          <HTML>
                          <HEAD>
                              <meta name="apple-mobile-web-app-capable" content="yes">
                              <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
                              <meta name="viewport" content="user-scalable=no, initial-scale=1, minimum-scale=1, maximum-scale=1, width=device-width">
                              <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
                              <SCRIPT>
                                  window.isc_useSimpleNames = false
                              </SCRIPT>
                              <SCRIPT>window.isomorphicDir = 'isomorphic/';</SCRIPT>
                              <SCRIPT SRC=isomorphic/system/modules-debug/ISC_Core.js></SCRIPT>
                              <SCRIPT SRC=isomorphic/system/modules-debug/ISC_Foundation.js></SCRIPT>
                              <SCRIPT SRC=isomorphic/system/modules-debug/ISC_Containers.js></SCRIPT>
                              <SCRIPT SRC=isomorphic/system/modules-debug/ISC_Grids.js></SCRIPT>
                              <SCRIPT SRC=isomorphic/system/modules-debug/ISC_Forms.js></SCRIPT>
                              <SCRIPT SRC=isomorphic/system/modules-debug/ISC_DataBinding.js></SCRIPT>
                              <SCRIPT src=isomorphic/skins/Graphite/load_skin.js></SCRIPT>
                          
                          </HEAD>
                          <BODY STYLE="overflow: hidden">
                          <script type="text/javascript">
                              isc.VLayout.create({ID: "workspaceLayout", height: "100%", width: "100%", autoDraw: true, contents: "foo bar"})
                          </script>
                          </BODY>
                          </HTML>
                          and then I open the developer console, and then I refresh the application page, I got this error (in the Safari Web Inspector Console of the developer console window):
                          Code:
                          Uncaught TypeError: Cannot read property 'length' of undefined  ISC_Core.js?isc_version=v10.0p_2014-09-21.js:1738
                          isc.defineClass.addProperties.stop ISC_Core.js?isc_version=v10.0p_2014-09-21.js:1738
                          isc.defineClass.addProperties.start ISC_Core.js?isc_version=v10.0p_2014-09-21.js:1734
                          isc.DynamicForm.create.reconnectIfDirectSelected ISC_DeveloperConsole.js:183
                          checkForOpener ISC_DeveloperConsole.js:51
                          (anonymous function) VM714:3
                          isc_c_Class_fireCallback ISC_Core.js?isc_version=v10.0p_2014-09-21.js:287
                          isc_c_Timer__fireTimeout ISC_Core.js?isc_version=v10.0p_2014-09-21.js:1260
                          (anonymous function) ISC_Core.js?isc_version=v10.0p_2014-09-21.js:1258
                          this error is not raised for every refresh, but when it's raised the developer console becomes unresponsive.

                          If I close and re-open the dev console, then I got one of those errors I mentioned in post #5 and #7 (in the developer console logs and in the Safari Web Inspector Console of the application window, respectively) but the first error is in evaluating 'this.sockets.length'.
                          Last edited by claudiobosticco; 22 Sep 2014, 08:06.

                          Comment


                            #14
                            The remote debugging and the tabs that are greyed out all require server support to be enabled. Can you check and make sure you have the following file in your deployment?:

                            /tools/adminConsoleOperations.jsp
                            /tools/developerConsoleOperations.jsp

                            These paths are relative to webRoot. But note that if you installed the isomorphic/ directory somewhere other than webRoot, then these might be in a different place. Specifically, these are loaded by Log.html like so:

                            Code:
                            <SCRIPT src="../../../tools/adminConsoleOperations.jsp?checkPresent=true"></SCRIPT>
                            <SCRIPT src="../../../tools/developerConsoleOperations.jsp?checkPresent=true"></SCRIPT>

                            Comment


                              #15
                              Originally posted by Isomorphic View Post
                              The remote debugging and the tabs that are greyed out all require server support to be enabled. Can you check and make sure you have the following file in your deployment?:

                              /tools/adminConsoleOperations.jsp
                              /tools/developerConsoleOperations.jsp

                              These paths are relative to webRoot. But note that if you installed the isomorphic/ directory somewhere other than webRoot, then these might be in a different place. Specifically, these are loaded by Log.html like so:

                              Code:
                              <SCRIPT src="../../../tools/adminConsoleOperations.jsp?checkPresent=true"></SCRIPT>
                              <SCRIPT src="../../../tools/developerConsoleOperations.jsp?checkPresent=true"></SCRIPT>
                              thanks for the clarification, actually I've just discovered that, as I said in post #12.

                              Now, the problem I've got is described in post #13.

                              Please let me know if you can reproduce it, or if I've got to do more analysis of the error.

                              Comment

                              Working...
                              X