0
How can i check if the return value of Method.invoke is null?
I'm trying to get the getters methods of any class that are not null. The problem is that if use method.invok(class) it throws invokcationtargetExeption exceptions In this code it throws null pointer exceptions https://code.sololearn.com/c7W0Z8GoX9yu/?ref=app
1 Answer
0
Maybe this property are not initialized. Use the debugger of your IDE