org.kuali.student.r2.common.exceptions.OperationFailedException: Generating template failed: template='Students admitted to $NLHelper.getCluOrCluSetAsLongNames($programClu,$programCluSet) may take no more than $intValue $NLHelper.getProperGrammar($intValue, "course") in the $org.getLongName() in $duration $NLHelper.getProperGrammar($duration, $durationType.getName()).toLowerCase()', contextMap={duration=1, durationType=null, org=org.kuali.student.r1.core.organization.dto.OrgInfo@3f224eff, NLHelper=class org.kuali.student.lum.statement.config.context.util.NLHelper, intValue=2, fields={kuali.reqComponent.field.type.durationType.id=kuali.atp.duration.Year, kuali.reqComponent.field.type.value.positive.integer=2, kuali.reqComponent.field.type.org.id=50, kuali.reqComponent.field.type.program.clu.id=CLU-NL-PROGRAM-1, kuali.reqComponent.field.type.duration=1}}

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 Nina Gelderbloem, 1 year ago
Generating template failed: template='Students admitted to $NLHelper.getCluOrCluSetAsLongNames($programClu,$programCluSet) may take no more than $intValue $NLHelper.getProperGrammar($intValue, "course") in the $org.getLongName() in $duration
via Kuali JIRA by Nina Gelderbloem, 1 year ago
Generating template failed: template='Students admitted to $NLHelper.getCluOrCluSetAsLongNames($programClu,$programCluSet) may take no more than $intValue $NLHelper.getProperGrammar($intValue, "course") in the $org.getLongName() in $duration
org.kuali.student.r2.common.exceptions.OperationFailedException: Generating template failed: template='Students admitted to $NLHelper.getCluOrCluSetAsLongNames($programClu,$programCluSet) may take no more than $intValue $NLHelper.getProperGrammar($intValue, "course") in the $org.getLongName() in $duration $NLHelper.getProperGrammar($duration, $durationType.getName()).toLowerCase()', contextMap={duration=1, durationType=null, org=org.kuali.student.r1.core.organization.dto.OrgInfo@3f224eff, NLHelper=class org.kuali.student.lum.statement.config.context.util.NLHelper, intValue=2, fields={kuali.reqComponent.field.type.durationType.id=kuali.atp.duration.Year, kuali.reqComponent.field.type.value.positive.integer=2, kuali.reqComponent.field.type.org.id=50, kuali.reqComponent.field.type.program.clu.id=CLU-NL-PROGRAM-1, kuali.reqComponent.field.type.duration=1}}
at org.kuali.student.lum.statement.config.context.util.NLHelper.getCluOrCluSetAsLongNames(NLHelper.java:44)
at org.kuali.student.lum.statement.config.context.util.NLHelper.getCluOrCluSetAsLongNames(NLHelper.java:37)
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.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.RuntimeInstance.render(RuntimeInstance.java:1277)
at org.apache.velocity.runtime.RuntimeInstance.evaluate(RuntimeInstance.java:1216)
at org.kuali.student.common.util.VelocityTemplateEngine.evaluate(VelocityTemplateEngine.java:187)
at org.kuali.student.common.util.VelocityTemplateEngine.evaluate(VelocityTemplateEngine.java:162)
at org.kuali.student.r1.core.statement.naturallanguage.translators.TemplateTranslator.translate(TemplateTranslator.java:48)
at org.kuali.student.r1.core.statement.naturallanguage.translators.ReqComponentTranslator.translate(ReqComponentTranslator.java:121)
at org.kuali.student.r1.core.statement.naturallanguage.translators.NaturalLanguageTranslatorImpl.translateReqComponent(NaturalLanguageTranslatorImpl.java:98)
at org.kuali.student.r1.core.statement.service.impl.StatementServiceImpl.getNaturalLanguageForReqComponent(StatementServiceImpl.java:245)
at org.kuali.student.r1.core.statement.service.impl.StatementServiceImpl$$FastClassByCGLIB$$fadbd285.invoke()
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.kuali.student.r1.core.statement.service.impl.StatementServiceImpl$$EnhancerByCGLIB$$d806ed5a.getNaturalLanguageForReqComponent()
at org.kuali.student.lum.statement.service.impl.TestStatementServiceImplForCourse.testGetNaturalLanguageForReqComponentType_kuali_reqComponent_type_course_program_admitted_org_duration_ProgramAsClu(TestStatementServiceImplForCourse.java:262)
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.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
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 undefined.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:74)

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.