File tree Expand file tree Collapse file tree
base/src/main/java/proguard/analysis Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -532,7 +532,8 @@ private void initArgumentsAndReturnValue(Call call) {
532532
533533 call .setArguments (arguments );
534534
535- if (target .descriptor .getReturnType ().charAt (0 ) != TypeConstants .VOID
535+ if (target .descriptor != null
536+ && target .descriptor .getReturnType ().charAt (0 ) != TypeConstants .VOID
536537 && particularValueEvaluationSuccessful ) {
537538 call .setReturnValue (
538539 PartialEvaluatorUtils .getStackValue (
@@ -542,7 +543,8 @@ private void initArgumentsAndReturnValue(Call call) {
542543
543544 private List <Value > getArguments (
544545 CodeLocation location , MethodSignature invokedMethodSig , boolean isStaticCall ) {
545- if (invokedMethodSig .descriptor .getArgumentTypes () == null ) {
546+ if (invokedMethodSig .descriptor == null
547+ || invokedMethodSig .descriptor .getArgumentTypes () == null ) {
546548 log .warn ("Argument types list of {} is null!" , invokedMethodSig );
547549 return Collections .emptyList ();
548550 }
You can’t perform that action at this time.
0 commit comments