Hi All,

I am facing very weired problem in IE.
I have two separate panels on one page.
First panel has some records which are draggable and target is second
panel
Now the problem is when I drag any record and dropping it there itself
after dragging very little, it gives an error
'com_google_gwt_user_client_ui_UIObject_element' is null or not an
object

I tried debugging it with Visual studio debugger but not able to get
the exact place of problem. The debugger points it to last finally
statement in following function.

function com_google_gwt_user_client_CommandExecutor_
$doExecuteCommands__Lcom_google_gwt_user_client_CommandExecutor_2D(this
$static, startTimeMillis){
  var command, element, wasCanceled;
  wasCanceled = false;
  try {
    this$static.com_google_gwt_user_client_CommandExecutor_executing =
true;
    this
$static.com_google_gwt_user_client_CommandExecutor_iterator.com_google_gwt_user_client_CommandExecutor
$CircularIterator_end = this
$static.com_google_gwt_user_client_CommandExecutor_commands.java_util_ArrayList_size;
    com_google_gwt_user_client_Timer_
$schedule__Lcom_google_gwt_user_client_Timer_2I(this
$static.com_google_gwt_user_client_CommandExecutor_cancellationTimer,
10000);
    while (com_google_gwt_user_client_CommandExecutor$CircularIterator_
$hasNext__Lcom_google_gwt_user_client_CommandExecutor
$CircularIterator_2(this
$static.com_google_gwt_user_client_CommandExecutor_iterator)) {
      element = com_google_gwt_user_client_CommandExecutor
$CircularIterator_$next__Lcom_google_gwt_user_client_CommandExecutor
$CircularIterator_2(this
$static.com_google_gwt_user_client_CommandExecutor_iterator);
      try {
        if (element == null) {
          return;
        }
        if (element != null && com_google_gwt_lang_Cast_canCast__II
(element.java_lang_Object_typeId$, 49)) {
          command =
com_google_gwt_lang_Cast_dynamicCast__Ljava_lang_Object_2I(element,
49);
          command.execute__();
        }
         else {
        }
      }
       finally {
        wasCanceled = this
$static.com_google_gwt_user_client_CommandExecutor_iterator.com_google_gwt_user_client_CommandExecutor
$CircularIterator_last == -1;
        if (wasCanceled) {
          return;
        }
        com_google_gwt_user_client_CommandExecutor$CircularIterator_
$remove__Lcom_google_gwt_user_client_CommandExecutor$CircularIterator_2
(this$static.com_google_gwt_user_client_CommandExecutor_iterator);
      }
      if ((new Date()).getTime() - startTimeMillis >= 100) {
        return;
      }
    }
  }
   finally {
    if (!wasCanceled) {
      com_google_gwt_user_client_Timer_
$cancel__Lcom_google_gwt_user_client_Timer_2(this
$static.com_google_gwt_user_client_CommandExecutor_cancellationTimer);
      this$static.com_google_gwt_user_client_CommandExecutor_executing
= false;
      com_google_gwt_user_client_CommandExecutor_
$maybeStartExecutionTimer__Lcom_google_gwt_user_client_CommandExecutor_2
(this$static);
    }
  }
}

I have added PickupDragController like this.
                pickupDragController = new PickupDragController
( RootPanel.get(), false );
                pickupDragController.setBehaviorDragProxy( true );
                pickupDragController.setBehaviorDragStartSensitivity( 10 );
                ProgramSettings.setDragController( pickupDragController );

Please let me know if anybody has any idea or solution to it.

Thanks in advance

- JaveD

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to