org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.obiba.onyx.webapp.config.page.ApplicationConfigurationPage()

JIRA | Nathalie Émond | 8 years ago
  1. 0

    J'ai deploye l'application en mode 'deployment'. Je me suis trompee, j'ai du alors redeploye l'applcation toujours en mode 'deployment'. A partir de ce moment j'ai eu ces messages: 2008-10-21 13:43:46,132 - ERROR - apache.wicket.RequestCycle - Can't instantiate page using constructor public org.obiba.onyx.webapp.config.page.ApplicationConfigurationPage() org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.obiba.onyx.webapp.config.page.ApplicationConfigurationPage() at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:168) at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58) at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:262) at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:283) at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:210) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1171) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1248) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349) at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199) at org.apac ET Caused by: java.lang.NullPointerException at org.obiba.onyx.webapp.OnyxAuthenticatedSession.getRoles(OnyxAuthenticatedSession.java:94) at org.obiba.onyx.webapp.base.panel.MenuBuilder.build(MenuBuilder.java:51) at org.obiba.onyx.webapp.base.panel.MenuBuilder.build(MenuBuilder.java:37) at org.obiba.onyx.webapp.base.panel.MenuBar.buildMenus(MenuBar.java:34) at org.obiba.onyx.webapp.base.panel.MenuBar.<init>(MenuBar.java:29) at org.obiba.onyx.webapp.base.page.BasePage.<init>(BasePage.java:39) at org.obiba.onyx.webapp.config.page.ApplicationConfigurationPage.<init>(ApplicationConfigurationPage.java:55) ... 33 more Il faudrait ajouter des unit test dans cette partie pour eviter ce genre de probleme!

    JIRA | 8 years ago | Nathalie Émond
    org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.obiba.onyx.webapp.config.page.ApplicationConfigurationPage()
  2. 0

    J'ai deploye l'application en mode 'deployment'. Je me suis trompee, j'ai du alors redeploye l'applcation toujours en mode 'deployment'. A partir de ce moment j'ai eu ces messages: 2008-10-21 13:43:46,132 - ERROR - apache.wicket.RequestCycle - Can't instantiate page using constructor public org.obiba.onyx.webapp.config.page.ApplicationConfigurationPage() org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.obiba.onyx.webapp.config.page.ApplicationConfigurationPage() at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:168) at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58) at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:262) at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:283) at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:210) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1171) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1248) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349) at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199) at org.apac ET Caused by: java.lang.NullPointerException at org.obiba.onyx.webapp.OnyxAuthenticatedSession.getRoles(OnyxAuthenticatedSession.java:94) at org.obiba.onyx.webapp.base.panel.MenuBuilder.build(MenuBuilder.java:51) at org.obiba.onyx.webapp.base.panel.MenuBuilder.build(MenuBuilder.java:37) at org.obiba.onyx.webapp.base.panel.MenuBar.buildMenus(MenuBar.java:34) at org.obiba.onyx.webapp.base.panel.MenuBar.<init>(MenuBar.java:29) at org.obiba.onyx.webapp.base.page.BasePage.<init>(BasePage.java:39) at org.obiba.onyx.webapp.config.page.ApplicationConfigurationPage.<init>(ApplicationConfigurationPage.java:55) ... 33 more Il faudrait ajouter des unit test dans cette partie pour eviter ce genre de probleme!

    JIRA | 8 years ago | Nathalie Émond
    org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.obiba.onyx.webapp.config.page.ApplicationConfigurationPage()
  3. 0

    Help! team wants to abandon GAE because our Wicket app fails to run

    Google Groups | 5 years ago | David Donohue
    org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.inqle.qa.web.pages.questions.QuestionaryPage()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    jtrac issues w/ UNIX and ORACLE

    j-trac | 8 years ago | hkansal
    org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public info.jtrac.wicket.ItemViewPage(org.apache.wicket.PageParameters) and argument 0 = "SPACE-1"
  6. 0

    nullpointer exception on a mirror from github

    Google Groups | 1 year ago | Tamas Papp
    org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public com.gitblit.wicket.pages.EditRepositoryPage(org.apache.wicket.PageParameters) and argument r = "[plexus-suite]"

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.wicket.WicketRuntimeException

      Can't instantiate page using constructor public org.obiba.onyx.webapp.config.page.ApplicationConfigurationPage()

      at org.apache.wicket.session.DefaultPageFactory.newPage()
    2. Wicket Core
      DefaultPageFactory.newPage
      1. org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:168)
      2. org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58)
      2 frames
    3. org.apache.wicket
      BookmarkablePageRequestTarget.processEvents
      1. org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:262)
      2. org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:283)
      3. org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:210)
      3 frames
    4. Wicket Request
      AbstractRequestCycleProcessor.processEvents
      1. org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
      1 frame
    5. Wicket Core
      WicketFilter.doFilter
      1. org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1171)
      2. org.apache.wicket.RequestCycle.step(RequestCycle.java:1248)
      3. org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349)
      4. org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
      5. org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387)
      6. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199)
      6 frames