Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3607

FactoryBuilderSupport throws NPE when registering a factory under special conditions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.3
    • 1.6.4, 1.7-beta-1
    • None
    • None

    Description

      The bug was found with Griffon's Addon feature. An Addon may contribute factories, methods and properties to UberBuilder, a child of FBS. FBS assumes a registration group related to the addon's name already exists when the register calls are made, the problem is that there is no such group! registration groups are created when a new builder instance is available only.

      FBS should make sure that a non-null registration group si available always.

      Attachments

        Activity

          People

            aalmiray Andres Almiray
            aalmiray Andres Almiray
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: