Thanks for your reply. Actually I figured out what was wrong but hadn't yet
written a followup response.
The ListView was part of a panel that was getting attached to the page
during the ConfigureResponse method. I had thought the configure response
method would be a good entry point to swap panels in a very simple wizard
page. I've now figured this and adopted something more similar to what is
shown on the wiki.


Johan Compagner wrote:
> 
> do you have any code sample to share?
> 
> johan
> 
> 
> On 10/3/06, kevinr <[EMAIL PROTECTED]> wrote:
>>
>>
>> I'm receiving a null pointer exception within the ListView component. The
>> ListView is trying to render null ListItems. From what I can see,
>> populateItem isn't even being called. I can't tell if this is a bug, or
>> if
>> I'm doing something wrong. I'm using ListViews in other sections of my
>> code
>> and I do not see anything different as far as how I am utilizing them.
>> I'm
>> using version 1.2.1. If anyone has seen this issue before, please let me
>> know. Any help is appeciated.
>>
>> Thanks in advance.
>>
>> He's a partial of the stack trace:
>> WicketMessage: Exception in rendering component: [MarkupContainer
>> [Component
>> id = panel, page = com.verisign.switchnet.ui.pages.OperatorAdmin, path =
>> 2:panel.OperatorAdmin$OperatorEditPanel, isVisible = true, isVersioned =
>> true]]Root cause:java.lang.NullPointerException     at
>> wicket.markup.html.list.ListView.renderItem(ListView.java:677)     at
>> wicket.markup.html.list.ListView.onRender(ListView.java:638)     at
>> wicket.Component.render(Component.java:1518)
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/NullPointerException-in-ListView-tf2376982.html#a6622774
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys -- and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/NullPointerException-in-ListView-tf2376982.html#a6660020
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to