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

Tomáš Hurýn edited comment on NETBEANS-5125 at 12/21/20, 7:29 AM:
------------------------------------------------------------------

I've fixed it somehow in nb-javac lib, but I consider my fix as hotfix. I 
removed closing/nulling the discoveredProcs property from close() method and 
moved the code into setProcessors() method. Scanning runs without any error, it 
seams that files are scanned. But I wonder why the setProcessors() method is 
colled less time than close() method. It's not clear to me how it should work.

I put my (workarnoud) nb-javac libs here in the issue till the final solution 
is found (compiled by java 11)


was (Author: thur...@gmail.com):
I've fixed it somehow in nb-javac lib, but I consider my fix as hotfix. I 
removed closing/nulling the discoveredProcs property from close() method and 
moved the code into setProcessors() method. Scanning runs without any error, it 
seams that files are scanned. But I wonder why the setProcessors() method is 
colled less time than close() method. It's not clear to me how it should work.

I put my (workarnoud) nb-javac libs here in the issue till the final solution 
is found.

> NullPointerException in MultiPassCompileWorker
> ----------------------------------------------
>
>                 Key: NETBEANS-5125
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5125
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 12.2
>            Reporter: Tomáš Hurýn
>            Priority: Major
>         Attachments: gestures.txt, messages.txt, nb-javac-15-api.jar, 
> nb-javac-15-impl.jar, soap.zip
>
>
> Steps to reproduce:
>  * right click on main maven project and select Clean and build
>  * when build successfully completes scanning starts and throws an Exception
> On NB 12.1. works fine without any errors.



--
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