[jira] [Commented] (NETBEANS-2291) NetBeans is unusably slow

2019-03-22 Thread Shevek (JIRA)


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

Shevek commented on NETBEANS-2291:
--

NetBeans 11 on Azul Zulu 12 threw a number of exceptions in the 
settings-migration, and then it couldn't load my (Gradle) project because it 
can't distinguish between the JDK NB itself is running under and the JDK the 
project needs to be compiled with, it's trying to run gradle with JDK11, and 
that's failing badly, and because it can't load gradle, I can't open enough 
project properties to change it, and the dialogue is apparently present 
individually on every submodule - do I have to change them each individually? I 
have 158 submodules in this project.

Running NetBeans 11 with JDK8 seems to load, but complains about unresolved 
dependencies on every subproject which uses a particular gradle plugin. It asks 
me to click "Resolve Project Problems", but there is no such menu. It is 
apparently unable to see build-time gradle plugins which are in mavenLocal() 
(which IS listed in buildscript.repositories in build.gradle). Also, it's 
throwing a lot of NPEs in the logs. And when I exit it, it thinks 
org.netbeans.samples.ClassA is modified, but I've never heard of that class 
except in an exception message in the netbeans log.

I think I'd rather focus on NetBeans 10 for now, as I can make day-job progress 
with that.

> NetBeans is unusably slow
> -
>
> Key: NETBEANS-2291
> URL: https://issues.apache.org/jira/browse/NETBEANS-2291
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2, 10.0
> Environment: Ubuntu 18.10
> Linux 4.18.0
> 12 core Xeon E-2176M with 64Gb RAM
> -Xmx2536m (2.5Gb for NB, of which it uses about 1.7G)
> NetBeans 10vc2, 10vc5, 8.2
> JDK 11.0.1
> JDK 1.8
> G1GC, CMS GC, Serial GC
>Reporter: Shevek
>Priority: Critical
>  Labels: performance, usability
> Attachments: netbeans-10vc5-jdk8-hang-gototype.txt.tdump, 
> netbeans-10vc5-jdk8-hang-progressutils.txt.tdump, 
> netbeans-10vc5-jdk8-hang.txt.tdump, open-file-slow-01.txt.tdump, 
> open-file-slow-02.txt.tdump, open-file-slow-03.txt.tdump, slow-stack-00.txt
>
>
> I used to use NetBeans 8 on JDK8, it was tolerable, but slow.
> Now I have a new laptop, I've tried nb8, nb10 on jdk8, jdk11, with g1gc, 
> cmsgc, other gc. They are all UNUSABLY slow. By which I mean, it takes over a 
> minute just to open a file.
> Mostly this is because things are waiting for things waiting for very 
> inefficiently implemnted file I/O, editor parsing, or things like that. I've 
> watched a 12-core Xeon chip spend over 4 hours just attempting to handle the 
> Active Reference Queue Daemon thread.
> The slowdown is somewhat incremental - I can escape it as long as I'm happy 
> to restart NetBeans every hour or so (which I'm not happy to do).
> Attached a stack dump to get you started, this took over a minute to open a 
> 284-line Java file from idle.
> Please feel free to ask all the obvious questions, although I'm fairly sure 
> all the obvious things have been done. Mostly, I've got GC down to a 
> negligible amount.
> If there's one or more features of NetBeans I can disable to get acceptable 
> behaviour while still being able to realistically edit Java code, please tell 
> me and I will disable them because I am at the end of my rope after using 
> (and developing for) NetBeans for nearly 10 years. If I can get IntelliJ to 
> load a Java/Gradle project neatly before this gets fixed, I'm gone.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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] [Updated] (NETBEANS-2297) Navigator does not show PHP classes/methods

2019-03-22 Thread Junichi Yamamoto (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junichi Yamamoto updated NETBEANS-2297:
---
Component/s: (was: cnd - Navigation)
 php - Navigation

> Navigator does not show PHP classes/methods
> ---
>
> Key: NETBEANS-2297
> URL: https://issues.apache.org/jira/browse/NETBEANS-2297
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Navigation
>Affects Versions: 10.0
> Environment: Product Version: Apache NetBeans IDE 10.0 (Build 
> incubator-netbeans-release-380-on-20181217)
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 10.0.2; OpenJDK 64-Bit Server VM 10.0.2+13-Ubuntu-1ubuntu0.18.04.4
> Runtime: OpenJDK Runtime Environment 10.0.2+13-Ubuntu-1ubuntu0.18.04.4
> System: Linux version 4.15.0-46-generic running on amd64; UTF-8; en_US (nb)
>Reporter: Timofey Vorobyov
>Priority: Major
>
> h1. How to reproduce:
>  # Create/open a PHP project
>  # Open a file
>  # Open navigator window
> h1. Expected behavior
> The window shows PHP classes and methods relevant to the open file
>  
> h1. Actual behavior
> The navigator window shows HTML, JavaScript and CSS selectors, and a rotating 
> loading animation icon.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-2297) Navigator does not show PHP classes/methods

2019-03-22 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto commented on NETBEANS-2297:


I can't reproduce it. Could you please attach an example PHP project to 
reproduce it as a zip file?

my environment:
Product Version: Apache NetBeans IDE 10.0 (Build 
incubator-netbeans-release-380-on-20181217)
Java: 1.8.0_172; Java HotSpot(TM) 64-Bit Server VM 25.172-b11
Runtime: Java(TM) SE Runtime Environment 1.8.0_172-b11
System: Linux version 4.16.0-041600-generic running on amd64; UTF-8;

BTW, your environment is strange a bit. "Updates: NetBeans IDE is updated to 
version NetBeans 8.2 Patch 2" Why NetBeans 8.2?

> Navigator does not show PHP classes/methods
> ---
>
> Key: NETBEANS-2297
> URL: https://issues.apache.org/jira/browse/NETBEANS-2297
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Navigation
>Affects Versions: 10.0
> Environment: Product Version: Apache NetBeans IDE 10.0 (Build 
> incubator-netbeans-release-380-on-20181217)
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 10.0.2; OpenJDK 64-Bit Server VM 10.0.2+13-Ubuntu-1ubuntu0.18.04.4
> Runtime: OpenJDK Runtime Environment 10.0.2+13-Ubuntu-1ubuntu0.18.04.4
> System: Linux version 4.15.0-46-generic running on amd64; UTF-8; en_US (nb)
>Reporter: Timofey Vorobyov
>Priority: Major
>
> h1. How to reproduce:
>  # Create/open a PHP project
>  # Open a file
>  # Open navigator window
> h1. Expected behavior
> The window shows PHP classes and methods relevant to the open file
>  
> h1. Actual behavior
> The navigator window shows HTML, JavaScript and CSS selectors, and a rotating 
> loading animation icon.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1763) Refactor the test output processor to handle both surefire and failsafe plugins

2019-03-22 Thread JIRA


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

Matthias Bläsing commented on NETBEANS-1763:


I had a quick look at this - I managed to get the test output:

[https://github.com/matthiasblaesing/incubator-netbeans/commit/4c408041a6706f6498604d69dec6c3c0d3433e45]

What is missing is the ability to run single unit/integration tests.

One way I see: use the same heuristic based on classname as surefire/failsafe: 
"*Test" is mapped to unittests (run by surefire) and "*IT" is mapped to 
integration test (run by failsafe).

> Refactor the test output processor to handle both surefire and failsafe 
> plugins
> ---
>
> Key: NETBEANS-1763
> URL: https://issues.apache.org/jira/browse/NETBEANS-1763
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Maven
>Affects Versions: 9.0, 10.0
>Reporter: jmborer
>Priority: Minor
>
> Currently the Maven test results output processor is mainly focused on 
> handling the Surefire output. The ouput of Failsafe is partly covered. This 
> job is done in a single class called TestOutputListenerProvider. To provide a 
> cleaner and robuster support for both Surefire and Failsafe test results 
> parsing, it becomes necessary to refactor  TestOutputListenerProvider into 
> two specialized output processors: one for Surefire and one for Failsafe.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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] [Created] (NETBEANS-2299) Base IDE plugin cannot be activated

2019-03-22 Thread JIRA
Petr Čvančar created NETBEANS-2299:
--

 Summary: Base IDE plugin cannot be activated
 Key: NETBEANS-2299
 URL: https://issues.apache.org/jira/browse/NETBEANS-2299
 Project: NetBeans
  Issue Type: Bug
Reporter: Petr Čvančar
 Attachments: Capture.JPG

Base IDE plugin cannot be activated, the option is grayed in the plugin dialog.

 
*Product Version:* Apache NetBeans IDE 10.0 (Build 
incubator-netbeans-release-380-on-20181217)

*Java:* 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS

*Runtime:* Java(TM) SE Runtime Environment 11.0.2+9-LTS

*System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)

*User directory:* C:\Users\pcvancar\AppData\Roaming\NetBeans\10.0

*Cache directory:* C:\Users\pcvancar\AppData\Local\NetBeans\Cache\10.0



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-747) CSS Editor does not recognize variable syntax

2019-03-22 Thread JIRA


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

Matthias Bläsing commented on NETBEANS-747:
---

I created a PR for supporting the var function and variable syntax. A review in 
the reference PR and testing would be helpful.

> CSS Editor does not recognize variable syntax
> -
>
> Key: NETBEANS-747
> URL: https://issues.apache.org/jira/browse/NETBEANS-747
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 8.2, 9.0, 10.0, 11.0
>Reporter: Peter
>Assignee: Matthias Bläsing
>Priority: Trivial
>  Labels: css, pull-request-available, variable
> Attachments: Screen Shot 2018-04-30 at 1.10.32 AM.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Netbeans reports my css has error but it should not



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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] [Updated] (NETBEANS-747) CSS Editor does not recognize variable syntax

2019-03-22 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-747:

Labels: css pull-request-available variable  (was: css variable)

> CSS Editor does not recognize variable syntax
> -
>
> Key: NETBEANS-747
> URL: https://issues.apache.org/jira/browse/NETBEANS-747
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 8.2, 9.0, 10.0, 11.0
>Reporter: Peter
>Assignee: Matthias Bläsing
>Priority: Trivial
>  Labels: css, pull-request-available, variable
> Attachments: Screen Shot 2018-04-30 at 1.10.32 AM.png
>
>
> Netbeans reports my css has error but it should not



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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] [Created] (NETBEANS-2298) Incorrect JDBC URL when using MySQL 8

2019-03-22 Thread Kenneth Fogel (JIRA)
Kenneth Fogel created NETBEANS-2298:
---

 Summary: Incorrect JDBC URL when using MySQL 8
 Key: NETBEANS-2298
 URL: https://issues.apache.org/jira/browse/NETBEANS-2298
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 9.0, 8.2, 10.0, 11.0
 Environment: Observed on Windows and Mac.
Reporter: Kenneth Fogel
 Fix For: 11.0


More an annoyance than a real bug. Currently the JDBC URL appears as:

jdbc:mysql://localhost:3306/mysql?zeroDateTimeBehavior=*convertToNull*

However, if using MySQL 8 with its matching driver it must be:

jdbc:mysql://localhost:3306/mysql?zeroDateTimeBehavior=*CONVERT_TO_NULL*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-2291) NetBeans is unusably slow

2019-03-22 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2291:
-

But then you'll need the latest Apache NetBeans, i.e., 11 vc4, would be good to 
see if you can reproduce there:

https://lists.apache.org/thread.html/290786ea9eda2215a93ca18084945d655053597ca9745ecc6d555d79@%3Cdev.netbeans.apache.org%3E

> NetBeans is unusably slow
> -
>
> Key: NETBEANS-2291
> URL: https://issues.apache.org/jira/browse/NETBEANS-2291
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2, 10.0
> Environment: Ubuntu 18.10
> Linux 4.18.0
> 12 core Xeon E-2176M with 64Gb RAM
> -Xmx2536m (2.5Gb for NB, of which it uses about 1.7G)
> NetBeans 10vc2, 10vc5, 8.2
> JDK 11.0.1
> JDK 1.8
> G1GC, CMS GC, Serial GC
>Reporter: Shevek
>Priority: Critical
>  Labels: performance, usability
> Attachments: netbeans-10vc5-jdk8-hang-gototype.txt.tdump, 
> netbeans-10vc5-jdk8-hang-progressutils.txt.tdump, 
> netbeans-10vc5-jdk8-hang.txt.tdump, open-file-slow-01.txt.tdump, 
> open-file-slow-02.txt.tdump, open-file-slow-03.txt.tdump, slow-stack-00.txt
>
>
> I used to use NetBeans 8 on JDK8, it was tolerable, but slow.
> Now I have a new laptop, I've tried nb8, nb10 on jdk8, jdk11, with g1gc, 
> cmsgc, other gc. They are all UNUSABLY slow. By which I mean, it takes over a 
> minute just to open a file.
> Mostly this is because things are waiting for things waiting for very 
> inefficiently implemnted file I/O, editor parsing, or things like that. I've 
> watched a 12-core Xeon chip spend over 4 hours just attempting to handle the 
> Active Reference Queue Daemon thread.
> The slowdown is somewhat incremental - I can escape it as long as I'm happy 
> to restart NetBeans every hour or so (which I'm not happy to do).
> Attached a stack dump to get you started, this took over a minute to open a 
> 284-line Java file from idle.
> Please feel free to ask all the obvious questions, although I'm fairly sure 
> all the obvious things have been done. Mostly, I've got GC down to a 
> negligible amount.
> If there's one or more features of NetBeans I can disable to get acceptable 
> behaviour while still being able to realistically edit Java code, please tell 
> me and I will disable them because I am at the end of my rope after using 
> (and developing for) NetBeans for nearly 10 years. If I can get IntelliJ to 
> load a Java/Gradle project neatly before this gets fixed, I'm gone.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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] [Created] (NETBEANS-2297) Navigator does not show PHP classes/methods

2019-03-22 Thread Timofey Vorobyov (JIRA)
Timofey Vorobyov created NETBEANS-2297:
--

 Summary: Navigator does not show PHP classes/methods
 Key: NETBEANS-2297
 URL: https://issues.apache.org/jira/browse/NETBEANS-2297
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Navigation
Affects Versions: 10.0
 Environment: Product Version: Apache NetBeans IDE 10.0 (Build 
incubator-netbeans-release-380-on-20181217)
Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
Java: 10.0.2; OpenJDK 64-Bit Server VM 10.0.2+13-Ubuntu-1ubuntu0.18.04.4
Runtime: OpenJDK Runtime Environment 10.0.2+13-Ubuntu-1ubuntu0.18.04.4
System: Linux version 4.15.0-46-generic running on amd64; UTF-8; en_US (nb)

Reporter: Timofey Vorobyov


h1. How to reproduce:
 # Create/open a PHP project
 # Open a file
 # Open navigator window

h1. Expected behavior

The window shows PHP classes and methods relevant to the open file

 
h1. Actual behavior

The navigator window shows HTML, JavaScript and CSS selectors, and a rotating 
loading animation icon.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-2291) NetBeans is unusably slow

2019-03-22 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2291:
-

Try JDK 12.

> NetBeans is unusably slow
> -
>
> Key: NETBEANS-2291
> URL: https://issues.apache.org/jira/browse/NETBEANS-2291
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2, 10.0
> Environment: Ubuntu 18.10
> Linux 4.18.0
> 12 core Xeon E-2176M with 64Gb RAM
> -Xmx2536m (2.5Gb for NB, of which it uses about 1.7G)
> NetBeans 10vc2, 10vc5, 8.2
> JDK 11.0.1
> JDK 1.8
> G1GC, CMS GC, Serial GC
>Reporter: Shevek
>Priority: Critical
>  Labels: performance, usability
> Attachments: netbeans-10vc5-jdk8-hang-gototype.txt.tdump, 
> netbeans-10vc5-jdk8-hang-progressutils.txt.tdump, 
> netbeans-10vc5-jdk8-hang.txt.tdump, open-file-slow-01.txt.tdump, 
> open-file-slow-02.txt.tdump, open-file-slow-03.txt.tdump, slow-stack-00.txt
>
>
> I used to use NetBeans 8 on JDK8, it was tolerable, but slow.
> Now I have a new laptop, I've tried nb8, nb10 on jdk8, jdk11, with g1gc, 
> cmsgc, other gc. They are all UNUSABLY slow. By which I mean, it takes over a 
> minute just to open a file.
> Mostly this is because things are waiting for things waiting for very 
> inefficiently implemnted file I/O, editor parsing, or things like that. I've 
> watched a 12-core Xeon chip spend over 4 hours just attempting to handle the 
> Active Reference Queue Daemon thread.
> The slowdown is somewhat incremental - I can escape it as long as I'm happy 
> to restart NetBeans every hour or so (which I'm not happy to do).
> Attached a stack dump to get you started, this took over a minute to open a 
> 284-line Java file from idle.
> Please feel free to ask all the obvious questions, although I'm fairly sure 
> all the obvious things have been done. Mostly, I've got GC down to a 
> negligible amount.
> If there's one or more features of NetBeans I can disable to get acceptable 
> behaviour while still being able to realistically edit Java code, please tell 
> me and I will disable them because I am at the end of my rope after using 
> (and developing for) NetBeans for nearly 10 years. If I can get IntelliJ to 
> load a Java/Gradle project neatly before this gets fixed, I'm gone.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-2291) NetBeans is unusably slow

2019-03-22 Thread Shevek (JIRA)


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

Shevek commented on NETBEANS-2291:
--

[~TLN] I'm more than happy to grab more information from the heap if it's 
relevant; I can grab everything up to and including perf and gdb-level traces, 
and I have enough RAM to dump and analyze a heap of this size. If you or anyone 
wants more information to lead to a fix, please ask specifically, and I will 
grab it. What I don't have is a very large number of hours to debug this; I'm 
here because slowness in netbeans is no longer permitting me to do my day job, 
and I'm trying to contribute to the netbeans community, but my day job remains 
my priority.

I've attempted to show thread dumps which all fall within a single theme, and I 
have kept back those which show other classes of issue:

1. Threads are waiting for the compiler when many of them could happily 
continue without that information. There isn't good control over who calls the 
compiler, and for what, and when.
2. GUI threads block on waitIOLoadLowerThan when a background thread is 
performing I/O. This is backwards. GUI interactivity should have priority.
3. When I dig into the compiler, I find that the NetBeans-provided FileSystem 
implementation has been plugged into javac, and is much slower than javac is 
expecting - I have more detailed profiles to show this, but it's apparently 
taking 50% of the compiler time doing lookups, finding source roots, and so 
forth. So the background work is taking longer than it should.

We ALSO have a (presumed) compiler bug in JDK11; right now NB10 on JDK8 is 
working (relatively) OK.

> NetBeans is unusably slow
> -
>
> Key: NETBEANS-2291
> URL: https://issues.apache.org/jira/browse/NETBEANS-2291
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2, 10.0
> Environment: Ubuntu 18.10
> Linux 4.18.0
> 12 core Xeon E-2176M with 64Gb RAM
> -Xmx2536m (2.5Gb for NB, of which it uses about 1.7G)
> NetBeans 10vc2, 10vc5, 8.2
> JDK 11.0.1
> JDK 1.8
> G1GC, CMS GC, Serial GC
>Reporter: Shevek
>Priority: Critical
>  Labels: performance, usability
> Attachments: netbeans-10vc5-jdk8-hang-gototype.txt.tdump, 
> netbeans-10vc5-jdk8-hang-progressutils.txt.tdump, 
> netbeans-10vc5-jdk8-hang.txt.tdump, open-file-slow-01.txt.tdump, 
> open-file-slow-02.txt.tdump, open-file-slow-03.txt.tdump, slow-stack-00.txt
>
>
> I used to use NetBeans 8 on JDK8, it was tolerable, but slow.
> Now I have a new laptop, I've tried nb8, nb10 on jdk8, jdk11, with g1gc, 
> cmsgc, other gc. They are all UNUSABLY slow. By which I mean, it takes over a 
> minute just to open a file.
> Mostly this is because things are waiting for things waiting for very 
> inefficiently implemnted file I/O, editor parsing, or things like that. I've 
> watched a 12-core Xeon chip spend over 4 hours just attempting to handle the 
> Active Reference Queue Daemon thread.
> The slowdown is somewhat incremental - I can escape it as long as I'm happy 
> to restart NetBeans every hour or so (which I'm not happy to do).
> Attached a stack dump to get you started, this took over a minute to open a 
> 284-line Java file from idle.
> Please feel free to ask all the obvious questions, although I'm fairly sure 
> all the obvious things have been done. Mostly, I've got GC down to a 
> negligible amount.
> If there's one or more features of NetBeans I can disable to get acceptable 
> behaviour while still being able to realistically edit Java code, please tell 
> me and I will disable them because I am at the end of my rope after using 
> (and developing for) NetBeans for nearly 10 years. If I can get IntelliJ to 
> load a Java/Gradle project neatly before this gets fixed, I'm gone.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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] [Created] (NETBEANS-2296) Low performance

2019-03-22 Thread Eric Brosseau (JIRA)
Eric Brosseau created NETBEANS-2296:
---

 Summary: Low performance
 Key: NETBEANS-2296
 URL: https://issues.apache.org/jira/browse/NETBEANS-2296
 Project: NetBeans
  Issue Type: Bug
 Environment:  UI_USER_CONFIGURATION
  UI_USER_CONFIGURATION
  org.netbeans.modules.uihandler.Bundle
  Windows 10, 10.0, amd64
  OpenJDK 64-Bit Server VM, 11.0.2+9, OpenJDK Runtime Environment, 
11.0.2+9
  Apache NetBeans IDE 10.0 (Build 
incubator-netbeans-release-380-on-20181217)
  
  LowPerformance took 43693 ms.
  Please provide a description of the problem or the steps to 
reproduce
  *

Reporter: Eric Brosseau



  2019-03-22T10:24:17
  1553275457605
  472
  700
  71
  Snapshot statistics
  1553275423912
  Samples
  3266
  Average
  10.31043469075323
  Minimum
  4.7316
  Maximum
  15.6541
  Std. deviation
  0.599752771286342




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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] [Updated] (NETBEANS-2290) OnePassCompileWorker AssertionError followed by MultiPassCompileWorker NullPointerException

2019-03-22 Thread John Neffenger (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Neffenger updated NETBEANS-2290:
-
Environment: 
Product = Apache NetBeans IDE 11.0 (Build 
incubator-netbeans-release-404-on-20190319)
Java = OpenJDK 64-Bit Server VM 12+33
Operating System = Linux version 4.15.0-46-generic running on amd64


  was:
Product Version = Apache NetBeans IDE 11.0 (Build 
incubator-netbeans-release-404-on-20190319)
Operating System = Linux version 4.15.0-46-generic running on amd64
Java; VM; Vendor = 12; OpenJDK 64-Bit Server VM 12+33; Oracle Corporation
Runtime = OpenJDK Runtime Environment 12+33
Java Home = /home/john/opt/jdk-12
System Locale; Encoding = en_US (nb); UTF-8



> OnePassCompileWorker AssertionError followed by MultiPassCompileWorker 
> NullPointerException
> ---
>
> Key: NETBEANS-2290
> URL: https://issues.apache.org/jira/browse/NETBEANS-2290
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 11.0
> Environment: Product = Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> Java = OpenJDK 64-Bit Server VM 12+33
> Operating System = Linux version 4.15.0-46-generic running on amd64
>Reporter: John Neffenger
>Priority: Major
> Attachments: netbeans-exceptions.txt
>
>
> In NetBeans 9.0, 10.0, and 11.0, I get the following two errors every time I 
> open the NetBeans project containing the OpenJFX graphics module 
> (javafx.graphics) the first time after clearing the cache. If I click through 
> the classes that failed to compile when opening the project, I can eventually 
> get NetBean to compile all of them successfully.
> The errors are:
> {code:java}
> java.lang.AssertionError: Analyzer error when processing:
> private LinkedList activeRunLoops
> = new LinkedList()
>     at com.sun.tools.javac.util.Assert.error(Assert.java:162)
> [catch] at org.netbeans.modules.java.source.nbjavac.indexing.
> OnePassCompileWorker.compile(OnePassCompileWorker.java:257) 
> {code}
> immediately followed by:
> {code:java}
> java.lang.NullPointerException at com.sun.tools.javac.comp.
> Modules.setCompilationUnitModules(Modules.java:421)
> [catch] at org.netbeans.modules.java.source.nbjavac.indexing.
> MultiPassCompileWorker.compile(MultiPassCompileWorker.java:204)
> {code}
> The full text of the error and exception are attached below as the file 
> _netbeans-exceptions.txt_.
> This might be the same problem reported for NetBeans 9.0 in [NETBEANS-1142: 
> Exception when scanning 
> projects|https://issues.apache.org/jira/browse/NETBEANS-1142].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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] [Created] (NETBEANS-2295) Update to knockout.js 3.5.0 to solve security issues

2019-03-22 Thread Jaroslav Tulach (JIRA)
Jaroslav Tulach created NETBEANS-2295:
-

 Summary: Update to knockout.js 3.5.0 to solve security issues
 Key: NETBEANS-2295
 URL: https://issues.apache.org/jira/browse/NETBEANS-2295
 Project: NetBeans
  Issue Type: Bug
  Components: platform - HTML4J
Affects Versions: 10.0
Reporter: Jaroslav Tulach
Assignee: Jaroslav Tulach


h2. org-netbeans-html-ko4j.jar: knockout-3.4.0.js

{color:#505f79}in 
platform/modules/org-netbeans-html-ko4j.jar/org/netbeans/html/ko4j/knockout-3.4.0.js{color}
||Vulnerability||Resolution||
|[https://github.com/knockout/knockout/issues/1244]| * cross site scripting 
injection
 * only exhibited in Internet Explorer 7 and older which is effectively not 
used at all in 2019
 * fixed in knockout 3.5.0+\||



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1901) Font rendering issue - Display bug on a space followed by a tab

2019-03-22 Thread Admeen (JIRA)


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

Admeen commented on NETBEANS-1901:
--

[~ebakke] Thanks for confirming the bug also exists on Windows 10. I have added 
it to the description.

[~junichi11] No inconvenience at all! Thanks for looking into this!

> Font rendering issue - Display bug on a space followed by a tab
> ---
>
> Key: NETBEANS-1901
> URL: https://issues.apache.org/jira/browse/NETBEANS-1901
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Painting  Printing
>Affects Versions: 10.0, 11.0
> Environment: Windows 10, MacOS High Sierra & MacOS Mojave
> Netbeans 10 & Netbeans 11 vc4
> Java 11.0.1
>Reporter: Admeen
>Priority: Minor
>  Labels: editor, formatting
> Attachments: 20190319_actual_result.png, 20190319_example_code.php, 
> 20190319_expected_result.png, 20190320_syntax_settings.png, 
> editor_bug_space_tab.png, formatting_settings.png, netbeans-1901-jy-01.png, 
> netbeans-1901-jy-02.png
>
>
> There appears to be a bug in the editor when a space is followed by a tab. 
> The editor does not display the space and tab, but the space and tab 
> characters are present in the file.
> The editor / code formatting does not appear to be functioning correctly here.
> UPDATE:
> In the tab "Fonts & Colors" in the "Syntax" subtab I had the "default" font 
> set to "Monospaced 16". The issue occurs when using this font size. When I 
> change it back to the default value "Monospaced 13" or "Monospaced 18" it 
> works just fine. After some more testing I found out that with the font set 
> to "Monospaced 10, 11, 12, 14, 15, 16, 17, 19 & 20" it does not work (didn't 
> test higher or lower values).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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