Hi,

I am using the SplitLayoutPanel in GWT and I get the error. The code
is as follows.

DockPanel mainPanel = new DockPanel();
        mainPanel.setBorderWidth(5);
        mainPanel.setSize("100%", "100%");

        Widget header = createHeaderWidget();
        mainPanel.add(header, DockPanel.NORTH);
        mainPanel.setCellHeight(header, "30px");

        Widget footer = createFooterWidget();
        mainPanel.add(footer, DockPanel.SOUTH);
        mainPanel.setCellHeight(footer, "25px");

        SplitLayoutPanel categoriesAndTasks;
        categoriesAndTasks = new SplitLayoutPanel();

        //categoriesAndTasks.addWest(new Label("LeftWidget"), 100);
        categoriesAndTasks.addEast(new Label("RightWidget"), 200);

        mainPanel.add(categoriesAndTasks, DockPanel.CENTER);


Errors:

java.lang.VerifyError: (class: com/google/gwt/core/client/Scheduler,
method: <init> signature: ()V) Illegal constant pool index
    at
com.google.gwt.user.client.ui.LayoutCommand.schedule(LayoutCommand.java:
104)
    at
com.google.gwt.user.client.ui.DockLayoutPanel.animate(DockLayoutPanel.java:
196)
    at
com.google.gwt.user.client.ui.DockLayoutPanel.animate(DockLayoutPanel.java:
192)
    at
com.google.gwt.user.client.ui.DockLayoutPanel.insert(DockLayoutPanel.java:
364)
    at
com.google.gwt.user.client.ui.SplitLayoutPanel.insert(SplitLayoutPanel.java:
215)
    at
com.google.gwt.user.client.ui.DockLayoutPanel.addEast(DockLayoutPanel.java:
158)
    at com.nt.client.PageWidget.createDockPanel(PageWidget.java:131)
    at com.nt.client.Cms.onModuleLoad(Cms.java:137)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
369)
    at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
185)
    at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
380)
    at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
222)
    at java.lang.Thread.run(Thread.java:595)


Your help will be appreciated. TIA.

Thanks,
Shyam Visamsetty.

-- 
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