Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Not version specific
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-11314ViewLifecycleTest Unit test failures Freemarker Exceptions in testTransactionView and testSanity
      KULRICE-10679Check freemarker fix in trunk
      KULRICE-9047Term maintenance freemarker exception
      KULRICE-12976AFT Failure LabsLookupSecurityTravelAuthorizationDocumentAuthorizedAft FreeMarker template error
      KULRICE-12779KSA Transaction: Expand section causes FreeMarker errors
      KULRICE-12802TableLayoutDetailsView throws Freemarker exception when opening detail view
      KULRICE-13208AFT Failure DemoTravelAuthorizationPessimisticLockingAft.testPessimisticLockingUnlockingOnDisapprove freemarker exception
      KULRICE-9659Deleting items selected in a KRAD collection without deleting the same items in getSelectedCollectionLines() causes FreeMarker error
      KULRICE-9477Freemarker error with column calculation and submit of maintenance document
      KULRICE-10532KRAD Demo Library Freemarker Exception in header.ftl
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      UIF Component
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      FreeMarker error running testTransactionView.

      2014-02-17 06:12:46,175 [main] u:/d: INFO  org.kuali.rice.krad.uif.lifecycle.ViewLifecycleBuild - performing finalize phase for
      view: TransactionView
      
      2014-02-17 06:12:46,195 [main] u:/d: WARN  org.kuali.rice.krad.uif.util.ObjectPropertyReference - java.lang.IllegalArgumentExcep
      tion: No property name 'chargeAmount' is readable or writable on class org.kuali.rice.krad.labs.transaction.TransactionForm
      
      2014-02-17 06:12:46,461 [main] u:/d: ERROR freemarker.log._Log4JLoggerFactory$Log4JLogger - Error executing FreeMarker template
      
      FreeMarker template error:
      freemarker.template.TemplateModelException: Method public org.springframework.web.servlet.support.BindStatus org.springframework
      .web.servlet.support.RequestContext.getBindStatus(java.lang.String) throws java.lang.IllegalStateException threw an exception wh
      en invoked on org.springframework.web.servlet.support.RequestContext object "org.springframework.web.servlet.support.RequestCont
      ext@6e1f6243" with arguments of types [java.lang.String,]. See cause exception.
              at freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:133)
              at freemarker.core.MethodCall._eval(MethodCall.java:98)
              at freemarker.core.Expression.eval(Expression.java:111)
              at freemarker.core.Assignment.accept(Assignment.java:106)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.IfBlock.accept(IfBlock.java:84)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.InlineTemplateUtils.invokeMacro(InlineTemplateUtils.java:140)
              at org.kuali.rice.krad.uif.freemarker.FreeMarkerInlineRenderUtils.renderTemplate(FreeMarkerInlineRenderUtils.java:215)
              at org.kuali.rice.krad.uif.freemarker.FreeMarkerTemplateAdaptor.accept(FreeMarkerTemplateAdaptor.java:57)
              at freemarker.core.InlineTemplateElement.accept(InlineTemplateElement.java:125)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.IfBlock.accept(IfBlock.java:84)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.IfBlock.accept(IfBlock.java:84)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Environment.visit(Environment.java:487)
              at freemarker.core.BodyInstruction.accept(BodyInstruction.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.InlineTemplateUtils.invokeMacro(InlineTemplateUtils.java:140)
              at org.kuali.rice.krad.uif.freemarker.FreeMarkerInlineRenderUtils.renderTemplate(FreeMarkerInlineRenderUtils.java:215)
              at org.kuali.rice.krad.uif.freemarker.RenderComponentTask.performLifecycleTask(RenderComponentTask.java:78)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycleTaskBase.run(ViewLifecycleTaskBase.java:117)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecyclePhaseBase.run(ViewLifecyclePhaseBase.java:190)
              at org.kuali.rice.krad.uif.lifecycle.SynchronousViewLifecycleProcessor.performPhase(SynchronousViewLifecycleProcessor.java:99)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycleBuild.runFinalizePhase(ViewLifecycleBuild.java:209)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycleBuild.run(ViewLifecycleBuild.java:77)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycle.encapsulateLifecycle(ViewLifecycle.java:140)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycle.buildView(ViewLifecycle.java:188)
              at org.kuali.rice.krad.web.controller.UifControllerHelper.prepareViewForRendering(UifControllerHelper.java:179)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycleTest.testFormView(ViewLifecycleTest.java:123)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycleTest.testTransactionView(ViewLifecycleTest.java:143)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
              at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
              at org.kuali.rice.krad.uif.util.ProcessLoggingUnitTest$1$1$1.call(ProcessLoggingUnitTest.java:67)
              at org.kuali.rice.krad.uif.util.ProcessLoggingUnitTest$1$1$1.call(ProcessLoggingUnitTest.java:1)
              at org.kuali.rice.krad.uif.util.ProcessLogger.follow(ProcessLogger.java:656)
              at org.kuali.rice.krad.uif.util.ProcessLogger.follow(ProcessLogger.java:614)
              at org.kuali.rice.krad.uif.util.ProcessLoggingUnitTest$1$1.evaluate(ProcessLoggingUnitTest.java:62)
              at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
              at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
              at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
              at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
              at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
              at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      Caused by: org.springframework.beans.NotReadablePropertyException: Invalid property 'chargeAmount' of bean class [org.kuali.rice.krad.labs.transaction.TransactionForm]: Bean property 'chargeAmount' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
              at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:707)
              at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:699)
              at org.springframework.web.servlet.support.BindStatus.<init>(BindStatus.java:147)
              at org.springframework.web.servlet.support.RequestContext.getBindStatus(RequestContext.java:735)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:912)
              at freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:103)
              ... 97 more
      2014-02-17 06:12:46,469 [main] u:/d: WARN  org.kuali.rice.krad.uif.lifecycle.ViewLifecycleTaskBase - Error in lifecycle phase RenderComponentTask InputFieldBase uqj7tf0
      
      java.lang.RuntimeException: Error invoking macro <#macro uif_text control field>
      <#local attributes = "size=\"\${control.size!}\"\r\n        class=\"\${control.styleClassesAsString!}\" \${control.simpleDataAttributes!} ">
      <#if control.tabIndex != 0><#local attributes = "\${attributes} tabindex=\"\${control.tabIndex!}\""></#if>
      <#if control.disabled><#local attributes = "\${attributes} disabled=\"disabled\""></#if>
      <#if control.readOnly || field.widgetInputOnly!false><#local attributes = "\${attributes} readonly=\"readonly\""></#if>
      <#if control.style?has_content><#local attributes = "\${attributes} style=\"\${control.style}\""></#if>
      <#if control.maxLength??><#local attributes = "\${attributes} maxlength=\"\${control.maxLength}\""></#if>
      <#if control.minLength??><#local attributes = "\${attributes} minLength=\"\${control.minLength}\""></#if>
      <#if field.disableNativeAutocomplete><#local attributes = "\${attributes} autocomplete=\"off\""></#if>
      <@spring.formInput id="\${control.id}" path="KualiForm.\${field.bindingInfo.bindingPath}" attributes="\${attributes}"/>
      <#if control.watermarkText?has_content><@krad.script value="createWatermark(\'\${control.id}\', \'\${control.watermarkText?js_string}\');"/></#if>
      <#-- render date picker widget --><@krad.template component=control.datePicker componentId="\${control.id}"/>
      <#if control.textExpand><@krad.script value="setupTextPopout(\'\${control.id}\', \'\${field.label!}\', \'\${(field.instructionalMessage.messageText?js_string)!}\', \'\${(field.constraintMessage.messageText?js_string)!}\');"/></#if>
      <@krad.disable control=field.control type="text"/>
      </#macro>
              at freemarker.core.InlineTemplateUtils.invokeMacro(InlineTemplateUtils.java:142)
              at org.kuali.rice.krad.uif.freemarker.FreeMarkerInlineRenderUtils.renderTemplate(FreeMarkerInlineRenderUtils.java:215)
              at org.kuali.rice.krad.uif.freemarker.FreeMarkerTemplateAdaptor.accept(FreeMarkerTemplateAdaptor.java:57)
              at freemarker.core.InlineTemplateElement.accept(InlineTemplateElement.java:125)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.IfBlock.accept(IfBlock.java:84)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.IfBlock.accept(IfBlock.java:84)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Environment.visit(Environment.java:487)
              at freemarker.core.BodyInstruction.accept(BodyInstruction.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.InlineTemplateUtils.invokeMacro(InlineTemplateUtils.java:140)
              at org.kuali.rice.krad.uif.freemarker.FreeMarkerInlineRenderUtils.renderTemplate(FreeMarkerInlineRenderUtils.java:215)
              at org.kuali.rice.krad.uif.freemarker.RenderComponentTask.performLifecycleTask(RenderComponentTask.java:78)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycleTaskBase.run(ViewLifecycleTaskBase.java:117)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecyclePhaseBase.run(ViewLifecyclePhaseBase.java:190)
              at org.kuali.rice.krad.uif.lifecycle.SynchronousViewLifecycleProcessor.performPhase(SynchronousViewLifecycleProcessor.java:99)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycleBuild.runFinalizePhase(ViewLifecycleBuild.java:209)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycleBuild.run(ViewLifecycleBuild.java:77)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycle.encapsulateLifecycle(ViewLifecycle.java:140)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycle.buildView(ViewLifecycle.java:188)
              at org.kuali.rice.krad.web.controller.UifControllerHelper.prepareViewForRendering(UifControllerHelper.java:179)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycleTest.testFormView(ViewLifecycleTest.java:123)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycleTest.testTransactionView(ViewLifecycleTest.java:143)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
              at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
              at org.kuali.rice.krad.uif.util.ProcessLoggingUnitTest$1$1$1.call(ProcessLoggingUnitTest.java:67)
              at org.kuali.rice.krad.uif.util.ProcessLoggingUnitTest$1$1$1.call(ProcessLoggingUnitTest.java:1)
              at org.kuali.rice.krad.uif.util.ProcessLogger.follow(ProcessLogger.java:656)
              at org.kuali.rice.krad.uif.util.ProcessLogger.follow(ProcessLogger.java:614)
              at org.kuali.rice.krad.uif.util.ProcessLoggingUnitTest$1$1.evaluate(ProcessLoggingUnitTest.java:62)
              at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
              at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
              at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
              at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
              at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
              at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      Caused by: freemarker.template.TemplateModelException: Method public org.springframework.web.servlet.support.BindStatus org.springframework.web.servlet.support.RequestContext.getBindStatus(java.lang.String) throws java.lang.IllegalStateException threw an exception when invoked on org.springframework.web.servlet.support.RequestContext object "org.springframework.web.servlet.support.RequestContext@6e1f6243" with arguments of types [java.lang.String,]. See cause exception.
              at freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:133)
              at freemarker.core.MethodCall._eval(MethodCall.java:98)
              at freemarker.core.Expression.eval(Expression.java:111)
              at freemarker.core.Assignment.accept(Assignment.java:106)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.IfBlock.accept(IfBlock.java:84)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.InlineTemplateUtils.invokeMacro(InlineTemplateUtils.java:140)
              ... 74 more
      Caused by: org.springframework.beans.NotReadablePropertyException: Invalid property 'chargeAmount' of bean class [org.kuali.rice.krad.labs.transaction.TransactionForm]: Bean property 'chargeAmount' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
              at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:707)
              at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:699)
              at org.springframework.web.servlet.support.BindStatus.<init>(BindStatus.java:147)
              at org.springframework.web.servlet.support.RequestContext.getBindStatus(RequestContext.java:735)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:912)
              at freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:103)
              ... 97 more
      2014-02-17 06:12:46,473 [main] u:/d: WARN  org.kuali.rice.krad.uif.lifecycle.ViewLifecyclePhaseBase - Error in lifecycle phase Model: TransactionForm
      Processed? false
      RenderComponentPhase 997184562 currentPage.items[1].items[0].addLineItems[1] InputFieldBase uqj7tf0 -1
      Predecessor Phases:
          RenderComponentPhase 718552346 currentPage.items[1].items[0].addLineItems[1].inquiry Inquiry umfqohj -1
          RenderComponentPhase 1408732141 currentPage.items[1].items[0].addLineItems[1].inquiry.inquiryLink Link uaf9xtl -1
          RenderComponentPhase 553885612 currentPage.items[1].items[0].addLineItems[1].inquiry.inquiryLink.lightBox LightBox u1zfnsb -1
          FinalizeComponentPhase 1961354786 currentPage.items[1].items[0].addLineItems[1].inquiry.inquiryLink.lightBox LightBox u1zfnsb -1
          FinalizeComponentPhase 615906852 currentPage.items[1].items[0].addLineItems[1].inquiry.inquiryLink Link uaf9xtl -1
          FinalizeComponentPhase 675283024 currentPage.items[1].items[0].addLineItems[1].inquiry Inquiry umfqohj -1
          FinalizeComponentPhase 30709973 currentPage.items[1].items[0].addLineItems[1] InputFieldBase uqj7tf0 -1
          FinalizeComponentPhase 746440931 currentPage.items[1].items[0] CollectionGroupBase rollupList1 -1
          FinalizeComponentPhase 1980745190 currentPage.items[1] GroupBase u14jg6yk -1
          FinalizeComponentPhase 92912536 currentPage PageGroupBase RollUpTransactions1 -1
          FinalizeComponentPhase 360381183  FormView TransactionView -1
      
      java.lang.RuntimeException: Error invoking macro <#macro uif_text control field>
      <#local attributes = "size=\"\${control.size!}\"\r\n        class=\"\${control.styleClassesAsString!}\" \${control.simpleDataAttributes!} ">
      <#if control.tabIndex != 0><#local attributes = "\${attributes} tabindex=\"\${control.tabIndex!}\""></#if>
      <#if control.disabled><#local attributes = "\${attributes} disabled=\"disabled\""></#if>
      <#if control.readOnly || field.widgetInputOnly!false><#local attributes = "\${attributes} readonly=\"readonly\""></#if>
      <#if control.style?has_content><#local attributes = "\${attributes} style=\"\${control.style}\""></#if>
      <#if control.maxLength??><#local attributes = "\${attributes} maxlength=\"\${control.maxLength}\""></#if>
      <#if control.minLength??><#local attributes = "\${attributes} minLength=\"\${control.minLength}\""></#if>
      <#if field.disableNativeAutocomplete><#local attributes = "\${attributes} autocomplete=\"off\""></#if>
      <@spring.formInput id="\${control.id}" path="KualiForm.\${field.bindingInfo.bindingPath}" attributes="\${attributes}"/>
      <#if control.watermarkText?has_content><@krad.script value="createWatermark(\'\${control.id}\', \'\${control.watermarkText?js_string}\');"/></#if>
      <#-- render date picker widget --><@krad.template component=control.datePicker componentId="\${control.id}"/>
      <#if control.textExpand><@krad.script value="setupTextPopout(\'\${control.id}\', \'\${field.label!}\', \'\${(field.instructionalMessage.messageText?js_string)!}\', \'\${(field.constraintMessage.messageText?js_string)!}\');"/></#if>
      <@krad.disable control=field.control type="text"/>
      </#macro>
              at freemarker.core.InlineTemplateUtils.invokeMacro(InlineTemplateUtils.java:142)
              at org.kuali.rice.krad.uif.freemarker.FreeMarkerInlineRenderUtils.renderTemplate(FreeMarkerInlineRenderUtils.java:215)
              at org.kuali.rice.krad.uif.freemarker.FreeMarkerTemplateAdaptor.accept(FreeMarkerTemplateAdaptor.java:57)
              at freemarker.core.InlineTemplateElement.accept(InlineTemplateElement.java:125)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.IfBlock.accept(IfBlock.java:84)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.IfBlock.accept(IfBlock.java:84)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Environment.visit(Environment.java:487)
              at freemarker.core.BodyInstruction.accept(BodyInstruction.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.InlineTemplateUtils.invokeMacro(InlineTemplateUtils.java:140)
              at org.kuali.rice.krad.uif.freemarker.FreeMarkerInlineRenderUtils.renderTemplate(FreeMarkerInlineRenderUtils.java:215)
              at org.kuali.rice.krad.uif.freemarker.RenderComponentTask.performLifecycleTask(RenderComponentTask.java:78)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycleTaskBase.run(ViewLifecycleTaskBase.java:117)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecyclePhaseBase.run(ViewLifecyclePhaseBase.java:190)
              at org.kuali.rice.krad.uif.lifecycle.SynchronousViewLifecycleProcessor.performPhase(SynchronousViewLifecycleProcessor.java:99)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycleBuild.runFinalizePhase(ViewLifecycleBuild.java:209)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycleBuild.run(ViewLifecycleBuild.java:77)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycle.encapsulateLifecycle(ViewLifecycle.java:140)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycle.buildView(ViewLifecycle.java:188)
              at org.kuali.rice.krad.web.controller.UifControllerHelper.prepareViewForRendering(UifControllerHelper.java:179)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycleTest.testFormView(ViewLifecycleTest.java:123)
              at org.kuali.rice.krad.uif.lifecycle.ViewLifecycleTest.testTransactionView(ViewLifecycleTest.java:143)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
              at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
              at org.kuali.rice.krad.uif.util.ProcessLoggingUnitTest$1$1$1.call(ProcessLoggingUnitTest.java:67)
              at org.kuali.rice.krad.uif.util.ProcessLoggingUnitTest$1$1$1.call(ProcessLoggingUnitTest.java:1)
              at org.kuali.rice.krad.uif.util.ProcessLogger.follow(ProcessLogger.java:656)
              at org.kuali.rice.krad.uif.util.ProcessLogger.follow(ProcessLogger.java:614)
              at org.kuali.rice.krad.uif.util.ProcessLoggingUnitTest$1$1.evaluate(ProcessLoggingUnitTest.java:62)
              at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
              at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
              at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
              at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
              at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
              at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      Caused by: freemarker.template.TemplateModelException: Method public org.springframework.web.servlet.support.BindStatus org.springframework.web.servlet.support.RequestContext.getBindStatus(java.lang.String) throws java.lang.IllegalStateException threw an exception when invoked on org.springframework.web.servlet.support.RequestContext object "org.springframework.web.servlet.support.RequestContext@6e1f6243" with arguments of types [java.lang.String,]. See cause exception.
              at freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:133)
              at freemarker.core.MethodCall._eval(MethodCall.java:98)
              at freemarker.core.Expression.eval(Expression.java:111)
              at freemarker.core.Assignment.accept(Assignment.java:106)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.IfBlock.accept(IfBlock.java:84)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.InlineTemplateUtils.invokeMacro(InlineTemplateUtils.java:140)
              ... 74 more
      Caused by: org.springframework.beans.NotReadablePropertyException: Invalid property 'chargeAmount' of bean class [org.kuali.rice.krad.labs.transaction.TransactionForm]: Bean property 'chargeAmount' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
              at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:707)
              at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:699)
              at org.springframework.web.servlet.support.BindStatus.<init>(BindStatus.java:147)
              at org.springframework.web.servlet.support.RequestContext.getBindStatus(RequestContext.java:735)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:912)
              at freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:103)
              ... 97 more
      2014-02-17 06:12:46,478 [main] u:/d: INFO  org.kuali.rice.krad.uif.util.ProcessLogger - KRAD Process Trace (test): Test Run testTransactionView
        at org.kuali.rice.krad.uif.util.ProcessLoggingUnitTest$1$1.evaluate(ProcessLoggingUnitTest.java:62)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      Initial Memory Usage: 823.145M/917.500M/2.642G - 89% free
      view:init:TransactionView...............00:00.088 00:00.088 823.145M 0
      view:getBean............................00:00.022 00:00.110 807.823M -15.321M
      view:preProcess.........................00:00.011 00:00.121 807.823M 0
      view:preventModification................00:00.017 00:00.138 807.823M 0
      view:init:TransactionView...............00:00.152 00:00.290 777.178M -30.643M
      view:getBean............................00:00.028 00:00.318 777.178M 0
      view:preProcess.........................00:00.010 00:00.328 761.856M -15.322M
      view:preventModification................00:00.017 00:00.345 761.856M 0
      view:dev-mode...........................00:00.001 00:00.346 761.856M 0
      begin-view-lifecycle:TransactionView....00:00.153 00:00.499 731.212M -30.643M
      initialize:TransactionView..............00:00.013 00:00.512 731.212M 0
      apply-model:TransactionView.............00:00.371 00:00.883 685.246M -45.965M
      Processing Complete.....................00:00.301 00:01.184 654.600M -30.644M
      Counters:
        lc-task-PRE_PROCESS: 1258 (00:00.000/00:00.001/00:00.000)
          longest : org.kuali.rice.krad.uif.lifecycle.initialize.AssignIdsTask org.kuali.rice.krad.uif.lifecycle.PreProcessElementPhase org.kuali.rice.krad.uif.layout.BoxLayoutManager uj84u2e
        bean-property-read: 26320 (00:00.000/00:00.006/00:00.000)
          longest : TransactionForm:rollupTransactions
        lc-task-INITIALIZE: 1862 (00:00.000/00:00.003/00:00.000)
          longest : org.kuali.rice.krad.uif.lifecycle.initialize.ComponentDefaultInitializeTask org.kuali.rice.krad.uif.lifecycle.InitializeComponentPhase org.kuali.rice.krad.uif.container.CollectionGroupBase rollupList1
        lc-task-APPLY_MODEL: 2919 (00:00.000/00:00.280/00:00.000)
          longest : org.kuali.rice.krad.uif.lifecycle.model.ComponentDefaultApplyModelTask org.kuali.rice.krad.uif.lifecycle.ApplyModelComponentPhase org.kuali.rice.krad.uif.container.CollectionGroupBase rollupList1
        bean-property-write: 478 (00:00.000/00:00.001/00:00.000)
          longest : Action:readOnly
        lc-task-FINALIZE: 2053 (00:00.000/00:00.009/00:00.000)
          longest : org.kuali.rice.krad.uif.lifecycle.finalize.ComponentDefaultFinalizeTask org.kuali.rice.krad.uif.lifecycle.FinalizeComponentPhase org.kuali.rice.krad.uif.widget.RichTable u1g7r99w
        lc-task-RENDER: 189 (00:00.000/00:00.042/00:00.000)
          longest : org.kuali.rice.krad.uif.freemarker.RenderComponentTask org.kuali.rice.krad.uif.lifecycle.RenderComponentPhase org.kuali.rice.krad.uif.field.InputFieldBase u1q48g7h
        render: 1 (00:00.001/00:00.001/00:00.001)
          longest : org.kuali.rice.krad.labs.transaction.TransactionForm
      Elapsed Time: 00:01.184
      Memory Usage: 654.600M/917.500M/2.642G - 71% free
      Memory Delta: -168.543M/917.500M/2.642G - -18% free - tot delta: 0
      
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jeff Covey (Inactive)
            Reporter:
            Mark Fyffe (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel