Uploaded image for project: 'Seam for Apache Wicket'
  1. Seam for Apache Wicket
  2. SEAMWICKET-49

NPE in org.jboss.weld.wicket.util.NonContextual.<init>

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.0.Beta4
    • None
    • None
    • Jetty 6.1.26
      Wicket 1.4.16

    Description

      I have a standalone app with embedded Jetty running a Wicket app.
      I added weld-wicket as dependency, and after I changed parent class
      of my WicketApplication to WeldApplication and tried to run, the NPE occured.

      Whole project can be seen at
      http://ondrazizka.googlecode.com/svn/trunk/bots/JawaBot/branches/2.0 r147

      20:56:17.343 ERROR [main] / unavailable
      java.lang.NullPointerException
      at org.jboss.weld.wicket.util.NonContextual.<init>(NonContextual.java:33)
      at org.jboss.weld.wicket.WeldApplication.internalInit(WeldApplication.java:50)
      at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:723)
      at org.apache.wicket.protocol.http.ReloadingWicketFilter.init(ReloadingWicketFilter.java:175)
      at org.apache.wicket.protocol.http.WicketServlet.init(WicketServlet.java:219)
      at javax.servlet.GenericServlet.init(GenericServlet.java:241)
      at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
      at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:736)
      at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      at org.mortbay.jetty.Server.doStart(Server.java:224)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      at org.jboss.jawabot.web.RunInJetty.run(RunInJetty.java:145)
      at org.jboss.jawabot.mod.web.WebModuleHook.initModule(WebModuleHook.java:18)
      at org.jboss.jawabot.JawaBotApp.initAndStartModules(JawaBotApp.java:106)
      at org.jboss.jawabot.JawaBotApp.main(JawaBotApp.java:53)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ozizka_jira Ondrej Zizka (Inactive)
              Archiver:
              samahaja@redhat.com Sagar Mahajan

              Dates

                Created:
                Updated:
                Archived: