1. #1
    Ext User
    Join Date
    Apr 2008
    Posts
    42
    Vote Rating
    0
    obender is on a distinguished road

      0  

    Default B4: TableView.java(436): null.nullField != 0

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


    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:
    Code:
    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.

  2. #2
    Ext User
    Join Date
    Apr 2008
    Posts
    42
    Vote Rating
    0
    obender is on a distinguished road

      0  

    Default


    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?

  3. #3
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    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.

  4. #4
    Ext User
    Join Date
    Apr 2008
    Posts
    42
    Vote Rating
    0
    obender is on a distinguished road

      0  

    Default


    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.

Thread Participants: 1