Re: Project open hangs

2022-03-24 Thread antonio
D'oh, I missed the "getNextEvent" part in the thread! This is Swing 
waiting for next events, which is normal.


What was the behaviour of the IDE on this stack trace? Why do you say 
that "it hangs"?


Thanks,
Antonio

El 23/3/22 a las 20:09, antonio escribió:

[2]
"AWT-EventQueue-0" #20 prio=6 os_prio=15 cpu=5912.93ms elapsed=139.99s 
tid=0x00082c06c800 nid=0x36285 waiting on condition 
[0x7fffddfdd000]

    java.lang.Thread.State: WAITING (parking)
 at jdk.internal.misc.Unsafe.park(java.base@11.0.14/Native Method)
 - parking to wait for  <0x0010019c3660> (a 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
 at 
java.util.concurrent.locks.LockSupport.park(java.base@11.0.14/LockSupport.java:194) 

 at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@11.0.14/AbstractQueuedSynchronizer.java:2081) 

 at 
java.awt.EventQueue.getNextEvent(java.desktop@11.0.14/EventQueue.java:566)


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

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



Re: Project open hangs

2022-03-23 Thread antonio



This looks like a JDK bug.

If you invoke javax.swing.JFileChooser.showOpenDialog you don't expect 
the thread (invoking JDK classes, not Netbeans' classes) to get stuck in 
a "WAITING" (parking) condition, I think. [2]


It seems people is reporting similar hangs in different applications 
[1], with similar JDKs (java.base@11.0.14).


Any chances to upgrade your JDK?

Cheers,
Antonio

[1]
IntelliJ Idea
https://intellij-support.jetbrains.com/hc/en-us/community/posts/4419533666962-Remote-Development-max-out-CPU-Need-server-reboot-to-close-all-threads

NSA ghidra.
https://github.com/NationalSecurityAgency/ghidra/issues/3916

[2]
"AWT-EventQueue-0" #20 prio=6 os_prio=15 cpu=5912.93ms elapsed=139.99s 
tid=0x00082c06c800 nid=0x36285 waiting on condition 
[0x7fffddfdd000]

   java.lang.Thread.State: WAITING (parking)
at jdk.internal.misc.Unsafe.park(java.base@11.0.14/Native Method)
	- parking to wait for  <0x0010019c3660> (a 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at 
java.util.concurrent.locks.LockSupport.park(java.base@11.0.14/LockSupport.java:194)
	at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@11.0.14/AbstractQueuedSynchronizer.java:2081)
	at 
java.awt.EventQueue.getNextEvent(java.desktop@11.0.14/EventQueue.java:566)
	at 
java.awt.EventDispatchThread.pumpOneEventForFilters(java.desktop@11.0.14/EventDispatchThread.java:190)
	at 
java.awt.EventDispatchThread.pumpEventsForFilter(java.desktop@11.0.14/EventDispatchThread.java:124)
	at 
java.awt.EventDispatchThread.pumpEventsForFilter(java.desktop@11.0.14/EventDispatchThread.java:117)
	at 
java.awt.WaitDispatchSupport$2.run(java.desktop@11.0.14/WaitDispatchSupport.java:190)
	at 
java.awt.WaitDispatchSupport$4.run(java.desktop@11.0.14/WaitDispatchSupport.java:235)
	at 
java.awt.WaitDispatchSupport$4.run(java.desktop@11.0.14/WaitDispatchSupport.java:233)
	at java.security.AccessController.doPrivileged(java.base@11.0.14/Native 
Method)
	at 
java.awt.WaitDispatchSupport.enter(java.desktop@11.0.14/WaitDispatchSupport.java:233)

at java.awt.Dialog.show(java.desktop@11.0.14/Dialog.java:1070)
	at 
javax.swing.JFileChooser.showDialog(java.desktop@11.0.14/JFileChooser.java:769)
	at 
javax.swing.JFileChooser.showOpenDialog(java.desktop@11.0.14/JFileChooser.java:666)



El 23/3/22 a las 13:41, Jürgen Weber escribió:

I append the thread dump.

Am So., 20. März 2022 um 10:26 Uhr schrieb antonio :


Tips:

- "jps" prints the process ids of running Java programs.
- "jstack pid" dumps the stack trace of the give pid.

The stack trace will print deadlocks, if any.

Hope this helps,
Antonio

El 19/3/22 a las 20:29, Jürgen Weber escribió:

Any tips?


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

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



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

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


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

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



Re: Project open hangs

2022-03-23 Thread Jürgen Weber
I append the thread dump.

Am So., 20. März 2022 um 10:26 Uhr schrieb antonio :
>
> Tips:
>
> - "jps" prints the process ids of running Java programs.
> - "jstack pid" dumps the stack trace of the give pid.
>
> The stack trace will print deadlocks, if any.
>
> Hope this helps,
> Antonio
>
> El 19/3/22 a las 20:29, Jürgen Weber escribió:
> > Any tips?
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>


netbeans-fopen-jstack
Description: Binary data

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

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

Re: Project open hangs

2022-03-20 Thread Jonathan Bergh
I've noticed this behavior in 12.6 and also in 13. In my case, I've not had
an indefinite wait, but certainly much longer than expected and enough to
make a user think things have potentially hung.

I've noted the delay decreases after a couple of runs, so I assumed it was
something related to initialization after a fresh install.

On Sun, 20 Mar 2022, 10:26 PM antonio,  wrote:

> Tips:
>
> - "jps" prints the process ids of running Java programs.
> - "jstack pid" dumps the stack trace of the give pid.
>
> The stack trace will print deadlocks, if any.
>
> Hope this helps,
> Antonio
>
> El 19/3/22 a las 20:29, Jürgen Weber escribió:
> > Any tips?
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>


Re: Project open hangs

2022-03-20 Thread antonio

Tips:

- "jps" prints the process ids of running Java programs.
- "jstack pid" dumps the stack trace of the give pid.

The stack trace will print deadlocks, if any.

Hope this helps,
Antonio

El 19/3/22 a las 20:29, Jürgen Weber escribió:

Any tips?


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

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



Project open hangs

2022-03-19 Thread Jürgen Weber
Got myself a netbeans-13 zip, unpacked, started. Tried to open a maven project.
File open dialog hangs, I only can close x
Java 11, XFCE, FreeBSD 13

Any tips?

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

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