Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.NullPointerException: 	at org.obiba.onyx.ruby.core.domain.ParticipantTubeRegistration.getContraindications(ParticipantTubeRegistration.java:166)	at org.obiba.onyx.ruby.core.domain.ParticipantTubeRegistration.hasContraindications(ParticipantTubeRegistration.java:174)	at org.obiba.onyx.ruby.core.service.impl.ActiveTubeRegistrationServiceImpl.hasContraindications(ActiveTubeRegistrationServiceImpl.java:290)	at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)	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 undefined.$Proxy59.hasContraindications(Unknown Source)	at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)	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.$Proxy60.hasContraindications(Unknown Source)	at org.obiba.onyx.ruby.core.wicket.wizard.RubyWizardForm.setUpWizardFlow(RubyWizardForm.java:183)	at org.obiba.onyx.ruby.core.wicket.wizard.ValidationStep.onStepOutPrevious(ValidationStep.java:71)	at org.obiba.onyx.wicket.wizard.WizardForm.gotoPrevious(WizardForm.java:284)	at org.obiba.onyx.wicket.wizard.WizardForm.onPreviousClick(WizardForm.java:181)	at org.obiba.onyx.wicket.wizard.WizardForm$2.onClick(WizardForm.java:115)	at org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:65)	at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163)	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)