[jira] [Comment Edited] (NETBEANS-6089) Java type conversion error hint in editor vs compiler

2021-10-10 Thread Bernard (Jira)


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

Bernard edited comment on NETBEANS-6089 at 10/11/21, 1:58 AM:
--

Thanks a lot. I am trying to help here while effectively not making changes to 
my IDE to prevent the destruction of evidence.

I started 12.5 with --userdir  WITHOUT importing settings.
 Here when opening the failing project, the IDE prompts me for installing:
 "The nb-javac Editing support library [2.0]". I confirmed. The plugin is 
installed and the project is good.
 —
 So I looked at nb-javac in both the good 12.4 installation and the bad 12.5 
installation with imported settings.

Tools|Plugins

In the NetBeans 12.4 installation with original preferences
 nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins 
(45) as Version 2.0

In the NetBeans 12.5 installation, with copied preferences,
 nb-javac is listed in Installed (12) under User Installed Plugins version 1.1, 
NOT listed in Available Plugins (44)

In the NetBeans 12.5 installation, in fresh userdir WITOUT copied preferences,
 nb-javac is listed in Installed (12) under User Installed Plugins version 1.1, 
NOT listed in Available Plugins (44)
 —
 I remember I installed something in 12.4 to get compile on save. This might 
indicate that in 12.4, nb-javac version 2.0 IS installed, but it is NOT listed 
as being installed in the Tools|Plugins panel.
 – 
 I have had one complication with NB 12.4 where I had to download and run the 
12.4 zip and install it in a directory NOT containing spaces (as the original 
installer put it under "C:\program Files" with the existing userdir. Root case 
for this is:
 [https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-2443]
 Please look at my comments. This is the sort of thing that happens when the 
IDE gets into this type of meltdown.

So starting up that older 12.4 as installed under "C:\program Files", in 
Tools|Plugins, again:
 nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins 
(45) as Version 2.0

I am confused about this. It looks like the plugin panels are lying. I am sure 
there is an easy fix but I am waiting so we can still investigate.


was (Author: bht):
Thanks a lot. I am trying to help here while effectively not making changes to 
my IDE to prevent the destruction of evidence.

I started 12.5 with --userdir  WITHOUT importing settings.
 Here when opening the failing project, the IDE prompts me for installing:
 "The nb-javac Editing support library [2.0]". I confirmed. The plugin is 
installed and the project is good.
 —
 So I looked at nb-javac in both the good 12.4 installation and the bad 12.5 
installation with imported settings.

Tools|Plugins

In the NetBeans 12.4 installation with original preferences
 nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins 
(45) as Version 2.0

In the NetBeans 12.5 installation, with copied preferences,
 nb-javac is listed in Installed (12) under User Installed Plugins version 1.1, 
NOT listed in Available Plugins (44)
 —
 I remember I installed something in 12.4 to get compile on save. This might 
indicate that in 12.4, nb-javac version 2.0 IS installed, but it is NOT listed 
as being installed in the Tools|Plugins panel.
 – 
 I have had one complication with NB 12.4 where I had to download and run the 
12.4 zip and install it in a directory NOT containing spaces (as the original 
installer put it under "C:\program Files" with the existing userdir. Root case 
for this is:
 [https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-2443]
 Please look at my comments. This is the sort of thing that happens when the 
IDE gets into this type of meltdown.

So starting up that older 12.4 as installed under "C:\program Files", in 
Tools|Plugins, again:
 nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins 
(45) as Version 2.0

I am confused about this. It looks like the plugin panels are lying. I am sure 
there is an easy fix but I am waiting so we can still investigate.

> Java type conversion error hint in editor vs compiler
> -
>
> Key: NETBEANS-6089
> URL: https://issues.apache.org/jira/browse/NETBEANS-6089
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 12.5
>Reporter: Bernard
>Priority: Blocker
> Attachments: messages.log
>
>
> Settings imported from IDE 12.4
> Project is fine with IDE 12.4
> Project compiles without errors in 12.4 and 12.5
> With 12.5, getting problems in the editor and in the Projects window as 
> follows:
> On the following source code:
> final List> evaluatedPopulation = 
> this.populationAccessibleEvolutionEngine.getEvaluatedPopulation();
> I get a 

[jira] [Commented] (NETBEANS-6089) Java type conversion error hint in editor vs compiler

2021-10-10 Thread Bernard (Jira)


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

Bernard commented on NETBEANS-6089:
---

Thanks a lot. I am trying to help here while effectively not making changes my 
IDE to prevent the destruction of evidence.

I started 12.5 with --userdir  WITHOUT importing settings.
Here when opening the failing project, the IDE prompts me for installing:
"The nb-javac Editing support library [2.0]". I confirmed. The plugin is 
installed and the project is good.
---
So I looked at nb-javac in both the good 12.4 installation and the bad 12.5 
installation with imported settings.

Tools|Plugins

In the NetBeans 12.4 installation with original preferences
nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins 
(45) as Version 2.0


In the NetBeans 12.5 installation, with copied preferences,
nb-javac is listed in Installed (12) under User Installed Plugins version 1.1, 
NOT listed in Available Plugins (44)
---
I remember I installed something in 12.4 to get compile on save. This might 
indicate that in 12.4, nb-javac version 2.0 IS installed, but it is NOT listed 
as being installed in the Tools|Plugins panel.
-- 
I have had one complication with NB 12.4 where I had to download and run the 
12.4 zip and install it in a directory NOT containing spaces (as the original 
installer put it under "C:\program Files" with the existing userdir. Root case 
for this is:
[https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-2443]
Please look at my comments. This is the sort of thing that happens when the IDE 
gets into this type of meltdown.

So starting up that older 12.4 as installed under "C:\program Files", in 
Tools|Plugins, again:
nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins 
(45) as Version 2.0

I am confused about this. It looks like the plugin panels are lying. I am sure 
there is an easy fix but I am waiting so we can still investigate.

> Java type conversion error hint in editor vs compiler
> -
>
> Key: NETBEANS-6089
> URL: https://issues.apache.org/jira/browse/NETBEANS-6089
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 12.5
>Reporter: Bernard
>Priority: Blocker
> Attachments: messages.log
>
>
> Settings imported from IDE 12.4
> Project is fine with IDE 12.4
> Project compiles without errors in 12.4 and 12.5
> With 12.5, getting problems in the editor and in the Projects window as 
> follows:
> On the following source code:
> final List> evaluatedPopulation = 
> this.populationAccessibleEvolutionEngine.getEvaluatedPopulation();
> I get a red error hint:
> incompatible types: List cannot be converted to 
> List>
> 
> (Alt-Enter shows hints)
> and in the Project window, the project is marked red.
> The relevant source code:
> private final PopulationAccessibleEvolutionEngine 
> populationAccessibleEvolutionEngine;
> The above code has parameterized type CgpNetwork as seen below:
> public class PopulationAccessibleEvolutionEngine extends 
> GenerationalEvolutionEngine implements EvaluatedPopulationAccessible {
> In Project settings:
> Sources, Source/Binary Format: 1.8
> Build, Compile, Java Platform is JDK 14 (Default)



--
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-6089) Java type conversion error hint in editor vs compiler

2021-10-10 Thread Bernard (Jira)


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

Bernard edited comment on NETBEANS-6089 at 10/11/21, 1:52 AM:
--

Thanks a lot. I am trying to help here while effectively not making changes to 
my IDE to prevent the destruction of evidence.

I started 12.5 with --userdir  WITHOUT importing settings.
 Here when opening the failing project, the IDE prompts me for installing:
 "The nb-javac Editing support library [2.0]". I confirmed. The plugin is 
installed and the project is good.
 —
 So I looked at nb-javac in both the good 12.4 installation and the bad 12.5 
installation with imported settings.

Tools|Plugins

In the NetBeans 12.4 installation with original preferences
 nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins 
(45) as Version 2.0

In the NetBeans 12.5 installation, with copied preferences,
 nb-javac is listed in Installed (12) under User Installed Plugins version 1.1, 
NOT listed in Available Plugins (44)
 —
 I remember I installed something in 12.4 to get compile on save. This might 
indicate that in 12.4, nb-javac version 2.0 IS installed, but it is NOT listed 
as being installed in the Tools|Plugins panel.
 – 
 I have had one complication with NB 12.4 where I had to download and run the 
12.4 zip and install it in a directory NOT containing spaces (as the original 
installer put it under "C:\program Files" with the existing userdir. Root case 
for this is:
 [https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-2443]
 Please look at my comments. This is the sort of thing that happens when the 
IDE gets into this type of meltdown.

So starting up that older 12.4 as installed under "C:\program Files", in 
Tools|Plugins, again:
 nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins 
(45) as Version 2.0

I am confused about this. It looks like the plugin panels are lying. I am sure 
there is an easy fix but I am waiting so we can still investigate.


was (Author: bht):
Thanks a lot. I am trying to help here while effectively not making changes my 
IDE to prevent the destruction of evidence.

I started 12.5 with --userdir  WITHOUT importing settings.
Here when opening the failing project, the IDE prompts me for installing:
"The nb-javac Editing support library [2.0]". I confirmed. The plugin is 
installed and the project is good.
---
So I looked at nb-javac in both the good 12.4 installation and the bad 12.5 
installation with imported settings.

Tools|Plugins

In the NetBeans 12.4 installation with original preferences
nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins 
(45) as Version 2.0


In the NetBeans 12.5 installation, with copied preferences,
nb-javac is listed in Installed (12) under User Installed Plugins version 1.1, 
NOT listed in Available Plugins (44)
---
I remember I installed something in 12.4 to get compile on save. This might 
indicate that in 12.4, nb-javac version 2.0 IS installed, but it is NOT listed 
as being installed in the Tools|Plugins panel.
-- 
I have had one complication with NB 12.4 where I had to download and run the 
12.4 zip and install it in a directory NOT containing spaces (as the original 
installer put it under "C:\program Files" with the existing userdir. Root case 
for this is:
[https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-2443]
Please look at my comments. This is the sort of thing that happens when the IDE 
gets into this type of meltdown.

So starting up that older 12.4 as installed under "C:\program Files", in 
Tools|Plugins, again:
nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins 
(45) as Version 2.0

I am confused about this. It looks like the plugin panels are lying. I am sure 
there is an easy fix but I am waiting so we can still investigate.

> Java type conversion error hint in editor vs compiler
> -
>
> Key: NETBEANS-6089
> URL: https://issues.apache.org/jira/browse/NETBEANS-6089
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 12.5
>Reporter: Bernard
>Priority: Blocker
> Attachments: messages.log
>
>
> Settings imported from IDE 12.4
> Project is fine with IDE 12.4
> Project compiles without errors in 12.4 and 12.5
> With 12.5, getting problems in the editor and in the Projects window as 
> follows:
> On the following source code:
> final List> evaluatedPopulation = 
> this.populationAccessibleEvolutionEngine.getEvaluatedPopulation();
> I get a red error hint:
> incompatible types: List cannot be converted to 
> List>
> 
> (Alt-Enter shows hints)
> and in the Project window, the project is marked red.
> The relevant source code:
> private final 

[jira] [Commented] (NETBEANS-6089) Java type conversion error hint in editor vs compiler

2021-10-07 Thread Bernard (Jira)


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

Bernard commented on NETBEANS-6089:
---

What is going on? I am watching another blocker and a new release comes out. 
Then I enter this new blocker and there is no response. Could it be that I am 
entering issues into a void? Where is the activity, where is stuff happening? 
What needs to happen so that something happens?

> Java type conversion error hint in editor vs compiler
> -
>
> Key: NETBEANS-6089
> URL: https://issues.apache.org/jira/browse/NETBEANS-6089
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 12.5
>Reporter: Bernard
>Priority: Blocker
> Attachments: messages.log
>
>
> Settings imported from IDE 12.4
> Project is fine with IDE 12.4
> Project compiles without errors in 12.4 and 12.5
> With 12.5, getting problems in the editor and in the Projects window as 
> follows:
> On the following source code:
> final List> evaluatedPopulation = 
> this.populationAccessibleEvolutionEngine.getEvaluatedPopulation();
> I get a red error hint:
> incompatible types: List cannot be converted to 
> List>
> 
> (Alt-Enter shows hints)
> and in the Project window, the project is marked red.
> The relevant source code:
> private final PopulationAccessibleEvolutionEngine 
> populationAccessibleEvolutionEngine;
> The above code has parameterized type CgpNetwork as seen below:
> public class PopulationAccessibleEvolutionEngine extends 
> GenerationalEvolutionEngine implements EvaluatedPopulationAccessible {
> In Project settings:
> Sources, Source/Binary Format: 1.8
> Build, Compile, Java Platform is JDK 14 (Default)



--
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] [Updated] (NETBEANS-6089) Java type conversion error hint in editor vs compiler

2021-10-05 Thread Bernard (Jira)


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

Bernard updated NETBEANS-6089:
--
Priority: Blocker  (was: Major)

> Java type conversion error hint in editor vs compiler
> -
>
> Key: NETBEANS-6089
> URL: https://issues.apache.org/jira/browse/NETBEANS-6089
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 12.5
>Reporter: Bernard
>Priority: Blocker
> Attachments: messages.log
>
>
> Settings imported from IDE 12.4
> Project is fine with IDE 12.4
> Project compiles without errors in 12.4 and 12.5
> With 12.5, getting problems in the editor and in the Projects window as 
> follows:
> On the following source code:
> final List> evaluatedPopulation = 
> this.populationAccessibleEvolutionEngine.getEvaluatedPopulation();
> I get a red error hint:
> incompatible types: List cannot be converted to 
> List>
> 
> (Alt-Enter shows hints)
> and in the Project window, the project is marked red.
> The relevant source code:
> private final PopulationAccessibleEvolutionEngine 
> populationAccessibleEvolutionEngine;
> The above code has parameterized type CgpNetwork as seen below:
> public class PopulationAccessibleEvolutionEngine extends 
> GenerationalEvolutionEngine implements EvaluatedPopulationAccessible {
> In Project settings:
> Sources, Source/Binary Format: 1.8
> Build, Compile, Java Platform is JDK 14 (Default)



--
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] [Updated] (NETBEANS-6089) Java type conversion error hint in editor vs compiler

2021-10-03 Thread Bernard (Jira)


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

Bernard updated NETBEANS-6089:
--
Attachment: messages.log

> Java type conversion error hint in editor vs compiler
> -
>
> Key: NETBEANS-6089
> URL: https://issues.apache.org/jira/browse/NETBEANS-6089
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 12.5
>Reporter: Bernard
>Priority: Major
> Attachments: messages.log
>
>
> Settings imported from IDE 12.4
> Project is fine with IDE 12.4
> Project compiles without errors in 12.4 and 12.5
> With 12.5, getting problems in the editor and in the Projects window as 
> follows:
> On the following source code:
> final List> evaluatedPopulation = 
> this.populationAccessibleEvolutionEngine.getEvaluatedPopulation();
> I get a red error hint:
> incompatible types: List cannot be converted to 
> List>
> 
> (Alt-Enter shows hints)
> and in the Project window, the project is marked red.
> The relevant source code:
> private final PopulationAccessibleEvolutionEngine 
> populationAccessibleEvolutionEngine;
> The above code has parameterized type CgpNetwork as seen below:
> public class PopulationAccessibleEvolutionEngine extends 
> GenerationalEvolutionEngine implements EvaluatedPopulationAccessible {
> In Project settings:
> Sources, Source/Binary Format: 1.8
> Build, Compile, Java Platform is JDK 14 (Default)



--
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] [Created] (NETBEANS-6089) Java type conversion error hint in editor vs compiler

2021-10-03 Thread Bernard (Jira)
Bernard created NETBEANS-6089:
-

 Summary: Java type conversion error hint in editor vs compiler
 Key: NETBEANS-6089
 URL: https://issues.apache.org/jira/browse/NETBEANS-6089
 Project: NetBeans
  Issue Type: Bug
  Components: java - Source
Affects Versions: 12.5
Reporter: Bernard


Settings imported from IDE 12.4
Project is fine with IDE 12.4
Project compiles without errors in 12.4 and 12.5

With 12.5, getting problems in the editor and in the Projects window as follows:

On the following source code:
final List> evaluatedPopulation = 
this.populationAccessibleEvolutionEngine.getEvaluatedPopulation();

I get a red error hint:
incompatible types: List cannot be converted to 
List>

(Alt-Enter shows hints)
and in the Project window, the project is marked red.

The relevant source code:

private final PopulationAccessibleEvolutionEngine 
populationAccessibleEvolutionEngine;

The above code has parameterized type CgpNetwork as seen below:

public class PopulationAccessibleEvolutionEngine extends 
GenerationalEvolutionEngine implements EvaluatedPopulationAccessible {

In Project settings:
Sources, Source/Binary Format: 1.8
Build, Compile, Java Platform is JDK 14 (Default)



--
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-2443) Can't start profiler

2021-09-12 Thread Bernard (Jira)


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

Bernard commented on NETBEANS-2443:
---

With IDE 12.4 on Windows, if I extract and run it in a directory without 
spaces, then with bundled Maven I get a different error "The syntax of the 
command is incorrect.".

But then at least I can get around this error by using the older Maven version 
3.3.9.

So we have TWO issues. At least one is a Maven issue. I also remember this 
vaguely from about a year ago because I used this workaround then with IDE 12.3 
I think. From my notes then (sorry I am getting tired, have to go back to 
sleep):

https://issues.maven.apache.narkive.com/u1YebYNI/jira-created-mng-6385-windows-mvn-cmd-fail-with-incorrect-command-syntax
[https://stackoverflow.com/questions/13756224/splitting-the-parameter-in-a-batch-file-multiple-times/13779820#13779820]

This is the sort of thing that happens if one lets things slip for too long. 
Total meltdown. I would suggest to create a blocking dependency such as NOT to 
ship a Windows installer until it is verified that the profiler works WITH THE 
BUNDLED MAVEN VERSION.

In other words this has to be escalated and cannot be dealt with purely by 
looking at the profiler alone.

> Can't start profiler
> 
>
> Key: NETBEANS-2443
> URL: https://issues.apache.org/jira/browse/NETBEANS-2443
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Attach, profiler - Base, profiler - Engine, 
> profiler - IDE
>Affects Versions: 11.0, 12.3, 12.4
> Environment: Windows 10
> NetBeans 11 using Java 12 (tried with 8 also)
>Reporter: HenryDL
>Priority: Blocker
>  Labels: pull-request-available
> Attachments: image-2020-07-06-19-01-34-316.png, 
> image-2021-07-21-02-56-43-096.png, image-2021-07-21-02-57-38-437.png, 
> image-2021-07-21-02-58-15-148.png, image-2021-07-21-02-59-19-737.png, 
> image-2021-07-21-02-59-42-180.png, image-2021-07-21-03-01-40-283.png, 
> image-2021-07-21-03-02-51-206.png, image-2021-07-21-03-03-15-783.png, 
> image-2021-07-21-03-04-15-005.png, image-2021-07-21-03-05-35-690.png
>
>  Time Spent: 4h 10m
>  Remaining Estimate: 0h
>
> I'm not able to start the NetBeans Profiler for Maven projects.
> *Recreate:*
>  # Create a new Maven Java Application using the IDE.
>  # Using the IDE add a new JFrame file (it contains a main method that simply 
> opens the a new JFrame).
>  # Right-click the new project and select _Profile_.
>  # This opens a Profiler tab. Do the calibration, then press the Profile 
> button at the top of the tab. A _Progress_ popup appears thatgets stuck on 
> the message "Connecting to the target VM...". The _Output_ tab shows a 
> message: "The syntax of the command is incorrect.".
> *Error (in Output tab):*
> {noformat}
> cd C:\_Code\TEMP_CODE\mavenproject1; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk-12" M2_HOME=C:\\_Code\\_TOOLS\\apache-maven-3.6.0 cmd /c 
> "\"\"C:\\_Code\\_TOOLS\\apache-maven-3.6.0\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/_Code/_TOOLS/netbeans 
> 11.0/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\_Code\\_TOOLS\\netbeans
>  11.0\\profiler\\lib\\\",5140,10 -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Henry\\AppData\\Local\\NetBeans\\Cache\\11.0\\mavencachedirs\\645799279\\org-netbeans-modules-profiler
>  -classpath %classpath com.mycompany.mavenproject1.NewJFrame\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk-12\\bin\\java.exe\" 
> -Dmaven.ext.class.path=\"C:\\_Code\\_TOOLS\\netbeans 
> 11.0\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> process-classes org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {noformat}



--
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-2443) Can't start profiler

2021-09-12 Thread Bernard (Jira)


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

Bernard commented on NETBEANS-2443:
---

Tried again with NetBeans 12.4 and bundled Maven. Breaks. I get output:
Files\NetBeans-12.4\netbeans\profiler\lib\\"" was unexpected at this time.

The beginning of the line is the truncated "C:\Program Files\NetBeans-12.4 ..."

I would not know whether this is actually a NetBeans problem or a Maven problem 
because the error output is different depending on which Maven version is used.

This is sad because NetBeans has switched to Maven as its main / preferred 
build system.

So clearly we cannot deal with spaces in paths. We Java people are stupid. We 
cannot even get out of bed. Let alone deal with complex programs. Back to 
sleep. Good night... ZZ

> Can't start profiler
> 
>
> Key: NETBEANS-2443
> URL: https://issues.apache.org/jira/browse/NETBEANS-2443
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Attach, profiler - Base, profiler - Engine, 
> profiler - IDE
>Affects Versions: 11.0, 12.3, 12.4
> Environment: Windows 10
> NetBeans 11 using Java 12 (tried with 8 also)
>Reporter: HenryDL
>Priority: Blocker
>  Labels: pull-request-available
> Attachments: image-2020-07-06-19-01-34-316.png, 
> image-2021-07-21-02-56-43-096.png, image-2021-07-21-02-57-38-437.png, 
> image-2021-07-21-02-58-15-148.png, image-2021-07-21-02-59-19-737.png, 
> image-2021-07-21-02-59-42-180.png, image-2021-07-21-03-01-40-283.png, 
> image-2021-07-21-03-02-51-206.png, image-2021-07-21-03-03-15-783.png, 
> image-2021-07-21-03-04-15-005.png, image-2021-07-21-03-05-35-690.png
>
>  Time Spent: 4h 10m
>  Remaining Estimate: 0h
>
> I'm not able to start the NetBeans Profiler for Maven projects.
> *Recreate:*
>  # Create a new Maven Java Application using the IDE.
>  # Using the IDE add a new JFrame file (it contains a main method that simply 
> opens the a new JFrame).
>  # Right-click the new project and select _Profile_.
>  # This opens a Profiler tab. Do the calibration, then press the Profile 
> button at the top of the tab. A _Progress_ popup appears thatgets stuck on 
> the message "Connecting to the target VM...". The _Output_ tab shows a 
> message: "The syntax of the command is incorrect.".
> *Error (in Output tab):*
> {noformat}
> cd C:\_Code\TEMP_CODE\mavenproject1; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk-12" M2_HOME=C:\\_Code\\_TOOLS\\apache-maven-3.6.0 cmd /c 
> "\"\"C:\\_Code\\_TOOLS\\apache-maven-3.6.0\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/_Code/_TOOLS/netbeans 
> 11.0/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\_Code\\_TOOLS\\netbeans
>  11.0\\profiler\\lib\\\",5140,10 -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Henry\\AppData\\Local\\NetBeans\\Cache\\11.0\\mavencachedirs\\645799279\\org-netbeans-modules-profiler
>  -classpath %classpath com.mycompany.mavenproject1.NewJFrame\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk-12\\bin\\java.exe\" 
> -Dmaven.ext.class.path=\"C:\\_Code\\_TOOLS\\netbeans 
> 11.0\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> process-classes org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {noformat}



--
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] [Updated] (NETBEANS-2443) Can't start profiler

2021-09-12 Thread Bernard (Jira)


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

Bernard updated NETBEANS-2443:
--
Affects Version/s: 12.4

> Can't start profiler
> 
>
> Key: NETBEANS-2443
> URL: https://issues.apache.org/jira/browse/NETBEANS-2443
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Attach, profiler - Base, profiler - Engine, 
> profiler - IDE
>Affects Versions: 11.0, 12.3, 12.4
> Environment: Windows 10
> NetBeans 11 using Java 12 (tried with 8 also)
>Reporter: HenryDL
>Priority: Blocker
>  Labels: pull-request-available
> Attachments: image-2020-07-06-19-01-34-316.png, 
> image-2021-07-21-02-56-43-096.png, image-2021-07-21-02-57-38-437.png, 
> image-2021-07-21-02-58-15-148.png, image-2021-07-21-02-59-19-737.png, 
> image-2021-07-21-02-59-42-180.png, image-2021-07-21-03-01-40-283.png, 
> image-2021-07-21-03-02-51-206.png, image-2021-07-21-03-03-15-783.png, 
> image-2021-07-21-03-04-15-005.png, image-2021-07-21-03-05-35-690.png
>
>  Time Spent: 4h 10m
>  Remaining Estimate: 0h
>
> I'm not able to start the NetBeans Profiler for Maven projects.
> *Recreate:*
>  # Create a new Maven Java Application using the IDE.
>  # Using the IDE add a new JFrame file (it contains a main method that simply 
> opens the a new JFrame).
>  # Right-click the new project and select _Profile_.
>  # This opens a Profiler tab. Do the calibration, then press the Profile 
> button at the top of the tab. A _Progress_ popup appears thatgets stuck on 
> the message "Connecting to the target VM...". The _Output_ tab shows a 
> message: "The syntax of the command is incorrect.".
> *Error (in Output tab):*
> {noformat}
> cd C:\_Code\TEMP_CODE\mavenproject1; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk-12" M2_HOME=C:\\_Code\\_TOOLS\\apache-maven-3.6.0 cmd /c 
> "\"\"C:\\_Code\\_TOOLS\\apache-maven-3.6.0\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/_Code/_TOOLS/netbeans 
> 11.0/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\_Code\\_TOOLS\\netbeans
>  11.0\\profiler\\lib\\\",5140,10 -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Henry\\AppData\\Local\\NetBeans\\Cache\\11.0\\mavencachedirs\\645799279\\org-netbeans-modules-profiler
>  -classpath %classpath com.mycompany.mavenproject1.NewJFrame\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk-12\\bin\\java.exe\" 
> -Dmaven.ext.class.path=\"C:\\_Code\\_TOOLS\\netbeans 
> 11.0\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> process-classes org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {noformat}



--
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] [Created] (NETBEANS-5811) Annoying Auto Popup Completion Window with plain text

2021-06-24 Thread Arnaud BERNARD (Jira)
Arnaud BERNARD created NETBEANS-5811:


 Summary: Annoying Auto Popup Completion Window with plain text
 Key: NETBEANS-5811
 URL: https://issues.apache.org/jira/browse/NETBEANS-5811
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Completion  Templates
Affects Versions: 12.3, 12.4
 Environment: Authentic Windows 10 Pro 64bits version 21H1 up to date.
Reporter: Arnaud BERNARD
 Attachments: netbeans-auto-popup_1.png, netbeans-auto-popup_2.png

Hi,

If you uncheck "Auto Popup Completion Window" only for HTML, the Popup still 
showing up each time you press the space bar to write a plain text in HTML tags 
inside a PHP file.

As I had already read, It's really annoying when you use NetBeans as simple 
text editor, even if I spend most of my time to code in PHP.

The only way to turn of this feature with the HTML is to uncheck "Auto Popup 
Completion Window" for all languages.

This problem is not new. I tried several parameters, in PHP tab with no success.

Thanks,



--
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] [Updated] (NETBEANS-2443) Can't start profiler

2021-05-23 Thread Bernard (Jira)


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

Bernard updated NETBEANS-2443:
--
Priority: Blocker  (was: Major)

> Can't start profiler
> 
>
> Key: NETBEANS-2443
> URL: https://issues.apache.org/jira/browse/NETBEANS-2443
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Attach, profiler - Base, profiler - Engine, 
> profiler - IDE
>Affects Versions: 11.0, 12.3
> Environment: Windows 10
> NetBeans 11 using Java 12 (tried with 8 also)
>Reporter: HenryDL
>Priority: Blocker
> Attachments: image-2020-07-06-19-01-34-316.png
>
>
> I'm not able to start the NetBeans Profiler for Maven projects.
> *Recreate:*
>  # Create a new Maven Java Application using the IDE.
>  # Using the IDE add a new JFrame file (it contains a main method that simply 
> opens the a new JFrame).
>  # Right-click the new project and select _Profile_.
>  # This opens a Profiler tab. Do the calibration, then press the Profile 
> button at the top of the tab. A _Progress_ popup appears thatgets stuck on 
> the message "Connecting to the target VM...". The _Output_ tab shows a 
> message: "The syntax of the command is incorrect.".
> *Error (in Output tab):*
> {noformat}
> cd C:\_Code\TEMP_CODE\mavenproject1; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk-12" M2_HOME=C:\\_Code\\_TOOLS\\apache-maven-3.6.0 cmd /c 
> "\"\"C:\\_Code\\_TOOLS\\apache-maven-3.6.0\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/_Code/_TOOLS/netbeans 
> 11.0/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\_Code\\_TOOLS\\netbeans
>  11.0\\profiler\\lib\\\",5140,10 -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Henry\\AppData\\Local\\NetBeans\\Cache\\11.0\\mavencachedirs\\645799279\\org-netbeans-modules-profiler
>  -classpath %classpath com.mycompany.mavenproject1.NewJFrame\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk-12\\bin\\java.exe\" 
> -Dmaven.ext.class.path=\"C:\\_Code\\_TOOLS\\netbeans 
> 11.0\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> process-classes org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {noformat}



--
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] [Updated] (NETBEANS-2443) Can't start profiler

2021-05-23 Thread Bernard (Jira)


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

Bernard updated NETBEANS-2443:
--
Affects Version/s: 12.3

> Can't start profiler
> 
>
> Key: NETBEANS-2443
> URL: https://issues.apache.org/jira/browse/NETBEANS-2443
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Attach, profiler - Base, profiler - Engine, 
> profiler - IDE
>Affects Versions: 11.0, 12.3
> Environment: Windows 10
> NetBeans 11 using Java 12 (tried with 8 also)
>Reporter: HenryDL
>Priority: Major
> Attachments: image-2020-07-06-19-01-34-316.png
>
>
> I'm not able to start the NetBeans Profiler for Maven projects.
> *Recreate:*
>  # Create a new Maven Java Application using the IDE.
>  # Using the IDE add a new JFrame file (it contains a main method that simply 
> opens the a new JFrame).
>  # Right-click the new project and select _Profile_.
>  # This opens a Profiler tab. Do the calibration, then press the Profile 
> button at the top of the tab. A _Progress_ popup appears thatgets stuck on 
> the message "Connecting to the target VM...". The _Output_ tab shows a 
> message: "The syntax of the command is incorrect.".
> *Error (in Output tab):*
> {noformat}
> cd C:\_Code\TEMP_CODE\mavenproject1; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk-12" M2_HOME=C:\\_Code\\_TOOLS\\apache-maven-3.6.0 cmd /c 
> "\"\"C:\\_Code\\_TOOLS\\apache-maven-3.6.0\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/_Code/_TOOLS/netbeans 
> 11.0/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\_Code\\_TOOLS\\netbeans
>  11.0\\profiler\\lib\\\",5140,10 -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Henry\\AppData\\Local\\NetBeans\\Cache\\11.0\\mavencachedirs\\645799279\\org-netbeans-modules-profiler
>  -classpath %classpath com.mycompany.mavenproject1.NewJFrame\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk-12\\bin\\java.exe\" 
> -Dmaven.ext.class.path=\"C:\\_Code\\_TOOLS\\netbeans 
> 11.0\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> process-classes org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {noformat}



--
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-2443) Can't start profiler

2021-05-23 Thread Bernard (Jira)


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

Bernard commented on NETBEANS-2443:
---

I get the same problem with Windows 7, NetBeans IDE 12.3, bundled maven version 
is 3.6.3, JDK is 14.
So no profiler in NetBeans. Maven is preferred project type. What to do?

> Can't start profiler
> 
>
> Key: NETBEANS-2443
> URL: https://issues.apache.org/jira/browse/NETBEANS-2443
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Attach, profiler - Base, profiler - Engine, 
> profiler - IDE
>Affects Versions: 11.0
> Environment: Windows 10
> NetBeans 11 using Java 12 (tried with 8 also)
>Reporter: HenryDL
>Priority: Major
> Attachments: image-2020-07-06-19-01-34-316.png
>
>
> I'm not able to start the NetBeans Profiler for Maven projects.
> *Recreate:*
>  # Create a new Maven Java Application using the IDE.
>  # Using the IDE add a new JFrame file (it contains a main method that simply 
> opens the a new JFrame).
>  # Right-click the new project and select _Profile_.
>  # This opens a Profiler tab. Do the calibration, then press the Profile 
> button at the top of the tab. A _Progress_ popup appears thatgets stuck on 
> the message "Connecting to the target VM...". The _Output_ tab shows a 
> message: "The syntax of the command is incorrect.".
> *Error (in Output tab):*
> {noformat}
> cd C:\_Code\TEMP_CODE\mavenproject1; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk-12" M2_HOME=C:\\_Code\\_TOOLS\\apache-maven-3.6.0 cmd /c 
> "\"\"C:\\_Code\\_TOOLS\\apache-maven-3.6.0\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/_Code/_TOOLS/netbeans 
> 11.0/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\_Code\\_TOOLS\\netbeans
>  11.0\\profiler\\lib\\\",5140,10 -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Henry\\AppData\\Local\\NetBeans\\Cache\\11.0\\mavencachedirs\\645799279\\org-netbeans-modules-profiler
>  -classpath %classpath com.mycompany.mavenproject1.NewJFrame\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk-12\\bin\\java.exe\" 
> -Dmaven.ext.class.path=\"C:\\_Code\\_TOOLS\\netbeans 
> 11.0\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> process-classes org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {noformat}



--
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-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-09 Thread Bernard (Jira)


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

Bernard commented on NETBEANS-4559:
---

Hi,

I have added to the Run Project Action:

Execute goals: package

Properties: netbeans.deploy=true

Then I can save the path which then appears in the Properties:

netbeans.deploy.clientUrlPart=CinemaMonitor.html

With all that, I can run the project and it launches the relative page in the 
browser after deploying to GlassFish.

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, 
> ProjectPropertiesActionRun.png, ProjectPropertiesRun.png, 
> PropertiesBefore.png, PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, image-2020-08-09-11-54-50-908.png, 
> messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-09 Thread Bernard (Jira)


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

Bernard commented on NETBEANS-4559:
---

Here is the project's Run, what is seen above the Actions:

!ProjectPropertiesRun.png!

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, 
> ProjectPropertiesActionRun.png, ProjectPropertiesRun.png, 
> PropertiesBefore.png, PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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] [Updated] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-09 Thread Bernard (Jira)


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

Bernard updated NETBEANS-4559:
--
Attachment: ProjectPropertiesRun.png

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, 
> ProjectPropertiesActionRun.png, ProjectPropertiesRun.png, 
> PropertiesBefore.png, PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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] [Issue Comment Deleted] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-09 Thread Bernard (Jira)


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

Bernard updated NETBEANS-4559:
--
Comment: was deleted

(was: The Run above the aActions is as follows:
!ProjectPropertiesActionRun.png!)

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, 
> ProjectPropertiesActionRun.png, PropertiesBefore.png, 
> PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-09 Thread Bernard (Jira)


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

Bernard commented on NETBEANS-4559:
---

The Run above the aActions is as follows:
!ProjectPropertiesActionRun.png!

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, 
> ProjectPropertiesActionRun.png, PropertiesBefore.png, 
> PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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] [Updated] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-09 Thread Bernard (Jira)


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

Bernard updated NETBEANS-4559:
--
Attachment: ProjectPropertiesActionRun.png

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, 
> ProjectPropertiesActionRun.png, PropertiesBefore.png, 
> PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-09 Thread Bernard (Jira)


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

Bernard commented on NETBEANS-4559:
---

As shown in my previous comments, the Run properties are empty, so I would need 
a full set of properties there to see what happens. I don't know where you get 
your properties from. The attached project does not have them.

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, PropertiesBefore.png, 
> PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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] [Updated] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-09 Thread Bernard (Jira)


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

Bernard updated NETBEANS-4559:
--
Attachment: ProjectPropertiesActionRun.png

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, PropertiesBefore.png, 
> PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-09 Thread Bernard (Jira)


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

Bernard commented on NETBEANS-4559:
---

!ProjectPropertiesActionRun.png!

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, PropertiesBefore.png, 
> PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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] [Updated] (NETBEANS-4595) exec-maven-plugin Java version different from maven-compiler-plugin Java version in NetBeans project

2020-07-17 Thread Bernard (Jira)


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

Bernard updated NETBEANS-4595:
--
Attachment: testcase.zip

> exec-maven-plugin Java version different from maven-compiler-plugin Java 
> version in NetBeans project
> 
>
> Key: NETBEANS-4595
> URL: https://issues.apache.org/jira/browse/NETBEANS-4595
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0
> Environment: Windows 7
>Reporter: Bernard
>Priority: Critical
> Attachments: testcase.zip
>
>
> I start up the NetBeans IDE 12.0 with a system environment JAVA_HOME (1.8) 
> lower than what the IDE uses (14).
> In the project properties, I have set the Build|Compile|Java Platform to JDK 
> 14 (Default) as expected.
> The IDE output window of Maven execution seems to show that the project is 
> run with JAVA_HOME for JDK 14, running project files this way.
> But the exec-maven-plugin fails with java.lang.UnsupportedClassVersionError: 
> com/mycompany/Start has been compiled by a more recent version of the Java 
> Runtime (class file version 55.0), this version of the Java Runtime only 
> recognizes class file versions up to 52.0
> This seems to indicate that the the exec-maven plugin runs under 1.8 in the 
> IDE, ignoring the IDE's own override setting of JAVA_HOME of 14. It appears 
> to use the JDK as set in JAVA_HOME, because if I set JAVA_HOME to 14.0 before 
> IDE startup then it works.
> I am looking for the correct way, the right places, to set the JDK for any 
> project specifically, regardless of the JAVA_HOME setting that is active when 
> the IDE starts.
> My case can be reproduced by running the IDE 12.0 with JDK 14.0 installed, 
> but with JAVA_HOME set to 1.8. before IDE startup. I use the Maven project 
> generated from the command at https://wicket.apache.org/start/quickstart.html 
> - all set to defaults. The file to run is Start.java.
> This is important to me because I must open many different projects with 
> different JDKs so it is not practical to re-start the IDE with different 
> JAVA_HOME settings each time. As it is, it appears that my setting is poorly 
> defined - I must be missing something.
> I know that there are potentially other solutions in maven like the 
> Toolchains plugin. However, with all of that, I would lose IDE support which 
> is letting the project properties dialog drive the JDK in use for everything. 
> Plus I can already see that the IDE aims to do the right thing by overriding 
> JAVA_HOME - for some reason this does not seem to be working and I think that 
> this might be the bug.



--
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] [Created] (NETBEANS-4595) exec-maven-plugin Java version different from maven-compiler-plugin Java version in NetBeans project

2020-07-17 Thread Bernard (Jira)
Bernard created NETBEANS-4595:
-

 Summary: exec-maven-plugin Java version different from 
maven-compiler-plugin Java version in NetBeans project
 Key: NETBEANS-4595
 URL: https://issues.apache.org/jira/browse/NETBEANS-4595
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Maven
Affects Versions: 12.0
 Environment: Windows 7
Reporter: Bernard


I start up the NetBeans IDE 12.0 with a system environment JAVA_HOME (1.8) 
lower than what the IDE uses (14).

In the project properties, I have set the Build|Compile|Java Platform to JDK 14 
(Default) as expected.

The IDE output window of Maven execution seems to show that the project is run 
with JAVA_HOME for JDK 14, running project files this way.

But the exec-maven-plugin fails with java.lang.UnsupportedClassVersionError: 
com/mycompany/Start has been compiled by a more recent version of the Java 
Runtime (class file version 55.0), this version of the Java Runtime only 
recognizes class file versions up to 52.0

This seems to indicate that the the exec-maven plugin runs under 1.8 in the 
IDE, ignoring the IDE's own override setting of JAVA_HOME of 14. It appears to 
use the JDK as set in JAVA_HOME, because if I set JAVA_HOME to 14.0 before IDE 
startup then it works.

I am looking for the correct way, the right places, to set the JDK for any 
project specifically, regardless of the JAVA_HOME setting that is active when 
the IDE starts.

My case can be reproduced by running the IDE 12.0 with JDK 14.0 installed, but 
with JAVA_HOME set to 1.8. before IDE startup. I use the Maven project 
generated from the command at https://wicket.apache.org/start/quickstart.html - 
all set to defaults. The file to run is Start.java.

This is important to me because I must open many different projects with 
different JDKs so it is not practical to re-start the IDE with different 
JAVA_HOME settings each time. As it is, it appears that my setting is poorly 
defined - I must be missing something.

I know that there are potentially other solutions in maven like the Toolchains 
plugin. However, with all of that, I would lose IDE support which is letting 
the project properties dialog drive the JDK in use for everything. Plus I can 
already see that the IDE aims to do the right thing by overriding JAVA_HOME - 
for some reason this does not seem to be working and I think that this might be 
the bug.



--
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-2637) IllegalStateException in RequestProcessor after duplicate install attempt of nbjavac Library [1.6] on message request

2020-07-11 Thread Bernard (Jira)


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

Bernard commented on NETBEANS-2637:
---

I still see this in IDE 11.3 in the notification area at times, so nothing 
seems to have changed. I can't say what the impact is though.

> IllegalStateException in RequestProcessor after duplicate install attempt of 
> nbjavac Library [1.6] on message request
> -
>
> Key: NETBEANS-2637
> URL: https://issues.apache.org/jira/browse/NETBEANS-2637
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
>Reporter: Bernard
>Assignee: paul deauna
>Priority: Major
> Attachments: messages.log, messages.log, uigestures
>
>
> As part of the discovery of NETBEANS-1824, I gradually built up the IDE 
> state, adding project after project (14) with some re-starts in between to 
> get clean log files for inspection. I selected the projects to be simple, and 
> I verified before with the maven graph viewer that they did not contain the 
> problematic lombok dependency. In the latest iteration, at a new re-start, 
> without me doing anything, a NullPointerException occurred (also logged as 
> message but later disappeared from the message queue) and a message prompt to 
> install nbjavac Library. I first saved the log to get the NPE and then I 
> followed the prompt. "The following plugins will be installed:
> nbjavac Library [1.6]." This failed with the latest exception which makes 
> sense because it would have been already installed by the initial 
> installation and updates. So the 2nd question is what lets the IDE decide to 
> make this wrong decision? And the 1st question is what is this 
> NullPointerException that occurs at this iteration where the number of 
> projects is less than in a different installation of the same version with 
> the lombok bug present.



--
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] [Updated] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL

2020-07-08 Thread Bernard (Jira)


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

Bernard updated NETBEANS-4559:
--
Description: 
Please see attached images and project.

In the project properties, there is a field "Relative URL" for the page to load 
relative to the context path.

If I enter it and confirm the dialog, then after re-opening the dialog again, 
the value is lost.

 

The project is from 
[https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
 - just adapted to run under NetBeans.

 

  was:
Please see attached images and project.

In the project properties, there is a field "Relative URL" for the page load 
relative to the context path.

If I enter it and confirm the dialog, then after re-opening the dialog again, 
the value is lost.

 

The project is from 
[https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
 - just adapted to run under NetBeans.

 


> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: PropertiesBefore.png, PropertiesBeforeAfter.png, 
> WebSocketMovieTheater.zip, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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] [Updated] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL

2020-07-08 Thread Bernard (Jira)


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

Bernard updated NETBEANS-4559:
--
Priority: Critical  (was: Major)

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: PropertiesBefore.png, PropertiesBeforeAfter.png, 
> WebSocketMovieTheater.zip, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page load 
> relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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] [Updated] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL

2020-07-08 Thread Bernard (Jira)


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

Bernard updated NETBEANS-4559:
--
Description: 
Please see attached images and project.

In the project properties, there is a field "Relative URL" for the page load 
relative to the context path.

If I enter it and confirm the dialog, then after re-opening the dialog again, 
the value is lost.

 

The project is from 
[https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
 - just adapted to run under NetBeans.

 

  was:
Please see attached images and project.

In the project properties, there is a field "Relative URL" for the page load 
relative to the context path.

If I enter it and confirm the dialog, then after re-opening the dialog again, 
the value is lost.


> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Major
> Attachments: PropertiesBefore.png, PropertiesBeforeAfter.png, 
> WebSocketMovieTheater.zip, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page load 
> relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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] [Updated] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL

2020-07-08 Thread Bernard (Jira)


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

Bernard updated NETBEANS-4559:
--
Attachment: WebSocketMovieTheater.zip
PropertiesBeforeAfter.png
PropertiesBefore.png
messages.log

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Major
> Attachments: PropertiesBefore.png, PropertiesBeforeAfter.png, 
> WebSocketMovieTheater.zip, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page load 
> relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.



--
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] [Created] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL

2020-07-08 Thread Bernard (Jira)
Bernard created NETBEANS-4559:
-

 Summary: Web Project Properties Dialog fails to save Relative URL
 Key: NETBEANS-4559
 URL: https://issues.apache.org/jira/browse/NETBEANS-4559
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Maven
Affects Versions: 11.3
Reporter: Bernard


Please see attached images and project.

In the project properties, there is a field "Relative URL" for the page load 
relative to the context path.

If I enter it and confirm the dialog, then after re-opening the dialog again, 
the value is lost.



--
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] [Updated] (NETBEANS-4408) JUnit single method test execution fails with exception

2020-07-08 Thread Bernard (Jira)


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

Bernard updated NETBEANS-4408:
--
Summary: JUnit single method test execution fails with exception  (was: 
JUnit single method test execution fails with eception)

> JUnit single method test execution fails with exception
> ---
>
> Key: NETBEANS-4408
> URL: https://issues.apache.org/jira/browse/NETBEANS-4408
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit
>Affects Versions: 11.3
> Environment: Windows 7
>Reporter: Bernard
>Priority: Critical
> Attachments: TestProject.zip, messages.log
>
>
> java.lang.UnsupportedOperationException: command: clean, JavaRunner impls: 
> [org.netbeans.modules.java.source.ant.ProjectRunnerImpl@bf847d8]
>  at 
> org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:303)
>  at 
> org.netbeans.modules.maven.cos.CosChecker.cleanGeneratedClassfiles(CosChecker.java:293)
>  at 
> org.netbeans.modules.maven.cos.CosChecker.touchProject(CosChecker.java:480)
>  at 
> org.netbeans.modules.maven.cos.CosChecker.checkRunConfig(CosChecker.java:135)
>  at 
> org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:215)
> [catch] at 
> org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)
> The project and method under test are both trivial.
> Happens frequently when I right click on the method
> testGetTalkStreamUrlWork3(){
> }
> and then "Run focused test method"
> In the output window, I see Run() is still running - a new instance is addedd 
> every time I repeat this and a new error is generated.
> Permanently fails. Does not happen all the time, only sometimes so it is 
> perhaps difficult to reproduce.
> Have to re-start the IDE to fix it.
> "TestProject.zip5 kB
>  
>  Jira could not attach the file as there was a missing token. Please try 
> attaching the file again."
>  
> "messages.log113 kB
>   Jira could not attach the file as there was a missing token. Please try 
> attaching the file again."
> Will try later to attach log files and project.



--
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] [Updated] (NETBEANS-4543) XML validation breaks with multiple schema files

2020-07-06 Thread Bernard (Jira)


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

Bernard updated NETBEANS-4543:
--
Attachment: MultiSchemaValidation.zip

> XML validation breaks with multiple schema files
> 
>
> Key: NETBEANS-4543
> URL: https://issues.apache.org/jira/browse/NETBEANS-4543
> Project: NetBeans
>  Issue Type: Bug
>  Components: xml - Schema
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: MultiSchemaValidation.zip
>
>
> If an XML file loaded in the editor is validated against multiple schema 
> files, then validation breaks under an observed condition.
> The condition is that definitions in the schema files reference each other. 
> In this case, it appears to be important that the validator builds the schema 
> from the multiple files in such a way that the order in which the files are 
> loaded matching the hierarchy. Dependent files need to be loaded after the 
> files that they depended on.
> I am coming to this conclusion after building a test case. This this test 
> case builds the schema in the correct way, using an iterative brute force 
> approach.
> If the schema files are loaded in the incorrect order, then the schema cannot 
> be built, and validation is not even started.
> I am donating the code in the test case to Apache Netbeans with the aim that 
> the validation using the editor is fixed, using the insight gained from the 
> test case.
>  



--
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] [Created] (NETBEANS-4543) XML validation breaks with multiple schema files

2020-07-06 Thread Bernard (Jira)
Bernard created NETBEANS-4543:
-

 Summary: XML validation breaks with multiple schema files
 Key: NETBEANS-4543
 URL: https://issues.apache.org/jira/browse/NETBEANS-4543
 Project: NetBeans
  Issue Type: Bug
  Components: xml - Schema
Affects Versions: 11.3
Reporter: Bernard


If an XML file loaded in the editor is validated against multiple schema files, 
then validation breaks under an observed condition.

The condition is that definitions in the schema files reference each other. In 
this case, it appears to be important that the validator builds the schema from 
the multiple files in such a way that the order in which the files are loaded 
matching the hierarchy. Dependent files need to be loaded after the files that 
they depended on.

I am coming to this conclusion after building a test case. This this test case 
builds the schema in the correct way, using an iterative brute force approach.

If the schema files are loaded in the incorrect order, then the schema cannot 
be built, and validation is not even started.

I am donating the code in the test case to Apache Netbeans with the aim that 
the validation using the editor is fixed, using the insight gained from the 
test case.

 



--
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-4408) JUnit single method test execution fails with eception

2020-06-05 Thread Bernard (Jira)


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

Bernard commented on NETBEANS-4408:
---

I am changing the priority because I know that there is current work in junit 
support where this cold help. I don't know whether it is relevant but I had JDK 
1.8 in the IDE startup environment while the IDE uses JDK 14.

> JUnit single method test execution fails with eception
> --
>
> Key: NETBEANS-4408
> URL: https://issues.apache.org/jira/browse/NETBEANS-4408
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit
>Affects Versions: 11.3
> Environment: Windows 7
>Reporter: Bernard
>Priority: Critical
> Attachments: TestProject.zip, messages.log
>
>
> java.lang.UnsupportedOperationException: command: clean, JavaRunner impls: 
> [org.netbeans.modules.java.source.ant.ProjectRunnerImpl@bf847d8]
>  at 
> org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:303)
>  at 
> org.netbeans.modules.maven.cos.CosChecker.cleanGeneratedClassfiles(CosChecker.java:293)
>  at 
> org.netbeans.modules.maven.cos.CosChecker.touchProject(CosChecker.java:480)
>  at 
> org.netbeans.modules.maven.cos.CosChecker.checkRunConfig(CosChecker.java:135)
>  at 
> org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:215)
> [catch] at 
> org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)
> The project and method under test are both trivial.
> Happens frequently when I right click on the method
> testGetTalkStreamUrlWork3(){
> }
> and then "Run focused test method"
> In the output window, I see Run() is still running - a new instance is addedd 
> every time I repeat this and a new error is generated.
> Permanently fails. Does not happen all the time, only sometimes so it is 
> perhaps difficult to reproduce.
> Have to re-start the IDE to fix it.
> "TestProject.zip5 kB
>  
>  Jira could not attach the file as there was a missing token. Please try 
> attaching the file again."
>  
> "messages.log113 kB
>   Jira could not attach the file as there was a missing token. Please try 
> attaching the file again."
> Will try later to attach log files and project.



--
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] [Updated] (NETBEANS-4408) JUnit single method test execution fails with eception

2020-06-05 Thread Bernard (Jira)


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

Bernard updated NETBEANS-4408:
--
Priority: Critical  (was: Major)

> JUnit single method test execution fails with eception
> --
>
> Key: NETBEANS-4408
> URL: https://issues.apache.org/jira/browse/NETBEANS-4408
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit
>Affects Versions: 11.3
> Environment: Windows 7
>Reporter: Bernard
>Priority: Critical
> Attachments: TestProject.zip, messages.log
>
>
> java.lang.UnsupportedOperationException: command: clean, JavaRunner impls: 
> [org.netbeans.modules.java.source.ant.ProjectRunnerImpl@bf847d8]
>  at 
> org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:303)
>  at 
> org.netbeans.modules.maven.cos.CosChecker.cleanGeneratedClassfiles(CosChecker.java:293)
>  at 
> org.netbeans.modules.maven.cos.CosChecker.touchProject(CosChecker.java:480)
>  at 
> org.netbeans.modules.maven.cos.CosChecker.checkRunConfig(CosChecker.java:135)
>  at 
> org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:215)
> [catch] at 
> org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)
> The project and method under test are both trivial.
> Happens frequently when I right click on the method
> testGetTalkStreamUrlWork3(){
> }
> and then "Run focused test method"
> In the output window, I see Run() is still running - a new instance is addedd 
> every time I repeat this and a new error is generated.
> Permanently fails. Does not happen all the time, only sometimes so it is 
> perhaps difficult to reproduce.
> Have to re-start the IDE to fix it.
> "TestProject.zip5 kB
>  
>  Jira could not attach the file as there was a missing token. Please try 
> attaching the file again."
>  
> "messages.log113 kB
>   Jira could not attach the file as there was a missing token. Please try 
> attaching the file again."
> Will try later to attach log files and project.



--
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] [Created] (NETBEANS-4408) JUnit single method test execution fails with eception

2020-06-03 Thread Bernard (Jira)
Bernard created NETBEANS-4408:
-

 Summary: JUnit single method test execution fails with eception
 Key: NETBEANS-4408
 URL: https://issues.apache.org/jira/browse/NETBEANS-4408
 Project: NetBeans
  Issue Type: Bug
  Components: java - JUnit
Affects Versions: 11.3
 Environment: Windows 7
Reporter: Bernard


java.lang.UnsupportedOperationException: command: clean, JavaRunner impls: 
[org.netbeans.modules.java.source.ant.ProjectRunnerImpl@bf847d8]
 at org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:303)
 at 
org.netbeans.modules.maven.cos.CosChecker.cleanGeneratedClassfiles(CosChecker.java:293)
 at org.netbeans.modules.maven.cos.CosChecker.touchProject(CosChecker.java:480)
 at 
org.netbeans.modules.maven.cos.CosChecker.checkRunConfig(CosChecker.java:135)
 at 
org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:215)
[catch] at 
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)

The project and method under test are both trivial.


Happens frequently when I right click on the method
testGetTalkStreamUrlWork3(){
}

and then "Run focused test method"

In the output window, I see Run() is still running - a new instance is addedd 
every time I repeat this and a new error is generated.

Permanently fails. Does not happen all the time, only sometimes so it is 
perhaps difficult to reproduce.

Have to re-start the IDE to fix it.

"TestProject.zip5 kB
 
 Jira could not attach the file as there was a missing token. Please try 
attaching the file again."
 
"messages.log113 kB
  Jira could not attach the file as there was a missing token. Please try 
attaching the file again."
Will try later to attach log files and project.



--
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] [Updated] (NETBEANS-4408) JUnit single method test execution fails with eception

2020-06-03 Thread Bernard (Jira)


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

Bernard updated NETBEANS-4408:
--
Attachment: TestProject.zip
messages.log

> JUnit single method test execution fails with eception
> --
>
> Key: NETBEANS-4408
> URL: https://issues.apache.org/jira/browse/NETBEANS-4408
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit
>Affects Versions: 11.3
> Environment: Windows 7
>Reporter: Bernard
>Priority: Major
> Attachments: TestProject.zip, messages.log
>
>
> java.lang.UnsupportedOperationException: command: clean, JavaRunner impls: 
> [org.netbeans.modules.java.source.ant.ProjectRunnerImpl@bf847d8]
>  at 
> org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:303)
>  at 
> org.netbeans.modules.maven.cos.CosChecker.cleanGeneratedClassfiles(CosChecker.java:293)
>  at 
> org.netbeans.modules.maven.cos.CosChecker.touchProject(CosChecker.java:480)
>  at 
> org.netbeans.modules.maven.cos.CosChecker.checkRunConfig(CosChecker.java:135)
>  at 
> org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:215)
> [catch] at 
> org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)
> The project and method under test are both trivial.
> Happens frequently when I right click on the method
> testGetTalkStreamUrlWork3(){
> }
> and then "Run focused test method"
> In the output window, I see Run() is still running - a new instance is addedd 
> every time I repeat this and a new error is generated.
> Permanently fails. Does not happen all the time, only sometimes so it is 
> perhaps difficult to reproduce.
> Have to re-start the IDE to fix it.
> "TestProject.zip5 kB
>  
>  Jira could not attach the file as there was a missing token. Please try 
> attaching the file again."
>  
> "messages.log113 kB
>   Jira could not attach the file as there was a missing token. Please try 
> attaching the file again."
> Will try later to attach log files and project.



--
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-3733) Cannot test single method with Maven and Junit 5

2020-04-29 Thread Bernard (Jira)


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

Bernard commented on NETBEANS-3733:
---

I might be wrong but I think what is happening is that people like me are 
filing issues like this, effectively acting as testers, multiple times. Then 
they see that these issues are not even assigned to anyone. These people then 
start to think that there are probably not enough developer resources. Like the 
developers not getting paid or something like that. Then the people think what 
is the point of testing even more / earlier? So perhaps NetBeans needs sponsors 
and / or some donate buttons. Just an idea.

> Cannot test single method with Maven and Junit 5
> 
>
> Key: NETBEANS-3733
> URL: https://issues.apache.org/jira/browse/NETBEANS-3733
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit, projects - Maven
>Affects Versions: 11.1, 11.2, 11.3
>Reporter: Bernard
>Priority: Critical
>
> All defaults, hello world application as simple as possible.
> How to reproduce:
> Menu|File|New Project|Java with Maven|Java Application|Finish
> Projects|New|java Class|NewClass|Finish
> Add two methods:
> public void hello1() {
>  System.out.println("Hello 1");
>  }
>  
>  public void hello2() {
>  System.out.println("Hello 2");
>  }
> [Ctrl+Shift+U] Create / Update Tests|JUnit|OK
> generates test as expected, adds dependencies to POM as expected:
> 
>  
>  org.junit.jupiter
>  junit-jupiter-api
>  5.3.1
>  test
>  
>  
>  org.junit.jupiter
>  junit-jupiter-params
>  5.3.1
>  test
>  
>  
>  org.junit.jupiter
>  junit-jupiter-engine
>  5.3.1
>  test
>  
>  
> In generated class NewClassTest now I want to test the single method 
> "testHello2()"
> So I put cursor on it and right click, "Run Focused Test Method".
> I get a dialog:
> "Feature requires update of POM"
> "Executing single test method requires Surefire 2.8+ and JUnit in version 4.8 
> and bigger.
> Update your pom.xml?"
> I click "Yes"
> In pom.xml, another dependecy is added:
> 
>  junit
>  junit
>  4.11
>  
> Si I try again. Put cursor on the method and right click, "Run Focused Test 
> Method".
> I get a message
> "No tests executed for mavenproject1"
> This means that I cannot use the default way of NetBeans to quickly create a 
> class and test it.
> This reproduces with all only defaults selected such as Java Maven project, 
> as simple as it can get. This has worked for about 10 years until it was 
> broken with JUnit 5.
> How can we select JUnit 4 until this is mature?



--
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-3733) Cannot test single method with Maven and Junit 5

2020-04-29 Thread Bernard (Jira)


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

Bernard commented on NETBEANS-3733:
---

I upgraded to Maven 6.3 and changed NetBeans to use it. I cannot see how this 
improves anything. How can I get NetBeans to use JUnit 4? I cannot use NetBeans 
8.2 which seems to work fine. Also the generated test classes do not compile - 
getting duplicate methods. JUnit 5 support seems to be broken. How can this go 
into a release untested?

> Cannot test single method with Maven and Junit 5
> 
>
> Key: NETBEANS-3733
> URL: https://issues.apache.org/jira/browse/NETBEANS-3733
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit, projects - Maven
>Affects Versions: 11.1, 11.2, 11.3
>Reporter: Bernard
>Priority: Critical
>
> All defaults, hello world application as simple as possible.
> How to reproduce:
> Menu|File|New Project|Java with Maven|Java Application|Finish
> Projects|New|java Class|NewClass|Finish
> Add two methods:
> public void hello1() {
>  System.out.println("Hello 1");
>  }
>  
>  public void hello2() {
>  System.out.println("Hello 2");
>  }
> [Ctrl+Shift+U] Create / Update Tests|JUnit|OK
> generates test as expected, adds dependencies to POM as expected:
> 
>  
>  org.junit.jupiter
>  junit-jupiter-api
>  5.3.1
>  test
>  
>  
>  org.junit.jupiter
>  junit-jupiter-params
>  5.3.1
>  test
>  
>  
>  org.junit.jupiter
>  junit-jupiter-engine
>  5.3.1
>  test
>  
>  
> In generated class NewClassTest now I want to test the single method 
> "testHello2()"
> So I put cursor on it and right click, "Run Focused Test Method".
> I get a dialog:
> "Feature requires update of POM"
> "Executing single test method requires Surefire 2.8+ and JUnit in version 4.8 
> and bigger.
> Update your pom.xml?"
> I click "Yes"
> In pom.xml, another dependecy is added:
> 
>  junit
>  junit
>  4.11
>  
> Si I try again. Put cursor on the method and right click, "Run Focused Test 
> Method".
> I get a message
> "No tests executed for mavenproject1"
> This means that I cannot use the default way of NetBeans to quickly create a 
> class and test it.
> This reproduces with all only defaults selected such as Java Maven project, 
> as simple as it can get. This has worked for about 10 years until it was 
> broken with JUnit 5.
> How can we select JUnit 4 until this is mature?



--
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] [Updated] (NETBEANS-3733) Cannot test single method with Maven and Junit 5

2020-04-29 Thread Bernard (Jira)


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

Bernard updated NETBEANS-3733:
--
Priority: Critical  (was: Major)

> Cannot test single method with Maven and Junit 5
> 
>
> Key: NETBEANS-3733
> URL: https://issues.apache.org/jira/browse/NETBEANS-3733
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit, projects - Maven
>Affects Versions: 11.1, 11.2, 11.3
>Reporter: Bernard
>Priority: Critical
>
> All defaults, hello world application as simple as possible.
> How to reproduce:
> Menu|File|New Project|Java with Maven|Java Application|Finish
> Projects|New|java Class|NewClass|Finish
> Add two methods:
> public void hello1() {
>  System.out.println("Hello 1");
>  }
>  
>  public void hello2() {
>  System.out.println("Hello 2");
>  }
> [Ctrl+Shift+U] Create / Update Tests|JUnit|OK
> generates test as expected, adds dependencies to POM as expected:
> 
>  
>  org.junit.jupiter
>  junit-jupiter-api
>  5.3.1
>  test
>  
>  
>  org.junit.jupiter
>  junit-jupiter-params
>  5.3.1
>  test
>  
>  
>  org.junit.jupiter
>  junit-jupiter-engine
>  5.3.1
>  test
>  
>  
> In generated class NewClassTest now I want to test the single method 
> "testHello2()"
> So I put cursor on it and right click, "Run Focused Test Method".
> I get a dialog:
> "Feature requires update of POM"
> "Executing single test method requires Surefire 2.8+ and JUnit in version 4.8 
> and bigger.
> Update your pom.xml?"
> I click "Yes"
> In pom.xml, another dependecy is added:
> 
>  junit
>  junit
>  4.11
>  
> Si I try again. Put cursor on the method and right click, "Run Focused Test 
> Method".
> I get a message
> "No tests executed for mavenproject1"
> This means that I cannot use the default way of NetBeans to quickly create a 
> class and test it.
> This reproduces with all only defaults selected such as Java Maven project, 
> as simple as it can get. This has worked for about 10 years until it was 
> broken with JUnit 5.
> How can we select JUnit 4 until this is mature?



--
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] [Created] (NETBEANS-4252) editor: build.gradle select in projects does not work

2020-04-25 Thread Bernard (Jira)
Bernard created NETBEANS-4252:
-

 Summary: editor: build.gradle select in projects does not work
 Key: NETBEANS-4252
 URL: https://issues.apache.org/jira/browse/NETBEANS-4252
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Editor
Affects Versions: 11.3
 Environment: JDK 14, Windows 7
Reporter: Bernard


How to reproduce:

- Open a build.gradle file in the editor
- In the Projects window, select a Java source file from another project
- Switch back to the build.gradle file in the editor
- [Ctrl+Shift+1] or [Right click] Select in Projects

Expected behavior:

In the project window, the build.gradle file should be selected so one can 
navigate the project

Actual behavior:

Nothing is selected / highlighted.



--
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] [Updated] (NETBEANS-1669) Editor History lost

2020-03-05 Thread Bernard (Jira)


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

Bernard updated NETBEANS-1669:
--
Affects Version/s: 11.3

> Editor History lost
> ---
>
> Key: NETBEANS-1669
> URL: https://issues.apache.org/jira/browse/NETBEANS-1669
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Navigation
>Affects Versions: 8.2, 9.0, 11.2, 11.3
>Reporter: Bernard
>Priority: Major
>
> First, Jira is pathetic because it cannot even attach a java or zip file:
> "JIRA could not attach the file as there was a missing token. Please try 
> attaching the file again."
> So I copy the Java file and kindly ask to create a Maven project containing 
> it, otherwise the searches will not work.
>  
> How to reproduce:
> - Open project Sample class Sample
> - Place cursor on line 3 column 37 FLAG_1
> - Press [Alt+F7] find Usages
> - Click button [Find]
> - In results, hit [Enter] on found position which locates at line 9
> - On line 9, append a comment to it: "// I edited this
> This should mark the last edited text location to go back to.
> - On line 9, select / highlight partial string "FLAG_" and press [Ctrl+F] Find
> - Hit [Enter] [Esc], takes cursor to line 16 FLAG_2
> - On first occurrence, [Esc]
> - Press [F3] find again, takes cursor to line 16 FLAG_3
> - Press [Down] + Highlight line after found text and copy [Ctrl+C]
> - [Alt+Back]
> Expected behavior:
> Should go back to position where the last search started, line 9 with 
> "if(FLAG_1){"
> Actual behavior:
> Goes back to line 3 which is the position before the position where the 
> search started:
> private static final boolean FLAG_1 = true;
> So the position where the search started is lost from history.
> This is actually quite critical because:
> I start the search because I want to find some code that is similar to what I 
> just want to continue coding, as a copy and paste operation. So I suspend my 
> current train of thought. After I have actually found that piece of code, I 
> cannot get back to where I want to paste it to.
> Some more background: Because of this scenario of suspended thought, my 
> memory is not sufficient to even remember the condition under which this 
> error occurs because I am already distracted. That, and the fact that my way 
> of thinking is perhaps not unique, rather most people would end up in this 
> trap, that is most likely the reason why this has not been fixed yet.
> ...
>  
> package test.sample;
> class Sample{
>     private static final boolean FLAG_1 = true;
>     private static final boolean FLAG_2 = true;
>     private static final boolean FLAG_3 = true;
>     private void method1(){
>     if(FLAG_1){
>     boolean debug = true;
>     }
>     }
>     private void method2(){
>     if(FLAG_2){
>     boolean debug = true;
>     }
>     if(FLAG_3){
>     boolean debug = true;
>     }
>     }
> }
>  
>  



--
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] [Updated] (NETBEANS-1669) Editor History lost

2020-03-05 Thread Bernard (Jira)


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

Bernard updated NETBEANS-1669:
--
Affects Version/s: 11.2

> Editor History lost
> ---
>
> Key: NETBEANS-1669
> URL: https://issues.apache.org/jira/browse/NETBEANS-1669
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Navigation
>Affects Versions: 8.2, 9.0, 11.2
>Reporter: Bernard
>Priority: Major
>
> First, Jira is pathetic because it cannot even attach a java or zip file:
> "JIRA could not attach the file as there was a missing token. Please try 
> attaching the file again."
> So I copy the Java file and kindly ask to create a Maven project containing 
> it, otherwise the searches will not work.
>  
> How to reproduce:
> - Open project Sample class Sample
> - Place cursor on line 3 column 37 FLAG_1
> - Press [Alt+F7] find Usages
> - Click button [Find]
> - In results, hit [Enter] on found position which locates at line 9
> - On line 9, append a comment to it: "// I edited this
> This should mark the last edited text location to go back to.
> - On line 9, select / highlight partial string "FLAG_" and press [Ctrl+F] Find
> - Hit [Enter] [Esc], takes cursor to line 16 FLAG_2
> - On first occurrence, [Esc]
> - Press [F3] find again, takes cursor to line 16 FLAG_3
> - Press [Down] + Highlight line after found text and copy [Ctrl+C]
> - [Alt+Back]
> Expected behavior:
> Should go back to position where the last search started, line 9 with 
> "if(FLAG_1){"
> Actual behavior:
> Goes back to line 3 which is the position before the position where the 
> search started:
> private static final boolean FLAG_1 = true;
> So the position where the search started is lost from history.
> This is actually quite critical because:
> I start the search because I want to find some code that is similar to what I 
> just want to continue coding, as a copy and paste operation. So I suspend my 
> current train of thought. After I have actually found that piece of code, I 
> cannot get back to where I want to paste it to.
> Some more background: Because of this scenario of suspended thought, my 
> memory is not sufficient to even remember the condition under which this 
> error occurs because I am already distracted. That, and the fact that my way 
> of thinking is perhaps not unique, rather most people would end up in this 
> trap, that is most likely the reason why this has not been fixed yet.
> ...
>  
> package test.sample;
> class Sample{
>     private static final boolean FLAG_1 = true;
>     private static final boolean FLAG_2 = true;
>     private static final boolean FLAG_3 = true;
>     private void method1(){
>     if(FLAG_1){
>     boolean debug = true;
>     }
>     }
>     private void method2(){
>     if(FLAG_2){
>     boolean debug = true;
>     }
>     if(FLAG_3){
>     boolean debug = true;
>     }
>     }
> }
>  
>  



--
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] [Created] (NETBEANS-3747) Package rename causes bogus error

2020-01-24 Thread Bernard (Jira)
Bernard created NETBEANS-3747:
-

 Summary: Package rename causes bogus error
 Key: NETBEANS-3747
 URL: https://issues.apache.org/jira/browse/NETBEANS-3747
 Project: NetBeans
  Issue Type: Bug
  Components: java - Refactoring
Affects Versions: 11.2
Reporter: Bernard


How to reproduce:

All defaults, hello world application as simple as possible.

Menu|File|New Project|Java with Maven|Java Application|Finish
Projects|New|java Class|NewClass|Finish

[Alt+Insert]|Generate|Constructor

Remove public from public NewClass()


Add a method:

void hello() {
 System.out.println("Hello");
 }
 
Save.
 
[Ctrl+Shift+U] Create / Update Tests|JUnit|OK


In the source packages tree, rename mavenproject1 to mavenproject2.
Click button "refactor"

The following warnings and errors were found. You can continue only with 
warnings.

List or errors:

Warning:
Class "NewClassTest" within the same package is using feature "hello()" of 
class you want to move ("NewClass").

Click "Refactor"

That actually creates an import in the test class:

import my.mavenproject2.NewClass;

But the test class has 2 errors as can be expected:

NewClass() is not public in NewClass; cannot be accessed from outside package

hello() is not public in NewClass; cannot be accessed from outside package


Rename the test package mavenproject1 to mavenproject2 to fix the error.

NewClassTest does not have any more errors.

The new import statement in the test class is now "Import From The Same 
Package".

But the test package has a red badge "Contains files with errors."



--
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-3733) Cannot test single method with Maven and Junit 5

2020-01-23 Thread Bernard (Jira)


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

Bernard edited comment on NETBEANS-3733 at 1/23/20 10:46 PM:
-

This might be helpful:

https://stackoverflow.com/questions/45919894/maven-and-junit-5-run-a-single-test-in-a-class


was (Author: bht):
This might be helpful:

[Maven and JUnit 5: run a single test in a 
class|[http://example.com|https://stackoverflow.com/questions/45919894/maven-and-junit-5-run-a-single-test-in-a-class]]

> Cannot test single method with Maven and Junit 5
> 
>
> Key: NETBEANS-3733
> URL: https://issues.apache.org/jira/browse/NETBEANS-3733
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit, projects - Maven
>Affects Versions: 11.1, 11.2
>Reporter: Bernard
>Priority: Major
>
> All defaults, hello world application as simple as possible.
> How to reproduce:
> Menu|File|New Project|Java with Maven|Java Application|Finish
> Projects|New|java Class|NewClass|Finish
> Add two methods:
> public void hello1() {
>  System.out.println("Hello 1");
>  }
>  
>  public void hello2() {
>  System.out.println("Hello 2");
>  }
> [Ctrl+Shift+U] Create / Update Tests|JUnit|OK
> generates test as expected, adds dependencies to POM as expected:
> 
>  
>  org.junit.jupiter
>  junit-jupiter-api
>  5.3.1
>  test
>  
>  
>  org.junit.jupiter
>  junit-jupiter-params
>  5.3.1
>  test
>  
>  
>  org.junit.jupiter
>  junit-jupiter-engine
>  5.3.1
>  test
>  
>  
> In generated class NewClassTest now I want to test the single method 
> "testHello2()"
> So I put cursor on it and right click, "Run Focused Test Method".
> I get a dialog:
> "Feature requires update of POM"
> "Executing single test method requires Surefire 2.8+ and JUnit in version 4.8 
> and bigger.
> Update your pom.xml?"
> I click "Yes"
> In pom.xml, another dependecy is added:
> 
>  junit
>  junit
>  4.11
>  
> Si I try again. Put cursor on the method and right click, "Run Focused Test 
> Method".
> I get a message
> "No tests executed for mavenproject1"
> This means that I cannot use the default way of NetBeans to quickly create a 
> class and test it.
> This reproduces with all only defaults selected such as Java Maven project, 
> as simple as it can get. This has worked for about 10 years until it was 
> broken with JUnit 5.
> How can we select JUnit 4 until this is mature?



--
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-3733) Cannot test single method with Maven and Junit 5

2020-01-23 Thread Bernard (Jira)


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

Bernard commented on NETBEANS-3733:
---

This might be helpful:

[Maven and JUnit 5: run a single test in a 
class|[http://example.com|https://stackoverflow.com/questions/45919894/maven-and-junit-5-run-a-single-test-in-a-class]]

> Cannot test single method with Maven and Junit 5
> 
>
> Key: NETBEANS-3733
> URL: https://issues.apache.org/jira/browse/NETBEANS-3733
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit, projects - Maven
>Affects Versions: 11.1, 11.2
>Reporter: Bernard
>Priority: Major
>
> All defaults, hello world application as simple as possible.
> How to reproduce:
> Menu|File|New Project|Java with Maven|Java Application|Finish
> Projects|New|java Class|NewClass|Finish
> Add two methods:
> public void hello1() {
>  System.out.println("Hello 1");
>  }
>  
>  public void hello2() {
>  System.out.println("Hello 2");
>  }
> [Ctrl+Shift+U] Create / Update Tests|JUnit|OK
> generates test as expected, adds dependencies to POM as expected:
> 
>  
>  org.junit.jupiter
>  junit-jupiter-api
>  5.3.1
>  test
>  
>  
>  org.junit.jupiter
>  junit-jupiter-params
>  5.3.1
>  test
>  
>  
>  org.junit.jupiter
>  junit-jupiter-engine
>  5.3.1
>  test
>  
>  
> In generated class NewClassTest now I want to test the single method 
> "testHello2()"
> So I put cursor on it and right click, "Run Focused Test Method".
> I get a dialog:
> "Feature requires update of POM"
> "Executing single test method requires Surefire 2.8+ and JUnit in version 4.8 
> and bigger.
> Update your pom.xml?"
> I click "Yes"
> In pom.xml, another dependecy is added:
> 
>  junit
>  junit
>  4.11
>  
> Si I try again. Put cursor on the method and right click, "Run Focused Test 
> Method".
> I get a message
> "No tests executed for mavenproject1"
> This means that I cannot use the default way of NetBeans to quickly create a 
> class and test it.
> This reproduces with all only defaults selected such as Java Maven project, 
> as simple as it can get. This has worked for about 10 years until it was 
> broken with JUnit 5.
> How can we select JUnit 4 until this is mature?



--
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] [Created] (NETBEANS-3733) Cannot test single method with Maven and Junit 5

2020-01-23 Thread Bernard (Jira)
Bernard created NETBEANS-3733:
-

 Summary: Cannot test single method with Maven and Junit 5
 Key: NETBEANS-3733
 URL: https://issues.apache.org/jira/browse/NETBEANS-3733
 Project: NetBeans
  Issue Type: Bug
  Components: java - JUnit, projects - Maven
Affects Versions: 11.2, 11.1
Reporter: Bernard


All defaults, hello world application as simple as possible.

How to reproduce:

Menu|File|New Project|Java with Maven|Java Application|Finish
Projects|New|java Class|NewClass|Finish

Add two methods:

public void hello1() {
 System.out.println("Hello 1");
 }
 
 public void hello2() {
 System.out.println("Hello 2");
 }

[Ctrl+Shift+U] Create / Update Tests|JUnit|OK

generates test as expected, adds dependencies to POM as expected:


 
 org.junit.jupiter
 junit-jupiter-api
 5.3.1
 test
 
 
 org.junit.jupiter
 junit-jupiter-params
 5.3.1
 test
 
 
 org.junit.jupiter
 junit-jupiter-engine
 5.3.1
 test
 
 

In generated class NewClassTest now I want to test the single method 
"testHello2()"

So I put cursor on it and right click, "Run Focused Test Method".

I get a dialog:

"Feature requires update of POM"

"Executing single test method requires Surefire 2.8+ and JUnit in version 4.8 
and bigger.
Update your pom.xml?"

I click "Yes"

In pom.xml, another dependecy is added:


 junit
 junit
 4.11
 

Si I try again. Put cursor on the method and right click, "Run Focused Test 
Method".


I get a message

"No tests executed for mavenproject1"


This means that I cannot use the default way of NetBeans to quickly create a 
class and test it.

This reproduces with all only defaults selected such as Java Maven project, as 
simple as it can get. This has worked for about 10 years until it was broken 
with JUnit 5.

How can we select JUnit 4 until this is mature?



--
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] [Updated] (NETBEANS-3051) Database Explorer cannot run queries using Csv Driver

2019-09-01 Thread Bernard (Jira)


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

Bernard updated NETBEANS-3051:
--
Attachment: JdbcCsvSample.zip

> Database Explorer cannot run queries using Csv Driver
> -
>
> Key: NETBEANS-3051
> URL: https://issues.apache.org/jira/browse/NETBEANS-3051
> Project: NetBeans
>  Issue Type: Bug
>  Components: db - Show Data
>Affects Versions: 11.1
> Environment: Windows 7, Java 12
>Reporter: Bernard
>Priority: Major
> Attachments: JdbcCsvSample.zip
>
>
> It is possible to establish a connection using this driver.
> It is also possible to see the tables in the Database Explorer tree for a 
> connection.
> However, running a query fails with a connection error.
> How to reproduce:
> Open and build the attached project. This loads the following dependency into 
> your local repository:
> 
>  org.xbib.jdbc
>  jdbc-driver-csv
>  1.2.0
> 
> Run the project to verify that the connection works as expected.
> This should have loaded the driver into your local repository like:
> C:\Users\user\.m2\repository\org\xbib\jdbc\jdbc-driver-csv\1.2.0\jdbc-driver-csv-1.2.0.jar
> In Database explorer, add the driver with driver file as above:
> Databases|Drivers|New Driver|Add|
> For JDBC URL, add the directory from the project 
> JdbcCsvSample\src\test\resources\csv:
> Add a connection:
> Connect using ...
> JDBC URL: like jdbc:xbib:csv:C:/JdbcCsvSample/src/test/resources/csv
> Connection Properties: line.separator, \r\n
> Test connection.
> The test must work, as it works on my system.
> After the new connection is added, In Database Explorer, on that connection, 
> under Tables, the "SYMBOL" table is visible.
> Right click on "SYMBOL" and select "View Data..."
> This fails with
> [1:1] Failed in 0 s.
> [Exception, Error code 0, SQLState null] Unable to Connect to database : 
> DatabaseConnection[name='jdbc:xbib:csv:C:/JdbcCsvSample/src/test/resources/csv
>  [ on Default schema]']
>  Line 1, column 1
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3051) Database Explorer cannot run queries using Csv Driver

2019-09-01 Thread Bernard (Jira)
Bernard created NETBEANS-3051:
-

 Summary: Database Explorer cannot run queries using Csv Driver
 Key: NETBEANS-3051
 URL: https://issues.apache.org/jira/browse/NETBEANS-3051
 Project: NetBeans
  Issue Type: Bug
  Components: db - Show Data
Affects Versions: 11.1
 Environment: Windows 7, Java 12
Reporter: Bernard


It is possible to establish a connection using this driver.

It is also possible to see the tables in the Database Explorer tree for a 
connection.

However, running a query fails with a connection error.

How to reproduce:

Open and build the attached project. This loads the following dependency into 
your local repository:


 org.xbib.jdbc
 jdbc-driver-csv
 1.2.0



Run the project to verify that the connection works as expected.


This should have loaded the driver into your local repository like:

C:\Users\user\.m2\repository\org\xbib\jdbc\jdbc-driver-csv\1.2.0\jdbc-driver-csv-1.2.0.jar

In Database explorer, add the driver with driver file as above:

Databases|Drivers|New Driver|Add|

For JDBC URL, add the directory from the project 
JdbcCsvSample\src\test\resources\csv:


Add a connection:

Connect using ...


JDBC URL: like jdbc:xbib:csv:C:/JdbcCsvSample/src/test/resources/csv
Connection Properties: line.separator, \r\n

Test connection.

The test must work, as it works on my system.

After the new connection is added, In Database Explorer, on that connection, 
under Tables, the "SYMBOL" table is visible.

Right click on "SYMBOL" and select "View Data..."

This fails with

[1:1] Failed in 0 s.
[Exception, Error code 0, SQLState null] Unable to Connect to database : 
DatabaseConnection[name='jdbc:xbib:csv:C:/JdbcCsvSample/src/test/resources/csv 
[ on Default schema]']
 Line 1, column 1

 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-2637) IllegalStateException in RequestProcessor after duplicate install attempt of nbjavac Library [1.6] on message request

2019-07-16 Thread Bernard (JIRA)


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

Bernard commented on NETBEANS-2637:
---

At the time, it was just an observation. Meanwhile, while I still have the same 
version 11 installation, I got an error in the notification area together with 
other errors prompting me once again to install nbjavac 1.6. I followed the 
prompt and got the same error again. Now I checked Menu|Tools|Plugins In tab 
"Installed"
With Show Details checked, nbjavac library Version 1.6 is installed.

I don't think I can provide steps to reproduce this. I would have to wait until 
it happens again, and then report the other errors that come with it.

> IllegalStateException in RequestProcessor after duplicate install attempt of 
> nbjavac Library [1.6] on message request
> -
>
> Key: NETBEANS-2637
> URL: https://issues.apache.org/jira/browse/NETBEANS-2637
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
>Reporter: Bernard
>Assignee: paul deauna
>Priority: Major
> Attachments: messages.log, messages.log, uigestures
>
>
> As part of the discovery of NETBEANS-1824, I gradually built up the IDE 
> state, adding project after project (14) with some re-starts in between to 
> get clean log files for inspection. I selected the projects to be simple, and 
> I verified before with the maven graph viewer that they did not contain the 
> problematic lombok dependency. In the latest iteration, at a new re-start, 
> without me doing anything, a NullPointerException occurred (also logged as 
> message but later disappeared from the message queue) and a message prompt to 
> install nbjavac Library. I first saved the log to get the NPE and then I 
> followed the prompt. "The following plugins will be installed:
> nbjavac Library [1.6]." This failed with the latest exception which makes 
> sense because it would have been already installed by the initial 
> installation and updates. So the 2nd question is what lets the IDE decide to 
> make this wrong decision? And the 1st question is what is this 
> NullPointerException that occurs at this iteration where the number of 
> projects is less than in a different installation of the same version with 
> the lombok bug present.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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-1824) java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags

2019-07-16 Thread Bernard (JIRA)


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

Bernard commented on NETBEANS-1824:
---

With the checked -out projects, I needed to update the JDK for sources and 
compile to JDK 1.8 otherwise the build did not succeed.

> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> ---
>
> Key: NETBEANS-1824
> URL: https://issues.apache.org/jira/browse/NETBEANS-1824
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0, 10.0, 11.0
>Reporter: Bernard
>Priority: Critical
> Attachments: JiraSeachExpression.PNG, messages.log, messages.log
>
>
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> My IDE is frozen with  NetBeans using CPU on all 8 cores at 100%.
> The log is filled up with messages as below.
> On the screen, there is a dialog "Save (Not Responding)" where it asks to 
> confirm saving 2 Java files. I clicked "Save All" but this kept popping up 
> unresponsive after the IDE lost focus and then re-gained focus in a cycle 
> many times.
> I don't know what the primary issue is - the HIG CPU usage for perhaps 
> another reason or the errors in the log file. I cannot do anything at all 
> because JVisualVM cannot get a handle on NetBeans and waits forever computing 
> a description.
> Therefore, I would think that solving the ClassNotFoundException has the 
> higher priority. It fills up the logs and prevents discovery of other issues. 
> All 3 log files are full of that exception.
>  
> BTW Jira is too hard to use, I cannot search with it in a meaningful way. If 
> I search for anything, then I get results from other projects as well as 
> default which is stupid. The lack of an automatic duplicate search alone has 
> the potential to kill the entire project. Atlassian Jira is the wrong tool 
> for NetBeans. NetBeans needs bugzilla,
> INFO [com.sun.tools.javac.processing.JavacProcessingEnvironment]: Annotation 
> processing error:
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
>     at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:422)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at 
> lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:156)
>     at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:244)
>     at lombok.javac.Javac.(Javac.java:155)
> Caused: java.lang.ExceptionInInitializerError
>     at lombok.javac.handlers.HandleGetter.(HandleGetter.java:303)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:348)
>     at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
>     at 
> lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:171)
>     at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:156)
>     at lombok.javac.JavacTransformer.(JavacTransformer.java:44)
>     at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:87)
>     at 
> lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
>     at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
>     at 
> lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
> [catch] at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:783)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:878)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:112)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1236)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1315)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1341)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1231)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:397)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:320)
>     at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:620)
>     at 
> 

[jira] [Commented] (NETBEANS-1824) java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags

2019-07-16 Thread Bernard (JIRA)


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

Bernard commented on NETBEANS-1824:
---

I have uploaded the file dl4j-examples.zip here:

[https://mega.nz/#!HIAVDSAQ!tL-QgRj7gEoGcuRAAI-uJMgSlOqi4gvbAKTMoU6I01c]

It is the original project that caused the problem. At the same time, I could 
reproduce the problem with the same project cloned fresh from 
[https://github.com/deeplearning4j/dl4j-examples.git] and then checking out 
6bf5d64 from 2017-04-18.

> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> ---
>
> Key: NETBEANS-1824
> URL: https://issues.apache.org/jira/browse/NETBEANS-1824
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0, 10.0, 11.0
>Reporter: Bernard
>Priority: Critical
> Attachments: JiraSeachExpression.PNG, messages.log, messages.log
>
>
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> My IDE is frozen with  NetBeans using CPU on all 8 cores at 100%.
> The log is filled up with messages as below.
> On the screen, there is a dialog "Save (Not Responding)" where it asks to 
> confirm saving 2 Java files. I clicked "Save All" but this kept popping up 
> unresponsive after the IDE lost focus and then re-gained focus in a cycle 
> many times.
> I don't know what the primary issue is - the HIG CPU usage for perhaps 
> another reason or the errors in the log file. I cannot do anything at all 
> because JVisualVM cannot get a handle on NetBeans and waits forever computing 
> a description.
> Therefore, I would think that solving the ClassNotFoundException has the 
> higher priority. It fills up the logs and prevents discovery of other issues. 
> All 3 log files are full of that exception.
>  
> BTW Jira is too hard to use, I cannot search with it in a meaningful way. If 
> I search for anything, then I get results from other projects as well as 
> default which is stupid. The lack of an automatic duplicate search alone has 
> the potential to kill the entire project. Atlassian Jira is the wrong tool 
> for NetBeans. NetBeans needs bugzilla,
> INFO [com.sun.tools.javac.processing.JavacProcessingEnvironment]: Annotation 
> processing error:
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
>     at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:422)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at 
> lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:156)
>     at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:244)
>     at lombok.javac.Javac.(Javac.java:155)
> Caused: java.lang.ExceptionInInitializerError
>     at lombok.javac.handlers.HandleGetter.(HandleGetter.java:303)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:348)
>     at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
>     at 
> lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:171)
>     at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:156)
>     at lombok.javac.JavacTransformer.(JavacTransformer.java:44)
>     at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:87)
>     at 
> lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
>     at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
>     at 
> lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
> [catch] at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:783)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:878)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:112)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1236)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1315)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1341)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1231)
>     at 

[jira] [Commented] (NETBEANS-1824) java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags

2019-07-16 Thread Bernard (JIRA)


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

Bernard commented on NETBEANS-1824:
---

I will try to provide a sample project. I will need some time so I am asking 
for patience. Thanks.

> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> ---
>
> Key: NETBEANS-1824
> URL: https://issues.apache.org/jira/browse/NETBEANS-1824
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0, 10.0, 11.0
>Reporter: Bernard
>Priority: Critical
> Attachments: JiraSeachExpression.PNG, messages.log, messages.log
>
>
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> My IDE is frozen with  NetBeans using CPU on all 8 cores at 100%.
> The log is filled up with messages as below.
> On the screen, there is a dialog "Save (Not Responding)" where it asks to 
> confirm saving 2 Java files. I clicked "Save All" but this kept popping up 
> unresponsive after the IDE lost focus and then re-gained focus in a cycle 
> many times.
> I don't know what the primary issue is - the HIG CPU usage for perhaps 
> another reason or the errors in the log file. I cannot do anything at all 
> because JVisualVM cannot get a handle on NetBeans and waits forever computing 
> a description.
> Therefore, I would think that solving the ClassNotFoundException has the 
> higher priority. It fills up the logs and prevents discovery of other issues. 
> All 3 log files are full of that exception.
>  
> BTW Jira is too hard to use, I cannot search with it in a meaningful way. If 
> I search for anything, then I get results from other projects as well as 
> default which is stupid. The lack of an automatic duplicate search alone has 
> the potential to kill the entire project. Atlassian Jira is the wrong tool 
> for NetBeans. NetBeans needs bugzilla,
> INFO [com.sun.tools.javac.processing.JavacProcessingEnvironment]: Annotation 
> processing error:
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
>     at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:422)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at 
> lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:156)
>     at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:244)
>     at lombok.javac.Javac.(Javac.java:155)
> Caused: java.lang.ExceptionInInitializerError
>     at lombok.javac.handlers.HandleGetter.(HandleGetter.java:303)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:348)
>     at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
>     at 
> lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:171)
>     at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:156)
>     at lombok.javac.JavacTransformer.(JavacTransformer.java:44)
>     at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:87)
>     at 
> lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
>     at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
>     at 
> lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
> [catch] at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:783)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:878)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:112)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1236)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1315)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1341)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1231)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:397)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:320)
>     at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:620)
>     at 
> 

[jira] [Updated] (NETBEANS-2637) IllegalStateException in RequestProcessor after duplicate install attempt of nbjavac Library [1.6] on message request

2019-06-04 Thread Bernard (JIRA)


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

Bernard updated NETBEANS-2637:
--
Summary: IllegalStateException in RequestProcessor after duplicate install 
attempt of nbjavac Library [1.6] on message request  (was: 
IllegalStateException in RequestProcessor after duplicate install of nbjavac 
Library [1.6] on message request)

> IllegalStateException in RequestProcessor after duplicate install attempt of 
> nbjavac Library [1.6] on message request
> -
>
> Key: NETBEANS-2637
> URL: https://issues.apache.org/jira/browse/NETBEANS-2637
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
>Reporter: Bernard
>Priority: Blocker
> Attachments: messages.log, messages.log, uigestures
>
>
> As part of the discovery of NETBEANS-1824, I gradually built up the IDE 
> state, adding project after project (14) with some re-starts in between to 
> get clean log files for inspection. I selected the projects to be simple, and 
> I verified before with the maven graph viewer that they did not contain the 
> problematic lombok dependency. In the latest iteration, at a new re-start, 
> without me doing anything, a NullPointerException occurred (also logged as 
> message but later disappeared from the message queue) and a message prompt to 
> install nbjavac Library. I first saved the log to get the NPE and then I 
> followed the prompt. "The following plugins will be installed:
> nbjavac Library [1.6]." This failed with the latest exception which makes 
> sense because it would have been already installed by the initial 
> installation and updates. So the 2nd question is what lets the IDE decide to 
> make this wrong decision? And the 1st question is what is this 
> NullPointerException that occurs at this iteration where the number of 
> projects is less than in a different installation of the same version with 
> the lombok bug present.



--
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-2631) File Open blocked by Windows message: Windows is searching for mintty.exe

2019-06-04 Thread Bernard (JIRA)


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

Bernard commented on NETBEANS-2631:
---

I can 100% confirm now that before the display of the file dialog, the desktop 
is checked up to 10 times for desktop shortcuts with missing targets, and when 
they were missing (or even not missing as in my initial case), then there is an 
additional dialog sequence that reports the missing target, and some time later 
asks to fix the shortcut. I can confirm this because after I uninstalled GIT 
for Windows, which contains useful commands that subsequent programs find using 
their own installation and use these commands in their own shortcuts which then 
failed when GIT was uninstalled. I can only recommend after decades of IT 
experience to not keep files on the desktop whenever possible because that is 
where strange creatures are doing strange things. I remember I inherited a PC 
from a person who left in a hurry but did not forget to copy all source code to 
a huge zip file on the  desktop for transfer but forgot to delete it. Then on 
every start-up, and before file open dialogs, some terribly useful program 
decided to unpack that huge file and locked up my PC for minutes whenever I 
wanted to open a file anywhere, putting my contract at risk because I requested 
a new PC while everybody knew it was working before.

So thanks for the ideas Geertjan.

I cannot forget to point out that I do not appreciate at all if any program is 
doing these type of sweeping operations which are totally unrelated to the task 
at hand. It just stinks.

 

> File Open blocked by Windows message: Windows is searching for mintty.exe
> -
>
> Key: NETBEANS-2631
> URL: https://issues.apache.org/jira/browse/NETBEANS-2631
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
>Reporter: Bernard
>Priority: Blocker
> Attachments: messages.log, messages.log
>
>
> I installed:
> Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> 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 7 version 6.1 running on amd64; Cp1252; en_NZ (nb)
> On installation, I let the IDE import settings from a 8.2 version.
> How I reproduce it:
> Menu|File|Open File
> And here it starts with multiple Windows dialogs:
> "Windows: Windows is searching for mintty.exe. To locate the file yourself, 
> browse."
> After a while I get another Windows dialog:
> "The item mintty.exe that this shortcut refers to has been changed or moved, 
> so this shortcut will no longer work properly.
> Nearest match, based on size, date and type C:\Program 
> Giles\Git\usr\bin\mintty.exe
> Do you want to fix this shortcut to point to this target or do you just want 
> to delete it?"
> I let it ix it.
> This sequence repeats 3 times until I eventually get the file selection 
> dialog which lets me open a file.
> But it never gets fixed. Every time I use  Menu|File|Open File, the sequence 
> repeats, meaning I need about 10 minutes to open a file. Unfortunately I 
> cannot continue using NetBeans 11 because of this bug, and I am back to 8.2 
> once again. See NETBEANS-1824.



--
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-2631) File Open blocked by Windows message: Windows is searching for mintty.exe

2019-06-04 Thread Bernard (JIRA)


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

Bernard commented on NETBEANS-2631:
---

Thanks Geertjan. That is what I needed. It appears the IDE is scanning the 
desktop. I just move icons away from it that it finds, because it doesn't check 
them correctly, and it is a waste of time. After un-installation of git, I got 
the same error PLUS it is now looking for bash.exe. When you think what kind of 
grief this can cause, what is the benefit? I need some more time to get this 
right.

> File Open blocked by Windows message: Windows is searching for mintty.exe
> -
>
> Key: NETBEANS-2631
> URL: https://issues.apache.org/jira/browse/NETBEANS-2631
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
>Reporter: Bernard
>Priority: Blocker
> Attachments: messages.log, messages.log
>
>
> I installed:
> Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> 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 7 version 6.1 running on amd64; Cp1252; en_NZ (nb)
> On installation, I let the IDE import settings from a 8.2 version.
> How I reproduce it:
> Menu|File|Open File
> And here it starts with multiple Windows dialogs:
> "Windows: Windows is searching for mintty.exe. To locate the file yourself, 
> browse."
> After a while I get another Windows dialog:
> "The item mintty.exe that this shortcut refers to has been changed or moved, 
> so this shortcut will no longer work properly.
> Nearest match, based on size, date and type C:\Program 
> Giles\Git\usr\bin\mintty.exe
> Do you want to fix this shortcut to point to this target or do you just want 
> to delete it?"
> I let it ix it.
> This sequence repeats 3 times until I eventually get the file selection 
> dialog which lets me open a file.
> But it never gets fixed. Every time I use  Menu|File|Open File, the sequence 
> repeats, meaning I need about 10 minutes to open a file. Unfortunately I 
> cannot continue using NetBeans 11 because of this bug, and I am back to 8.2 
> once again. See NETBEANS-1824.



--
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-2631) File Open blocked by Windows message: Windows is searching for mintty.exe

2019-06-04 Thread Bernard (JIRA)


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

Bernard commented on NETBEANS-2631:
---

Another scenario I get:

In the Favorites window, Right Click|Add to Favorites, I get the dialog 6 times 
before the file selection dialog shows.

This is extremely difficult to pinpoint on the surface. Please give me some 
ideas what the IDE does, and only IDE 11.0 does this, and no other software on 
my computer does it. What could it be calling 6 times before even showing a 
file open dialog? The IDE does not have any business calling mintty.exe for 
adding a favorites entry, let alone 6 times. Do I need to learn how to debug 
the IDE? I know you want a test case and in fact that is all I want to do. But 
I don't know how to make this happen at your end so I need some more ideas.

> File Open blocked by Windows message: Windows is searching for mintty.exe
> -
>
> Key: NETBEANS-2631
> URL: https://issues.apache.org/jira/browse/NETBEANS-2631
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
>Reporter: Bernard
>Priority: Blocker
> Attachments: messages.log, messages.log
>
>
> I installed:
> Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> 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 7 version 6.1 running on amd64; Cp1252; en_NZ (nb)
> On installation, I let the IDE import settings from a 8.2 version.
> How I reproduce it:
> Menu|File|Open File
> And here it starts with multiple Windows dialogs:
> "Windows: Windows is searching for mintty.exe. To locate the file yourself, 
> browse."
> After a while I get another Windows dialog:
> "The item mintty.exe that this shortcut refers to has been changed or moved, 
> so this shortcut will no longer work properly.
> Nearest match, based on size, date and type C:\Program 
> Giles\Git\usr\bin\mintty.exe
> Do you want to fix this shortcut to point to this target or do you just want 
> to delete it?"
> I let it ix it.
> This sequence repeats 3 times until I eventually get the file selection 
> dialog which lets me open a file.
> But it never gets fixed. Every time I use  Menu|File|Open File, the sequence 
> repeats, meaning I need about 10 minutes to open a file. Unfortunately I 
> cannot continue using NetBeans 11 because of this bug, and I am back to 8.2 
> once again. See NETBEANS-1824.



--
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-1824) java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags

2019-06-04 Thread Bernard (JIRA)


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

Bernard commented on NETBEANS-1824:
---

Thank you very much, the offending code is an old version of dl4j

To see the error,
 # Start Apache NetBeans 11.0 with a new user directory and cache directory.
 # Use GIT to download from https://github.com/deeplearning4j/dl4j-examples the 
master branch on 18/04/2017, 12:48:59 AM and compile the modules.
 # Inspect the log

The current version of the examples does not have the problem. So in a 
nutshell, IDE versions 9/0, 10.0, 11.0 are throwing exceptions with projects 
that refer to dl4j code of that time, while IDE version 8,2 doesn't.

As far as my projects are concerned, they wouldn't refer to the examples 
project, but the examples project should be a good enough test case as a start 
if it is of interest. If you need the exact copy of the examples, I can attach 
a zip file. Please feel free to request.

> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> ---
>
> Key: NETBEANS-1824
> URL: https://issues.apache.org/jira/browse/NETBEANS-1824
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0, 10.0, 11.0
>Reporter: Bernard
>Priority: Critical
> Attachments: JiraSeachExpression.PNG, messages.log, messages.log
>
>
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> My IDE is frozen with  NetBeans using CPU on all 8 cores at 100%.
> The log is filled up with messages as below.
> On the screen, there is a dialog "Save (Not Responding)" where it asks to 
> confirm saving 2 Java files. I clicked "Save All" but this kept popping up 
> unresponsive after the IDE lost focus and then re-gained focus in a cycle 
> many times.
> I don't know what the primary issue is - the HIG CPU usage for perhaps 
> another reason or the errors in the log file. I cannot do anything at all 
> because JVisualVM cannot get a handle on NetBeans and waits forever computing 
> a description.
> Therefore, I would think that solving the ClassNotFoundException has the 
> higher priority. It fills up the logs and prevents discovery of other issues. 
> All 3 log files are full of that exception.
>  
> BTW Jira is too hard to use, I cannot search with it in a meaningful way. If 
> I search for anything, then I get results from other projects as well as 
> default which is stupid. The lack of an automatic duplicate search alone has 
> the potential to kill the entire project. Atlassian Jira is the wrong tool 
> for NetBeans. NetBeans needs bugzilla,
> INFO [com.sun.tools.javac.processing.JavacProcessingEnvironment]: Annotation 
> processing error:
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
>     at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:422)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at 
> lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:156)
>     at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:244)
>     at lombok.javac.Javac.(Javac.java:155)
> Caused: java.lang.ExceptionInInitializerError
>     at lombok.javac.handlers.HandleGetter.(HandleGetter.java:303)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:348)
>     at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
>     at 
> lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:171)
>     at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:156)
>     at lombok.javac.JavacTransformer.(JavacTransformer.java:44)
>     at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:87)
>     at 
> lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
>     at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
>     at 
> lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
> [catch] at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:783)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:878)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:112)
>     at 
> 

[jira] [Commented] (NETBEANS-1824) java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags

2019-06-03 Thread Bernard (JIRA)


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

Bernard commented on NETBEANS-1824:
---

Eric, NETBEANS-2631 occurs with a barebones installation with no plugins and 
zero projects loaded. The empty IDE does not even know what project type I want 
to load because it shows the prompt before I get the file dialog. It also 
happens when I want to load a file e.g. text file, again before I can enter the 
name. There is not even a message in the log about this. For every project I 
load, I have to dismiss this dialog a dozen times. So far I will not go down 
the road of plugins. I discovered I had one JavaFX project and one JavaEE 
project which failed, so I removed them to stay clean. The  NETBEANS-2631 tty 
prompt issue is time consuming but does not seem to have an impact so far. It 
shouldn't exist of course and I would be keen to look into it whenever 
appropriate.

> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> ---
>
> Key: NETBEANS-1824
> URL: https://issues.apache.org/jira/browse/NETBEANS-1824
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0, 10.0, 11.0
>Reporter: Bernard
>Priority: Critical
> Attachments: JiraSeachExpression.PNG, messages.log, messages.log
>
>
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> My IDE is frozen with  NetBeans using CPU on all 8 cores at 100%.
> The log is filled up with messages as below.
> On the screen, there is a dialog "Save (Not Responding)" where it asks to 
> confirm saving 2 Java files. I clicked "Save All" but this kept popping up 
> unresponsive after the IDE lost focus and then re-gained focus in a cycle 
> many times.
> I don't know what the primary issue is - the HIG CPU usage for perhaps 
> another reason or the errors in the log file. I cannot do anything at all 
> because JVisualVM cannot get a handle on NetBeans and waits forever computing 
> a description.
> Therefore, I would think that solving the ClassNotFoundException has the 
> higher priority. It fills up the logs and prevents discovery of other issues. 
> All 3 log files are full of that exception.
>  
> BTW Jira is too hard to use, I cannot search with it in a meaningful way. If 
> I search for anything, then I get results from other projects as well as 
> default which is stupid. The lack of an automatic duplicate search alone has 
> the potential to kill the entire project. Atlassian Jira is the wrong tool 
> for NetBeans. NetBeans needs bugzilla,
> INFO [com.sun.tools.javac.processing.JavacProcessingEnvironment]: Annotation 
> processing error:
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
>     at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:422)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at 
> lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:156)
>     at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:244)
>     at lombok.javac.Javac.(Javac.java:155)
> Caused: java.lang.ExceptionInInitializerError
>     at lombok.javac.handlers.HandleGetter.(HandleGetter.java:303)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:348)
>     at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
>     at 
> lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:171)
>     at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:156)
>     at lombok.javac.JavacTransformer.(JavacTransformer.java:44)
>     at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:87)
>     at 
> lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
>     at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
>     at 
> lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
> [catch] at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:783)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:878)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:112)
>     at 
> 

[jira] [Commented] (NETBEANS-1824) java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags

2019-06-03 Thread Bernard (JIRA)


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

Bernard commented on NETBEANS-1824:
---

Just an update, I created NETBEANS-2637 for another bug during the fairly 
simple build up of the IDE state. No lombok dependent projects loaded yet.

> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> ---
>
> Key: NETBEANS-1824
> URL: https://issues.apache.org/jira/browse/NETBEANS-1824
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0, 10.0, 11.0
>Reporter: Bernard
>Priority: Critical
> Attachments: JiraSeachExpression.PNG, messages.log, messages.log
>
>
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> My IDE is frozen with  NetBeans using CPU on all 8 cores at 100%.
> The log is filled up with messages as below.
> On the screen, there is a dialog "Save (Not Responding)" where it asks to 
> confirm saving 2 Java files. I clicked "Save All" but this kept popping up 
> unresponsive after the IDE lost focus and then re-gained focus in a cycle 
> many times.
> I don't know what the primary issue is - the HIG CPU usage for perhaps 
> another reason or the errors in the log file. I cannot do anything at all 
> because JVisualVM cannot get a handle on NetBeans and waits forever computing 
> a description.
> Therefore, I would think that solving the ClassNotFoundException has the 
> higher priority. It fills up the logs and prevents discovery of other issues. 
> All 3 log files are full of that exception.
>  
> BTW Jira is too hard to use, I cannot search with it in a meaningful way. If 
> I search for anything, then I get results from other projects as well as 
> default which is stupid. The lack of an automatic duplicate search alone has 
> the potential to kill the entire project. Atlassian Jira is the wrong tool 
> for NetBeans. NetBeans needs bugzilla,
> INFO [com.sun.tools.javac.processing.JavacProcessingEnvironment]: Annotation 
> processing error:
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
>     at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:422)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at 
> lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:156)
>     at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:244)
>     at lombok.javac.Javac.(Javac.java:155)
> Caused: java.lang.ExceptionInInitializerError
>     at lombok.javac.handlers.HandleGetter.(HandleGetter.java:303)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:348)
>     at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
>     at 
> lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:171)
>     at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:156)
>     at lombok.javac.JavacTransformer.(JavacTransformer.java:44)
>     at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:87)
>     at 
> lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
>     at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
>     at 
> lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
> [catch] at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:783)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:878)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:112)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1236)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1315)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1341)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1231)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:397)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:320)
>     at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:620)
>     at 
> 

[jira] [Created] (NETBEANS-2637) IllegalStateException in RequestProcessor after duplicate install of nbjavac Library [1.6] on message request

2019-06-03 Thread Bernard (JIRA)
Bernard created NETBEANS-2637:
-

 Summary: IllegalStateException in RequestProcessor after duplicate 
install of nbjavac Library [1.6] on message request
 Key: NETBEANS-2637
 URL: https://issues.apache.org/jira/browse/NETBEANS-2637
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.0
Reporter: Bernard
 Attachments: messages.log, messages.log, uigestures

As part of the discovery of NETBEANS-1824, I gradually built up the IDE state, 
adding project after project (14) with some re-starts in between to get clean 
log files for inspection. I selected the projects to be simple, and I verified 
before with the maven graph viewer that they did not contain the problematic 
lombok dependency. In the latest iteration, at a new re-start, without me doing 
anything, a NullPointerException occurred (also logged as message but later 
disappeared from the message queue) and a message prompt to install nbjavac 
Library. I first saved the log to get the NPE and then I followed the prompt. 
"The following plugins will be installed:
nbjavac Library [1.6]." This failed with the latest exception which makes sense 
because it would have been already installed by the initial installation and 
updates. So the 2nd question is what lets the IDE decide to make this wrong 
decision? And the 1st question is what is this NullPointerException that occurs 
at this iteration where the number of projects is less than in a different 
installation of the same version with the lombok bug present.



--
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-1824) java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags

2019-06-03 Thread Bernard (JIRA)


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

Bernard commented on NETBEANS-1824:
---

Thanks. I am trying the approach as suggested by Geertjan. I can answer the 
first of Eric's question with a definite "no". At least 
lombok.launch.ShadowClassLoader is not in the distribution zip file, and not in 
the installed program directory, either (in case it was downloaded). However, 
my clean installation now has the problem as described in NETBEANS-2631 before 
the first project is loaded which makes loading projects difficult. So the best 
I can hope for is that one of my projects has a lombok dependency.

> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> ---
>
> Key: NETBEANS-1824
> URL: https://issues.apache.org/jira/browse/NETBEANS-1824
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0, 10.0, 11.0
>Reporter: Bernard
>Priority: Critical
> Attachments: JiraSeachExpression.PNG, messages.log, messages.log
>
>
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> My IDE is frozen with  NetBeans using CPU on all 8 cores at 100%.
> The log is filled up with messages as below.
> On the screen, there is a dialog "Save (Not Responding)" where it asks to 
> confirm saving 2 Java files. I clicked "Save All" but this kept popping up 
> unresponsive after the IDE lost focus and then re-gained focus in a cycle 
> many times.
> I don't know what the primary issue is - the HIG CPU usage for perhaps 
> another reason or the errors in the log file. I cannot do anything at all 
> because JVisualVM cannot get a handle on NetBeans and waits forever computing 
> a description.
> Therefore, I would think that solving the ClassNotFoundException has the 
> higher priority. It fills up the logs and prevents discovery of other issues. 
> All 3 log files are full of that exception.
>  
> BTW Jira is too hard to use, I cannot search with it in a meaningful way. If 
> I search for anything, then I get results from other projects as well as 
> default which is stupid. The lack of an automatic duplicate search alone has 
> the potential to kill the entire project. Atlassian Jira is the wrong tool 
> for NetBeans. NetBeans needs bugzilla,
> INFO [com.sun.tools.javac.processing.JavacProcessingEnvironment]: Annotation 
> processing error:
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
>     at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:422)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at 
> lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:156)
>     at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:244)
>     at lombok.javac.Javac.(Javac.java:155)
> Caused: java.lang.ExceptionInInitializerError
>     at lombok.javac.handlers.HandleGetter.(HandleGetter.java:303)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:348)
>     at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
>     at 
> lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:171)
>     at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:156)
>     at lombok.javac.JavacTransformer.(JavacTransformer.java:44)
>     at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:87)
>     at 
> lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
>     at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
>     at 
> lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
> [catch] at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:783)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:878)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:112)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1236)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1315)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1341)
>    

[jira] [Commented] (NETBEANS-2631) File Open blocked by Windows message: Windows is searching for mintty.exe

2019-06-03 Thread Bernard (JIRA)


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

Bernard commented on NETBEANS-2631:
---

The latest smaller log file is from a fresh installation without importing 
settings, where the error occurs on the attempt to load an existing project 
from the file system, the first project. I cannot see an error in the log.

> File Open blocked by Windows message: Windows is searching for mintty.exe
> -
>
> Key: NETBEANS-2631
> URL: https://issues.apache.org/jira/browse/NETBEANS-2631
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
>Reporter: Bernard
>Priority: Blocker
> Attachments: messages.log, messages.log
>
>
> I installed:
> Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> 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 7 version 6.1 running on amd64; Cp1252; en_NZ (nb)
> On installation, I let the IDE import settings from a 8.2 version.
> How I reproduce it:
> Menu|File|Open File
> And here it starts with multiple Windows dialogs:
> "Windows: Windows is searching for mintty.exe. To locate the file yourself, 
> browse."
> After a while I get another Windows dialog:
> "The item mintty.exe that this shortcut refers to has been changed or moved, 
> so this shortcut will no longer work properly.
> Nearest match, based on size, date and type C:\Program 
> Giles\Git\usr\bin\mintty.exe
> Do you want to fix this shortcut to point to this target or do you just want 
> to delete it?"
> I let it ix it.
> This sequence repeats 3 times until I eventually get the file selection 
> dialog which lets me open a file.
> But it never gets fixed. Every time I use  Menu|File|Open File, the sequence 
> repeats, meaning I need about 10 minutes to open a file. Unfortunately I 
> cannot continue using NetBeans 11 because of this bug, and I am back to 8.2 
> once again. See NETBEANS-1824.



--
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-2631) File Open blocked by Windows message: Windows is searching for mintty.exe

2019-06-03 Thread Bernard (JIRA)


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

Bernard updated NETBEANS-2631:
--
Attachment: messages.log

> File Open blocked by Windows message: Windows is searching for mintty.exe
> -
>
> Key: NETBEANS-2631
> URL: https://issues.apache.org/jira/browse/NETBEANS-2631
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
>Reporter: Bernard
>Priority: Blocker
> Attachments: messages.log, messages.log
>
>
> I installed:
> Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> 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 7 version 6.1 running on amd64; Cp1252; en_NZ (nb)
> On installation, I let the IDE import settings from a 8.2 version.
> How I reproduce it:
> Menu|File|Open File
> And here it starts with multiple Windows dialogs:
> "Windows: Windows is searching for mintty.exe. To locate the file yourself, 
> browse."
> After a while I get another Windows dialog:
> "The item mintty.exe that this shortcut refers to has been changed or moved, 
> so this shortcut will no longer work properly.
> Nearest match, based on size, date and type C:\Program 
> Giles\Git\usr\bin\mintty.exe
> Do you want to fix this shortcut to point to this target or do you just want 
> to delete it?"
> I let it ix it.
> This sequence repeats 3 times until I eventually get the file selection 
> dialog which lets me open a file.
> But it never gets fixed. Every time I use  Menu|File|Open File, the sequence 
> repeats, meaning I need about 10 minutes to open a file. Unfortunately I 
> cannot continue using NetBeans 11 because of this bug, and I am back to 8.2 
> once again. See NETBEANS-1824.



--
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-1824) java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags

2019-06-03 Thread Bernard (JIRA)


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

Bernard commented on NETBEANS-1824:
---

Is importing settings not part of the IDE quality any more?

> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> ---
>
> Key: NETBEANS-1824
> URL: https://issues.apache.org/jira/browse/NETBEANS-1824
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0, 10.0, 11.0
>Reporter: Bernard
>Priority: Critical
> Attachments: JiraSeachExpression.PNG, messages.log, messages.log
>
>
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> My IDE is frozen with  NetBeans using CPU on all 8 cores at 100%.
> The log is filled up with messages as below.
> On the screen, there is a dialog "Save (Not Responding)" where it asks to 
> confirm saving 2 Java files. I clicked "Save All" but this kept popping up 
> unresponsive after the IDE lost focus and then re-gained focus in a cycle 
> many times.
> I don't know what the primary issue is - the HIG CPU usage for perhaps 
> another reason or the errors in the log file. I cannot do anything at all 
> because JVisualVM cannot get a handle on NetBeans and waits forever computing 
> a description.
> Therefore, I would think that solving the ClassNotFoundException has the 
> higher priority. It fills up the logs and prevents discovery of other issues. 
> All 3 log files are full of that exception.
>  
> BTW Jira is too hard to use, I cannot search with it in a meaningful way. If 
> I search for anything, then I get results from other projects as well as 
> default which is stupid. The lack of an automatic duplicate search alone has 
> the potential to kill the entire project. Atlassian Jira is the wrong tool 
> for NetBeans. NetBeans needs bugzilla,
> INFO [com.sun.tools.javac.processing.JavacProcessingEnvironment]: Annotation 
> processing error:
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
>     at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:422)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at 
> lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:156)
>     at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:244)
>     at lombok.javac.Javac.(Javac.java:155)
> Caused: java.lang.ExceptionInInitializerError
>     at lombok.javac.handlers.HandleGetter.(HandleGetter.java:303)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:348)
>     at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
>     at 
> lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:171)
>     at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:156)
>     at lombok.javac.JavacTransformer.(JavacTransformer.java:44)
>     at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:87)
>     at 
> lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
>     at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
>     at 
> lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
> [catch] at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:783)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:878)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:112)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1236)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1315)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1341)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1231)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:397)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:320)
>     at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:620)
>     at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:361)
>     at 

[jira] [Commented] (NETBEANS-1824) java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags

2019-06-03 Thread Bernard (JIRA)


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

Bernard commented on NETBEANS-1824:
---

C:\Users\user\AppData\Roaming\NetBeans\11.0

> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> ---
>
> Key: NETBEANS-1824
> URL: https://issues.apache.org/jira/browse/NETBEANS-1824
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0, 10.0, 11.0
>Reporter: Bernard
>Priority: Critical
> Attachments: JiraSeachExpression.PNG, messages.log, messages.log
>
>
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> My IDE is frozen with  NetBeans using CPU on all 8 cores at 100%.
> The log is filled up with messages as below.
> On the screen, there is a dialog "Save (Not Responding)" where it asks to 
> confirm saving 2 Java files. I clicked "Save All" but this kept popping up 
> unresponsive after the IDE lost focus and then re-gained focus in a cycle 
> many times.
> I don't know what the primary issue is - the HIG CPU usage for perhaps 
> another reason or the errors in the log file. I cannot do anything at all 
> because JVisualVM cannot get a handle on NetBeans and waits forever computing 
> a description.
> Therefore, I would think that solving the ClassNotFoundException has the 
> higher priority. It fills up the logs and prevents discovery of other issues. 
> All 3 log files are full of that exception.
>  
> BTW Jira is too hard to use, I cannot search with it in a meaningful way. If 
> I search for anything, then I get results from other projects as well as 
> default which is stupid. The lack of an automatic duplicate search alone has 
> the potential to kill the entire project. Atlassian Jira is the wrong tool 
> for NetBeans. NetBeans needs bugzilla,
> INFO [com.sun.tools.javac.processing.JavacProcessingEnvironment]: Annotation 
> processing error:
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
>     at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:422)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at 
> lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:156)
>     at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:244)
>     at lombok.javac.Javac.(Javac.java:155)
> Caused: java.lang.ExceptionInInitializerError
>     at lombok.javac.handlers.HandleGetter.(HandleGetter.java:303)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:348)
>     at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
>     at 
> lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:171)
>     at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:156)
>     at lombok.javac.JavacTransformer.(JavacTransformer.java:44)
>     at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:87)
>     at 
> lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
>     at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
>     at 
> lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
> [catch] at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:783)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:878)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:112)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1236)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1315)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1341)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1231)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:397)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:320)
>     at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:620)
>     at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:361)
>     at 
> 

[jira] [Commented] (NETBEANS-1824) java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags

2019-06-03 Thread Bernard (JIRA)


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

Bernard commented on NETBEANS-1824:
---

Please see the log file which I attached right now. I am using Windows 7. It is 
really difficult to say what you would need to do to reproduce the problem. I 
am getting the idea that I could remove a project, restart the IDE and inspect 
the log in a workflow cycle to identify the culprit. Would you agree with that 
approach?

> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> ---
>
> Key: NETBEANS-1824
> URL: https://issues.apache.org/jira/browse/NETBEANS-1824
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0, 10.0, 11.0
>Reporter: Bernard
>Priority: Critical
> Attachments: JiraSeachExpression.PNG, messages.log, messages.log
>
>
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> My IDE is frozen with  NetBeans using CPU on all 8 cores at 100%.
> The log is filled up with messages as below.
> On the screen, there is a dialog "Save (Not Responding)" where it asks to 
> confirm saving 2 Java files. I clicked "Save All" but this kept popping up 
> unresponsive after the IDE lost focus and then re-gained focus in a cycle 
> many times.
> I don't know what the primary issue is - the HIG CPU usage for perhaps 
> another reason or the errors in the log file. I cannot do anything at all 
> because JVisualVM cannot get a handle on NetBeans and waits forever computing 
> a description.
> Therefore, I would think that solving the ClassNotFoundException has the 
> higher priority. It fills up the logs and prevents discovery of other issues. 
> All 3 log files are full of that exception.
>  
> BTW Jira is too hard to use, I cannot search with it in a meaningful way. If 
> I search for anything, then I get results from other projects as well as 
> default which is stupid. The lack of an automatic duplicate search alone has 
> the potential to kill the entire project. Atlassian Jira is the wrong tool 
> for NetBeans. NetBeans needs bugzilla,
> INFO [com.sun.tools.javac.processing.JavacProcessingEnvironment]: Annotation 
> processing error:
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
>     at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:422)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at 
> lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:156)
>     at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:244)
>     at lombok.javac.Javac.(Javac.java:155)
> Caused: java.lang.ExceptionInInitializerError
>     at lombok.javac.handlers.HandleGetter.(HandleGetter.java:303)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:348)
>     at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
>     at 
> lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:171)
>     at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:156)
>     at lombok.javac.JavacTransformer.(JavacTransformer.java:44)
>     at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:87)
>     at 
> lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
>     at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
>     at 
> lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
> [catch] at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:783)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:878)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:112)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1236)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1315)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1341)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1231)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:397)
>     at 

[jira] [Updated] (NETBEANS-1824) java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags

2019-06-03 Thread Bernard (JIRA)


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

Bernard updated NETBEANS-1824:
--
Attachment: messages.log

> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> ---
>
> Key: NETBEANS-1824
> URL: https://issues.apache.org/jira/browse/NETBEANS-1824
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0, 10.0, 11.0
>Reporter: Bernard
>Priority: Critical
> Attachments: JiraSeachExpression.PNG, messages.log, messages.log
>
>
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> My IDE is frozen with  NetBeans using CPU on all 8 cores at 100%.
> The log is filled up with messages as below.
> On the screen, there is a dialog "Save (Not Responding)" where it asks to 
> confirm saving 2 Java files. I clicked "Save All" but this kept popping up 
> unresponsive after the IDE lost focus and then re-gained focus in a cycle 
> many times.
> I don't know what the primary issue is - the HIG CPU usage for perhaps 
> another reason or the errors in the log file. I cannot do anything at all 
> because JVisualVM cannot get a handle on NetBeans and waits forever computing 
> a description.
> Therefore, I would think that solving the ClassNotFoundException has the 
> higher priority. It fills up the logs and prevents discovery of other issues. 
> All 3 log files are full of that exception.
>  
> BTW Jira is too hard to use, I cannot search with it in a meaningful way. If 
> I search for anything, then I get results from other projects as well as 
> default which is stupid. The lack of an automatic duplicate search alone has 
> the potential to kill the entire project. Atlassian Jira is the wrong tool 
> for NetBeans. NetBeans needs bugzilla,
> INFO [com.sun.tools.javac.processing.JavacProcessingEnvironment]: Annotation 
> processing error:
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
>     at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:422)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at 
> lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:156)
>     at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:244)
>     at lombok.javac.Javac.(Javac.java:155)
> Caused: java.lang.ExceptionInInitializerError
>     at lombok.javac.handlers.HandleGetter.(HandleGetter.java:303)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:348)
>     at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
>     at 
> lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:171)
>     at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:156)
>     at lombok.javac.JavacTransformer.(JavacTransformer.java:44)
>     at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:87)
>     at 
> lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
>     at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
>     at 
> lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
> [catch] at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:783)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:878)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:112)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1236)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1315)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1341)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1231)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:397)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:320)
>     at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:620)
>     at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:361)
>     at 
> 

[jira] [Created] (NETBEANS-2631) File Open blocked by Windows message: Windows is searching for mintty.exe

2019-06-02 Thread Bernard (JIRA)
Bernard created NETBEANS-2631:
-

 Summary: File Open blocked by Windows message: Windows is 
searching for mintty.exe
 Key: NETBEANS-2631
 URL: https://issues.apache.org/jira/browse/NETBEANS-2631
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.0
Reporter: Bernard
 Attachments: messages.log

I installed:

Product Version: Apache NetBeans IDE 11.0 (Build 
incubator-netbeans-release-404-on-20190319)
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 7 version 6.1 running on amd64; Cp1252; en_NZ (nb)



On installation, I let the IDE import settings from a 8.2 version.


How I reproduce it:

Menu|File|Open File

And here it starts with multiple Windows dialogs:

"Windows: Windows is searching for mintty.exe. To locate the file yourself, 
browse."


After a while I get another Windows dialog:

"The item mintty.exe that this shortcut refers to has been changed or moved, so 
this shortcut will no longer work properly.

Nearest match, based on size, date and type C:\Program 
Giles\Git\usr\bin\mintty.exe

Do you want to fix this shortcut to point to this target or do you just want to 
delete it?"

I let it ix it.


This sequence repeats 3 times until I eventually get the file selection dialog 
which lets me open a file.

But it never gets fixed. Every time I use  Menu|File|Open File, the sequence 
repeats, meaning I need about 10 minutes to open a file. Unfortunately I cannot 
continue using NetBeans 11 because of this bug, and I am back to 8.2 once 
again. See NETBEANS-1824.



--
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-1824) java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags

2019-06-02 Thread Bernard (JIRA)


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

Bernard commented on NETBEANS-1824:
---

Still present in version 11

> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> ---
>
> Key: NETBEANS-1824
> URL: https://issues.apache.org/jira/browse/NETBEANS-1824
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0, 10.0, 11.0
>Reporter: Bernard
>Priority: Critical
> Attachments: JiraSeachExpression.PNG, messages.log
>
>
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> My IDE is frozen with  NetBeans using CPU on all 8 cores at 100%.
> The log is filled up with messages as below.
> On the screen, there is a dialog "Save (Not Responding)" where it asks to 
> confirm saving 2 Java files. I clicked "Save All" but this kept popping up 
> unresponsive after the IDE lost focus and then re-gained focus in a cycle 
> many times.
> I don't know what the primary issue is - the HIG CPU usage for perhaps 
> another reason or the errors in the log file. I cannot do anything at all 
> because JVisualVM cannot get a handle on NetBeans and waits forever computing 
> a description.
> Therefore, I would think that solving the ClassNotFoundException has the 
> higher priority. It fills up the logs and prevents discovery of other issues. 
> All 3 log files are full of that exception.
>  
> BTW Jira is too hard to use, I cannot search with it in a meaningful way. If 
> I search for anything, then I get results from other projects as well as 
> default which is stupid. The lack of an automatic duplicate search alone has 
> the potential to kill the entire project. Atlassian Jira is the wrong tool 
> for NetBeans. NetBeans needs bugzilla,
> INFO [com.sun.tools.javac.processing.JavacProcessingEnvironment]: Annotation 
> processing error:
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
>     at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:422)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at 
> lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:156)
>     at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:244)
>     at lombok.javac.Javac.(Javac.java:155)
> Caused: java.lang.ExceptionInInitializerError
>     at lombok.javac.handlers.HandleGetter.(HandleGetter.java:303)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:348)
>     at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
>     at 
> lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:171)
>     at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:156)
>     at lombok.javac.JavacTransformer.(JavacTransformer.java:44)
>     at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:87)
>     at 
> lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
>     at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
>     at 
> lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
> [catch] at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:783)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:878)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:112)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1236)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1315)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1341)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1231)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:397)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:320)
>     at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:620)
>     at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:361)
>     at 
> 

[jira] [Updated] (NETBEANS-1824) java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags

2019-06-02 Thread Bernard (JIRA)


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

Bernard updated NETBEANS-1824:
--
Affects Version/s: 10.0
   11.0

> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> ---
>
> Key: NETBEANS-1824
> URL: https://issues.apache.org/jira/browse/NETBEANS-1824
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0, 10.0, 11.0
>Reporter: Bernard
>Priority: Critical
> Attachments: JiraSeachExpression.PNG, messages.log
>
>
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> My IDE is frozen with  NetBeans using CPU on all 8 cores at 100%.
> The log is filled up with messages as below.
> On the screen, there is a dialog "Save (Not Responding)" where it asks to 
> confirm saving 2 Java files. I clicked "Save All" but this kept popping up 
> unresponsive after the IDE lost focus and then re-gained focus in a cycle 
> many times.
> I don't know what the primary issue is - the HIG CPU usage for perhaps 
> another reason or the errors in the log file. I cannot do anything at all 
> because JVisualVM cannot get a handle on NetBeans and waits forever computing 
> a description.
> Therefore, I would think that solving the ClassNotFoundException has the 
> higher priority. It fills up the logs and prevents discovery of other issues. 
> All 3 log files are full of that exception.
>  
> BTW Jira is too hard to use, I cannot search with it in a meaningful way. If 
> I search for anything, then I get results from other projects as well as 
> default which is stupid. The lack of an automatic duplicate search alone has 
> the potential to kill the entire project. Atlassian Jira is the wrong tool 
> for NetBeans. NetBeans needs bugzilla,
> INFO [com.sun.tools.javac.processing.JavacProcessingEnvironment]: Annotation 
> processing error:
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
>     at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:422)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at 
> lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:156)
>     at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:244)
>     at lombok.javac.Javac.(Javac.java:155)
> Caused: java.lang.ExceptionInInitializerError
>     at lombok.javac.handlers.HandleGetter.(HandleGetter.java:303)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:348)
>     at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
>     at 
> lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:171)
>     at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:156)
>     at lombok.javac.JavacTransformer.(JavacTransformer.java:44)
>     at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:87)
>     at 
> lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
>     at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
>     at 
> lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
> [catch] at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:783)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:878)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:112)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1236)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1315)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1341)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1231)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:397)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:320)
>     at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:620)
>     at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:361)
>     at 
> 

[jira] [Reopened] (NETBEANS-1928) Font scaling issue between version 10.0 and version 9.0: aliasing artifacts.

2019-02-22 Thread Bernard (JIRA)


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

Bernard reopened NETBEANS-1928:
---

While JDK 1.8 solves the original problem, it introduces more severe problems - 
apparently the IDE 10 does not work with JDK 1.8 (I did not find any 
documentation of system requirements).

 

So I tried JDK 11. The problem still exists with JDK 11.

> Font scaling issue between version 10.0 and version 9.0: aliasing artifacts.
> 
>
> Key: NETBEANS-1928
> URL: https://issues.apache.org/jira/browse/NETBEANS-1928
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Other
>Affects Versions: 10.0
>Reporter: Bernard
>Priority: Major
> Fix For: 10.0
>
> Attachments: 10.0blurred-1.png, 9.0crisp-1.png
>
>
> When installing the IDE version 10.0 when 9.0 is still installed and has been 
> running fine on the same computer, version 10 has enlarged icons, resulting 
> in aliasing artifacts. The images look blurred and everything is just too 
> big. Please refer to attached images.
> Generally, all fonts seem to be enlarged relative to version 9.0.
> On startup, the logo is enlarged also. So it is perhaps something that needs 
> to be set differently in etc/netbeans.conf?
> The only differences I can see in netbeans.conf are:
> 10.0 has: -J-Djdk.gtk.version=2.2 
> 9.0 has: -J-Dnetbeans.logger.console=true



--
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] [Closed] (NETBEANS-1928) Font scaling issue between version 10.0 and version 9.0: aliasing artifacts.

2019-02-22 Thread Bernard (JIRA)


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

Bernard closed NETBEANS-1928.
-
   Resolution: Not A Bug
Fix Version/s: 10.0

The cause of the described behavior is that the IDE 10.0 finds JDK 1.9 while 
IDE 9.0 finds JDK 8.2.

JDK 1.9 has a bug 
[Swing rendering is blurred & ugly if user changes increases Windows elements 
size|https://bugs.openjdk.java.net/browse/JDK-8194165]

> Font scaling issue between version 10.0 and version 9.0: aliasing artifacts.
> 
>
> Key: NETBEANS-1928
> URL: https://issues.apache.org/jira/browse/NETBEANS-1928
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Other
>Affects Versions: 10.0
>Reporter: Bernard
>Priority: Major
> Fix For: 10.0
>
> Attachments: 10.0blurred-1.png, 9.0crisp-1.png
>
>
> When installing the IDE version 10.0 when 9.0 is still installed and has been 
> running fine on the same computer, version 10 has enlarged icons, resulting 
> in aliasing artifacts. The images look blurred and everything is just too 
> big. Please refer to attached images.
> Generally, all fonts seem to be enlarged relative to version 9.0.
> On startup, the logo is enlarged also. So it is perhaps something that needs 
> to be set differently in etc/netbeans.conf?
> The only differences I can see in netbeans.conf are:
> 10.0 has: -J-Djdk.gtk.version=2.2 
> 9.0 has: -J-Dnetbeans.logger.console=true



--
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-1824) java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags

2019-02-10 Thread Bernard (JIRA)


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

Bernard commented on NETBEANS-1824:
---

Thanks for the Jira comment. But what about the NetBeans issue? Is anybody 
looking at this? If not, what is the reason for this?

> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> ---
>
> Key: NETBEANS-1824
> URL: https://issues.apache.org/jira/browse/NETBEANS-1824
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0
>Reporter: Bernard
>Priority: Critical
> Attachments: JiraSeachExpression.PNG, messages.log
>
>
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> My IDE is frozen with  NetBeans using CPU on all 8 cores at 100%.
> The log is filled up with messages as below.
> On the screen, there is a dialog "Save (Not Responding)" where it asks to 
> confirm saving 2 Java files. I clicked "Save All" but this kept popping up 
> unresponsive after the IDE lost focus and then re-gained focus in a cycle 
> many times.
> I don't know what the primary issue is - the HIG CPU usage for perhaps 
> another reason or the errors in the log file. I cannot do anything at all 
> because JVisualVM cannot get a handle on NetBeans and waits forever computing 
> a description.
> Therefore, I would think that solving the ClassNotFoundException has the 
> higher priority. It fills up the logs and prevents discovery of other issues. 
> All 3 log files are full of that exception.
>  
> BTW Jira is too hard to use, I cannot search with it in a meaningful way. If 
> I search for anything, then I get results from other projects as well as 
> default which is stupid. The lack of an automatic duplicate search alone has 
> the potential to kill the entire project. Atlassian Jira is the wrong tool 
> for NetBeans. NetBeans needs bugzilla,
> INFO [com.sun.tools.javac.processing.JavacProcessingEnvironment]: Annotation 
> processing error:
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
>     at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:422)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at 
> lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:156)
>     at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:244)
>     at lombok.javac.Javac.(Javac.java:155)
> Caused: java.lang.ExceptionInInitializerError
>     at lombok.javac.handlers.HandleGetter.(HandleGetter.java:303)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:348)
>     at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
>     at 
> lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:171)
>     at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:156)
>     at lombok.javac.JavacTransformer.(JavacTransformer.java:44)
>     at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:87)
>     at 
> lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
>     at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
>     at 
> lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
> [catch] at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:783)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:878)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:112)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1236)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1315)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1341)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1231)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:397)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:320)
>     at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:620)
>     at 
> 

[jira] [Updated] (NETBEANS-1824) java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags

2019-02-10 Thread Bernard (JIRA)


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

Bernard updated NETBEANS-1824:
--
Priority: Critical  (was: Major)

> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> ---
>
> Key: NETBEANS-1824
> URL: https://issues.apache.org/jira/browse/NETBEANS-1824
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0
>Reporter: Bernard
>Priority: Critical
> Attachments: messages.log
>
>
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> My IDE is frozen with  NetBeans using CPU on all 8 cores at 100%.
> The log is filled up with messages as below.
> On the screen, there is a dialog "Save (Not Responding)" where it asks to 
> confirm saving 2 Java files. I clicked "Save All" but this kept popping up 
> unresponsive after the IDE lost focus and then re-gained focus in a cycle 
> many times.
> I don't know what the primary issue is - the HIG CPU usage for perhaps 
> another reason or the errors in the log file. I cannot do anything at all 
> because JVisualVM cannot get a handle on NetBeans and waits forever computing 
> a description.
> Therefore, I would think that solving the ClassNotFoundException has the 
> higher priority. It fills up the logs and prevents discovery of other issues. 
> All 3 log files are full of that exception.
>  
> BTW Jira is too hard to use, I cannot search with it in a meaningful way. If 
> I search for anything, then I get results from other projects as well as 
> default which is stupid. The lack of an automatic duplicate search alone has 
> the potential to kill the entire project. Atlassian Jira is the wrong tool 
> for NetBeans. NetBeans needs bugzilla,
> INFO [com.sun.tools.javac.processing.JavacProcessingEnvironment]: Annotation 
> processing error:
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
>     at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:422)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at 
> lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:156)
>     at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:244)
>     at lombok.javac.Javac.(Javac.java:155)
> Caused: java.lang.ExceptionInInitializerError
>     at lombok.javac.handlers.HandleGetter.(HandleGetter.java:303)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:348)
>     at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
>     at 
> lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:171)
>     at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:156)
>     at lombok.javac.JavacTransformer.(JavacTransformer.java:44)
>     at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:87)
>     at 
> lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
>     at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
>     at 
> lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
> [catch] at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:783)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:878)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:112)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1236)
>     at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1315)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1341)
>     at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1231)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:397)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:320)
>     at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:620)
>     at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:361)
>     at 
> org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:84)
>     at 
> 

[jira] [Created] (NETBEANS-2006) Support of CSS media query @supports

2019-01-27 Thread Arnaud BERNARD (JIRA)
Arnaud BERNARD created NETBEANS-2006:


 Summary: Support of CSS media query @supports
 Key: NETBEANS-2006
 URL: https://issues.apache.org/jira/browse/NETBEANS-2006
 Project: NetBeans
  Issue Type: Wish
Reporter: Arnaud BERNARD


Main feature of CSS 4 that can be already used safley in a production 
environment. Thx!



--
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-2005) Grid CSS support

2019-01-27 Thread Arnaud BERNARD (JIRA)
Arnaud BERNARD created NETBEANS-2005:


 Summary: Grid CSS support
 Key: NETBEANS-2005
 URL: https://issues.apache.org/jira/browse/NETBEANS-2005
 Project: NetBeans
  Issue Type: Bug
Reporter: Arnaud BERNARD


Need support of Grid as soon as possible. This feature is supported by all 
browsers now. Thx!



--
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-1928) Font scaling issue between version 10.0 and version 9.0: aliasing artifacts.

2019-01-14 Thread Bernard (JIRA)
Bernard created NETBEANS-1928:
-

 Summary: Font scaling issue between version 10.0 and version 9.0: 
aliasing artifacts.
 Key: NETBEANS-1928
 URL: https://issues.apache.org/jira/browse/NETBEANS-1928
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Other
Affects Versions: 10.0
Reporter: Bernard
 Attachments: 10.0blurred-1.png, 9.0crisp-1.png

When installing the IDE version 10.0 when 9.0 is still installed and has been 
running fine on the same computer, version 10 has enlarged icons, resulting in 
aliasing artifacts. The images look blurred and everything is just too big. 
Please refer to attached images.

Generally, all fonts seem to be enlarged relative to version 9.0.

On startup, the logo is enlarged also. So it is perhaps something that needs to 
be set differently in etc/netbeans.conf?


The only differences I can see in netbeans.conf are:

10.0 has: -J-Djdk.gtk.version=2.2 

9.0 has: -J-Dnetbeans.logger.console=true



--
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-1824) java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags

2018-12-25 Thread Bernard (JIRA)
Bernard created NETBEANS-1824:
-

 Summary: java.lang.ClassNotFoundException: 
com.sun.tools.javac.code.TypeTags
 Key: NETBEANS-1824
 URL: https://issues.apache.org/jira/browse/NETBEANS-1824
 Project: NetBeans
  Issue Type: Bug
  Components: java - Editor
Affects Versions: 9.0
Reporter: Bernard
 Attachments: messages.log

java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags

My IDE is frozen with  NetBeans using CPU on all 8 cores at 100%.

The log is filled up with messages as below.

On the screen, there is a dialog "Save (Not Responding)" where it asks to 
confirm saving 2 Java files. I clicked "Save All" but this kept popping up 
unresponsive after the IDE lost focus and then re-gained focus in a cycle many 
times.

I don't know what the primary issue is - the HIG CPU usage for perhaps another 
reason or the errors in the log file. I cannot do anything at all because 
JVisualVM cannot get a handle on NetBeans and waits forever computing a 
description.

Therefore, I would think that solving the ClassNotFoundException has the higher 
priority. It fills up the logs and prevents discovery of other issues. All 3 
log files are full of that exception.

 

BTW Jira is too hard to use, I cannot search with it in a meaningful way. If I 
search for anything, then I get results from other projects as well as default 
which is stupid. The lack of an automatic duplicate search alone has the 
potential to kill the entire project. Atlassian Jira is the wrong tool for 
NetBeans. NetBeans needs bugzilla,


INFO [com.sun.tools.javac.processing.JavacProcessingEnvironment]: Annotation 
processing error:
java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
    at java.lang.ClassLoader.findClass(ClassLoader.java:530)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:422)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at 
lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:156)
    at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:244)
    at lombok.javac.Javac.(Javac.java:155)
Caused: java.lang.ExceptionInInitializerError
    at lombok.javac.handlers.HandleGetter.(HandleGetter.java:303)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:348)
    at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
    at 
lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:171)
    at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:156)
    at lombok.javac.JavacTransformer.(JavacTransformer.java:44)
    at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:87)
    at 
lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
    at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
    at 
lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
[catch] at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:683)
    at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:783)
    at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:878)
    at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:112)
    at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1236)
    at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1315)
    at 
com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1341)
    at 
com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1231)
    at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:397)
    at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:320)
    at 
org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:620)
    at 
org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:361)
    at 
org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:84)
    at 
org.netbeans.api.java.source.ui.ElementJavadoc.lambda$getElementDocFromSource$16(ElementJavadoc.java:846)
    at 
org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
    at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
    at 

[jira] [Updated] (NETBEANS-1220) Editor Search String lost

2018-09-05 Thread Bernard (JIRA)


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

Bernard updated NETBEANS-1220:
--
Description: 
Problem Description

I use the following out of two options:

In Tools|Options|Editor|Search|Editor Search Behavor|Enter find next

With this option enabled, I need to press [Esc] to locate the cursor at the 
first instance, meaning that I do NOT use the [Enter] key. Unfortunately this 
use results in the search string not being pushed into the search history list 
where I type the search string. Therefore, in future searches, the search 
string cannot be looked up from the search string combo box.

How to reproduce:
 - In Tools|Options|Editor|Search|Editor Search Behavor|Enter find next
 - locate the cursor at the top of a Java file
 - [Ctrl+F]java[Esc] locates the cursor at the first instance of "java", 
typically in the import section
 - [Ctrl+F]util[Esc] locates the cursor at the first instance of "util", 
typically in the import section

Expected behavior:
 - [Ctrl+F][Down] should find the string "java" in the list

Actual behavior:
 - [Ctrl+F][Down] shows a list with the string "java" missing from the list

This means that the Editor Search Behavior option "Enter find next" is 
crippled, and it is difficult to create a harmonious work flow while 
refactoring code. In simple terms, it is frustrating.

  was:
Problem Description

I use the following out of two options:

In Tools|Options|Editor|Search|Editor Search Behavor|Enter find next

With this option enabled, I need to press [Esc] to locate the cursor at the 
first instance, meaning that I do NOT use the [Enter] key. Unfortunately this 
use results in the search string not being pushed into the search history list 
where I type the search string. Therefore, the search string cannot be looked 
in future searches up from the search string combo box.

How to reproduce:

- In Tools|Options|Editor|Search|Editor Search Behavor|Enter find next
- locate the cursor at the top of a Java file
- [Ctrl+F]java[Esc] locates the cursor at the first instance of "java", 
typically in the import section
- [Ctrl+F]util[Esc] locates the cursor at the first instance of "util", 
typically in the import section

Expected behavior:
- [Ctrl+F][Down] should find the string "java" in the list 

Actual behavior:
- [Ctrl+F][Down] shows a list with the string "java" missing from the list 

This means that the Editor Search Behavior option "Enter find next" is 
crippled, and it is difficult to create a harmonious work flow while 
refactoring code. In simple terms, it is frustrating.


> Editor Search String lost
> -
>
> Key: NETBEANS-1220
> URL: https://issues.apache.org/jira/browse/NETBEANS-1220
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Search
>Affects Versions: 9.0
>Reporter: Bernard
>Priority: Minor
>
> Problem Description
> I use the following out of two options:
> In Tools|Options|Editor|Search|Editor Search Behavor|Enter find next
> With this option enabled, I need to press [Esc] to locate the cursor at the 
> first instance, meaning that I do NOT use the [Enter] key. Unfortunately this 
> use results in the search string not being pushed into the search history 
> list where I type the search string. Therefore, in future searches, the 
> search string cannot be looked up from the search string combo box.
> How to reproduce:
>  - In Tools|Options|Editor|Search|Editor Search Behavor|Enter find next
>  - locate the cursor at the top of a Java file
>  - [Ctrl+F]java[Esc] locates the cursor at the first instance of "java", 
> typically in the import section
>  - [Ctrl+F]util[Esc] locates the cursor at the first instance of "util", 
> typically in the import section
> Expected behavior:
>  - [Ctrl+F][Down] should find the string "java" in the list
> Actual behavior:
>  - [Ctrl+F][Down] shows a list with the string "java" missing from the list
> This means that the Editor Search Behavior option "Enter find next" is 
> crippled, and it is difficult to create a harmonious work flow while 
> refactoring code. In simple terms, it is frustrating.



--
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-1220) Editor Search String lost

2018-09-05 Thread Bernard (JIRA)
Bernard created NETBEANS-1220:
-

 Summary: Editor Search String lost
 Key: NETBEANS-1220
 URL: https://issues.apache.org/jira/browse/NETBEANS-1220
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Search
Affects Versions: 9.0
Reporter: Bernard


Problem Description

I use the following out of two options:

In Tools|Options|Editor|Search|Editor Search Behavor|Enter find next

With this option enabled, I need to press [Esc] to locate the cursor at the 
first instance, meaning that I do NOT use the [Enter] key. Unfortunately this 
use results in the search string not being pushed into the search history list 
where I type the search string. Therefore, the search string cannot be looked 
in future searches up from the search string combo box.

How to reproduce:

- In Tools|Options|Editor|Search|Editor Search Behavor|Enter find next
- locate the cursor at the top of a Java file
- [Ctrl+F]java[Esc] locates the cursor at the first instance of "java", 
typically in the import section
- [Ctrl+F]util[Esc] locates the cursor at the first instance of "util", 
typically in the import section

Expected behavior:
- [Ctrl+F][Down] should find the string "java" in the list 

Actual behavior:
- [Ctrl+F][Down] shows a list with the string "java" missing from the list 

This means that the Editor Search Behavior option "Enter find next" is 
crippled, and it is difficult to create a harmonious work flow while 
refactoring code. In simple terms, it is frustrating.



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