Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-194

Strange effects with springs @Configurable (AspectJ) and new compiler plugin version 3.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Critical
    • Resolution: Unresolved
    • 3.0
    • None
    • None
    • jdk 1.6.0_38, jdk 1.6.0_37

    Description

      I have no details I can only report the "effects" ..
      I have a maven project with compiler-plugin 2.5.1,
      aspectj-plugin 1.4, java 1.6 and a lot of @Configurable
      annotations in my code. Aspectj will decorate these classes
      so @Autowired dependencies injected during runtime.
      All is working fine.

      Now I switch to compiler-plugin 3.0 ... nothing else changed!

      Then "sometimes" I got NPE's because the injected service etc. are
      not available. I guess aspectj was not successfull. I have no
      errors etc. anywhere during build.

      Strang

      Attachments

        1. SO_AJ_MavenSoftExceptions.zip
          3 kB
          Alexander Kriegisch
        2. MCOMPILER-194.zip
          4 kB
          Michael Osipov

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ahoehma Andreas Höhmann
              Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: