Skip to content

CXF-8297 - Fix NPE in Aegis for generic array properties (e.g. T[]) - #3574

Merged
coheigea merged 1 commit into
mainfrom
coheigea/CXF-8927
Oct 14, 2026
Merged

coheigea merged 1 commit into
mainfrom
coheigea/CXF-8927

Conversation

@coheigea

Copy link
Copy Markdown
Contributor

TypeUtil.getTypeRelatedClass returned null for the component type of a
GenericArrayType whose component is a type variable or wildcard, which
then caused a NullPointerException in Array.newInstance when publishing
an endpoint. Resolve the component to its first upper bound instead
(Object if unbounded).

@coheigea
coheigea merged commit 7fb40bd into main Oct 14, 2026
5 checks passed
@coheigea
coheigea deleted the coheigea/CXF-8927 branch October 14, 2026 10:49
coheigea added a commit that referenced this pull request Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants