You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Lars Bruun-Hansen (Jira)" <ji...@apache.org> on 2020/02/01 10:25:00 UTC

[jira] [Comment Edited] (NETBEANS-3772) Netbeans hangs on projects background scan

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

Lars Bruun-Hansen edited comment on NETBEANS-3772 at 2/1/20 10:24 AM:
----------------------------------------------------------------------

[~gary002g]. The dump clearly shows that you are affected by NETBEANS-58. Your proxy is using SPNEGO authentication.

You may not have been affected on NetBeans 11.1 for a variety of reason, for example running it on an old version of JDK 8. But that has nothing to do with NetBeans 11.1 vs 11.2. You may also have had different settings in 11.1, for example you may have overridden the Proxy Settings in the IDE's option setting. Just guessing here.

Note: You may think that this has to do with "Project Scan" because that is where you notice that the IDE freezes. In fact it has nothing to do with "Project Scan", that is just a coincidence. When the IDE starts up it attempts to do an outbound HTTP connection to the NetBeans Update Center.  To check for new updates. It does this in a background thread. In order to do this it has to pass out through your corporate proxy (which uses SPNEGO authentication). This is where the deadlock happens and it freezes all of the IDE. Making the IDE not attempt any type of outbound HTTP connections is therefore clearly another type of workaround. 

Java 14 seems to be providing a solution as per the notes in NETBEANS-58. Other than that there are many other suggestions scattered across NETBEANS-58. If you have permission to set that darned registry key, {{allowtgtsessionkey}}, then that is really what I would go for if I was you.



was (Author: lbruun):
[~gary002g]. The dump clearly shows that you are affected by NETBEANS-58. Your proxy is using SPNEGO authentication.

You may not have been affected on NetBeans 11.1 for a variety of reason, for example running it on an old version of JDK 8. But that has nothing to do with NetBeans 11.1 vs 11.2. You may also have had different settings in 11.1, for example you may have overridden the Proxy Settings in the IDE's option setting. Just guessing here.

Java 14 seems to be providing a solution as per the notes in NETBEANS-58. Other than that there are many other suggestions scattered across NETBEANS-58. If you have permission to set that darned registry key, {{allowtgtsessionkey}}, then that is really what I would go for if I was you.


> Netbeans hangs on projects background scan
> ------------------------------------------
>
>                 Key: NETBEANS-3772
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3772
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 11.2
>         Environment: Dell Precision 5520
> Intel I7-7820; 2.9 GHz
> 32 GB RAM
> Windows 10 Enterprise 64 bit
> Oracle JDK-13.0.2
>            Reporter: Gary Greenberg
>            Priority: Blocker
>         Attachments: nb11-2.JPG, thread_dump.dmp
>
>
> Netbeans hangs right after the start during the projects background scan.
> Progress bar shows different figures ranging from 2% to 94%.
> It did not happened on NB 11.1 with JDK-1.8



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

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

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