Announcement

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

    #31
    Took a 3.1d 2012-11-12 build this afternoon, and it seems that the JSNI method fails with the following logged. In dev mode, at least, on Firefox 15.0.1 and GWT 2.5. (This was all working with the 10/4 build)

    Code:
    Uncaught exception escaped
    com.google.gwt.core.client.JavaScriptException: (TypeError) @com.google.gwt.core.client.impl.Impl::apply(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)([JavaScript object(55537), JavaScript object(55538), JavaScript object(55539)]): item.canvas.menu.destroy is not a function
        at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249)
        at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
        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:242)
        at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        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:293)
        at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
        at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
        at java.lang.Thread.run(Unknown Source)
    For what it's worth, I thought I should be able to use the setValueTree method now, but that also fails (in a different way):

    Code:
    Uncaught exception escaped
    com.google.gwt.core.client.JavaScriptException: (TypeError) @com.google.gwt.core.client.impl.Impl::apply(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)([JavaScript object(54505), JavaScript object(53600), JavaScript object(54506)]): this.menu.setData is not a function
        at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249)
        at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
        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:242)
        at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        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:293)
        at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
        at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
        at java.lang.Thread.run(Unknown Source)

    Comment


      #32
      If it wasn't clear, I was referring to the JSNI provided at http://forums.smartclient.com/showpo...7&postcount=29

      I went back to the 10/29/2012 build and verified that it's broken there as well, so somewhere between 10/4 and 10/29.

      Comment


        #33
        It looks like you're on the 3.1d branch, in which case you shouldn't need the JSNI workaround any more. The crash you encountered was the result of something unrelated to the original fix/workaround ... but we've added some logic just now that we believe should fix it. It will be in the next nightly build of 4.0d and 3.1d.

        If there is still an issue please attach a complete reproducing sample, including any DataSources required to run the sample.

        Comment


          #34
          Right, 3.1d. As I said, I tried reverting from the JSNI workaround and got the "this.menu.setData is not a function" error.

          Should the patch you just applied fix that problem as well?

          Comment


            #35
            We believe both errors you saw (in the workaround and the mainline 3.1d with no workaround) are caused by the same issue which should now be fixed. Try the next 3.1d build.

            Comment


              #36
              Query Results with Warning message

              sir i have problem with query results in h2 DataBase .The query generated results with error

              --------------------------------------------------
              browser version: Firefox 6.o.2
              IDE: eclipse 1.3.1
              server :tomcat server 7.0
              Database:h2 1.6.9
              framework:SC_SNAPSHOT-2011-12-27/EVAL(smart client)
              -------------------------------------------------------
              server shows an error:

              org.h2.jdbc.JdbcSQLException: Column "PHYSICAL_QUERYPARAMS_2_8_0_PM.MATCH_INDICATOR" not found; SQL statement:
              SELECT ASTUTEOP_UBS_STP_STATUS_TABLE.RECON_ID as RECON_ID,ASTUTEOP_UBS_STP_STATUS_TABLE.MATCH_INDICATOR as MATCH_INDICATOR,ASTUTEOP_UBS_STP_STATUS_TABLE.MATCH_TYPE as MATCH_TYPE,ASTUTEOP_UBS_STP_STATUS_TABLE.APPLICATION_ID as APPLICATION_ID,ASTUTEOP_UBS_STP_STATUS_TABLE.RECORD_TYPE as RECORD_TYPE,ASTUTEOP_UBS_STP_STATUS_TABLE.ACTIVE_INDEX as ACTIVE_INDEX,ASTUTEOP_UBS_STP_STATUS_TABLE.ACTIVE_CODE as ACTIVE_CODE,ASTUTEOP_UBS_STP_STATUS_TABLE.USER_ID as USER_ID,ASTUTEOP_UBS_STP_STATUS_TABLE.TIME_STAMP as TIME_STAMP,ASTUTEOP_UBS_STP_STATUS_TABLE.COMMENTS as COMMENTS,ASTUTEOP_UBS_STP_STATUS_TABLE.STAMP_UPDATE_DTIME as STAMP_UPDATE_DTIME,ASTUTEOP_UBS_STP_STATUS_TABLE.LOCK_ID as LOCK_ID,ASTUTEOP_UBS_STP_STATUS_TABLE.ATTACHMENT_ID as ATTACHMENT_ID,ASTUTEOP_UBS_STP_STATUS_TABLE.JOB_ID as JOB_ID,ASTUTEOP_UBS_STP_STATUS_TABLE.DUP_ID as DUP_ID,ASTUTEOP_UBS_STP_STATUS_TABLE.PRICE as PRICE,ASTUTEOP_UBS_STP_STATUS_TABLE.QTY as QTY,ASTUTEOP_UBS_STP_STATUS_TABLE.PRINCIPAL_BASE as PRINCIPAL_BASE,ASTUTEOP_UBS_STP_STATUS_TABLE.PRINCIPAL_NATV as PRINCIPAL_NATV,ASTUTEOP_UBS_STP_STATUS_TABLE.WORK_FLOW_STATUS as WORK_FLOW_STATUS,ASTUTEOP_UBS_STP_STATUS_TABLE.WORKFLOW_ID as WORKFLOW_ID,ASTUTEOP_UBS_STP_STATUS_TABLE.RECORD_ID as RECORD_ID,ASTUTEOP_UBS_STP_STATUS_TABLE.VERS_ID as VERS_ID,ASTUTEOP_UBS_STP_STATUS_TABLE.COMPANY_CODE as COMPANY_CODE,ASTUTEOP_UBS_STP_STATUS_TABLE.PRODUCT as PRODUCT,ASTUTEOP_UBS_STP_STATUS_TABLE.TRADE_DATE as TRADE_DATE,ASTUTEOP_UBS_STP_STATUS_TABLE.SETTLE_DATE as SETTLE_DATE,ASTUTEOP_UBS_STP_STATUS_TABLE.PRODUCT_ID as PRODUCT_ID,ASTUTEOP_UBS_STP_STATUS_TABLE.CUSIP as CUSIP,ASTUTEOP_UBS_STP_STATUS_TABLE.SYMBOL as SYMBOL,ASTUTEOP_UBS_STP_STATUS_TABLE.BUY_SELL as BUY_SELL,ASTUTEOP_UBS_STP_STATUS_TABLE.BUSINESS_QUANTITY as BUSINESS_QUANTITY,ASTUTEOP_UBS_STP_STATUS_TABLE.BUSINESS_AMOUNT as BUSINESS_AMOUNT,ASTUTEOP_UBS_STP_STATUS_TABLE.SOURCE as SOURCE,ASTUTEOP_UBS_STP_STATUS_TABLE.SOURCECONSTANT as SOURCECONSTANT,ASTUTEOP_UBS_STP_STATUS_TABLE.DPM_ID as DPM_ID FROM ASTUTEOP_UBS_STP_STATUS_TABLE WHERE ( ASTUTEOP_UBS_STP_STATUS_TABLE.MATCH_INDICATOR = 'N' ) AND MATCH_INDICATOR like '%N%' ORDER BY Physical_QueryParams_2_8_0_pm.MATCH_INDICATOR LIMIT 0, 100 [42122-168]
              at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
              at org.h2.message.DbException.get(DbException.java:169)
              at org.h2.message.DbException.get(DbException.java:146)
              at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:138)
              at org.h2.command.dml.Select.prepare(Select.java:799)
              at org.h2.command.Parser.prepareCommand(Parser.java:218)
              at org.h2.engine.Session.prepareLocal(Session.java:415)
              at org.h2.server.TcpServerThread.process(TcpServerThread.java:253)
              at org.h2.server.TcpServerThread.run(TcpServerThread.java:149)
              at java.lang.Thread.run(Thread.java:662)

              at org.h2.engine.SessionRemote.done(SessionRemote.java:567)
              at org.h2.command.CommandRemote.prepare(CommandRemote.java:67)
              at org.h2.command.CommandRemote.<init>(CommandRemote.java:46)
              at org.h2.engine.SessionRemote.prepareCommand(SessionRemote.java:439)
              at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1114)
              at org.h2.jdbc.JdbcStatement.executeQuery(JdbcStatement.java:70)
              at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
              at com.isomorphic.sql.SQLDataSource.executeWindowedSelect(SQLDataSource.java:1767)
              at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1305)
              at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:293)
              at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:237)
              at com.isomorphic.datasource.DataSource.execute(DataSource.java:1287)
              at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:721)
              at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:658)
              at com.isomorphic.application.AppBase.execute(AppBase.java:491)
              at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1948)
              at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:199)
              at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:156)
              at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
              at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
              at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:558)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:379)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:259)
              at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:281)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)






              thank you in advance
              Last edited by vivekanand; 17 Nov 2012, 04:05. Reason: for specifying version info

              Comment


                #37
                Client side filter

                I want to implement the client side filter on tree-grid... since there is no built in properties are not there so i followed following mentioned steps...

                1. created a Text Item, on key press of the tree-grid should be filter by the entered text and redraw the same.

                i am not able to how will be filter the tree-grid nodes by the a text and display it.

                Comment

                Working...
                X