[
https://issues.apache.org/jira/browse/NETBEANS-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176844#comment-17176844
]
Czukowski commented on NETBEANS-4623:
-------------------------------------
I thought I was onto something, because previously I failed to mention one
possibly important detail about by setup (which I realized only after I added
my comments yesterday), but it seems the issue occurs nonetheless:
Due to UI scaling issues I'm modifying {{netbeans.conf}} file by adding
{{-J-Dsun.java2d.uiScale=1.0 --fontsize 12}} at the end of the default options.
I've found that line on the internet long ago, I've used it with NetBeans 10.x,
11.x and 12.0 without any issues so far and I do that automatically with each
new NetBeans version I install so it haven't occurred to me it could matter.
But since it's related to UI, as are the exceptions in the log, I then thought
it might be the reason this issue hasn't been reported yet by anybody else, so
I tried running the beta2 without it, but I've still got the same error
eventually. So I guess it's not related after all, but I still decided to
mention it.
I also noticed there are NullPointerExceptions in the IDE log inĀ
{{java.desktop/javax.swing.text.JTextComponent.write}} that I've reported
separately in NETBEANS-4620, so it's possible those are connected (although I
experience UI freezes when this issue occurs, it's not as severe as described
in NETBEANS-4620).
> NullPointerException in BasicTextUI.getPreferredSize
> ----------------------------------------------------
>
> Key: NETBEANS-4623
> URL: https://issues.apache.org/jira/browse/NETBEANS-4623
> Project: NetBeans
> Issue Type: Bug
> Affects Versions: 12.1
> Environment: Product Version: Apache NetBeans IDE 12.1-beta1
> Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10
> Runtime: Java(TM) SE Runtime Environment 12.0.2+10
> System: Windows 10 version 10.0 running on amd64
> Reporter: Czukowski
> Priority: Major
> Attachments: idelog-2.txt, idelog-3.txt, idelog-4.txt, idelog-5.txt,
> idelog-6.txt, idelog-7.txt, image-2020-07-23-14-53-04-101.png
>
>
> Was testing 12.1 beta1 today, during my normal activity I noticed an error
> icon in the status bar at the bottom. The IDE was responsive and everything
> seemingly working so far.
> Upon clicking the icon, where the Notification panel would appear, only a
> blank space appears instead of it. If I try to open a file from Project or
> Files panels, similar things happen, editor tabs do open, but they are blank
> and gray.
> Other IDE dialogs (that are not panels) can still be open without issues.
> The only way I've found to get rid of the issue is to restart the IDE. It did
> happen a few times after that too, it wasn't clear which action has triggered
> the issue.
> !image-2020-07-23-14-53-04-101.png!
> See the attachment for the IDE log, this error can be seen repeated there
> multiple times.
--
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