Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-5127

Fix infinite recursion problem w/ GlobalResourceLoaderServiceFactoryBean

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-5161treeNode.tag exhibits recursive tag problem on Linux in Jetty 7.4.1
      KULRICE-11863Fix JavaDoc Recursion
      KULRICE-2601BusinessObjectDictionaryServiceImpl.performForceUppercase susceptible to infinite recursion if cycles present in BO relationships
      KULRICE-4091Fix portlet iframe resizing problem
      KULRICE-7847Race condition in the getObject method of GlobalResourceLoaderServiceFactoryBean
      KULRICE-8211Potential Issue in BusClientFailoverProxy causing infinite loop
      KULRICE-11037GlobalResourceLoaderServiceFactoryBean - Need change to support @Autowired annotation
      KULRICE-10093Validation framework performance problem with writeMessagesForPage recursion
      KULRICE-12260Infinite loop in permission lookupable helper service
      KULRICE-5770XmlObjectSerializerServiceImpl has trouble w/ XStream 1.4.1 and CGLIB proxies
    • Rice Module:
      KNS
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      When I try to use the GlobalResourceLoaderServiceFactoryBean to get a handle on the BO service in KRMSSpringBeans.xml like so:

      <bean id="businessObjectService"
          class="org.kuali.rice.kns.config.GlobalResourceLoaderServiceFactoryBean">
          <property name="serviceName" value="businessObjectService" />
      </bean> 

      It blows the stack because the GlobalResourceLoaderServiceFactoryBean ends up calling itself infinitely recursively.

        Activity

        Hide
        Peter Giles (Inactive) added a comment -

        Added boolean member to keep track of if GRLSFB.getObject() is being invoked recursively, and if so it returns null.

        Show
        Peter Giles (Inactive) added a comment - Added boolean member to keep track of if GRLSFB.getObject() is being invoked recursively, and if so it returns null.
        Hide
        Rice-CI User (Inactive) added a comment -

        Integrated in rice-trunk-nightly #44 (See http://ci.rice.kuali.org/job/rice-trunk-nightly/44/)
        KULRICE-5127: Fix infinite recursion problem w/ GlobalResourceLoaderServiceFactoryBean

        Added boolean member to keep track of if GRLSFB.getObject() is being invoked recursively, and if so it returns null.

        Show
        Rice-CI User (Inactive) added a comment - Integrated in rice-trunk-nightly #44 (See http://ci.rice.kuali.org/job/rice-trunk-nightly/44/ ) KULRICE-5127 : Fix infinite recursion problem w/ GlobalResourceLoaderServiceFactoryBean Added boolean member to keep track of if GRLSFB.getObject() is being invoked recursively, and if so it returns null.
        Hide
        Jessica Coltrin (Inactive) added a comment -

        Closing since these items are now in the release notes.

        Show
        Jessica Coltrin (Inactive) added a comment - Closing since these items are now in the release notes.

          People

          • Assignee:
            Peter Giles (Inactive)
            Reporter:
            Peter Giles (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel