Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-3326

Specification's Injection Points are not being resolved

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Resolved
    • 2.0.0-M9
    • 2.0.0
    • None
    • None

    Description

      when using types, as in

      public @interface Name {
      
          int MAX_LEN = 40;
      
          class Specification extends AbstractSpecification2<String> {
      
              @Inject
              private DomainModule.Configuration configuration;
      

      then the dependencies are not correctly injected into the Specification which will result in a NullPointerException (configuration is null).

      Attachments

        Issue Links

          Activity

            People

              hobrom Andi Huber
              mwhesse Martin Hesse
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: