Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When put the advanced table in TabPanel, the table can't displayed and throw exceptions. #2

Open
GoogleCodeExporter opened this issue Mar 24, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Put the advanced table in TabPanel

Potential Suggestion:

AdvancedTable.java
int newHeight = originalHeight - NAVIGATION_PANEL_HEIGHT;
when it's negative number, the exception will happen, should add "if" here.

What is the expected output? What do you see instead?

Table can't displayed, there are some exceptions.
[ERROR] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: JavaScript Error 
exception: Invalid Parameters
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative
(ModuleSpace.java:481)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid
(ModuleSpace.java:270)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid
(JavaScriptHost.java:137)
    at com.google.gwt.user.client.impl.DOMImpl.setStyleAttribute
(DOMImpl.java:395)
    at com.google.gwt.user.client.DOM.setStyleAttribute(DOM.java:1123)
    at com.google.gwt.user.client.ui.UIObject.setHeight
(UIObject.java:435)
    at example.client.AdvancedTable.fixGridSize(AdvancedTable.java:797)
    at example.client.AdvancedTable.redrawRows(AdvancedTable.java:575)
    at example.client.AdvancedTable.access$11(AdvancedTable.java:534)
    at example.client.AdvancedTable$11.onSuccess
(AdvancedTable.java:504)


What version of the product are you using? On what operating system?
Latest one, and Windows XP, IE system

Please provide any additional information below.


Original issue reported on code.google.com by lishaoc...@gmail.com on 18 Dec 2007 at 8:50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant