first start off by showing your code. second, update to the latest
1.3snapshot. in my code
listview.java doesnt have line 709.

-igor


On 4/23/07, jamieballing <[EMAIL PROTECTED]> wrote:


We are trying to migrate to 1.3 and have encountered an issue. We aren't
sure
if this is related to the way we are using it or if there might be a bug.
We
are getting a NPE which bubbles up into a message that wicket can't render
a
component. The stack trace is:

Caused by: java.lang.NullPointerException
        at wicket.markup.html.list.ListView.renderItem(ListView.java:709)
        at wicket.markup.html.list.ListView.onRender(ListView.java:670)
        at wicket.Component.render(Component.java:1495)
        at wicket.MarkupContainer.renderNext(MarkupContainer.java:1159)
        at
wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1329)
        at
wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1264)
        at wicket.Component.renderComponent(Component.java:1670)

One thing of note is that the component ID which wicket is ultimately
complaining about doesn't exist anywhere in the application... there is no
"feedbackul", but is a "feedback". I know there are some suffixes that get
added now, but I thought these should be numeric. Here is the message:

wicket.WicketRuntimeException: Exception in rendering component:
[MarkupContainer [Component id = feedbackul, page =
test.page.search.SearchResultsPage, path =
6:lpContent:uploadPanel:documentManagementModal:content:panel:for
m:urlArea:urlBorder:feedbackIndicator:feedback:feedbackul.FeedbackPanel$2,
isVisible = true, isVersioned = false]]

Do you have any thoughts or direction on how we should resolve this? We
are
trying to determine if we should proceed with 1.3 for our app or stick
with
1.2.

Many thanks,
Jamie

--
View this message in context:
http://www.nabble.com/NPE-rendering-ListView-Item-in-1.3-tf3635715.html#a10152492
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to