Bug 920042 - maven-plugin-tools: NullPointerException in MojoClassVisitor.visit()
Summary: maven-plugin-tools: NullPointerException in MojoClassVisitor.visit()
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: maven-plugin-tools
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 914173 927780
TreeView+ depends on / blocked
 
Reported: 2013-03-11 09:03 UTC by Mikolaj Izdebski
Modified: 2013-04-18 12:11 UTC (History)
5 users (show)

Fixed In Version: 3.1-10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-11 14:26:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mikolaj Izdebski 2013-03-11 09:03:07 UTC
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):
3.1-9

Additional info:
Reported upstream: http://jira.codehaus.org/browse/MPLUGIN-242

Comment 1 Mikolaj Izdebski 2013-03-11 11:45:31 UTC
Fixed in maven-plugin-tools-3.1-10

Comment 2 Mikolaj Izdebski 2013-03-11 14:26:59 UTC
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:
http://koji.fedoraproject.org/koji/buildinfo?buildID=401563


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