Announcement

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

    #16
    A quick update: We're reproducing the Exception when entering an invalid value in 3.1d and one of our developers is working on it.

    Comment


      #17
      Nice. It's good to be able to start the weekend knowing I'm not completely insane. :-)

      Thanks very much for the update.

      Comment


        #18
        Ok - we believe this is now fixed - please try the next nightly build and let us know if you still see it.

        Regards
        Isomorphic Software

        Comment


          #19
          Well, now I can't get the module to load at all:

          In IE 8:
          Code:
          java.lang.reflect.InvocationTargetException
          	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:396)
          	at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
          	at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
          	at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
          	at java.lang.Thread.run(Unknown Source)
          Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError): '$wnd.isc.RPCManager.__fireReplyCallback' is null or not an object
          	at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248)
          	at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
          	at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
          	at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:289)
          	at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
          	at com.smartgwt.client.SmartGwtEntryPoint.init(SmartGwtEntryPoint.java)
          	at com.smartgwt.client.SmartGwtEntryPoint.onModuleLoad(SmartGwtEntryPoint.java:239)
          	... 9 more
          In Firefox 9
          Code:
          java.lang.reflect.InvocationTargetException 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:396) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363) at java.lang.Thread.run(Unknown Source) Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError): $wnd.isc.RPCManager is undefined at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:289) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107) at com.smartgwt.client.SmartGwtEntryPoint.init(SmartGwtEntryPoint.java) at com.smartgwt.client.SmartGwtEntryPoint.onModuleLoad(SmartGwtEntryPoint.java:239) ... 9 more
          New project just like the original test case, but went ahead and cleared cache, gwt compile and so on. Using 3.1d 2011-01-17 build.

          Comment


            #20
            This means the SmartClient runtime (ISC_Core.js et al) has not been loaded at all. It could be bad inherits, or if you have manual script includes in your host .HTML file, the files are not present at the URLs you're using. Could also just need to run a GWT compile.

            Comment


              #21
              Yeah, it looks like ISC_Databinding.js is missing (the rest of them are there, according to firebug). I'm doing nothing special to cause them to get loaded. Just what you see in the test case. If I switch it to yesterday's build, all are loaded as you'd expect. Makes no sense.

              I've pared the inherits back to

              Code:
              <inherits name='com.google.gwt.user.User'/>
              <inherits name="com.smartgwtpower.SmartGwtPower"/>
              I can see that ISC_Core.js gets returned, per the server log. None of the others, but then I think that's always the case.

              Oh, and I've done several GWT compilations.

              Log follows:

              Code:
              [Server@485ff368]: [Thread[main,5,main]]: checkRunning(false) entered
              [Server@485ff368]: [Thread[main,5,main]]: checkRunning(false) exited
              [Server@485ff368]: Startup sequence initiated from main() method
              [Server@485ff368]: Loaded properties from [C:\Development\workspace\deleteme\target\deleteme-0.0.1-SNAPSHOT\server.properties]
              [Server@485ff368]: Initiating startup sequence...
              [Server@485ff368]: Server socket opened successfully in 2 ms.
              [Server@485ff368]: Database [index=0, id=0, db=file:C:\Development\workspace\deleteme\target\deleteme-0.0.1-SNAPSHOT\WEB-INF\db\hsqldb\isomorphic, alias=isomorphic] opened sucessfully in 1704 ms.
              [Server@485ff368]: Startup sequence completed in 1708 ms.
              [Server@485ff368]: 2012-01-17 12:36:18.432 HSQLDB server 1.8.0 is online
              [Server@485ff368]: To close normally, connect and execute SHUTDOWN SQL
              [Server@485ff368]: From command line, use [Ctrl]+[C] to abort abruptly
              ISC: Configuring log4j from: file:/C:/Development/workspace/deleteme/target/deleteme-0.0.1-SNAPSHOT/WEB-INF/classes/log4j.isc.config.xml
              === 2012-01-17 12:36:18,559 [main] INFO  ISCInit - Isomorphic SmartClient Framework - Initializing
              === 2012-01-17 12:36:18,568 [main] INFO  ConfigLoader - Attempting to load framework.properties from CLASSPATH
              === 2012-01-17 12:36:18,719 [main] INFO  ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: jar:file:/C:/Development/workspace/deleteme/target/deleteme-0.0.1-SNAPSHOT/WEB-INF/lib/isomorphic-core-rpc-3.1-2012-01-17.jar!/framework.properties
              === 2012-01-17 12:36:18,719 [main] INFO  ConfigLoader - Attempting to load project.properties from CLASSPATH
              === 2012-01-17 12:36:18,721 [main] INFO  ConfigLoader - Unable to locate project.properties in CLASSPATH
              === 2012-01-17 12:36:18,726 [main] INFO  ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: jar:file:/C:/Development/workspace/deleteme/target/deleteme-0.0.1-SNAPSHOT/WEB-INF/lib/isomorphic-core-rpc-3.1-2012-01-17.jar!/isc_interfaces.properties
              === 2012-01-17 12:36:18,726 [main] INFO  ConfigLoader - Attempting to load server.properties from CLASSPATH
              === 2012-01-17 12:36:18,728 [main] INFO  ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/C:/Development/workspace/deleteme/target/deleteme-0.0.1-SNAPSHOT/WEB-INF/classes/server.properties
              === 2012-01-17 12:36:18,734 [main] INFO  Logger - Logging system started.
              === 2012-01-17 12:36:18,735 [main] INFO  ISCInit - Isomorphic SmartClient Framework (SC_SNAPSHOT-2012-01-17_v8.3d/PowerEdition Deployment 2012-01-17) - Initialization Complete
              === 2012-01-17 12:36:18,738 [main] ERROR ISCInit - Can't find marker file for webRoot: C:/Development/workspace/deleteme/target/deleteme-0.0.1-SNAPSHOT/DeleteMe/sc for configured/autodetected webRoot - if you moved the 'isomorphic' directory, please set isomorphicPathRootRelative in server.properties to the new location and restart the servlet engine.
              === 2012-01-17 12:36:18,739 [main] INFO  ISCInit - WebRoot auto-detection failed - using container IO
              log4j:WARN No appenders could be found for logger (org.apache.jasper.compiler.JspRuntimeContext).
              log4j:WARN Please initialize the log4j system properly.
              log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
              === 2012-01-17 12:38:53,958 [l0-2] INFO  RequestContext - URL: '/loadDataSources.jsp', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1': Moz (Gecko) with Accept-Encoding header
              === 2012-01-17 12:38:54,072 [l0-0] INFO  Compression - /DeleteMe/sc/modules/ISC_Core.js: 723886 -> 186406 bytes
              === 2012-01-17 12:38:55,313 [l0-0] INFO  RequestContext - URL: '/sc/skins/Enterprise/skin_styles.css', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1': Moz (Gecko) with Accept-Encoding header
              [WARN] 404 - GET /sc/skins/Enterprise/skin_styles.css (127.0.0.1) 1421 bytes
                 Request headers
                    Host: 127.0.0.1:8888
                    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
                    Accept: text/css,*/*;q=0.1
                    Accept-Language: en-us,en;q=0.5
                    Accept-Encoding: gzip, deflate
                    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
                    Connection: keep-alive
                    Cookie: isc_cState=ready; JSESSIONID=chiomlvi5fcy
                    Referer: http://127.0.0.1:8888/DeleteMe.html?gwt.codesvr=127.0.0.1:9997
                 Response headers
                    X-Included-Test2: true
                    X-Included-Test: true
                    Content-Type: text/html; charset=iso-8859-1
                    Content-Length: 1421
              === 2012-01-17 12:38:56,643 [l0-2] DEBUG XML - Parsed XML from (in memory stream): 7ms
              === 2012-01-17 12:38:56,689 [l0-2] DEBUG XML - Parsed XML from __USE_CONTAINER__/DeleteMe/sc/system/schema/builtinTypes.xml: 5ms
              === 2012-01-17 12:38:56,704 [l0-2] INFO  PoolManager - SmartClient pooling disabled for 'simpleTypes' objects
              === 2012-01-17 12:38:56,777 [l0-2] DEBUG XML - Parsed XML from __USE_CONTAINER__/DeleteMe/sc/system/schema/action.ds.xml: 1ms
              === 2012-01-17 12:38:56,784 [l0-2] DEBUG XML - Parsed XML from __USE_CONTAINER__/DeleteMe/sc/system/schema/DataSource.ds.xml: 5ms
              === 2012-01-17 12:38:56,794 [l0-2] DEBUG XML - Parsed XML from __USE_CONTAINER__/DeleteMe/sc/system/schema/valueMap.ds.xml: 2ms
              === 2012-01-17 12:38:56,795 [l0-2] DEBUG FileSystemDSRepo - dsName case sensitivity mismatch - looking for: valueMap, but got: ValueMap
              === 2012-01-17 12:38:56,810 [l0-2] DEBUG XML - Parsed XML from __USE_CONTAINER__/DeleteMe/sc/system/schema/serverObject.ds.xml: 2ms
              === 2012-01-17 12:38:56,815 [l0-2] DEBUG FileSystemDSRepo - dsName case sensitivity mismatch - looking for: valueMap, but got: ValueMap
              === 2012-01-17 12:38:56,820 [l0-2] DEBUG FileSystemDSRepo - dsName case sensitivity mismatch - looking for: serverObject, but got: ServerObject
              === 2012-01-17 12:38:56,877 [l0-2] WARN  Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/ID
              === 2012-01-17 12:38:56,883 [l0-2] DEBUG XML - Parsed XML from __USE_CONTAINER__/DeleteMe/sc/system/schema/DataSourceField.ds.xml: 3ms
              === 2012-01-17 12:38:56,890 [l0-2] DEBUG FileSystemDSRepo - dsName case sensitivity mismatch - looking for: valueMap, but got: ValueMap
              === 2012-01-17 12:38:56,922 [l0-2] WARN  Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/fields/0/field[@name=target]/name
              === 2012-01-17 12:38:56,922 [l0-2] WARN  Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/fields/0/field[@name=target]/type
              === 2012-01-17 12:38:56,923 [l0-2] WARN  Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/fields/1/field[@name=name]/name
              === 2012-01-17 12:38:56,923 [l0-2] WARN  Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/fields/1/field[@name=name]/type
              === 2012-01-17 12:38:56,923 [l0-2] WARN  Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/fields/2/field[@name=title]/name
              === 2012-01-17 12:38:56,923 [l0-2] WARN  Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/fields/2/field[@name=title]/type
              === 2012-01-17 12:38:56,924 [l0-2] WARN  Validation - No such type 'boolean', not processing field value at /DataSource[@ID=Action]/fields/3/field[@name=mapping]/multiple
              === 2012-01-17 12:38:56,924 [l0-2] WARN  Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/fields/3/field[@name=mapping]/name
              === 2012-01-17 12:38:56,924 [l0-2] WARN  Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/fields/3/field[@name=mapping]/type
              === 2012-01-17 12:38:56,925 [l0-2] DEBUG FileSystemDSRepo - dsName case sensitivity mismatch - looking for: action, but got: Action
              === 2012-01-17 12:38:56,930 [l0-2] DEBUG XML - Parsed XML from __USE_CONTAINER__/DeleteMe/sc/system/schema/method.ds.xml: 1ms
              === 2012-01-17 12:38:56,932 [l0-2] DEBUG FileSystemDSRepo - dsName case sensitivity mismatch - looking for: method, but got: Method
              === 2012-01-17 12:38:56,936 [l0-2] DEBUG FileSystemDSRepo - dsName case sensitivity mismatch - looking for: valueMap, but got: ValueMap
              === 2012-01-17 12:38:56,954 [l0-2] DEBUG XML - Parsed XML from __USE_CONTAINER__/DeleteMe/sc/system/schema/isomorphicXML.ds.xml: 3ms
              === 2012-01-17 12:38:57,045 [l0-2] INFO  SQLDataSource - Deriving dataSource Order from table: MASTERDETAIL_ORDER
              === 2012-01-17 12:38:57,071 [l0-2] DEBUG PoolableSQLConnectionFactory - Initializing SQL config for 'DeleteMeData' via JNDI
              === 2012-01-17 12:38:57,073 [l0-2] DEBUG JNDI - No configuration for JNDI context '' - assuming default initialContext
              === 2012-01-17 12:38:57,101 [l0-2] DEBUG PoolableSQLConnectionFactory - Returning pooled Connection
              === 2012-01-17 12:38:57,103 [l0-2] INFO  SQLDSGenerator - Fetching column metadata for table: MASTERDETAIL_ORDER
              === 2012-01-17 12:38:57,103 [l0-2] INFO  SQLDSGenerator - =============Using catalog: null
              === 2012-01-17 12:38:57,169 [l0-2] INFO  SQLDSGenerator - Fetching column metadata for MASTERDETAIL_ORDER complete
              === 2012-01-17 12:38:57,182 [l0-2] WARN  SQLDataSource - ds:isc.DataSource.create({
                  serverType:"sql",
                  generatedBy:"SC_SNAPSHOT-2012-01-17_v8.3d/PowerEdition Deployment 2012-01-17",
                  ID:"Order_inheritsFrom",
                  dataSourceVersion:"1",
                  fields:[
                      {
                          name:"ORDERID",
                          primaryKey:true,
                          type:"integer"
                      },
                      {
                          name:"CUSTOMERNAME",
                          length:255,
                          type:"text"
                      },
                      {
                          name:"ORDERDATE",
                          type:"date"
                      },
                      {
                          name:"TRACKINGNUMBER",
                          type:"integer"
                      }
                  ]
              })
              
              === 2012-01-17 12:38:57,184 [l0-2] INFO  SQLDataSource - Deriving dataSource OrderItem from table: MASTERDETAIL_ORDERITEM
              === 2012-01-17 12:38:57,186 [l0-2] DEBUG PoolableSQLConnectionFactory - Returning pooled Connection
              === 2012-01-17 12:38:57,187 [l0-2] INFO  SQLDSGenerator - Fetching column metadata for table: MASTERDETAIL_ORDERITEM
              === 2012-01-17 12:38:57,187 [l0-2] INFO  SQLDSGenerator - =============Using catalog: null
              === 2012-01-17 12:38:57,208 [l0-2] INFO  SQLDSGenerator - Fetching column metadata for MASTERDETAIL_ORDERITEM complete
              === 2012-01-17 12:38:57,212 [l0-2] WARN  SQLDataSource - ds:isc.DataSource.create({
                  serverType:"sql",
                  generatedBy:"SC_SNAPSHOT-2012-01-17_v8.3d/PowerEdition Deployment 2012-01-17",
                  ID:"OrderItem_inheritsFrom",
                  dataSourceVersion:"1",
                  fields:[
                      {
                          name:"PK",
                          primaryKey:true,
                          type:"integer"
                      },
                      {
                          name:"ITEMDESCRIPTION",
                          length:255,
                          type:"text"
                      },
                      {
                          name:"QUANTITY",
                          type:"integer"
                      },
                      {
                          name:"UNITPRICE",
                          type:"float"
                      },
                      {
                          name:"ORDERID",
                          type:"integer"
                      }
                  ]
              })
              
              === 2012-01-17 12:38:57,220 [l0-2] DEBUG XML - Parsed XML from __USE_CONTAINER__/ds/Order.ds.xml: 4ms
              [WARN] Server class 'org.apache.xalan.processor.TransformerFactoryImpl' could not be found in the web app, but was found on the system classpath
                 [WARN] Adding classpath entry 'file:/C:/Users/mpus51837/.m2/repository/com/google/gwt/gwt-dev/2.4.0/gwt-dev-2.4.0.jar' to the web app classpath for this session
              === 2012-01-17 12:38:57,312 [l0-2] INFO  Compression - /loadDataSources.jsp: 3607 -> 825 bytes
              === 2012-01-17 12:48:41,629 [l0-2] INFO  RequestContext - URL: '/DeleteMe/hosted.html', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1': Moz (Gecko) with Accept-Encoding header
              === 2012-01-17 12:48:41,633 [l0-2] INFO  Compression - /DeleteMe/hosted.html: 11757 -> 4187 bytes

              Comment


                #22
                What are you seeing, no attempt to load the files at all, or 404s?

                No attempt to load doesn't make a lot of sense.. if you look at the .gwt.xml files in smartgwtee.jar, you can trace SmartGwtPower.gwt.xml bad to the modules it includes, and see the JS includes. It's a straightforward system, and your results seem to suggest you've somehow got corrupt module files or something.

                Comment


                  #23
                  Hrm. I think I take that back. DataBinding.js does not show up in Firebug's 'script' panel, but using the 'Net' panel, I can see that it is in fact requested and the result returned. I'm not sure what that means...

                  Comment


                    #24
                    OK, if ISC_DataBinding.js is loading, unless there's a JavaScript error reporting by eg Firebug during load, there's no way isc.RPCManager could be undefined.

                    Does this happen in compiled mode? Are there any errors there?

                    Comment


                      #25
                      Ah, yes. Apologies, I should have seen that before.

                      unterminated string literal
                      http://127.0.0.1:8888/DeleteMe/sc/modules/ISC_DataBinding.js
                      Line 1902

                      Code:
                      "try { parent.isc; break} catch (e) {"+"document.domain = document.domain.replace(/.*?\\./, \"\")}

                      Comment


                        #26
                        This all looks to be fixed in the 1/18 build. Thanks!

                        Comment

                        Working...
                        X