org.kuali.rice.krms.api.engine.IncompatibleTypeException: Could not compare values for operator org.kuali.rice.krms.framework.engine.expression.DefaultComparisonOperator@3c876818 -> Type should have been one of [java.lang.String] but was java.lang.Boolean

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 Kuali JIRA by Eric Westfall, 1 year ago
Could not compare values for operator org.kuali.rice.krms.framework.engine.expression.DefaultComparisonOperator@3c876818 -> Type should have been one of [java.lang.String] but was java.lang.Boolean
via Kuali JIRA by Eric Westfall, 1 year ago
Could not compare values for operator org.kuali.rice.krms.framework.engine.expression.DefaultComparisonOperator@3c876818 -> Type should have been one of [java.lang.String] but was java.lang.Boolean
org.kuali.rice.krms.api.engine.IncompatibleTypeException: Could not compare values for operator org.kuali.rice.krms.framework.engine.expression.DefaultComparisonOperator@3c876818 -> Type should have been one of [java.lang.String] but was java.lang.Boolean
at org.kuali.rice.krms.framework.engine.expression.DefaultComparisonOperator.coerceRhs(DefaultComparisonOperator.java:97)
at org.kuali.rice.krms.framework.engine.expression.DefaultComparisonOperator.compare(DefaultComparisonOperator.java:47)
at org.kuali.rice.krms.framework.engine.expression.ComparisonOperatorServiceImpl.compare(ComparisonOperatorServiceImpl.java:86)
at org.kuali.rice.krms.framework.engine.expression.ComparisonOperator.compare(ComparisonOperator.java:114)
at org.kuali.rice.krms.framework.engine.expression.BinaryOperatorExpression.invoke(BinaryOperatorExpression.java:48)
at org.kuali.rice.krms.framework.engine.expression.BinaryOperatorExpression.invoke(BinaryOperatorExpression.java:26)
at org.kuali.rice.krms.framework.engine.expression.BooleanValidatingExpression.invoke(BooleanValidatingExpression.java:41)
at org.kuali.rice.krms.framework.engine.expression.BooleanValidatingExpression.invoke(BooleanValidatingExpression.java:27)
at org.kuali.rice.krms.framework.engine.expression.ExpressionBasedProposition.evaluate(ExpressionBasedProposition.java:44)
at org.kuali.rice.krms.impl.provider.repository.LazyProposition.evaluate(LazyProposition.java:52)
at org.kuali.rice.krms.framework.engine.CompoundProposition.evaluateInner(CompoundProposition.java:92)
at org.kuali.rice.krms.framework.engine.CompoundProposition.evaluate(CompoundProposition.java:63)
at org.kuali.rice.krms.impl.provider.repository.LazyProposition.evaluate(LazyProposition.java:52)
at org.kuali.rice.krms.framework.engine.BasicRule.evaluate(BasicRule.java:64)
at org.kuali.rice.krms.impl.provider.repository.LazyRule.evaluate(LazyRule.java:53)
at org.kuali.rice.krms.framework.engine.BasicAgendaTreeEntry.execute(BasicAgendaTreeEntry.java:59)
at org.kuali.rice.krms.framework.engine.BasicAgendaTree.execute(BasicAgendaTree.java:55)
at org.kuali.rice.krms.impl.provider.repository.LazyAgendaTree.execute(LazyAgendaTree.java:43)
at org.kuali.rice.krms.framework.engine.BasicAgenda.execute(BasicAgenda.java:46)
at org.kuali.rice.krms.framework.engine.BasicContext.execute(BasicContext.java:51)
at org.kuali.rice.krms.framework.engine.ProviderBasedEngine.execute(ProviderBasedEngine.java:68)
at train.krms.test.RuleTest.testPatronInBadStanding(RuleTest.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)

Users with the same issue

You are the first who have seen this exception.

Write tip

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