You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "F. Da Costa" <da...@xs4all.nl> on 2004/02/25 21:03:01 UTC

NPE on page that does get created whislt stepping through the debug?

Hi,

In trying to upt a page into a popup window i get the following error.
My first impression was that the page (read java class) does not get 
created in some way. Stepped through the code and it did get created. It 
even got 'transferred' a number of classes that caused its creation.
Despite this the npe.

org.apache.tapestry.ApplicationRuntimeException
component: 
org.dcg.service.wu.useradmin.listmgt.AveragePriceComposition@83b00f[AveragePriceComposition]
location: 
classpath:/org/dcg/service/wu/useradmin/listmgt/AveragePriceComposition.page, 
line 7

java.lang.NullPointerException
Stack Trace:

     * 
org.apache.tapestry.contrib.table.components.TableView.getTableModel(TableView.java:225)
     * 
org.apache.tapestry.contrib.table.components.TableView.validateValues(TableView.java:457)
     * 
org.apache.tapestry.contrib.table.components.TableView.renderComponent(TableView.java:486)

During the debug stepping i did see the following line on the console 
(though i cannot imagine this is very serious)

Feb 25, 2004 8:54:16 PM org.apache.tapestry.BaseComponentTemplateLoader 
checkAllComponentsReferenced
SEVERE: Template for component AveragePriceComposition/avgPriceComposition 
does not reference embedded components: addObjectForm, fieldCellTypeFactory 
and addObjectText.

After having alt-F4'd the popup window i tries a second time, expecting the 
same result. This time the page was shown (not filled with the proper data 
but that might be something else entirely).

Any suggestions as to where i could start looking to solve this?

TIA
Fermin DCG


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