Announcement

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

    clickMask:showClickMask - attempting to remove invalid object :null from tab order

    Dozens of this error happened in SelectItem fetch data. Does anyone have idea how to solve it?

    [ERROR] [xxxx] - 12:24:03.646:XRP8:WARN:clickMask:showClickMask - attempting to remove invalid object :null from tab order

    Code:
    stampIdSI.addDataArrivedHandler(new DataArrivedHandler() {
    
    			@Override
    			public void onDataArrived(DataArrivedEvent event) {
    				// TODO Auto-generated method stub
    				SelectItem si = (SelectItem) event.getSource();
    				ResultSet rs = event.getData();
    				try{
    					if(si != null && si.getValue() != null){
    						si.clearValue();
    					}
    					
    					if (rs.getLength() < 50 && rs.getLength() > 0) {
    						String[] array = new String[rs.getLength()];
    						for (int i = 0; i < rs.getLength(); i++) {
    							Record rec = rs.get(i);
    							array[i] = rec.getAttribute("stampId");
    						}
    						si.setValues(array);
    					}
    				}catch(Exception e){
    					SC.say(e.getStackTrace().toString());
    				}
    			}
    		}

    <gwt.version>2.2.0</gwt.version>
    <smartgwt.version>3.0p</smartgwt.version>
    <jetty.version>6.1.25</jetty.version

    #2
    There's nothing in this immediate code that suggests a cause.

    This is involved with the clickMask that is shown to block user interactivity during network turnarounds (when rpcRequest.showPrompt is enabled) or for modal windows.

    As a guess, this may be coming up because of destroying a widget that is in the middle of interacting with the server, or some similar issue with destroying widgets at invalid times.

    If you need further help, we'd suggest working toward a test case that can reproduce the problem.

    Comment

    Working...
    X