Paste the complete stacktrace

Juan

2011/3/16 Mgr <gan.tan...@gmail.com>

> In Mozilla browser. &  NetBean IDE 6.9 run the below code throws the
> exception
>
> Error: uncaught exception:
> com.google.gwt.event.shared.UmbrellaException: One or more exceptions
> caught, see full set in UmbrellaException#getCauses
>
>
>
> I have more problem when I develop the gwt application.  I am a newbee
> to gwt. How to solve the below problem.  As soon as possible please
> reply for me. I am yet waiting for your reply.
>
>
> My EntryPoint Class
>
> public class MainEntryPoint implements EntryPoint
> {
>
>   public VerticalPanel verticalPanelbutton = new VerticalPanel();
>  public VerticalPanel content = new VerticalPanel();
>  public DockLayoutPanel docPanel = new DockLayoutPanel(Unit.EM);
>
>  public MainEntryPoint()
>  {
>  }
>
>
>  public void onModuleLoad()
>  {
>
>    final Button doctorbutton = new Button("Doctor");
>    final Button addressIdbutton = new Button("AddressId");
>
>    verticalPanelbutton.add(addressIdbutton);
>
>    addressIdbutton.addClickHandler(new ClickHandler()
>    {
>
>      public void onClick(ClickEvent event)
>      {
>       AddressId addressId = new AddressId();
>       addressId.getAddressId();
>
>      }
>    });
>
>    docPanel.addNorth(verticalPanelbutton, 5);
>    docPanel.addNorth(content, 10);
>    RootPanel.get().add(docPanel);
>
>  }
> }
>
> ------------------------------------------------------------------------------------------------------------------------------------------
> My child Class
>
> public class AddressId
> {
>
>  public String doorNo_;
>  public Grid gridAddr_;
>
>  public void getAddressId()
>  {
>    gridAddr_ = new Grid(4, 2);
>    Label doornol = new Label("Door No");
>
>    final TextBox doorno = new TextBox();
>
>    Button addressok = new Button("Ok");
>    addressok.addClickHandler(new ClickHandler()
>    {
>
>      public void onClick(ClickEvent event)
>      {
>        try
>        {
>          AddressId addressId = new AddressId();
>          addressId.doorNo_ = ((TextBox) gridAddr_.getWidget(0,
> 1)).getText();
>          addressId.doorNo_ = ((String)doorno.getText());
>          print("addressId.doorNo_ :"+addressId.doorNo_);
>          Hospital.hospitalSingleton_.addAddressID(addressId);
>        }
>        catch (Exception e1)
>        {
>          print("e" + e1);
>        }
>      }
>    });
>    gridAddr_.setWidget(0, 0, doornol);
>    gridAddr_.setWidget(0, 1,doorno);
>    gridAddr_.setWidget(1, 0, addressok);
>
>    RootLayoutPanel r = RootLayoutPanel.get();
>    r.add(gridAddr_);
>  }
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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

Reply via email to