Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3632

NullPointerException in AnnotProxyFieldValueFactory for singletons

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5-RC3
    • 1.5-RC4
    • wicket
    • None

    Description

      We use SingletonBeanRegistry.registerSingleton to manually register some singletons in spring. When these are injected with @SpringBean, AnnotProxyFieldValueFactory gives a NPE on line 191, because getBeanDefinition returns null. This used to work with 1.4.

      Attachments

        Activity

          People

            Unassigned Unassigned
            papegaaij Emond Papegaaij
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: