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

    Je fais prebablement qq chose de pas ok. Je change le web.xml pour le mettre en mode deploiement. je load l'application ca fonctionne j'arrete l\application et je la repars A ce moment je recois toujours une page internal error. Dans le log j'ai ceci: (catalina.out) 2008-10-28 07:59:59,667 - 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:1175) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353) at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.jstripe.tomcat.probe.Tomcat55AgentValve.invoke(Tomcat55AgentValve.java:20) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:149) ... 28 more Caused by: java.lang.NullPointerException at org.obiba.onyx.webapp.OnyxAuthenticatedSession.getRoles(OnyxAuthenticatedSession.java:103) at org.obiba.onyx.webapp.base.panel.MenuBuilder.build(MenuBuilder.java:60) at org.obiba.onyx.webapp.base.panel.MenuBuilder.build(MenuBuilder.java:46) at org.obiba.onyx.webapp.base.panel.MenuBar.buildMenus(MenuBar.java:42) at org.obiba.onyx.webapp.base.panel.MenuBar.<init>(MenuBar.java:37) at org.obiba.onyx.webapp.base.page.BasePage.<init>(BasePage.java:48) at org.obiba.onyx.webapp.config.page.ApplicationConfigurationPage.<init>(ApplicationConfigurationPage.java:64) ... 33 more De cossé cé le 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

    Je fais prebablement qq chose de pas ok. Je change le web.xml pour le mettre en mode deploiement. je load l'application ca fonctionne j'arrete l\application et je la repars A ce moment je recois toujours une page internal error. Dans le log j'ai ceci: (catalina.out) 2008-10-28 07:59:59,667 - 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:1175) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353) at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.jstripe.tomcat.probe.Tomcat55AgentValve.invoke(Tomcat55AgentValve.java:20) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:149) ... 28 more Caused by: java.lang.NullPointerException at org.obiba.onyx.webapp.OnyxAuthenticatedSession.getRoles(OnyxAuthenticatedSession.java:103) at org.obiba.onyx.webapp.base.panel.MenuBuilder.build(MenuBuilder.java:60) at org.obiba.onyx.webapp.base.panel.MenuBuilder.build(MenuBuilder.java:46) at org.obiba.onyx.webapp.base.panel.MenuBar.buildMenus(MenuBar.java:42) at org.obiba.onyx.webapp.base.panel.MenuBar.<init>(MenuBar.java:37) at org.obiba.onyx.webapp.base.page.BasePage.<init>(BasePage.java:48) at org.obiba.onyx.webapp.config.page.ApplicationConfigurationPage.<init>(ApplicationConfigurationPage.java:64) ... 33 more De cossé cé le 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

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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. java.lang.NullPointerException

      No message provided

      at org.obiba.onyx.webapp.OnyxAuthenticatedSession.getRoles()
    2. org.obiba.onyx
      ApplicationConfigurationPage.<init>
      1. org.obiba.onyx.webapp.OnyxAuthenticatedSession.getRoles(OnyxAuthenticatedSession.java:103)
      2. org.obiba.onyx.webapp.base.panel.MenuBuilder.build(MenuBuilder.java:60)
      3. org.obiba.onyx.webapp.base.panel.MenuBuilder.build(MenuBuilder.java:46)
      4. org.obiba.onyx.webapp.base.panel.MenuBar.buildMenus(MenuBar.java:42)
      5. org.obiba.onyx.webapp.base.panel.MenuBar.<init>(MenuBar.java:37)
      6. org.obiba.onyx.webapp.base.page.BasePage.<init>(BasePage.java:48)
      7. org.obiba.onyx.webapp.config.page.ApplicationConfigurationPage.<init>(ApplicationConfigurationPage.java:64)
      7 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      4 frames
    4. Wicket Core
      DefaultPageFactory.newPage
      1. org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:149)
      2. org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58)
      2 frames
    5. 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
    6. Wicket Request
      AbstractRequestCycleProcessor.processEvents
      1. org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
      1 frame
    7. Wicket Core
      WicketFilter.doFilter
      1. org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)
      2. org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
      3. org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
      4. org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
      5. org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
      6. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)
      6 frames
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    9. Hibernate
      OpenSessionInViewFilter.doFilterInternal
      1. org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
      1 frame
    10. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      1 frame
    11. Glassfish Core
      StandardHostValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      5 frames
    12. org.jstripe.tomcat
      Tomcat55AgentValve.invoke
      1. org.jstripe.tomcat.probe.Tomcat55AgentValve.invoke(Tomcat55AgentValve.java:20)
      1 frame
    13. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      2. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      3 frames
    14. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame