I assume this is my own problem, but I am not at all able to see what might be the cause. I thought at first it had something to do with my use of i18n and autoDeriveSchema, but that does not seem to be the case.
Using this datasource
and a simple ListGrid editor
I get a validation error on any editing of the orderDate column in the 3.0-RELEASE build.
If I try the same thing with the 3.1-2011-12-23 build (or later), I have a slightly different problem. Now I can provide good dates and get by (and I get the requisite date selector) but input of any invalid data (e.g., enter string data in orderDate)
yields a dialog with the following message.
Clear the dialog and the invalid field data is marked with the "Must be a date" error, as it should be. So what gives?
Logs follow:
Find complete test case at http://wiki.smartclient.com/download...validation.zip
Using this datasource
Code:
<!-- <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> --> <DataSource xmlns:fmt="urn:jsptld:http://java.sun.com/jsp/jstl/fmt" ID="Order" serverType="sql" autoDeriveSchema="true" tableName="MASTERDETAIL_ORDER" > <fmt:setBundle basename="com.isomorphic.grid.validation.shared.datasources.Order"/> <fields> <field name="ORDERID" type="sequence" primaryKey="true" canEdit="false"> <title><fmt:message key="orderId.title"/></title> <prompt><fmt:message key="orderId.prompt"/></prompt> </field> <field name="CUSTOMERNAME"> <title><fmt:message key="customerName.title"/></title> <prompt><fmt:message key="customerName.prompt"/></prompt> </field> <field name="ORDERDATE"> <title><fmt:message key="orderDate.title"/></title> <prompt><fmt:message key="orderDate.prompt"/></prompt> </field> <field name="TRACKINGNUMBER"> <title><fmt:message key="trackingNumber.title"/></title> <prompt><fmt:message key="trackingNumber.prompt"/></prompt> </field> </fields> </DataSource>
Code:
ListGrid grid = new ListGrid(); grid.setDataSource(DataSource.get(orderDS.dataSourceId())); grid.setAutoFetchData(true); grid.setCanEdit(true); VLayout layout = new VLayout(); layout.setWidth100(); layout.setHeight100(); layout.addMember(grid); layout.draw();
Code:
=== 2011-12-23 16:41:42,045 [l0-5] DEBUG RPCManager - Request #1 (DSRequest) payload: { criteria:{ ORDERID:9 }, values:{ ORDERID:9, TRACKINGNUMBER:"x.", ORDERDATE:"2/10/2015" }, operationConfig:{ dataSource:"Order", operationType:"update" }, componentId:"isc_ListGrid_0", appID:"builtinApplication", operation:"Order_update", oldValues:{ ORDERID:9, TRACKINGNUMBER:9631143, ORDERDATE:new Date(1234249200000), CUSTOMERNAME:"ABC Mining" } }
yields a dialog with the following message.
Code:
08:45:26.819 [ERROR] [GridValidation] Uncaught exception escaped java.lang.IllegalArgumentException: invoke arguments: JS value of type int, expected com.google.gwt.core.client.JavaScriptObject at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:178) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:65) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218) 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.invokeNativeObject(ModuleSpace.java:269) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213) at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363) at java.lang.Thread.run(Thread.java:662)
Logs follow:
Code:
=== 2012-01-03 08:57:06,486 [main] INFO ISCInit - Isomorphic SmartClient Framework - Initializing === 2012-01-03 08:57:06,496 [main] INFO ConfigLoader - Attempting to load framework.properties from CLASSPATH === 2012-01-03 08:57:06,634 [main] INFO ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: jar:file:/C:/Development/workspace/grid-validation/target/grid-validation-0.0.1-SNAPSHOT/WEB-INF/lib/isomorphic-core-rpc-3.1-2012-01-03.jar!/framework.properties === 2012-01-03 08:57:06,635 [main] INFO ConfigLoader - Attempting to load project.properties from CLASSPATH === 2012-01-03 08:57:06,636 [main] INFO ConfigLoader - Unable to locate project.properties in CLASSPATH === 2012-01-03 08:57:06,642 [main] INFO ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: jar:file:/C:/Development/workspace/grid-validation/target/grid-validation-0.0.1-SNAPSHOT/WEB-INF/lib/isomorphic-core-rpc-3.1-2012-01-03.jar!/isc_interfaces.properties === 2012-01-03 08:57:06,643 [main] INFO ConfigLoader - Attempting to load server.properties from CLASSPATH === 2012-01-03 08:57:06,646 [main] INFO ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/C:/Development/workspace/grid-validation/target/grid-validation-0.0.1-SNAPSHOT/WEB-INF/classes/server.properties === 2012-01-03 08:57:06,652 [main] INFO Logger - Logging system started. === 2012-01-03 08:57:06,653 [main] INFO ISCInit - Isomorphic SmartClient Framework (SC_SNAPSHOT-2012-01-03_v8.3d/PowerEdition Deployment 2012-01-03) - Initialization Complete === 2012-01-03 08:57:06,656 [main] ERROR ISCInit - Can't find marker file for webRoot: C:/Development/workspace/grid-validation/target/grid-validation-0.0.1-SNAPSHOT/GridValidation/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-03 08:57:06,656 [main] INFO ISCInit - WebRoot auto-detection failed - using container IO === 2012-01-03 08:57:58,537 [l0-1] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/button/button_Over_stretch.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:57:58,537 [l0-2] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/button/button_Over_stretch.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:57:58,570 [l0-1] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/button/button_Over_stretch.png === 2012-01-03 08:57:58,570 [l0-2] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/button/button_Over_stretch.png === 2012-01-03 08:57:58,769 [l0-2] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/button/button_Down_stretch.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:57:58,771 [l0-1] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/button/button_Down_start.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:57:58,772 [l0-3] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/button/button_Down_end.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:57:58,788 [l0-2] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/button/button_Down_stretch.png === 2012-01-03 08:57:58,791 [l0-3] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/button/button_Down_end.png === 2012-01-03 08:57:58,794 [l0-1] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/button/button_Down_start.png === 2012-01-03 08:58:04,801 [l0-3] INFO RequestContext - URL: '/loadDataSources.jsp', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:04,880 [l0-6] INFO Download - Returning 304: Not modified on conditional get of: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/load_skin.js === 2012-01-03 08:58:04,887 [l0-6] INFO Download - Returning 304: Not modified on conditional get of: __USE_CONTAINER__/GridValidation/sc/skins/EnterpriseBlue/load_skin.js === 2012-01-03 08:58:04,968 [l0-2] INFO Compression - /GridValidation/sc/modules/ISC_Core.js: 719983 -> 185426 bytes === 2012-01-03 08:58:05,589 [l0-2] INFO Download - Returning 304: Not modified on conditional get of: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/skin_styles.css === 2012-01-03 08:58:05,609 [l0-2] INFO Download - Returning 304: Not modified on conditional get of: __USE_CONTAINER__/GridValidation/sc/skins/EnterpriseBlue/skin_styles.css === 2012-01-03 08:58:07,641 [l0-3] DEBUG XML - Parsed XML from (in memory stream): 4ms === 2012-01-03 08:58:07,673 [l0-3] DEBUG XML - Parsed XML from __USE_CONTAINER__/GridValidation/sc/system/schema/builtinTypes.xml: 4ms === 2012-01-03 08:58:07,688 [l0-3] INFO PoolManager - SmartClient pooling disabled for 'simpleTypes' objects === 2012-01-03 08:58:07,757 [l0-3] DEBUG XML - Parsed XML from __USE_CONTAINER__/GridValidation/sc/system/schema/action.ds.xml: 2ms === 2012-01-03 08:58:07,767 [l0-3] DEBUG XML - Parsed XML from __USE_CONTAINER__/GridValidation/sc/system/schema/DataSource.ds.xml: 5ms === 2012-01-03 08:58:07,783 [l0-3] DEBUG XML - Parsed XML from __USE_CONTAINER__/GridValidation/sc/system/schema/valueMap.ds.xml: 2ms === 2012-01-03 08:58:07,784 [l0-3] DEBUG FileSystemDSRepo - dsName case sensitivity mismatch - looking for: valueMap, but got: ValueMap === 2012-01-03 08:58:07,802 [l0-3] DEBUG XML - Parsed XML from __USE_CONTAINER__/GridValidation/sc/system/schema/serverObject.ds.xml: 2ms === 2012-01-03 08:58:07,807 [l0-3] DEBUG FileSystemDSRepo - dsName case sensitivity mismatch - looking for: valueMap, but got: ValueMap === 2012-01-03 08:58:07,814 [l0-3] DEBUG FileSystemDSRepo - dsName case sensitivity mismatch - looking for: serverObject, but got: ServerObject === 2012-01-03 08:58:07,868 [l0-3] WARN Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/ID === 2012-01-03 08:58:07,876 [l0-3] DEBUG XML - Parsed XML from __USE_CONTAINER__/GridValidation/sc/system/schema/DataSourceField.ds.xml: 3ms === 2012-01-03 08:58:07,885 [l0-3] DEBUG FileSystemDSRepo - dsName case sensitivity mismatch - looking for: valueMap, but got: ValueMap === 2012-01-03 08:58:07,926 [l0-3] WARN Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/fields/0/field[@name=target]/name === 2012-01-03 08:58:07,927 [l0-3] WARN Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/fields/0/field[@name=target]/type === 2012-01-03 08:58:07,927 [l0-3] WARN Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/fields/1/field[@name=name]/name === 2012-01-03 08:58:07,927 [l0-3] WARN Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/fields/1/field[@name=name]/type === 2012-01-03 08:58:07,928 [l0-3] WARN Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/fields/2/field[@name=title]/name === 2012-01-03 08:58:07,928 [l0-3] WARN Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/fields/2/field[@name=title]/type === 2012-01-03 08:58:07,929 [l0-3] WARN Validation - No such type 'boolean', not processing field value at /DataSource[@ID=Action]/fields/3/field[@name=mapping]/multiple === 2012-01-03 08:58:07,929 [l0-3] WARN Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/fields/3/field[@name=mapping]/name === 2012-01-03 08:58:07,929 [l0-3] WARN Validation - No such type 'string', not processing field value at /DataSource[@ID=Action]/fields/3/field[@name=mapping]/type === 2012-01-03 08:58:07,929 [l0-3] DEBUG FileSystemDSRepo - dsName case sensitivity mismatch - looking for: action, but got: Action === 2012-01-03 08:58:07,938 [l0-3] DEBUG XML - Parsed XML from __USE_CONTAINER__/GridValidation/sc/system/schema/method.ds.xml: 2ms === 2012-01-03 08:58:07,940 [l0-3] DEBUG FileSystemDSRepo - dsName case sensitivity mismatch - looking for: method, but got: Method === 2012-01-03 08:58:07,945 [l0-3] DEBUG FileSystemDSRepo - dsName case sensitivity mismatch - looking for: valueMap, but got: ValueMap === 2012-01-03 08:58:07,964 [l0-3] DEBUG XML - Parsed XML from __USE_CONTAINER__/GridValidation/sc/system/schema/isomorphicXML.ds.xml: 2ms === 2012-01-03 08:58:08,087 [l0-3] INFO SQLDataSource - Deriving dataSource Order from table: MASTERDETAIL_ORDER === 2012-01-03 08:58:08,117 [l0-3] DEBUG PoolableSQLConnectionFactory - Initializing SQL config for 'GridValidationData' via JNDI === 2012-01-03 08:58:08,118 [l0-3] DEBUG JNDI - No configuration for JNDI context '' - assuming default initialContext === 2012-01-03 08:58:08,138 [l0-3] DEBUG PoolableSQLConnectionFactory - Returning pooled Connection === 2012-01-03 08:58:08,139 [l0-3] INFO SQLDSGenerator - Fetching column metadata for table: MASTERDETAIL_ORDER === 2012-01-03 08:58:08,139 [l0-3] INFO SQLDSGenerator - =============Using catalog: null === 2012-01-03 08:58:08,184 [l0-3] INFO SQLDSGenerator - Fetching column metadata for MASTERDETAIL_ORDER complete === 2012-01-03 08:58:08,195 [l0-3] WARN SQLDataSource - ds:isc.DataSource.create({ serverType:"sql", generatedBy:"SC_SNAPSHOT-2012-01-03_v8.3d/PowerEdition Deployment 2012-01-03", schema:"PUBLIC", dbName:null, ID:"Order_inheritsFrom", dataSourceVersion:"1", fields:[ { primaryKey:true, name:"ORDERID", type:"integer" }, { name:"CUSTOMERNAME", length:255, type:"text" }, { name:"ORDERDATE", type:"date" }, { name:"TRACKINGNUMBER", type:"integer" } ] }) === 2012-01-03 08:58:08,197 [l0-3] INFO SQLDataSource - Deriving dataSource OrderItem from table: MASTERDETAIL_ORDERITEM === 2012-01-03 08:58:08,199 [l0-3] DEBUG PoolableSQLConnectionFactory - Returning pooled Connection === 2012-01-03 08:58:08,199 [l0-3] INFO SQLDSGenerator - Fetching column metadata for table: MASTERDETAIL_ORDERITEM === 2012-01-03 08:58:08,199 [l0-3] INFO SQLDSGenerator - =============Using catalog: null === 2012-01-03 08:58:08,217 [l0-3] INFO SQLDSGenerator - Fetching column metadata for MASTERDETAIL_ORDERITEM complete === 2012-01-03 08:58:08,220 [l0-3] WARN SQLDataSource - ds:isc.DataSource.create({ serverType:"sql", generatedBy:"SC_SNAPSHOT-2012-01-03_v8.3d/PowerEdition Deployment 2012-01-03", schema:"PUBLIC", dbName:null, ID:"OrderItem_inheritsFrom", dataSourceVersion:"1", fields:[ { primaryKey:true, name:"PK", type:"integer" }, { name:"ITEMDESCRIPTION", length:255, type:"text" }, { name:"QUANTITY", type:"integer" }, { name:"UNITPRICE", type:"float" }, { name:"ORDERID", type:"integer" } ] }) === 2012-01-03 08:58:08,227 [l0-3] DEBUG XML - Parsed XML from __USE_CONTAINER__/ds/Order.ds.xml: 2ms === 2012-01-03 08:58:08,314 [l0-3] INFO Compression - /loadDataSources.jsp: 3798 -> 847 bytes === 2012-01-03 08:58:21,505 [l0-3] INFO RequestContext - URL: '/GridValidation/sc/IDACall', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:21,546 [l0-3] DEBUG XML - Parsed XML from (in memory stream): 0ms === 2012-01-03 08:58:21,562 [l0-3] DEBUG XML - Parsed XML from __USE_CONTAINER__/GridValidation/sc/system/schema/List.ds.xml: 16ms === 2012-01-03 08:58:21,593 [l0-3] DEBUG RPCManager - Processing 1 requests. === 2012-01-03 08:58:21,609 [l0-3] DEBUG RPCManager - Request #1 (DSRequest) payload: { criteria:{ }, operationConfig:{ dataSource:"Order", operationType:"fetch", textMatchStyle:"substring" }, startRow:0, endRow:75, componentId:"isc_ListGrid_0", appID:"builtinApplication", operation:"Order_fetch", oldValues:{ } } === 2012-01-03 08:58:21,609 [l0-3] INFO IDACall - Performing 1 operation(s) === 2012-01-03 08:58:21,640 [l0-3] DEBUG AppBase - [builtinApplication.Order_fetch] No userTypes defined, allowing anyone access to all operations for this application === 2012-01-03 08:58:21,640 [l0-3] DEBUG AppBase - [builtinApplication.Order_fetch] No public zero-argument method named '_Order_fetch' found, performing generic datasource operation === 2012-01-03 08:58:21,640 [l0-3] INFO SQLDataSource - [builtinApplication.Order_fetch] Performing fetch operation with criteria: {} values: {} === 2012-01-03 08:58:21,656 [l0-3] INFO SQLWhereClause - [builtinApplication.Order_fetch] empty condition === 2012-01-03 08:58:21,656 [l0-3] INFO SQLDataSource - [builtinApplication.Order_fetch] derived query: SELECT $defaultSelectClause FROM $defaultTableClause WHERE $defaultWhereClause === 2012-01-03 08:58:21,843 [l0-3] DEBUG SQLDataSource - [builtinApplication.Order_fetch] Executing row count query: SELECT COUNT(*) FROM $defaultTableClause WHERE $defaultWhereClause === 2012-01-03 08:58:21,843 [l0-3] DEBUG SQLDataSource - [builtinApplication.Order_fetch] Eval'd row count query: SELECT COUNT(*) FROM MASTERDETAIL_ORDER WHERE ('1'='1') === 2012-01-03 08:58:21,843 [l0-3] DEBUG PoolableSQLConnectionFactory - [builtinApplication.Order_fetch] Returning pooled Connection === 2012-01-03 08:58:21,843 [l0-3] INFO SQLDriver - [builtinApplication.Order_fetch] Executing SQL query on 'GridValidationData': SELECT COUNT(*) FROM MASTERDETAIL_ORDER WHERE ('1'='1') === 2012-01-03 08:58:21,858 [l0-3] DEBUG SQLDataSource - [builtinApplication.Order_fetch] Using SQL Limit query === 2012-01-03 08:58:21,858 [l0-3] DEBUG SQLDataSource - [builtinApplication.Order_fetch] SQL windowed select rows 0->75, result size 75. Query: SELECT LIMIT 0 75 MASTERDETAIL_ORDER.CUSTOMERNAME, MASTERDETAIL_ORDER.ORDERDATE, MASTERDETAIL_ORDER.ORDERID, MASTERDETAIL_ORDER.TRACKINGNUMBER FROM MASTERDETAIL_ORDER WHERE ('1'='1') === 2012-01-03 08:58:21,858 [l0-3] DEBUG PoolableSQLConnectionFactory - [builtinApplication.Order_fetch] Returning pooled Connection === 2012-01-03 08:58:21,858 [l0-3] INFO DSResponse - [builtinApplication.Order_fetch] DSResponse: List with 10 items === 2012-01-03 08:58:21,858 [l0-3] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8 === 2012-01-03 08:58:21,874 [l0-3] DEBUG RPCManager - non-DMI response, dropExtraFields: false === 2012-01-03 08:58:21,890 [l0-3] INFO Compression - /GridValidation/sc/IDACall: 1256 -> 412 bytes === 2012-01-03 08:58:21,921 [l0-3] INFO Download - Returning 304: Not modified on conditional get of: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/ListGrid/headerSprite.png === 2012-01-03 08:58:22,061 [l0-4] INFO Download - Returning 304: Not modified on conditional get of: __USE_CONTAINER__/GridValidation/sc/skins/EnterpriseBlue/images/ListGrid/header.png === 2012-01-03 08:58:22,092 [l0-2] INFO Download - Returning 304: Not modified on conditional get of: __USE_CONTAINER__/GridValidation/sc/skins/EnterpriseBlue/images/loadingSmall.gif === 2012-01-03 08:58:22,092 [l0-7] INFO Download - Returning 304: Not modified on conditional get of: __USE_CONTAINER__/GridValidation/sc/skins/EnterpriseBlue/images/blank.gif === 2012-01-03 08:58:41,608 [l0-2] INFO Download - Returning 304: Not modified on conditional get of: __USE_CONTAINER__/GridValidation/sc/skins/EnterpriseBlue/images/DynamicForm/date_control.png === 2012-01-03 08:58:43,606 [l0-2] INFO Download - Returning 304: Not modified on conditional get of: __USE_CONTAINER__/GridValidation/sc/skins/EnterpriseBlue/images/actions/exclamation.png === 2012-01-03 08:58:55,324 [l0-2] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/Tab/top/tab_Over_start.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:55,326 [l0-4] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/Tab/top/tab_Over_end.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:55,342 [l0-2] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/Tab/top/tab_Over_start.png === 2012-01-03 08:58:55,343 [l0-4] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/Tab/top/tab_Over_end.png === 2012-01-03 08:58:55,344 [l0-7] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/Tab/top/tab_Over_stretch.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:55,353 [l0-7] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/Tab/top/tab_Over_stretch.png === 2012-01-03 08:58:55,498 [l0-7] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/Tab/top/tab_Over_stretch.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:55,519 [l0-7] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/Tab/top/tab_Over_stretch.png === 2012-01-03 08:58:56,092 [l0-7] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/blank.gif', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:56,098 [l0-4] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/Window/window_T.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:56,099 [l0-7] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/blank.gif === 2012-01-03 08:58:56,100 [l0-2] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/Window/window_TR.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:56,101 [l0-3] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/Window/window_TL.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:56,112 [l0-4] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/Window/window_T.png === 2012-01-03 08:58:56,118 [l0-4] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/Window/window_BL.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:56,122 [l0-2] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/Window/window_TR.png === 2012-01-03 08:58:56,110 [l0-5] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/Window/window_R.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:56,123 [l0-2] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/Window/window_B.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:56,126 [l0-3] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/Window/window_TL.png === 2012-01-03 08:58:56,127 [l0-3] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/Tab/top/tab_Selected_Over_start.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:56,132 [l0-2] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/Window/window_B.png === 2012-01-03 08:58:56,109 [l0-7] INFO RequestContext - URL: '/GridValidation/sc/system/development/ISC_ServerLogViewer.js', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:56,133 [l0-2] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/Tab/top/tab_Selected_Over_stretch.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:56,101 [l0-1] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/Window/window_L.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:56,137 [l0-3] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/Tab/top/tab_Selected_Over_start.png === 2012-01-03 08:58:56,138 [l0-3] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/Tab/top/tab_Selected_Over_end.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:56,125 [l0-4] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/Window/window_BL.png === 2012-01-03 08:58:56,140 [l0-2] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/Tab/top/tab_Selected_Over_stretch.png === 2012-01-03 08:58:56,141 [l0-4] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/Window/window_BR.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:56,143 [l0-1] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/Window/window_L.png === 2012-01-03 08:58:56,148 [l0-3] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/Tab/top/tab_Selected_Over_end.png === 2012-01-03 08:58:56,148 [l0-5] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/Window/window_R.png === 2012-01-03 08:58:56,149 [l0-7] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/system/development/ISC_ServerLogViewer.js === 2012-01-03 08:58:56,150 [l0-7] INFO Compression - /GridValidation/sc/system/development/ISC_ServerLogViewer.js: 8925 -> 3078 bytes === 2012-01-03 08:58:56,150 [l0-4] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/Window/window_BR.png === 2012-01-03 08:58:56,314 [l0-4] INFO RequestContext - URL: '/GridValidation/sc/IDACall', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:56,419 [l0-7] INFO RequestContext - URL: '/GridValidation/sc/skins/Enterprise/images/pickers/comboBoxPicker.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header === 2012-01-03 08:58:56,426 [l0-7] INFO Download - done streaming: __USE_CONTAINER__/GridValidation/sc/skins/Enterprise/images/pickers/comboBoxPicker.png === 2012-01-03 08:58:56,455 [l0-4] INFO Compression - /GridValidation/sc/IDACall: 81 -> 86 bytes === 2012-01-03 08:58:56,488 [l0-4] INFO RequestContext - URL: '/GridValidation/sc/IDACall', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1': Moz (Gecko) with Accept-Encoding header
Code:
08:58:05.087:INFO:Log:initialized 08:58:05.128:WARN:Log:NOTE: Firebug is enabled. Firebug greatly slows the performance of applications that make heavy use of JavaScript. Isomorphic highly recommends Firebug for troubleshooting, but Firebug and other development tools should be disabled when assessing the real-world performance of SmartClient applications. 08:58:05.545:WARN:Log:New Class ID: 'EditPane' collides with ID of existing Class object '[DataSource ID:EditPane]'. Existing object will be replaced. This conflict would be avoided by disabling ISC Simple Names mode. See documentation for further information. 08:58:05.579:WARN:Log:New Class ID: 'IAutoFitButton' collides with ID of existing Class object '[Class IAutoFitButton]'. Existing object will be replaced. 08:58:05.579:WARN:Log:New Class ID: 'HeaderImgButton' collides with ID of existing Class object '[Class HeaderImgButton]'. Existing object will be replaced. 08:58:08.318:INFO:Log:isc.Page is loaded
Code:
[SPAM] [GridValidation] - Resolving com.google.gwt.validation.client.constraints.AbstractDecimalMaxValidator [SPAM] [GridValidation] - Found type 'com.google.gwt.validation.client.constraints.AbstractDecimalMaxValidator' [SPAM] [GridValidation] - Found type 'javax.validation.constraints.DecimalMax' [WARN] [GridValidation] - Detected warnings related to 'javax.validation.Constraint'. Is validation-<version>.jar on the classpath? [INFO] [GridValidation] - Specify -logLevel DEBUG to see all errors. [WARN] [GridValidation] - Ignoring unresolvable annotation type javax.validation.Constraint [INFO] [GridValidation] - Your *.gwt.xml module configuration prohibits the use of the current doucment rendering mode (document.compatMode=' CSS1Compat').<br>Modify your application's host HTML page doctype, or update your custom 'document.compatMode' configuration property settings. [INFO] [GridValidation] - Module GridValidation has been loaded [ERROR] [GridValidation] - Uncaught exception escaped
Code:
08:58:47.210 [ERROR] [GridValidation] Uncaught exception escaped java.lang.IllegalArgumentException: invoke arguments: JS value of type int, expected com.google.gwt.core.client.JavaScriptObject at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:178) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:65) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218) 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.invokeNativeObject(ModuleSpace.java:269) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213) at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363) at java.lang.Thread.run(Thread.java:662)
Find complete test case at http://wiki.smartclient.com/download...validation.zip
Comment