You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2023/07/11 20:48:00 UTC
[jira] [Updated] (LANG-1697) TypeUtils getRawType throws a NullPointerException on Wildcard GenericArrayType and null
[ https://issues.apache.org/jira/browse/LANG-1697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory updated LANG-1697:
----------------------------------
Summary: TypeUtils getRawType throws a NullPointerException on Wildcard GenericArrayType and null (was: TypeUtils getRawType throws a NullPointerException on Wildcard GenericArrayType)
> TypeUtils getRawType throws a NullPointerException on Wildcard GenericArrayType and null
> -----------------------------------------------------------------------------------------
>
> Key: LANG-1697
> URL: https://issues.apache.org/jira/browse/LANG-1697
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.reflect.*
> Affects Versions: 3.12.0
> Reporter: Jan Arne Sparka
> Priority: Minor
> Attachments: TestClass.java
>
>
> When calling TypeUtils.getRawType(Type type, Type assigningType), with a GenericArrayType of a WildcardType it crashes with a NPE.
> Minimum viable example attached.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)