[
https://issues.apache.org/jira/browse/MCOMPILER-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16403538#comment-16403538
]
Michael Osipov edited comment on MCOMPILER-194 at 3/17/18 4:49 PM:
-------------------------------------------------------------------
Friends, I have found it. The cause at least. I did a {{git bisect}} and
reached commit
[cf198a6cfd8e12c4a58db3a68580d0bf5c0df985|https://gitbox.apache.org/repos/asf?p=maven-compiler-plugin.git;a=commitdiff;h=cf198a6cfd8e12c4a58db3a68580d0bf5c0df985]
which is related to MCOMPILER-21, but WTF, this issue has been closed as won't
fix. Very bad that something like this can sneak into the code.
What now?
was (Author: michael-o):
Friends, I have found it. The cause at least. I did a {{git bisect}} and
reached commit
[cf198a6cfd8e12c4a58db3a68580d0bf5c0df985|https://gitbox.apache.org/repos/asf?p=maven-compiler-plugin.git;a=commitdiff;h=cf198a6cfd8e12c4a58db3a68580d0bf5c0df985]
which is related to MCOMPILER-21, but WTF, this issue has been closed as won't
fix.
What now?
> Strange effects with springs @Configurable (AspectJ) and new compiler plugin
> version 3.0
> ----------------------------------------------------------------------------------------
>
> Key: MCOMPILER-194
> URL: https://issues.apache.org/jira/browse/MCOMPILER-194
> Project: Maven Compiler Plugin
> Issue Type: Bug
> Affects Versions: 3.0
> Environment: jdk 1.6.0_38, jdk 1.6.0_37
> Reporter: Andreas Höhmann
> Priority: Blocker
> Attachments: SO_AJ_MavenSoftExceptions.zip
>
>
> 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 :)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)