Bug 920042 - maven-plugin-tools: NullPointerException in MojoClassVisitor.visit()
maven-plugin-tools: NullPointerException in MojoClassVisitor.visit()
Product: Fedora
Classification: Fedora
Component: maven-plugin-tools (Show other bugs)
Unspecified Unspecified
high Severity unspecified
: ---
: ---
Assigned To: Mikolaj Izdebski
Fedora Extras Quality Assurance
Depends On:
Blocks: 914173 927780
  Show dependency treegraph
Reported: 2013-03-11 05:03 EDT by Mikolaj Izdebski
Modified: 2013-04-18 08:11 EDT (History)
5 users (show)

See Also:
Fixed In Version: 3.1-10
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-03-11 10:26:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mikolaj Izdebski 2013-03-11 05:03:07 EDT
Description of problem:
Annotation scanner in maven-plugin-tools-annotations assumes that all Java classes have superclass. This is mostly true, but there is one exception - java.lang.Object.

If annotation scanner encounters a class with no super class (like java.lang.Object) it fails with NullPointerException in MojoClassVisitor.visit().

Version-Release number of selected component (if applicable):

Additional info:
Reported upstream: http://jira.codehaus.org/browse/MPLUGIN-242
Comment 1 Mikolaj Izdebski 2013-03-11 07:45:31 EDT
Fixed in maven-plugin-tools-3.1-10
Comment 2 Mikolaj Izdebski 2013-03-11 10:26:59 EDT
I believe that this bug is fixed in maven-plugin-tools-3.1-10,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:

Note You need to log in before you can comment on or make changes to this bug.