[ https://issues.apache.org/jira/browse/SUREFIRE-2202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed SUREFIRE-2202. ------------------------------------ Resolution: Fixed Fixed with [5a0943805f7ef3da691bd4f39660346bfc7283d6|https://gitbox.apache.org/repos/asf?p=maven-surefire.git;a=commit;h=5a0943805f7ef3da691bd4f39660346bfc7283d6]. > NullPointerException if super class meets specific condition > ------------------------------------------------------------ > > Key: SUREFIRE-2202 > URL: https://issues.apache.org/jira/browse/SUREFIRE-2202 > Project: Maven Surefire > Issue Type: Bug > Components: TestNG support > Affects Versions: 3.1.2 > Reporter: Javier A. Ortiz > Assignee: Michael Osipov > Priority: Major > Fix For: 3.2.0 > > > Code is throwing a NPE when clazz.getSuperClass() returns null on the > previous iteration. > As per the JavaDocs: > {code:java} > If this {@code Class} represents either the {@code Object} class, an > interface, a primitive type, or void, then null is returned.{code} > Current code doesn't handle this case. -- This message was sent by Atlassian Jira (v8.20.10#820010)