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

via JIRA by Dwain Elson, 1 year ago
via JIRA by Dwain Elson, 1 year ago
java.lang.NullPointerException: 	at org.obiba.onyx.quartz.magma.QuestionnairePageMetricAlgorithm.(QuestionnairePageMetricAlgorithm.java:43)	at org.obiba.onyx.quartz.magma.QuestionnaireBeanResolver$1.apply(QuestionnaireBeanResolver.java:67)	at org.obiba.onyx.quartz.magma.QuestionnaireBeanResolver$1.apply(QuestionnaireBeanResolver.java:65)	at com.google.common.collect.Iterators$8.next(Iterators.java:697)	at com.google.common.collect.Iterators$8.next(Iterators.java:696)	at com.google.common.collect.Lists.newArrayList(Lists.java:132)	at com.google.common.collect.Lists.newArrayList(Lists.java:113)	at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:229)	at org.obiba.magma.ValueSequence.getValues(ValueSequence.java:49)	at org.obiba.magma.ValueSequence.getSize(ValueSequence.java:41)	at org.obiba.magma.xstream.converter.ValueSequenceConverter.marshal(ValueSequenceConverter.java:35)	at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:86)	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:145)	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:137)	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.visit(AbstractReflectionConverter.java:113)	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:129)	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:95)	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:54)	at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:86)	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:63)	at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)	at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:86)	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.visit(AbstractReflectionConverter.java:110)	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:129)	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:95)	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:54)	at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:86)	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)	at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98)	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38)	at com.thoughtworks.xstream.XStream.marshal(XStream.java:845)	at com.thoughtworks.xstream.XStream.marshal(XStream.java:834)	at com.thoughtworks.xstream.XStream.toXML(XStream.java:815)	at org.obiba.magma.datasource.fs.FsValueTableWriter$XStreamValueSetWriter.close(FsValueTableWriter.java:86)	at org.obiba.magma.datasource.fs.DatasourceCopier.copy(DatasourceCopier.java:112)	at org.obiba.onyx.engine.variable.export.OnyxDataExport.internalExport(OnyxDataExport.java:150)	at org.obiba.onyx.engine.variable.export.OnyxDataExport.exportInterviews(OnyxDataExport.java:105)	at WICKET_org.obiba.onyx.engine.variable.export.OnyxDataExport$$FastClassByCGLIB$$c7571da3.invoke()	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)	at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)	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.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)	at org.obiba.onyx.engine.variable.export.OnyxDataExport$$EnhancerByCGLIB$$657a070.exportInterviews()	at WICKET_org.obiba.onyx.engine.variable.export.OnyxDataExport$$FastClassByCGLIB$$c7571da3.invoke()	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)	at org.apache.wicket.proxy.LazyInitProxyFactory$CGLibInterceptor.intercept(LazyInitProxyFactory.java:319)	at WICKET_org.obiba.onyx.engine.variable.export.OnyxDataExport$$EnhancerByCGLIB$$702cd47f.exportInterviews()	at org.obiba.onyx.webapp.participant.page.ParticipantSearchPage$ActionFragment$3$1.onYesButtonClicked(ParticipantSearchPage.java:538)	at org.obiba.onyx.wicket.reusable.ConfirmationDialog$1.onClose(ConfirmationDialog.java:45)	at org.obiba.onyx.wicket.reusable.Dialog$7.onClose(Dialog.java:373)	at org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow$WindowClosedBehavior.respond(ModalWindow.java:936)	at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:299)	at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)	at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)	at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)	at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)	at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)	at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)	at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)	at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)	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)