[
https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17300437#comment-17300437
]
Dr Bryan J Higgs edited comment on NETBEANS-5037 at 3/12/21, 6:39 PM:
----------------------------------------------------------------------
I downloaded NetBeans 12.3, and executed the command listed above:
defaults write net.java.openjdk.cmd "AppleWindowTabbingMode" never
and then tried running NetBeans. It came up, but when I clicked on (for
example) Tools>Plugins, up comes a large window (not a dialog), and the entire
NetBeans UI locks up. Even the Netbeans menu is unresponsive.
So, I tried the above recommendation
([https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/)|https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/]
although I'm running on macOS Big Sur (Version 11.2.3 – the latest). I ran it
as suggested in a Terminal, and it took a while but completed successfully. (It
didn't say whether it actually made any changes)
Unfortunately, that made no difference, either. Plugins still hangs.
So, I created a new non-administrator user account (my account is an
administrator), and tried to run NetBeans 12.3 from there. It worked, and
plugins did not cause the entire NetBeans GUI to freeze.
Then, I tried using a sudo command to fire up NetBeans from a Terminal, from my
own (administrator) account. NetBeans came up, but it was without prior context
(i.e. no existing projects). Plugins displayed its dialog box, and did NOT
freeze the UI. However, I noticed the following in my Terminal window:
----
$ sudo Apache\ NetBeans\ 12.3.app//Contents/MacOS/netbeans
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
org.netbeans.swing.dirchooser.DelegatingChooserUI
(jar:file:/Applications/NetBeans/Apache%20NetBeans%2012.3.app/Contents/Resources/NetBeans/netbeans/ide/modules/org-netbeans-swing-dirchooser.jar!/)
to method com.apple.laf.AquaFileChooserUI.createUI(javax.swing.JComponent)
WARNING: Please consider reporting this to the maintainers of
org.netbeans.swing.dirchooser.DelegatingChooserUI
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release
----
I have no idea what this means, nor whether it's something to worry about, but
I don't plan on using this sudo command to fire up NetBeans for real work.
FWIW, I noticed the mistyped double slash in the above command
sudo Apache\ NetBeans\ 12.3.app//Contents/MacOS/netbeans
so I retried it with a single slash:
sudo Apache\ NetBeans\ 12.3.app/Contents/MacOS/netbeans
now, it doesn't produce the same WARNINGs. For whatever that might be worth...
was (Author: bryanhiggs):
I downloaded NetBeans 12.3, and executed the command listed above:
defaults write net.java.openjdk.cmd "AppleWindowTabbingMode" never
and then tried running NetBeans. It came up, but when I clicked on (for
example) Tools>Plugins, up comes a large window (not a dialog), and the entire
NetBeans UI locks up. Even the Netbeans menu is unresponsive.
So, I tried the above recommendation
([https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/)|https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/]
although I'm running on macOS Big Sur (Version 11.2.3 – the latest). I ran it
as suggested in a Terminal, and it took a while but completed successfully. (It
didn't say whether it actually made any changes)
Unfortunately, that made no difference, either. Plugins still hangs.
So, I created a new non-administrator user account (my account is an
administrator), and tried to run NetBeans 12.3 from there. It worked, and
plugins did not cause the entire NetBeans GUI to freeze.
> NetBeans dialog windows in Big Sur
> ----------------------------------
>
> Key: NETBEANS-5037
> URL: https://issues.apache.org/jira/browse/NETBEANS-5037
> Project: NetBeans
> Issue Type: Bug
> Components: editor - Search, editor - Settings, platform - Plugin
> Manager
> Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2
> Environment: macOS 11.0.2
> Reporter: Donatello Santoro
> Priority: Major
> Attachments: netbeans.conf, settings.png
>
>
> In macOS Big Sur some NetBeans panels (settings and find in project) are
> broken:
> * they are shown in full screen, as tab, please see screenshot
> * when they are shown, NB completely hangs, with high CPU usage.
> I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK
> (1.8, 11, 13, 15), with the same behavior.
> The only way I have to solve the issue is to run NB as sudo
> {code:java}
> sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans
> {code}
> Of course this is a permission related issue, but it appears only on
> NetBeans. Other Java apps seems not affected. On command line there are no
> evidence of the crash.
> Finally, in our office we are 4 with the same MacBook, and same macOS (just
> upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2
> can run NB without the sudo command.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists