java.lang.NullPointerException

JIRA | Dwain Elson | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Start automated stage (I used Spirometry) Add a measurement Check 'Skip remaining measurements' Press next Press Administration Pause stage Resume stage NPE occurs Root cause: java.lang.NullPointerException at org.obiba.onyx.jade.core.wicket.instrument.InstrumentLaunchPanel.setComponentEnabledOnSkip(InstrumentLaunchPanel.java:219) at org.obiba.onyx.jade.core.wicket.instrument.InstrumentLaunchPanel.<init>(InstrumentLaunchPanel.java:103) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentLaunchStep$1.<init>(InstrumentLaunchStep.java:72) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentLaunchStep.onStepInNext(InstrumentLaunchStep.java:72) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardForm.initStartStep(InstrumentWizardForm.java:508) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardPanel.<init>(InstrumentWizardPanel.java:40) at org.obiba.onyx.jade.core.wicket.JadePanel.<init>(JadePanel.java:51) at org.obiba.onyx.jade.engine.state.JadeInProgressState.getWidget(JadeInProgressState.java:44) at org.obiba.onyx.engine.state.StageExecutionContext.getWidget(StageExecutionContext.java:186) at org.obiba.onyx.webapp.stage.page.StagePage.<init>(StagePage.java:116) at org.obiba.onyx.webapp.stage.panel.StageSelectionPanel$1.onActionPerformed(StageSelectionPanel.java:105) at org.obiba.onyx.wicket.action.ActionWindow$2.onClose(ActionWindow.java:82) at org.obiba.onyx.wicket.reusable.Dialog$7.onClose(Dialog.java:363) at org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow$WindowClosedBehavior.respond(ModalWindow.java:832) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100) 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.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(Unknown Source)

    JIRA | 8 years ago | Dwain Elson
    java.lang.NullPointerException
  2. 0

    Start automated stage (I used Spirometry) Add a measurement Check 'Skip remaining measurements' Press next Press Administration Pause stage Resume stage NPE occurs Root cause: java.lang.NullPointerException at org.obiba.onyx.jade.core.wicket.instrument.InstrumentLaunchPanel.setComponentEnabledOnSkip(InstrumentLaunchPanel.java:219) at org.obiba.onyx.jade.core.wicket.instrument.InstrumentLaunchPanel.<init>(InstrumentLaunchPanel.java:103) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentLaunchStep$1.<init>(InstrumentLaunchStep.java:72) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentLaunchStep.onStepInNext(InstrumentLaunchStep.java:72) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardForm.initStartStep(InstrumentWizardForm.java:508) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardPanel.<init>(InstrumentWizardPanel.java:40) at org.obiba.onyx.jade.core.wicket.JadePanel.<init>(JadePanel.java:51) at org.obiba.onyx.jade.engine.state.JadeInProgressState.getWidget(JadeInProgressState.java:44) at org.obiba.onyx.engine.state.StageExecutionContext.getWidget(StageExecutionContext.java:186) at org.obiba.onyx.webapp.stage.page.StagePage.<init>(StagePage.java:116) at org.obiba.onyx.webapp.stage.panel.StageSelectionPanel$1.onActionPerformed(StageSelectionPanel.java:105) at org.obiba.onyx.wicket.action.ActionWindow$2.onClose(ActionWindow.java:82) at org.obiba.onyx.wicket.reusable.Dialog$7.onClose(Dialog.java:363) at org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow$WindowClosedBehavior.respond(ModalWindow.java:832) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100) 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.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(Unknown Source)

    JIRA | 8 years ago | Dwain Elson
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.obiba.onyx.jade.core.wicket.instrument.InstrumentLaunchPanel.setComponentEnabledOnSkip()
    2. org.obiba.onyx
      Dialog$7.onClose
      1. org.obiba.onyx.jade.core.wicket.instrument.InstrumentLaunchPanel.setComponentEnabledOnSkip(InstrumentLaunchPanel.java:219)
      2. org.obiba.onyx.jade.core.wicket.instrument.InstrumentLaunchPanel.<init>(InstrumentLaunchPanel.java:103)
      3. org.obiba.onyx.jade.core.wicket.wizard.InstrumentLaunchStep$1.<init>(InstrumentLaunchStep.java:72)
      4. org.obiba.onyx.jade.core.wicket.wizard.InstrumentLaunchStep.onStepInNext(InstrumentLaunchStep.java:72)
      5. org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardForm.initStartStep(InstrumentWizardForm.java:508)
      6. org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardPanel.<init>(InstrumentWizardPanel.java:40)
      7. org.obiba.onyx.jade.core.wicket.JadePanel.<init>(JadePanel.java:51)
      8. org.obiba.onyx.jade.engine.state.JadeInProgressState.getWidget(JadeInProgressState.java:44)
      9. org.obiba.onyx.engine.state.StageExecutionContext.getWidget(StageExecutionContext.java:186)
      10. org.obiba.onyx.webapp.stage.page.StagePage.<init>(StagePage.java:116)
      11. org.obiba.onyx.webapp.stage.panel.StageSelectionPanel$1.onActionPerformed(StageSelectionPanel.java:105)
      12. org.obiba.onyx.wicket.action.ActionWindow$2.onClose(ActionWindow.java:82)
      13. org.obiba.onyx.wicket.reusable.Dialog$7.onClose(Dialog.java:363)
      13 frames
    3. Wicket Extensions
      ModalWindow$WindowClosedBehavior.respond
      1. org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow$WindowClosedBehavior.respond(ModalWindow.java:832)
      1 frame
    4. Wicket Core
      AbstractDefaultAjaxBehavior.onRequest
      1. org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297)
      1 frame
    5. org.apache.wicket
      BehaviorRequestTarget.processEvents
      1. org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100)
      1 frame
    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
      CoyoteAdapter.service
      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)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      8 frames
    12. 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
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame