You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Bill Lear <ra...@zopyra.com> on 2004/01/26 22:32:59 UTC

Exception in Workbench Tree

I've checked out the latest from CVS and I'm getting an exception in
the Workbench Tree example code.  I've run this under both Jetty and
Tomcat and the same exception appears.  Here is the (truncated) report
from Tapestry:

org.apache.tapestry.ApplicationRuntimeException
component: org.apache.tapestry.workbench.tree.examples.FileSystemTreeTable@a56214[FileSystemTableTree]
location: context:/WEB-INF/FileSystemTableTree.page, line 8

java.lang.NullPointerException
Stack Trace:

    * org.apache.tapestry.contrib.table.components.TableView.getTableColumnModel(TableView.java:341)
    * org.apache.tapestry.contrib.table.components.TableView.generateTableModel(TableView.java:250)
    * org.apache.tapestry.contrib.table.components.TableViewSessionStateManager.recreateTableModel(TableViewSessionStateManager.java:107)
    * org.apache.tapestry.contrib.table.components.TableView.getTableModel(TableView.java:225)
    * org.apache.tapestry.contrib.table.components.TableView.validateValues(TableView.java:454)
    * org.apache.tapestry.contrib.table.components.TableView.renderComponent(TableView.java:483)
* org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:898)

I put a few println statements in TableView.java, and the line:

        Object objColumns = getColumns();

in the getTableColumnModel() method appears to be the culprit.  The
objColumns value is null.  I tried poking around a bit to ensure that
the parameters were being bound correctly, but I don't have the
time/expertise to do this at the moment (sorry).

Let me know if I need to submit a bug report (and where I need to
do this!).

Thanks.


Bill

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Re: Exception in Workbench Tree

Posted by Bill Lear <ra...@zopyra.com>.
On Tuesday, January 27, 2004 at 00:54:49 (+0200) Mindbridge writes:
>Hi,
>
>Strange... it is working fine for me at the moment... Could you try to
>synchronize once again and try then? May be some changes did not make it in
>earlier...
>
>In any case, thanks for sending it.

I nuked my cvs checkout of Tapestry, re-checked out, and it now
works fine.  Must have caught something in transition.


Bill

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Re: Exception in Workbench Tree

Posted by Mindbridge <mi...@yahoo.com>.
Hi,

Strange... it is working fine for me at the moment... Could you try to
synchronize once again and try then? May be some changes did not make it in
earlier...

In any case, thanks for sending it.

-mb

----- Original Message ----- 
From: "Bill Lear" <ra...@zopyra.com>
To: <ta...@jakarta.apache.org>
Sent: Monday, January 26, 2004 11:32 PM
Subject: Exception in Workbench Tree


> I've checked out the latest from CVS and I'm getting an exception in
> the Workbench Tree example code.  I've run this under both Jetty and
> Tomcat and the same exception appears.  Here is the (truncated) report
> from Tapestry:
>
> org.apache.tapestry.ApplicationRuntimeException
> component:
org.apache.tapestry.workbench.tree.examples.FileSystemTreeTable@a56214[FileS
ystemTableTree]
> location: context:/WEB-INF/FileSystemTableTree.page, line 8
>
> java.lang.NullPointerException
> Stack Trace:
>
>     *
org.apache.tapestry.contrib.table.components.TableView.getTableColumnModel(T
ableView.java:341)
>     *
org.apache.tapestry.contrib.table.components.TableView.generateTableModel(Ta
bleView.java:250)
>     *
org.apache.tapestry.contrib.table.components.TableViewSessionStateManager.re
createTableModel(TableViewSessionStateManager.java:107)
>     *
org.apache.tapestry.contrib.table.components.TableView.getTableModel(TableVi
ew.java:225)
>     *
org.apache.tapestry.contrib.table.components.TableView.validateValues(TableV
iew.java:454)
>     *
org.apache.tapestry.contrib.table.components.TableView.renderComponent(Table
View.java:483)
> * org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:898)
>
> I put a few println statements in TableView.java, and the line:
>
>         Object objColumns = getColumns();
>
> in the getTableColumnModel() method appears to be the culprit.  The
> objColumns value is null.  I tried poking around a bit to ensure that
> the parameters were being bound correctly, but I don't have the
> time/expertise to do this at the moment (sorry).
>
> Let me know if I need to submit a bug report (and where I need to
> do this!).
>
> Thanks.
>
>
> Bill
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org