Bugs item #1507512, was opened at 2006-06-16 21:57 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1507512&group_id=119783
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: examples Group: 1.2 Status: Open Resolution: None Priority: 5 Submitted By: RĂ¼diger Schulz (mindhaq) Assigned to: Nobody/Anonymous (nobody) Summary: NullPointerException in Breadcrumb Demo Initial Comment: Not entirely sure how to replicate this, but I put wicket-examples-1.2.jar into Tomcat 5.5.15's webapps directory, JDK 1.5.0_06 When I do the following in the breadcrumbs example, I get an NPE. Breadcrumbs - go to second panel - update and display result - first - [Firefox/Opera Backbutton] - second On MSIE I get the NPE when I press the Backbutton, but I think this has to do with caching. Here's the stacktrace; might be more of a bug in wicket than in the example... ERROR - RequestCycle - java.lang.NullPointerException at wicket.extensions.breadcrumb.panel.BreadCrumbPanel.onActivate(BreadCrumbPanel.java:176) at wicket.extensions.breadcrumb.BreadCrumbBar.activate(BreadCrumbBar.java:389) at wicket.extensions.breadcrumb.BreadCrumbBar.setActive(BreadCrumbBar.java:367) at wicket.extensions.breadcrumb.BreadCrumbLink$1.undo(BreadCrumbLink.java:83) at wicket.version.undo.ChangeList.undo(ChangeList.java:93) at wicket.version.undo.UndoPageVersionManager.undo(UndoPageVersionManager.java:217) at wicket.version.undo.UndoPageVersionManager.getVersion(UndoPageVersionManager.java:167) at wicket.Page.getVersion(Page.java:592) at wicket.PageMap.get(PageMap.java:454) at wicket.Session.getPage(Session.java:413) at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolveRenderedPage(DefaultRequestTargetResolverStrategy.java:149) at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve(DefaultRequestTargetResolverStrategy.java:92) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:48) at wicket.RequestCycle.step(RequestCycle.java:942) at wicket.RequestCycle.steps(RequestCycle.java:1034) at wicket.RequestCycle.request(RequestCycle.java:453) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:215) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1507512&group_id=119783 _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop