java.lang.RuntimeException: Failed computing: Computing[!$1 || $2,[$('CIPreliminaryQuestionnaire:CURRENTLY_PREGNANT_answered'), $('CIPreliminaryQuestionnaire:CURRENTLY_PREGNANT.N')]] : org.matheclipse.parser.client.eval.DoubleVariable cannot be cast to org.matheclipse.parser.client.eval.BooleanVariable

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 Etienne Morency-Bachand [X], 1 year ago
Failed computing: Computing[!$1 || $2,[$('CIPreliminaryQuestionnaire:CURRENTLY_PREGNANT_answered'), $('CIPreliminaryQuestionnaire:CURRENTLY_PREGNANT.N')]] : org.matheclipse.parser.client.eval.DoubleVariable cannot be cast to org.matheclipse.parser.client.eval.BooleanVariable
via JIRA by Etienne Morency-Bachand [X], 1 year ago
Failed computing: Computing[!$1 || $2,[$('CIPreliminaryQuestionnaire:CURRENTLY_PREGNANT_answered'), $('CIPreliminaryQuestionnaire:CURRENTLY_PREGNANT.N')]] : org.matheclipse.parser.client.eval.DoubleVariable cannot be cast to org.matheclipse.parser.client.eval.BooleanVariable
java.lang.RuntimeException: Failed computing: Computing[!$1 || $2,[$('CIPreliminaryQuestionnaire:CURRENTLY_PREGNANT_answered'), $('CIPreliminaryQuestionnaire:CURRENTLY_PREGNANT.N')]] : org.matheclipse.parser.client.eval.DoubleVariable cannot be cast to org.matheclipse.parser.client.eval.BooleanVariable
at org.matheclipse.parser.client.eval.DoubleEvaluator.evaluateNodeLogical(DoubleEvaluator.java:457)
at org.matheclipse.parser.client.eval.DoubleEvaluator.evaluateFunctionLogical(DoubleEvaluator.java:485)
at org.matheclipse.parser.client.eval.DoubleEvaluator.evaluateNodeLogical(DoubleEvaluator.java:454)
at org.obiba.onyx.math.impl.MathEclipseEvaluator$ExtendedDoubleEvaluator.evaluateFunction(MathEclipseEvaluator.java:180)
at org.matheclipse.parser.client.eval.DoubleEvaluator.evaluateNode(DoubleEvaluator.java:383)
at org.obiba.onyx.math.impl.MathEclipseEvaluator.evaluateBoolean(MathEclipseEvaluator.java:117)
at org.obiba.onyx.core.data.ComputingDataSource.getData(ComputingDataSource.java:77)
at org.obiba.onyx.quartz.core.engine.questionnaire.question.Question.isToBeAnswered(Question.java:192)
at org.obiba.onyx.quartz.core.service.impl.NavigationStrategySupport.hasQuestionToBeAnswered(NavigationStrategySupport.java:41)
at org.obiba.onyx.quartz.core.service.impl.DefaultNavigationStrategyImpl.getPageOnNext(DefaultNavigationStrategyImpl.java:105)
at org.obiba.onyx.quartz.core.service.impl.DefaultActiveQuestionnaireAdministrationServiceImpl.nextPage(DefaultActiveQuestionnaireAdministrationServiceImpl.java:192)
at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at undefined.$Proxy107.nextPage(Unknown Source)
at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:414)
at org.obiba.onyx.quartz.core.wicket.wizard.QuestionnaireWizardForm.getNextStep(QuestionnaireWizardForm.java:418)
at org.obiba.onyx.quartz.core.wicket.wizard.PageStepPanel.onStepOutNext(PageStepPanel.java:106)
at org.obiba.onyx.wicket.wizard.WizardForm.gotoNext(WizardForm.java:294)
at org.obiba.onyx.wicket.wizard.WizardForm.onNextSubmit(WizardForm.java:218)
at org.obiba.onyx.wicket.wizard.WizardForm$1.onSubmit(WizardForm.java:110)
at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:101)
at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:156)
at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:312)
at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1279)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1465)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:516)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:151)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)
at org.eclipse.jetty.server.Server.handle(Server.java:352)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1068)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:805)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.