Level 5
August 9, 2023
Solved
InvocationTargetException
- August 9, 2023
- 1 reply
- 600 views
I'm getting target invocation exception at this line of my code
Tag tag = resource.adaptTo(Tag.class);
The resource is not adapting to Tag tag is returning null.
resource is not returning null, but getting target invocation exception.