[jira] [Created] (NETBEANS-5840) Menu shrinks shortly after startup

2021-07-06 Thread Henrik (Jira)
Henrik created NETBEANS-5840:


 Summary: Menu shrinks shortly after startup
 Key: NETBEANS-5840
 URL: https://issues.apache.org/jira/browse/NETBEANS-5840
 Project: NetBeans
  Issue Type: Bug
  Components: ide - UI
Affects Versions: 12.4
Reporter: Henrik
 Attachments: image-2021-07-06-21-07-39-835.png

Start NetBeans, open the menu, wait a few seconds. The entries shrink in height 
to approximately half their size:

!image-2021-07-06-21-07-39-835.png!

Reopening the menu fixes the problem.

This issue is really old. I remember having it in version 8.



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



[jira] [Commented] (NETBEANS-5683) remove last remaining HashSet raw type warnings..

2021-07-06 Thread Benjamin Asbach (Jira)


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

Benjamin Asbach commented on NETBEANS-5683:
---

If these are the last one maybe it's worth enabling the compiler to fail once 
new rawtypes are introduced again.

> remove last remaining HashSet raw type warnings..
> -
>
> Key: NETBEANS-5683
> URL: https://issues.apache.org/jira/browse/NETBEANS-5683
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Brad Walker
>Assignee: Brad Walker
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> This change will remove the last remaining warnings about raw type HashSet.
> {code:java}
>[repeat] 
> /home/bwalker/src/netbeans/platform/core.multiview/src/org/netbeans/core/multiview/MultiViewActionMap.java:124:
>  warning: [rawtypes] found raw type: HashSet
>[repeat] Set keys = new HashSet();
>[repeat]^
>[repeat]   missing type arguments for generic class HashSet
>[repeat]   where E is a type-variable:
>[repeat] E extends Object declared in class HashSet
> {code}
> At this point, we have removed all warnings related to this.. Hooray!!



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



[jira] [Comment Edited] (NETBEANS-5836) Editor unable to parse Javascript file

2021-07-06 Thread Dave Power (Jira)


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

Dave Power edited comment on NETBEANS-5836 at 7/6/21, 10:23 AM:


Christian.  The failure occurs with a PHP project holding a custom wordpress 
theme which includes a Node project as well as javascript and HTML.

Yesterday, I removed NetBeans and JDK and reinstalled both NetBeans and JDK 16 
in a windows 10 environment.  I also removed the contents NetBeans holds in the 
user Local and Remote folders in the AppData area.  I've then added my 
"wordpress" project to NetBeans and left it to rescan the entire project, with 
the result that the cache in APPData/Local/NetBeans is now 7.6GB and the 
APPData/Roaming/NetBeans is now 4.6GB.  I am still getting errors about running 
out of heap space.

[NB, The wordpress theme includes a Guttenberg development block which uses 
Node JS so it has dragged in a massive number of javascript files.]

My problem is that I'm not sure where to start to look as to the cause.  I 
tried chopping down a script library which appears to be the cause of the 
problem yesterday and I could reproduce the problem consistently which I 
reported yesterday, but I don't know whether there is some underlying 
corruption in the cache which is the source of the problem.

Please can you provide some suggestions on the best steps to try to isolate the 
problem.  e.g. How do I reset the netbeans cache/environment?  Are there some 
Java settings that could be adjusted.  Is there some debug mode to understand 
what is going wrong?  (e.g. get confirmation of which line / file is being 
processed when the error occurs)


was (Author: davewp196):
Christian.  The failure occurs with a PHP project holding a custom wordpress 
theme which includes a Node project as well as javascript and HTML.

Yesterday, I removed NetBeans and JDK and reinstalled both NetBeans and JDK 16 
on a windows 10 environment.  I also removed the contents on the NetBeans holds 
in the user Local and Remote folders in the AppData area.  I've then added my 
"wordpress" project to NetBeans and left it to rescan the entire project, with 
the result that the cache in APPData/Local/NetBeans is now 7.6GB and the 
APPData/Roaming/NetBeans is now 4.6GB

My problem is that I'm not sure where to start to look as to the cause.  I 
tried chopping down a script library which appears to be the cause of the 
problem yesterday and I could reproduce the problem consistently, but I don't 
know whether there is some underlying corruption in the cache which is the 
source of the problem.

Please can you provide some suggestions on the best steps to try to isolate the 
problem.  e.g. How do I reset the netbeans cache/environment?  Are there some 
Java script settings that could be increased.

> Editor unable to parse Javascript file
> --
>
> Key: NETBEANS-5836
> URL: https://issues.apache.org/jira/browse/NETBEANS-5836
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 12.4
> Environment: Windows 10 (with latest patches)
> NetBeans 12.4
>Reporter: Dave Power
>Priority: Critical
> Attachments: IDE.log, UI.log, scripts.js
>
>
> Attempting to open the javascript file scripts.js causes a parsing error.
> NullPointerException: The content parameter cannot be null
> It is a cut down version of a much larger file, but this file seems to 
> trigger the error everytime I attempt to open it and set it to be the active 
> window.
> The navigator window does appear to show the correct results, but in the 
> complete version of the file, the navigator window stops working and NetBeans 
> just goes into an endless loop.



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



[jira] [Commented] (NETBEANS-5836) Editor unable to parse Javascript file

2021-07-06 Thread Dave Power (Jira)


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

Dave Power commented on NETBEANS-5836:
--

Christian.  The failure occurs with a PHP project holding a custom wordpress 
theme which includes a Node project as well as javascript and HTML.

Yesterday, I removed NetBeans and JDK and reinstalled both NetBeans and JDK 16 
on a windows 10 environment.  I also removed the contents on the NetBeans holds 
in the user Local and Remote folders in the AppData area.  I've then added my 
"wordpress" project to NetBeans and left it to rescan the entire project, with 
the result that the cache in APPData/Local/NetBeans is now 7.6GB and the 
APPData/Roaming/NetBeans is now 4.6GB

My problem is that I'm not sure where to start to look as to the cause.  I 
tried chopping down a script library which appears to be the cause of the 
problem yesterday and I could reproduce the problem consistently, but I don't 
know whether there is some underlying corruption in the cache which is the 
source of the problem.

Please can you provide some suggestions on the best steps to try to isolate the 
problem.  e.g. How do I reset the netbeans cache/environment?  Are there some 
Java script settings that could be increased.

> Editor unable to parse Javascript file
> --
>
> Key: NETBEANS-5836
> URL: https://issues.apache.org/jira/browse/NETBEANS-5836
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 12.4
> Environment: Windows 10 (with latest patches)
> NetBeans 12.4
>Reporter: Dave Power
>Priority: Critical
> Attachments: IDE.log, UI.log, scripts.js
>
>
> Attempting to open the javascript file scripts.js causes a parsing error.
> NullPointerException: The content parameter cannot be null
> It is a cut down version of a much larger file, but this file seems to 
> trigger the error everytime I attempt to open it and set it to be the active 
> window.
> The navigator window does appear to show the correct results, but in the 
> complete version of the file, the navigator window stops working and NetBeans 
> just goes into an endless loop.



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