Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3952

NPE while opening hangman in wicket-examples

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.4.18
    • 1.4.19
    • wicket-examples
    • None
    • IE9, works fine on Chrome

    Description

      org.apache.wicket.WicketRuntimeException: Exception in rendering component: [Component id = word]
      at org.apache.wicket.Component.renderComponent(Component.java:2763)
      at org.apache.wicket.markup.html.WebComponent.onRender(WebComponent.java:62)
      at org.apache.wicket.Component.render(Component.java:2524)
      at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1461)
      at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1575)
      at org.apache.wicket.Page.onRender(Page.java:1594)
      at org.apache.wicket.Component.render(Component.java:2524)
      at org.apache.wicket.Page.renderPage(Page.java:932)
      at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:261)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1260)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1331)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1438)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:546)
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:440)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:326)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      Caused by: java.lang.NullPointerException
      at org.apache.wicket.examples.hangman.Guess$1.getObject(Guess.java:50)
      at org.apache.wicket.examples.hangman.Guess$1.getObject(Guess.java:46)
      at org.apache.wicket.Component.getDefaultModelObject(Component.java:1727)
      at org.apache.wicket.Component.getDefaultModelObjectAsString(Component.java:1746)
      at org.apache.wicket.markup.html.basic.Label.onComponentTagBody(Label.java:114)
      at org.apache.wicket.Component.renderComponent(Component.java:2724)
      ... 32 more

      Attachments

        Activity

          People

            pedrosans Pedro Santos
            pedrosans Pedro Santos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: