groovy

FactoryBuilderSupport throws NPE when registering a factory under special conditions

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.6.3
  • Fix Version/s: 1.6.4, 1.7-beta-1
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

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.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: