java.lang.NullPointerException

JIRA | Martin Boulanger | 8 years ago
  1. 0

    I found a bug in Onyx. The steps to reproduce this bug are: 1) Log into Onyx and start an interview 2) Complete the consent 3) Complete the blood pressure measurement 4) Start the arterial stiffness measurement 5) Restart the browser 6) Log into Onyx and go to the previous interview 7) Cancel arterial stiffness 8) Start arterial stiffness once again You will get the following crash: java.lang.NullPointerException at org.obiba.onyx.jade.core.service.impl.DefaultActiveInstrumentRunServiceImpl.hasContraindications(DefaultActiveInstrumentRunServiceImpl.java:415) at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy55.hasContraindications(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416) at org.apache.wicket.proxy.$Proxy59.hasContraindications(Unknown Source) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardForm.setUpWizardFlow(InstrumentWizardForm.java:85) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardForm.<init>(InstrumentWizardForm.java:74) at org.obiba.onyx.jade.core.wicket.JadePanel$1$1.<init>(JadePanel.java:64) at org.obiba.onyx.jade.core.wicket.JadePanel$1.createForm(JadePanel.java:64) at org.obiba.onyx.wicket.wizard.WizardPanel.<init>(WizardPanel.java:30) at org.obiba.onyx.jade.core.wicket.JadePanel$1.<init>(JadePanel.java:60) at org.obiba.onyx.jade.core.wicket.JadePanel.<init>(JadePanel.java:60) at org.obiba.onyx.jade.engine.state.JadeInProgressState.getWidget(JadeInProgressState.java:49) at org.obiba.onyx.engine.state.StageExecutionContext.getWidget(StageExecutionContext.java:177) at org.obiba.onyx.webapp.stage.page.StagePage.<init>(StagePage.java:121) at org.obiba.onyx.webapp.stage.panel.StageSelectionPanel$1.onActionPerformed(StageSelectionPanel.java:93) at org.obiba.onyx.wicket.action.ActionWindow$2.onClose(ActionWindow.java:60) 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 | Martin Boulanger
    java.lang.NullPointerException
  2. 0

    I found a bug in Onyx. The steps to reproduce this bug are: 1) Log into Onyx and start an interview 2) Complete the consent 3) Complete the blood pressure measurement 4) Start the arterial stiffness measurement 5) Restart the browser 6) Log into Onyx and go to the previous interview 7) Cancel arterial stiffness 8) Start arterial stiffness once again You will get the following crash: java.lang.NullPointerException at org.obiba.onyx.jade.core.service.impl.DefaultActiveInstrumentRunServiceImpl.hasContraindications(DefaultActiveInstrumentRunServiceImpl.java:415) at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy55.hasContraindications(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416) at org.apache.wicket.proxy.$Proxy59.hasContraindications(Unknown Source) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardForm.setUpWizardFlow(InstrumentWizardForm.java:85) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardForm.<init>(InstrumentWizardForm.java:74) at org.obiba.onyx.jade.core.wicket.JadePanel$1$1.<init>(JadePanel.java:64) at org.obiba.onyx.jade.core.wicket.JadePanel$1.createForm(JadePanel.java:64) at org.obiba.onyx.wicket.wizard.WizardPanel.<init>(WizardPanel.java:30) at org.obiba.onyx.jade.core.wicket.JadePanel$1.<init>(JadePanel.java:60) at org.obiba.onyx.jade.core.wicket.JadePanel.<init>(JadePanel.java:60) at org.obiba.onyx.jade.engine.state.JadeInProgressState.getWidget(JadeInProgressState.java:49) at org.obiba.onyx.engine.state.StageExecutionContext.getWidget(StageExecutionContext.java:177) at org.obiba.onyx.webapp.stage.page.StagePage.<init>(StagePage.java:121) at org.obiba.onyx.webapp.stage.panel.StageSelectionPanel$1.onActionPerformed(StageSelectionPanel.java:93) at org.obiba.onyx.wicket.action.ActionWindow$2.onClose(ActionWindow.java:60) 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 | Martin Boulanger
    java.lang.NullPointerException
  3. 0

    A npe occurs when the Jade stage sitting height is begun. This occurs in all cases for users with Roles other than SYSTEM_ADMINISTRATOR. For users with the Role of SYSTEM_ADMINISTRATOR the npe occurs occasionally, but not often. This seems to be a matter of chance -- in most case for the SYSTEM_ADMINISTRATOR the same DefaultActiveInstrumentRunServiceImpl is used. This may occur because one DefaultActiveInstrumentRunServiceImpl is loaded by Wicket annotations in InstrumentWizardForm. The other is loaded via Spring and is referenced in JadeInProgressState. I don't know that this is the cause, just that this is a difference in the way that DefaultActiveInstrumentRunServiceImpl is accessed. 2009-07-14 16:00:50,904 - INFO - tate.StageExecutionContext - castEvent(cancel) from stage 'SittingHeight' in state 'JadeInProgressState' 2009-07-14 16:01:03,447 - INFO - tate.StageExecutionContext - castEvent(start) from stage 'SittingHeight' in state 'JadeReadyState' 2009-07-14 16:01:03,508 - ERROR - apache.wicket.RequestCycle - java.lang.NullPointerException at org.obiba.onyx.jade.core.service.impl.DefaultActiveInstrumentRunServiceImpl.getInstrumentType(DefaultActiveInstrumentRunServiceImpl.java:105) at org.obiba.onyx.jade.core.service.impl.DefaultActiveInstrumentRunServiceImpl.getContraindications(DefaultActiveInstrumentRunServiceImpl.java:374) at org.obiba.onyx.jade.core.service.impl.DefaultActiveInstrumentRunServiceImpl.hasContraindications(DefaultActiveInstrumentRunServiceImpl.java:384) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy62.hasContraindications(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416) at org.apache.wicket.proxy.$Proxy67.hasContraindications(Unknown Source) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardForm.setUpWizardFlow(InstrumentWizardForm.java:244) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardForm.initStartStep(InstrumentWizardForm.java:491) 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:182) 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:347) 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.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) 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:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:865) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) 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:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)

    JIRA | 7 years ago | Tony DeBat
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    A npe occurs when the Jade stage sitting height is begun. This occurs in all cases for users with Roles other than SYSTEM_ADMINISTRATOR. For users with the Role of SYSTEM_ADMINISTRATOR the npe occurs occasionally, but not often. This seems to be a matter of chance -- in most case for the SYSTEM_ADMINISTRATOR the same DefaultActiveInstrumentRunServiceImpl is used. This may occur because one DefaultActiveInstrumentRunServiceImpl is loaded by Wicket annotations in InstrumentWizardForm. The other is loaded via Spring and is referenced in JadeInProgressState. I don't know that this is the cause, just that this is a difference in the way that DefaultActiveInstrumentRunServiceImpl is accessed. 2009-07-14 16:00:50,904 - INFO - tate.StageExecutionContext - castEvent(cancel) from stage 'SittingHeight' in state 'JadeInProgressState' 2009-07-14 16:01:03,447 - INFO - tate.StageExecutionContext - castEvent(start) from stage 'SittingHeight' in state 'JadeReadyState' 2009-07-14 16:01:03,508 - ERROR - apache.wicket.RequestCycle - java.lang.NullPointerException at org.obiba.onyx.jade.core.service.impl.DefaultActiveInstrumentRunServiceImpl.getInstrumentType(DefaultActiveInstrumentRunServiceImpl.java:105) at org.obiba.onyx.jade.core.service.impl.DefaultActiveInstrumentRunServiceImpl.getContraindications(DefaultActiveInstrumentRunServiceImpl.java:374) at org.obiba.onyx.jade.core.service.impl.DefaultActiveInstrumentRunServiceImpl.hasContraindications(DefaultActiveInstrumentRunServiceImpl.java:384) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy62.hasContraindications(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416) at org.apache.wicket.proxy.$Proxy67.hasContraindications(Unknown Source) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardForm.setUpWizardFlow(InstrumentWizardForm.java:244) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardForm.initStartStep(InstrumentWizardForm.java:491) 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:182) 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:347) 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.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) 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:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:865) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) 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:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)

    JIRA | 7 years ago | Tony DeBat
    java.lang.NullPointerException
  6. 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

    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.jade.core.service.impl.DefaultActiveInstrumentRunServiceImpl.hasContraindications()
    2. org.obiba.onyx
      DefaultActiveInstrumentRunServiceImpl.hasContraindications
      1. org.obiba.onyx.jade.core.service.impl.DefaultActiveInstrumentRunServiceImpl.hasContraindications(DefaultActiveInstrumentRunServiceImpl.java:415)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source)
      2. java.lang.reflect.Method.invoke(Unknown Source)
      2 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    5. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    7. Unknown
      $Proxy55.hasContraindications
      1. $Proxy55.hasContraindications(Unknown Source)
      1 frame
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Unknown Source)
      1 frame
    9. Wicket IoC common code
      $Proxy59.hasContraindications
      1. org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416)
      2. org.apache.wicket.proxy.$Proxy59.hasContraindications(Unknown Source)
      2 frames
    10. org.obiba.onyx
      ActionWindow$2.onClose
      1. org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardForm.setUpWizardFlow(InstrumentWizardForm.java:85)
      2. org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardForm.<init>(InstrumentWizardForm.java:74)
      3. org.obiba.onyx.jade.core.wicket.JadePanel$1$1.<init>(JadePanel.java:64)
      4. org.obiba.onyx.jade.core.wicket.JadePanel$1.createForm(JadePanel.java:64)
      5. org.obiba.onyx.wicket.wizard.WizardPanel.<init>(WizardPanel.java:30)
      6. org.obiba.onyx.jade.core.wicket.JadePanel$1.<init>(JadePanel.java:60)
      7. org.obiba.onyx.jade.core.wicket.JadePanel.<init>(JadePanel.java:60)
      8. org.obiba.onyx.jade.engine.state.JadeInProgressState.getWidget(JadeInProgressState.java:49)
      9. org.obiba.onyx.engine.state.StageExecutionContext.getWidget(StageExecutionContext.java:177)
      10. org.obiba.onyx.webapp.stage.page.StagePage.<init>(StagePage.java:121)
      11. org.obiba.onyx.webapp.stage.panel.StageSelectionPanel$1.onActionPerformed(StageSelectionPanel.java:93)
      12. org.obiba.onyx.wicket.action.ActionWindow$2.onClose(ActionWindow.java:60)
      12 frames
    11. Wicket Extensions
      ModalWindow$WindowClosedBehavior.respond
      1. org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow$WindowClosedBehavior.respond(ModalWindow.java:832)
      1 frame
    12. Wicket Core
      AbstractDefaultAjaxBehavior.onRequest
      1. org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297)
      1 frame
    13. org.apache.wicket
      BehaviorRequestTarget.processEvents
      1. org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100)
      1 frame
    14. Wicket Request
      AbstractRequestCycleProcessor.processEvents
      1. org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
      1 frame
    15. 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
    16. 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
    17. Hibernate
      OpenSessionInViewFilter.doFilterInternal
      1. org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
      1 frame
    18. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      1 frame
    19. 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
    20. 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
    21. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame