I tried to upgrade the asm-all-5.0.1 library to the latest version 7.2 and received a nullPointerException (line 774 of asm-52 & asm-72 files). I already successfully upgrade it to version 5.1 (https://issues.apache.org/jira/browse/NETBEANS-3341).
After adding logging to the Asm.java file and try every release of the asm library (see https://asm.ow2.io/versions.html) and compare their source code I find the change that cause the nullPointerException:
This change can be seen in the line 752 of the three files attached, this files are the starting up logs of the application.
My Asm.java fork:
Unfortunately I do not know nothing of Java bytecode manipulation nor the asm library to know what to do to upgrade this library.
My reason to update this library is for bug fixes, better support/code and better performance (https://asm.ow2.io/performance.html) .