Announcement

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

  • Blama
    replied
    Hi Isomorphic,

    also please see the 1st request (the 2nd is not visible in the RPC tab because the program crashes before:
    Code:
    {
        dataSource:"V_REPORTING_FUNNEL", 
        operationType:"fetch", 
        operationId:"countLeads", 
        data:{
            operator:"and"
        }, 
        textMatchStyle:"exact", 
        showPrompt:true, 
        oldValues:{
            operator:"and"
        }, 
        requestId:"V_REPORTING_FUNNEL$62713", 
        fallbackToEval:false, 
        lastClientEventThreadCode:"MUP7", 
        bypassCache:true, 
        dataProtocol:"getParams"
    }
    Note how operator:"and" is under data/oldValues and that there is no criteria.

    Best regards
    Blama

    Leave a comment:


  • Blama
    replied
    Hi Isomorphic,

    yes, please see the Development Mode Error message:
    Code:
    12:32:14.672 [ERROR] [lms] Uncaught exception escaped
    
    com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) @com.smartgwt.client.widgets.grid.ListGrid::fetchData(Lcom/smartgwt/client/data/Criteria;)([Java object: com.smartgwt.client.data.AdvancedCriteria@788949635]): _4 is undefined
        at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)
        at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129)
        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.MethodAdaptor.invoke(MethodAdaptor.java:103)
        at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:72)
        at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
        at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:341)
        at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:222)
        at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:137)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:589)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:293)
        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:299)
        at sun.reflect.GeneratedMethodAccessor56.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:72)
        at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
        at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:296)
        at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:551)
        at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:368)
        at java.lang.Thread.run(Unknown Source)
    Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) @com.smartgwt.client.widgets.grid.ListGrid::fetchData(Lcom/smartgwt/client/data/Criteria;)([Java object: com.smartgwt.client.data.AdvancedCriteria@788949635]): _4 is undefined
        at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:252)
        at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:137)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:589)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:315)
        at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
        at com.smartgwt.client.widgets.grid.ListGrid.fetchData(ListGrid.java)
        at com.lmscompany.lms.client.ui.reporting.ReportingHLayout.fetchData(ReportingHLayout.java:66)
        at com.lmscompany.lms.client.ui.reporting.FilterSectionStack$6.onClick(FilterSectionStack.java:202)
        at com.smartgwt.client.widgets.events.ClickEvent.dispatch(ClickEvent.java:112)
        at com.smartgwt.client.widgets.events.ClickEvent.dispatch(ClickEvent.java:1)
        at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
        at com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)
        at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
        at com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
        at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:127)
        at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129)
        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.MethodAdaptor.invoke(MethodAdaptor.java:103)
        at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:72)
        at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
        at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:341)
        at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:222)
        at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:137)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:589)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:293)
        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:299)
        at sun.reflect.GeneratedMethodAccessor56.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:72)
        at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
        at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:296)
        at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:551)
        at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:368)
        at java.lang.Thread.run(Unknown Source)
    combinedAC.asString() in the debugger:
    Code:
    {
        "operator":"and", 
        "_constructor":"AdvancedCriteria", 
        "$H":10
    }
    I have no idea what "$H" is. This computes the criteria:
    Code:
    private AdvancedCriteria computeCriteria() {
    
    	AdvancedCriteria masterdataAC = leadMasterdataForm.getValuesAsAdvancedCriteria();
    	AdvancedCriteria creatorAC = leadCreatordataForm.getValuesAsAdvancedCriteria();
    	AdvancedCriteria resellerAC = null;
    	AdvancedCriteria resellerUserAC = null;
    	if (User.isResellerUser())
    		resellerUserAC = resellerUserForm.getValuesAsAdvancedCriteria();
    	else
    		resellerAC = resellerForm.getValuesAsAdvancedCriteria();
    
    	AdvancedCriteria combinedAC = new AdvancedCriteria(OperatorId.AND);
    	if (masterdataAC != null)
    		combinedAC.addCriteria(masterdataAC);
    	if (creatorAC != null)
    		combinedAC.addCriteria(creatorAC);
    	// either
    	if (resellerAC != null)
    		combinedAC.addCriteria(resellerAC);
    	if (resellerUserAC != null)
    		combinedAC.addCriteria(resellerUserAC);
    	return combinedAC;
    }
    Before the return, the values of combinedAC.asString() in the debugger is:
    Code:
    {
        "operator":"and", 
        "_constructor":"AdvancedCriteria"
    }
    It changes after my 1st fetch in the Queue (that uses only SmartGWT APIs, see code above). See the attached screenshots.

    Best regards
    Blama
    Attached Files

    Leave a comment:


  • Isomorphic
    replied
    This looks like a crash inside GWT Java application code being called from a click event. Is there any reason you think this crash is inside framework code?

    Perhaps using less obfuscation you'd be able to see where in the code this is occurring.

    Leave a comment:


  • Blama
    replied
    Also tested with SNAPSHOT_v10.1d_2015-07-23/PowerEdition Deployment (built 2015-07-23), same error.

    Leave a comment:


  • Blama
    replied
    One other thing: It worked with previous versions of 5.1d, but I don't know when it stopped working.

    Leave a comment:


  • Blama
    replied
    For completeness:

    IE 11 Developer Console entry:
    Code:
    12:12:28.487:pointerup5:WARN:Log:com.google.gwt.core.client.JavaScriptException: (TypeError) : Die Eigenschaft "length" eines undefinierten oder Nullverweises kann nicht abgerufen werden.
        at tF(Unknown script code)
        at dd(Unknown script code)
        at Yc(Unknown script code)
        at xH(Unknown script code)
        at DH(Unknown script code)
        at anonymous(Unknown script code)
        at Pb(Unknown script code)
        at Sb(Unknown script code)
        at anonymous(Unknown script code)
        at click(Unknown script code)
        at isc_StatefulCanvas_handleActivate(https://myserver.com/project/sc/modules/ISC_Foundation.js?isc_version=v10.1d_2015-07-21-SNAPSHOT.js)
        at isc_StatefulCanvas_handleClick(https://myserver.com/project/sc/modules/ISC_Foundation.js?isc_version=v10.1d_2015-07-21-SNAPSHOT.js)
        at isc_c_EventHandler_bubbleEvent(https://myserver.com/project/sc/modules/ISC_Core.js?isc_version=v10.1d_2015-07-21-SNAPSHOT.js)
        at isc_c_EventHandler_handleClick(https://myserver.com/project/sc/modules/ISC_Core.js?isc_version=v10.1d_2015-07-21-SNAPSHOT.js)
        at isc_c_EventHandler__handleMouseUp(https://myserver.com/project/sc/modules/ISC_Core.js?isc_version=v10.1d_2015-07-21-SNAPSHOT.js)
        at isc_c_EventHandler__handlePointerUp(https://myserver.com/project/sc/modules/ISC_Core.js?isc_version=v10.1d_2015-07-21-SNAPSHOT.js)
        at isc_c_EventHandler_dispatch(https://myserver.com/project/sc/modules/ISC_Core.js?isc_version=v10.1d_2015-07-21-SNAPSHOT.js)
        at Function code(Function code)
    The RPC tab here looks like the one in the FF26-screenshot.

    Best regards
    Blama

    Leave a comment:

Working...
X