Commit 832bde20 authored by Evgeny Mandrikov's avatar Evgeny Mandrikov
Browse files

fix NPE in CheckMethodAdapter

parent 10816206
Pipeline #4433 failed with stage
in 5 minutes and 25 seconds
...@@ -457,7 +457,9 @@ public class CheckMethodAdapter extends MethodVisitor { ...@@ -457,7 +457,9 @@ public class CheckMethodAdapter extends MethodVisitor {
} catch (AnalyzerException e) { } catch (AnalyzerException e) {
throwError(analyzer, e); throwError(analyzer, e);
} }
accept(methodVisitor); if (methodVisitor != null) {
accept(methodVisitor);
}
} }
private void throwError(final Analyzer<BasicValue> analyzer, final Exception e) { private void throwError(final Analyzer<BasicValue> analyzer, final Exception e) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment