[ 
https://issues.apache.org/jira/browse/NETBEANS-3346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16968645#comment-16968645
 ] 

Svatopluk Dedic commented on NETBEANS-3346:
-------------------------------------------

Interesting, the NPE occurs at 

    at org.netbeans.core.startup.Asm.delegateToFactory(Asm.java:461)-

but 
[https://github.com/apache/netbeans/blob/master/platform/core.startup/src/org/netbeans/core/startup/Asm.java]

had never > 430 lines ?

> Upgrade asm-all jar to asm 7.2
> ------------------------------
>
>                 Key: NETBEANS-3346
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3346
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: java - Platform
>    Affects Versions: Next, 11.3
>         Environment: Fedora 31 & JDK Zulu 11.0.5
>            Reporter: Jose
>            Priority: Minor
>         Attachments: asm-51.log, asm-52.log, asm-72.log
>
>
> 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:
>  
> [https://gitlab.ow2.org/asm/asm/issues/317626]
>  
> 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:
>  
> [https://github.com/pepness/incubator-netbeans/commit/c886770c0f90546020a24c93362357d3d351bcf5#diff-78005b879fd4d928c74ae21edf93ebafR360]
>  
> 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)] .



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to