View Full Version : B4: TableView.java(436): null.nullField != 0

9 Jun 2008, 4:39 AM
I'm fighting through the migration process and getting various GWT compilation issues.
I started pulling my code apart to get at least more meaningful errors from GWT compiler.

The error I'm getting now is:

Error:at com.google.gwt.dev.jjs.ast.JBinaryOperation.traverse(JBinaryOperation.java:79)
Error:at TableView.java(436): null.nullField != 0
Error:at TableView.java(436): null.nullField != 0 && null.nullField == w
Error:at TableView.java(436): if (null.nullField != 0 && null.nullField == w) {
Error:at TableView.java(432): {
Error:at TableView.java(432): public static final void $resizeCells(TableView this$static, int columnIndex);
Error:at TableView.java(32): final class TableView extends Object

Does anybody now what could've caused it? I'm not doing anything special with the table. Just instantiation and then usage. When I try to re-create an issue in standalone example it seems to be compiling just fine.

9 Jun 2008, 4:51 AM
I've looked at the TableView class and noticed that the declaration is:
TableView<T extends TableItem> where T is never used in the TableView.
Could this be somehow the problem?

9 Jun 2008, 11:43 AM
I removed the generic T from TableView but this would not be the reason for the error. If you post some sample code that shows the error, I will take a look.

9 Jun 2008, 12:03 PM
The following line of code was causing the problem:

private Table<RowSelectionModel> tableControl = new Table( new TableColumnModel( new TableColumn[0] ) );

bad code anyways and was removed.