[jira] [Comment Edited] (NETBEANS-3763) Go To Type fails with Maven artifact source; similar commands like Go To Declaration also fail

2020-02-11 Thread Ernie Rael (Jira)


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

Ernie Rael edited comment on NETBEANS-3763 at 2/11/20 4:00 PM:
---

I don't know maven; had to look up "maven artefacts with classifier". 
Directions said mark issue with 11.3:11.3, so I did. Feel free to postpone. I 
suspect someone knowledgeable could simply say "go there, do this", I wouldn't 
mind implementing a fix with some expert direction. I'll see about a simple 
example...

Considering NETBEANS-3730, that fix is up to a 3rd party. NETBEANS-3104 isn't 
enough to fix the problem.


was (Author: errael):
I don't know maven; had to look up "maven artefacts with classifier". 
Directions said mark issue with 11.3:11.3, so I did. Feel free to postpone.

Considering NETBEANS-3730, that fix is up to a 3rd party.

> Go To Type fails with Maven artifact source; similar commands like Go To 
> Declaration also fail
> --
>
> Key: NETBEANS-3763
> URL: https://issues.apache.org/jira/browse/NETBEANS-3763
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source, projects - Maven
>Affects Versions: 11.3
> Environment: NB-11.3beta1 running on jdk1,8, Win7, project running on 
> jdk-13.0.2
>Reporter: Ernie Rael
>Priority: Critical
> Fix For: 11.3
>
>
> {{Starting with JavaFXMavenArchetype from Gluon and some fixup (see 
> NETBEANS-3730 attachemnts), in the projecs window I expanded 
> SimpleProj>Dependencies, selected all the jars, did "Download Sources" 
> action.}}
> {{I can debug step into javafx sources, but stuff like "Go To Type" fail. I 
> see the message }}{{"_Can not open ... (missing source?)_" }} a lot. I 
> The log has stuff like
>  
> {quote}INFO [org.netbeans.api.java.source.ElementHandle]: Resolved type is 
> null for kind = CONSTRUCTOR
>  INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: 
> ElementHandle[kind=CONSTRUCTOR; sigs=javafx.scene.control.Label  
> (Ljava/lang/String;)V ]
>  INFO [org.netbeans.modules.java.classfile.CodeGenerator]: Cannot resolve 
> element: ElementHandle[kind=CONSTRUCTOR; sigs=javafx.scene.control.Label 
>  (Ljava/lang/String;)V ] on classpath: 
> nbjrt:[file:/F:/j/jdk/jdk-13.0.2/!/modules/java.base/;C:\f\j\maven_repository\org\openjfx\javafx-controls\13\javafx-controls-13-win.jar;C:\f\j\maven_repository\org\openjfx\javafx-graphics\13\javafx-graphics-13-win.jar;C:\f\j\maven_repository\org\openjfx\javafx-base\13\javafx-base-13-win.jar;F:\j\nb-stuff\NetBeansProjects\simple-maven-proto\src\main\java;F:\j\nb-stuff\NetBeansProjects\simple-maven-proto\src\main\resources|file:///F:/j/jdk/jdk-13.0.2/!/modules/java.base/;C:fjmaven_repositoryorgopenjfxjavafx-controls13javafx-controls-13-win.jar;C:fjmaven_repositoryorgopenjfxjavafx-graphics13javafx-graphics-13-win.jar;C:fjmaven_repositoryorgopenjfxjavafx-base13javafx-base-13-win.jar;F:jnb-stuffNetBeansProjectssimple-maven-protosrcmainjava;F:jnb-stuffNetBeansProjectssimple-maven-protosrcmainresources]
>  INFO [org.netbeans.api.java.source.ElementHandle]: Resolved type is null for 
> kind = METHOD
>  INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: 
> ElementHandle[kind=METHOD; sigs=javafx.stage.Stage setScene 
> (Ljavafx/scene/Scene;)V ]
> {quote}
>  



--
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] [Resolved] (NETBEANS-3769) Cannot rename or delete project and directory

2020-02-12 Thread Ernie Rael (Jira)


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

Ernie Rael resolved NETBEANS-3769.
--
Resolution: Fixed

Seems good.

> Cannot rename or delete project and directory
> -
>
> Key: NETBEANS-3769
> URL: https://issues.apache.org/jira/browse/NETBEANS-3769
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Generic Infrastructure, projects - Generic 
> Projects UI
>Affects Versions: 11.3
> Environment: NB 11.3b running on JDK-13.0.2, Win7
>Reporter: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.3
>
> Attachments: CannotRenameProject.log.1, CannotRenameProject.log.2, 
> ProjRenameAtRename.png
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> (Attaching log with relevant exceptions)
> To reproduce
>  # NewProject > JavaWithAnt > JavaApplication; accept all defaults
>  # From context menu on new project, select "Rename..."
>  # In dialog change the name
>  # Select "Also Rename Project Folder"
>  # Click "Rename" button
> Observe error dialog
> {quote}Error
> Cannot rename file JavaApplication8 in F:/j/nb-stuff/NetBeansProjects to 
> RenameProject
> {quote}
>  



--
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-3763) Go To Type fails with Maven artifact source; similar commands like Go To Declaration also fail

2020-02-13 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-3763:
-
Labels: javafx  (was: )

> Go To Type fails with Maven artifact source; similar commands like Go To 
> Declaration also fail
> --
>
> Key: NETBEANS-3763
> URL: https://issues.apache.org/jira/browse/NETBEANS-3763
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source, projects - Maven
>Affects Versions: 11.3
> Environment: NB-11.3beta1 running on jdk1,8, Win7, project running on 
> jdk-13.0.2
>Reporter: Ernie Rael
>Priority: Critical
>  Labels: javafx
> Fix For: 11.3
>
>
> {{Starting with JavaFXMavenArchetype from Gluon and some fixup (see 
> NETBEANS-3730 attachemnts), in the projecs window I expanded 
> SimpleProj>Dependencies, selected all the jars, did "Download Sources" 
> action.}}
> {{I can debug step into javafx sources, but stuff like "Go To Type" fail. I 
> see the message }}{{"_Can not open ... (missing source?)_" }} a lot. I 
> The log has stuff like
>  
> {quote}INFO [org.netbeans.api.java.source.ElementHandle]: Resolved type is 
> null for kind = CONSTRUCTOR
>  INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: 
> ElementHandle[kind=CONSTRUCTOR; sigs=javafx.scene.control.Label  
> (Ljava/lang/String;)V ]
>  INFO [org.netbeans.modules.java.classfile.CodeGenerator]: Cannot resolve 
> element: ElementHandle[kind=CONSTRUCTOR; sigs=javafx.scene.control.Label 
>  (Ljava/lang/String;)V ] on classpath: 
> nbjrt:[file:/F:/j/jdk/jdk-13.0.2/!/modules/java.base/;C:\f\j\maven_repository\org\openjfx\javafx-controls\13\javafx-controls-13-win.jar;C:\f\j\maven_repository\org\openjfx\javafx-graphics\13\javafx-graphics-13-win.jar;C:\f\j\maven_repository\org\openjfx\javafx-base\13\javafx-base-13-win.jar;F:\j\nb-stuff\NetBeansProjects\simple-maven-proto\src\main\java;F:\j\nb-stuff\NetBeansProjects\simple-maven-proto\src\main\resources|file:///F:/j/jdk/jdk-13.0.2/!/modules/java.base/;C:fjmaven_repositoryorgopenjfxjavafx-controls13javafx-controls-13-win.jar;C:fjmaven_repositoryorgopenjfxjavafx-graphics13javafx-graphics-13-win.jar;C:fjmaven_repositoryorgopenjfxjavafx-base13javafx-base-13-win.jar;F:jnb-stuffNetBeansProjectssimple-maven-protosrcmainjava;F:jnb-stuffNetBeansProjectssimple-maven-protosrcmainresources]
>  INFO [org.netbeans.api.java.source.ElementHandle]: Resolved type is null for 
> kind = METHOD
>  INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: 
> ElementHandle[kind=METHOD; sigs=javafx.stage.Stage setScene 
> (Ljavafx/scene/Scene;)V ]
> {quote}
>  



--
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-3768) Library source handling does not handle module-info

2020-02-13 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-3768:
-
Labels: javafx  (was: )

> Library source handling does not handle module-info
> ---
>
> Key: NETBEANS-3768
> URL: https://issues.apache.org/jira/browse/NETBEANS-3768
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Project, java - Source
>Affects Versions: 11.3
> Environment: NB-11.3beta1, jdk-13, Win7
>Reporter: Ernie Rael
>Priority: Major
>  Labels: javafx
> Fix For: 11.3
>
>
> After creating a library from javafx-sdk-13.0.2, including source (had to 
> unzip source and add each of the 7 top level zip directories as a folder), 
> almost all import statements are red underlined with an error. From within a 
> javafx source file, "Go To Source", "Go To Declaration" do not work. For 
> example for Label.java there is
> {code:java}
> import javafx.beans.property.ObjectProperty;
> {code}
> in the editor we get the popup error
> {quote}package javafx.beans.property is not visible
>  (package javafx.beans.property is declared in the unnamed module, but module 
> javafx.beans.property does not read it)
> {quote}
>  



--
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-1428) Fatal error when profiling

2020-02-15 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-1428:
--

[~david_costanzo] . "how to use Jira". Yeah, I got that. I finally realized 
that there are 4 main sections, the last is "Activity" which can be expanded, 
it has subsections, one of which is "Comments". I would have sent this to you 
directly, but if it's possible, I don't know how to do it.

> Fatal error when profiling
> --
>
> Key: NETBEANS-1428
> URL: https://issues.apache.org/jira/browse/NETBEANS-1428
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 9.0, 10.0, 11.0
> Environment: Windows 10, JDK11 (OpenJDK 11.0+28)
>Reporter: Peter Hull
>Priority: Major
>  Labels: netcat
> Attachments: hs_err_pid38528.log
>
>
> Attempting to profile a Java freeform project (Netcat 10, Profiling FreeForm, 
> Step 2)
> I get the following error
> {{#}}
> {{# A fatal error has been detected by the Java Runtime Environment:}}
> {{#}}
> {{#  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x7ff8e831c775, 
> pid=38528, tid=38596}}
> {{#}}
> {{# JRE version: OpenJDK Runtime Environment (11.0+28) (build 11+28)}}
> {{# Java VM: OpenJDK 64-Bit Server VM (11+28, mixed mode, tiered, compressed 
> oops, g1 gc, windows-amd64)}}
> {{# Problematic frame:}}
> {{# V  [jvm.dll+0x5ec775]}}
> {{#}}
> {{# No core dump will be written. Minidumps are not enabled by default on 
> client versions of Windows}}
> {{#}}
> {{# An error report file with more information is saved as:}}
> {{# D:\Libraries\Downloads\TS_Profiler_freeform\freeform\hs_err_pid38528.log}}
> {{#}}
> {{# If you would like to submit a bug report, please visit:}}
> {{#   http://bugreport.java.com/bugreport/crash.jsp}}
> {{#}}
> Seems reproducible, I have attached the crash log.



--
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-3898) ModuleList.doScanNetBeansOrgSources descends into .git/.hg

2020-02-18 Thread Ernie Rael (Jira)
Ernie Rael created NETBEANS-3898:


 Summary: ModuleList.doScanNetBeansOrgSources descends into .git/.hg
 Key: NETBEANS-3898
 URL: https://issues.apache.org/jira/browse/NETBEANS-3898
 Project: NetBeans
  Issue Type: Bug
  Components: apisupport - Project
Reporter: Ernie Rael


 
org.netbeans.modules.apisupport.project.universe.ModuleList.doScanNetBeansOrgSources
 produces LOG entries like: 
{quote}INFO...: exhaustive scan of F:\repos\netbeans\.hg\cache
 INFO...: exhaustive scan of F:\repos\netbeans\.hg\git
 ...
{quote}
Which come because of stuff after the following code, ("kids" is directories in 
/netebeans)
{code:java}
for (File kid : kids) {
if (!kid.isDirectory()) {
continue;
}
String name = kid.getName();
if (EXCLUDED_DIR_NAMES.contains(name)) {
// #61579: known to not be project dirs, so skip to save time.
continue;
}
{code}
Can save even more time by staying out of the repo data. Two possible solutions
 * Add ".git" and ".hg" to EXCLUDED_DIR_NAMES
 * Skip anything that starts with "."

Comments? I'm inclined towards the second, skip anything that's hidden.



--
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-3898) ModuleList.doScanNetBeansOrgSources descends into .git/.hg

2020-02-18 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-3898:
--

Simple change, looking for sanity check. Added a couple people with some 
familiarity with ...universe.ModuleList

> ModuleList.doScanNetBeansOrgSources descends into .git/.hg
> --
>
> Key: NETBEANS-3898
> URL: https://issues.apache.org/jira/browse/NETBEANS-3898
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Project
>Reporter: Ernie Rael
>Priority: Minor
>  Labels: performance
>
>  
> org.netbeans.modules.apisupport.project.universe.ModuleList.doScanNetBeansOrgSources
>  produces LOG entries like: 
> {quote}INFO...: exhaustive scan of F:\repos\netbeans\.hg\cache
>  INFO...: exhaustive scan of F:\repos\netbeans\.hg\git
>  ...
> {quote}
> Which come because of stuff after the following code, ("kids" is directories 
> in /netebeans)
> {code:java}
> for (File kid : kids) {
> if (!kid.isDirectory()) {
> continue;
> }
> String name = kid.getName();
> if (EXCLUDED_DIR_NAMES.contains(name)) {
> // #61579: known to not be project dirs, so skip to save time.
> continue;
> }
> {code}
> Can save even more time by staying out of the repo data. Two possible 
> solutions
>  * Add ".git" and ".hg" to EXCLUDED_DIR_NAMES
>  * Skip anything that starts with "."
> Comments? I'm inclined towards the second, skip anything that's hidden.



--
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] [Assigned] (NETBEANS-2446) New project wizard with wrong project location

2020-02-23 Thread Ernie Rael (Jira)


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

Ernie Rael reassigned NETBEANS-2446:


Assignee: Ernie Rael

> New project wizard with wrong project location
> --
>
> Key: NETBEANS-2446
> URL: https://issues.apache.org/jira/browse/NETBEANS-2446
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 11.0
>Reporter: James Z
>Assignee: Ernie Rael
>Priority: Major
>
> New Project wizard has bug, it used wrong Project Location, and when navigate 
> with 'Next >', '< Back', the project location will become longer and longer. 
> It also create lots of directories.
> Such as: ~/NetBeansProjects/mavenproject1/mavenproject1/mavenproject1/.../...



--
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-2446) New project wizard with wrong project location

2020-02-23 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-2446:
--

[~gooddreams] I've got a fix for the problem. I'll issue a pull request soon. 
Could you file a new issue for the other problem "wrong prefilled values", and 
add me as watcher.

> New project wizard with wrong project location
> --
>
> Key: NETBEANS-2446
> URL: https://issues.apache.org/jira/browse/NETBEANS-2446
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 11.0
>Reporter: James Z
>Assignee: Ernie Rael
>Priority: Major
>
> New Project wizard has bug, it used wrong Project Location, and when navigate 
> with 'Next >', '< Back', the project location will become longer and longer. 
> It also create lots of directories.
> Such as: ~/NetBeansProjects/mavenproject1/mavenproject1/mavenproject1/.../...



--
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-2446) New project wizard with wrong project location

2020-02-23 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-2446:
--

[~nplatis], [~gooddreams] Oops. [~nplatis] could _you_ file a new issue...

> New project wizard with wrong project location
> --
>
> Key: NETBEANS-2446
> URL: https://issues.apache.org/jira/browse/NETBEANS-2446
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 11.0
>Reporter: James Z
>Assignee: Ernie Rael
>Priority: Major
>
> New Project wizard has bug, it used wrong Project Location, and when navigate 
> with 'Next >', '< Back', the project location will become longer and longer. 
> It also create lots of directories.
> Such as: ~/NetBeansProjects/mavenproject1/mavenproject1/mavenproject1/.../...



--
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-2446) New project wizard with wrong project location

2020-02-25 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-2446:
-
Fix Version/s: 12.0

> New project wizard with wrong project location
> --
>
> Key: NETBEANS-2446
> URL: https://issues.apache.org/jira/browse/NETBEANS-2446
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 11.0
>Reporter: James Z
>Assignee: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> New Project wizard has bug, it used wrong Project Location, and when navigate 
> with 'Next >', '< Back', the project location will become longer and longer. 
> It also create lots of directories.
> Such as: ~/NetBeansProjects/mavenproject1/mavenproject1/mavenproject1/.../...



--
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-3918) Maven new project wizard creates spurious directories

2020-02-25 Thread Ernie Rael (Jira)
Ernie Rael created NETBEANS-3918:


 Summary: Maven new project wizard creates spurious directories
 Key: NETBEANS-3918
 URL: https://issues.apache.org/jira/browse/NETBEANS-3918
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Maven
Affects Versions: 11.3
Reporter: Ernie Rael


This derives from the 2nd part of NETBEANS-2446. Whenever the "Name and 
Location" panel for maven's NewProject action is exited, a directory is created 
for the indicated "Project Folder:". This could be after pressing "Back", 
"Next", "Cancel". 



--
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-3918) Maven new project wizard creates spurious directories

2020-02-25 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-3918:
--

The spurious directory creation comes from
{code:java}
changeset:   301468:76d9cafcee35
branch:  ArchetypesUI268677
parent:  299970:0c5aa5cdb86a
user:Jaroslav Tulach 
date:Tue Oct 25 21:52:49 2016 +0200
summary: #268677: Recognizing .archetype template files and using them 
to instantiate projects via mvn archetype
{code}
The directory creation comes from 
java/maven/.../BasicPanelVisual.store(WizardDescriptor d)
{code:java}
void store(WizardDescriptor d) {
...
d.putProperty(CommonProjectActions.PROJECT_PARENT_FOLDER, parentFolder);
if (d instanceof TemplateWizard) {
parentFolder.mkdirs();
((TemplateWizard) 
d).setTargetFolder(DataFolder.findFolder(FileUtil.toFileObject(parentFolder)));
}
{code}
The store method is called to save panel settings; it could be for cancel, 
back, next. Not just finish.

I don't know if this code is for convenience, to avoid later calculations, or 
if it's required, or ...

With some guidance I might...

> Maven new project wizard creates spurious directories
> -
>
> Key: NETBEANS-3918
> URL: https://issues.apache.org/jira/browse/NETBEANS-3918
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Ernie Rael
>Priority: Major
>
> This derives from the 2nd part of NETBEANS-2446. Whenever the "Name and 
> Location" panel for maven's NewProject action is exited, a directory is 
> created for the indicated "Project Folder:". This could be after pressing 
> "Back", "Next", "Cancel". 



--
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-2446) New project wizard with wrong project location

2020-02-25 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-2446:
--

Filed NETBEANS-3918 for spurious directory creation.

> New project wizard with wrong project location
> --
>
> Key: NETBEANS-2446
> URL: https://issues.apache.org/jira/browse/NETBEANS-2446
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 11.0
>Reporter: James Z
>Assignee: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> New Project wizard has bug, it used wrong Project Location, and when navigate 
> with 'Next >', '< Back', the project location will become longer and longer. 
> It also create lots of directories.
> Such as: ~/NetBeansProjects/mavenproject1/mavenproject1/mavenproject1/.../...



--
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-3875) Jersey project creation from archetype fails

2020-02-28 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-3875:
--

I filed a second issue, NETBEANS-3918, which is about spurious directory 
creation. I'll check to see if that or NETBEANS-2446 might include this issue.

> Jersey project creation from archetype fails
> 
>
> Key: NETBEANS-3875
> URL: https://issues.apache.org/jira/browse/NETBEANS-3875
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Alessandro Falappa
>Priority: Major
>
> # New Project > Java with Maven > Project from Archetype
>  # Search for *jersey*
>  # Select the first {{jersey-quickstart-archetype}} archetype item (group id: 
> {{org.glassfish.jersey.archetypes}} version: {{2.30}})
>  # Press _Next_
>  # Choose foobar as *Project Name*
>  # Fill the other field and choose an empty directory as *Project Location*
>  # Press _Finish_
> The project generation fails complaining a folder with name foobar exists. An 
> empty foobar folder is left in the choosen project location.
> {code:java}
> 
> Building Maven Stub Project (No POM) 1
> >>> 
> maven-archetype-plugin:2.4:generate (default-cli) > generate-sources @ 
> standalone-pom >>><<< maven-archetype-plugin:2.4:generate (default-cli) < 
> generate-sources @ standalone-pom <<<--- maven-archetype-plugin:2.4:generate 
> (default-cli) @ standalone-pom ---
> Generating project in Batch mode
> Archetype defined by properties
> 
> Using following parameters for creating project from Old (1.x) Archetype: 
> jersey-quickstart-webapp:2.30
> 
> Parameter: basedir, Value: C:\Users\falappa\Documents\NetBeansProjects
> Parameter: package, Value: af.foobar
> Parameter: groupId, Value: af
> Parameter: artifactId, Value: foobar
> Parameter: packageName, Value: af.foobar
> Parameter: version, Value: 1.0-SNAPSHOT
> 
> BUILD FAILURE
> 
> Total time: 1.484 s
> Finished at: 2020-02-13T14:16:58+01:00
> Final Memory: 11M/40M
> 
> Failed to execute goal 
> org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on 
> project standalone-pom: Directory foobar already exists - please run from a 
> clean directory -> [Help 1]To see the full stack trace of the errors, re-run 
> Maven with the -e switch.
> Re-run Maven using the -X switch to enable full debug logging.For more 
> information about the errors and possible solutions, please read the 
> following articles:
> [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException{code}
> Probably the Maven from archetype wizard creates the folder prior to maven 
> archetype execution.
> Not sure if this can be considered a bug in the jersey archetype instead.



--
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-3875) Jersey project creation from archetype fails

2020-02-28 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-3875:
-
Attachment: jersey-quickstart.PNG

> Jersey project creation from archetype fails
> 
>
> Key: NETBEANS-3875
> URL: https://issues.apache.org/jira/browse/NETBEANS-3875
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Alessandro Falappa
>Priority: Major
> Attachments: jersey-quickstart.PNG
>
>
> # New Project > Java with Maven > Project from Archetype
>  # Search for *jersey*
>  # Select the first {{jersey-quickstart-archetype}} archetype item (group id: 
> {{org.glassfish.jersey.archetypes}} version: {{2.30}})
>  # Press _Next_
>  # Choose foobar as *Project Name*
>  # Fill the other field and choose an empty directory as *Project Location*
>  # Press _Finish_
> The project generation fails complaining a folder with name foobar exists. An 
> empty foobar folder is left in the choosen project location.
> {code:java}
> 
> Building Maven Stub Project (No POM) 1
> >>> 
> maven-archetype-plugin:2.4:generate (default-cli) > generate-sources @ 
> standalone-pom >>><<< maven-archetype-plugin:2.4:generate (default-cli) < 
> generate-sources @ standalone-pom <<<--- maven-archetype-plugin:2.4:generate 
> (default-cli) @ standalone-pom ---
> Generating project in Batch mode
> Archetype defined by properties
> 
> Using following parameters for creating project from Old (1.x) Archetype: 
> jersey-quickstart-webapp:2.30
> 
> Parameter: basedir, Value: C:\Users\falappa\Documents\NetBeansProjects
> Parameter: package, Value: af.foobar
> Parameter: groupId, Value: af
> Parameter: artifactId, Value: foobar
> Parameter: packageName, Value: af.foobar
> Parameter: version, Value: 1.0-SNAPSHOT
> 
> BUILD FAILURE
> 
> Total time: 1.484 s
> Finished at: 2020-02-13T14:16:58+01:00
> Final Memory: 11M/40M
> 
> Failed to execute goal 
> org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on 
> project standalone-pom: Directory foobar already exists - please run from a 
> clean directory -> [Help 1]To see the full stack trace of the errors, re-run 
> Maven with the -e switch.
> Re-run Maven using the -X switch to enable full debug logging.For more 
> information about the errors and possible solutions, please read the 
> following articles:
> [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException{code}
> Probably the Maven from archetype wizard creates the folder prior to maven 
> archetype execution.
> Not sure if this can be considered a bug in the jersey archetype instead.



--
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-3875) Jersey project creation from archetype fails

2020-02-28 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-3875:
--

I don't see the archetype you reference in  the steps to reproduce. Using 11.3, 
I attached a png of the list I see. Did you install the archetype in the local 
repository? The "Repository:" field in that dialog shows where it came from.

I'll try the steps you give with some random archetypes, and who knows.

> Jersey project creation from archetype fails
> 
>
> Key: NETBEANS-3875
> URL: https://issues.apache.org/jira/browse/NETBEANS-3875
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Alessandro Falappa
>Priority: Major
> Attachments: jersey-quickstart.PNG
>
>
> # New Project > Java with Maven > Project from Archetype
>  # Search for *jersey*
>  # Select the first {{jersey-quickstart-archetype}} archetype item (group id: 
> {{org.glassfish.jersey.archetypes}} version: {{2.30}})
>  # Press _Next_
>  # Choose foobar as *Project Name*
>  # Fill the other field and choose an empty directory as *Project Location*
>  # Press _Finish_
> The project generation fails complaining a folder with name foobar exists. An 
> empty foobar folder is left in the choosen project location.
> {code:java}
> 
> Building Maven Stub Project (No POM) 1
> >>> 
> maven-archetype-plugin:2.4:generate (default-cli) > generate-sources @ 
> standalone-pom >>><<< maven-archetype-plugin:2.4:generate (default-cli) < 
> generate-sources @ standalone-pom <<<--- maven-archetype-plugin:2.4:generate 
> (default-cli) @ standalone-pom ---
> Generating project in Batch mode
> Archetype defined by properties
> 
> Using following parameters for creating project from Old (1.x) Archetype: 
> jersey-quickstart-webapp:2.30
> 
> Parameter: basedir, Value: C:\Users\falappa\Documents\NetBeansProjects
> Parameter: package, Value: af.foobar
> Parameter: groupId, Value: af
> Parameter: artifactId, Value: foobar
> Parameter: packageName, Value: af.foobar
> Parameter: version, Value: 1.0-SNAPSHOT
> 
> BUILD FAILURE
> 
> Total time: 1.484 s
> Finished at: 2020-02-13T14:16:58+01:00
> Final Memory: 11M/40M
> 
> Failed to execute goal 
> org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on 
> project standalone-pom: Directory foobar already exists - please run from a 
> clean directory -> [Help 1]To see the full stack trace of the errors, re-run 
> Maven with the -e switch.
> Re-run Maven using the -X switch to enable full debug logging.For more 
> information about the errors and possible solutions, please read the 
> following articles:
> [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException{code}
> Probably the Maven from archetype wizard creates the folder prior to maven 
> archetype execution.
> Not sure if this can be considered a bug in the jersey archetype instead.



--
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-3918) Maven new project wizard creates spurious directories

2020-02-29 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-3918:
--

[~jtulach], I don't see how to add you as a reviewer to the pull request; the 
PR modifies a change you made a few years ago.

> Maven new project wizard creates spurious directories
> -
>
> Key: NETBEANS-3918
> URL: https://issues.apache.org/jira/browse/NETBEANS-3918
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> This derives from the 2nd part of NETBEANS-2446. Whenever the "Name and 
> Location" panel for maven's NewProject action is exited, a directory is 
> created for the indicated "Project Folder:". This could be after pressing 
> "Back", "Next", "Cancel". 



--
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-3875) Jersey project creation from archetype fails

2020-02-29 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-3875:
--

This is fixed by pull request #1991.

(I reproduced the problem. I found the correct archetype from the log in the 
description)

> Jersey project creation from archetype fails
> 
>
> Key: NETBEANS-3875
> URL: https://issues.apache.org/jira/browse/NETBEANS-3875
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Alessandro Falappa
>Priority: Major
> Attachments: jersey-quickstart.PNG
>
>
> # New Project > Java with Maven > Project from Archetype
>  # Search for *jersey*
>  # Select the first {{jersey-quickstart-archetype}} archetype item (group id: 
> {{org.glassfish.jersey.archetypes}} version: {{2.30}})
>  # Press _Next_
>  # Choose foobar as *Project Name*
>  # Fill the other field and choose an empty directory as *Project Location*
>  # Press _Finish_
> The project generation fails complaining a folder with name foobar exists. An 
> empty foobar folder is left in the choosen project location.
> {code:java}
> 
> Building Maven Stub Project (No POM) 1
> >>> 
> maven-archetype-plugin:2.4:generate (default-cli) > generate-sources @ 
> standalone-pom >>><<< maven-archetype-plugin:2.4:generate (default-cli) < 
> generate-sources @ standalone-pom <<<--- maven-archetype-plugin:2.4:generate 
> (default-cli) @ standalone-pom ---
> Generating project in Batch mode
> Archetype defined by properties
> 
> Using following parameters for creating project from Old (1.x) Archetype: 
> jersey-quickstart-webapp:2.30
> 
> Parameter: basedir, Value: C:\Users\falappa\Documents\NetBeansProjects
> Parameter: package, Value: af.foobar
> Parameter: groupId, Value: af
> Parameter: artifactId, Value: foobar
> Parameter: packageName, Value: af.foobar
> Parameter: version, Value: 1.0-SNAPSHOT
> 
> BUILD FAILURE
> 
> Total time: 1.484 s
> Finished at: 2020-02-13T14:16:58+01:00
> Final Memory: 11M/40M
> 
> Failed to execute goal 
> org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on 
> project standalone-pom: Directory foobar already exists - please run from a 
> clean directory -> [Help 1]To see the full stack trace of the errors, re-run 
> Maven with the -e switch.
> Re-run Maven using the -X switch to enable full debug logging.For more 
> information about the errors and possible solutions, please read the 
> following articles:
> [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException{code}
> Probably the Maven from archetype wizard creates the folder prior to maven 
> archetype execution.
> Not sure if this can be considered a bug in the jersey archetype instead.



--
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] [Resolved] (NETBEANS-3875) Jersey project creation from archetype fails

2020-03-01 Thread Ernie Rael (Jira)


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

Ernie Rael resolved NETBEANS-3875.
--
Resolution: Duplicate

> Jersey project creation from archetype fails
> 
>
> Key: NETBEANS-3875
> URL: https://issues.apache.org/jira/browse/NETBEANS-3875
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Alessandro Falappa
>Priority: Major
> Attachments: jersey-quickstart.PNG
>
>
> # New Project > Java with Maven > Project from Archetype
>  # Search for *jersey*
>  # Select the first {{jersey-quickstart-archetype}} archetype item (group id: 
> {{org.glassfish.jersey.archetypes}} version: {{2.30}})
>  # Press _Next_
>  # Choose foobar as *Project Name*
>  # Fill the other field and choose an empty directory as *Project Location*
>  # Press _Finish_
> The project generation fails complaining a folder with name foobar exists. An 
> empty foobar folder is left in the choosen project location.
> {code:java}
> 
> Building Maven Stub Project (No POM) 1
> >>> 
> maven-archetype-plugin:2.4:generate (default-cli) > generate-sources @ 
> standalone-pom >>><<< maven-archetype-plugin:2.4:generate (default-cli) < 
> generate-sources @ standalone-pom <<<--- maven-archetype-plugin:2.4:generate 
> (default-cli) @ standalone-pom ---
> Generating project in Batch mode
> Archetype defined by properties
> 
> Using following parameters for creating project from Old (1.x) Archetype: 
> jersey-quickstart-webapp:2.30
> 
> Parameter: basedir, Value: C:\Users\falappa\Documents\NetBeansProjects
> Parameter: package, Value: af.foobar
> Parameter: groupId, Value: af
> Parameter: artifactId, Value: foobar
> Parameter: packageName, Value: af.foobar
> Parameter: version, Value: 1.0-SNAPSHOT
> 
> BUILD FAILURE
> 
> Total time: 1.484 s
> Finished at: 2020-02-13T14:16:58+01:00
> Final Memory: 11M/40M
> 
> Failed to execute goal 
> org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on 
> project standalone-pom: Directory foobar already exists - please run from a 
> clean directory -> [Help 1]To see the full stack trace of the errors, re-run 
> Maven with the -e switch.
> Re-run Maven using the -X switch to enable full debug logging.For more 
> information about the errors and possible solutions, please read the 
> following articles:
> [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException{code}
> Probably the Maven from archetype wizard creates the folder prior to maven 
> archetype execution.
> Not sure if this can be considered a bug in the jersey archetype instead.



--
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] [Closed] (NETBEANS-3769) Cannot rename or delete project and directory

2020-03-02 Thread Ernie Rael (Jira)


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

Ernie Rael closed NETBEANS-3769.

Assignee: Ernie Rael

Reported problem fixed. Have heard of no new issues (including performance 
issues)

> Cannot rename or delete project and directory
> -
>
> Key: NETBEANS-3769
> URL: https://issues.apache.org/jira/browse/NETBEANS-3769
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Generic Infrastructure, projects - Generic 
> Projects UI
>Affects Versions: 11.3
> Environment: NB 11.3b running on JDK-13.0.2, Win7
>Reporter: Ernie Rael
>Assignee: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.3
>
> Attachments: CannotRenameProject.log.1, CannotRenameProject.log.2, 
> ProjRenameAtRename.png
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> (Attaching log with relevant exceptions)
> To reproduce
>  # NewProject > JavaWithAnt > JavaApplication; accept all defaults
>  # From context menu on new project, select "Rename..."
>  # In dialog change the name
>  # Select "Also Rename Project Folder"
>  # Click "Rename" button
> Observe error dialog
> {quote}Error
> Cannot rename file JavaApplication8 in F:/j/nb-stuff/NetBeansProjects to 
> RenameProject
> {quote}
>  



--
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] [Closed] (NETBEANS-3674) BaseKit manipulates JTextComponent and NOT in EDT

2020-03-02 Thread Ernie Rael (Jira)


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

Ernie Rael closed NETBEANS-3674.

Assignee: Ernie Rael

No longer observe problem. Not aware of anything new.

> BaseKit manipulates JTextComponent and NOT in EDT
> -
>
> Key: NETBEANS-3674
> URL: https://issues.apache.org/jira/browse/NETBEANS-3674
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Settings
>Affects Versions: 11.2
> Environment: jdk1,8, win7,11.2u1
>Reporter: Ernie Rael
>Assignee: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> In editor.lib/.../BasKit.java a lookup listener does "c.setMap(keymap)". This 
> is required to run in the EventDisplatchThread. 
> KeybindingsAndPreferencesTracker::refreshShortcutsAndActions around line 4125
> For example:
>  "Editor-Setting-Files-Tracker-Keybindings"
>   at 
> org.netbeans.editor.BaseKit$KeybindingsAndPreferencesTracker.refreshShortcutsAndActions(BaseKit.java:4119)
>   at 
> org.netbeans.editor.BaseKit$KeybindingsAndPreferencesTracker.resultChanged(BaseKit.java:4081)
>   ...
>   at 
> org.netbeans.modules.editor.settings.storage.SettingsProvider$MyLookup.updateContents(SettingsProvider.java:275)
>   at 
> org.netbeans.modules.editor.settings.storage.SettingsProvider$MyLookup.propertyChange(SettingsProvider.java:188)
>   at 
> org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:190)
>   ...
>   at 
> org.netbeans.modules.editor.settings.storage.keybindings.KeyBindingSettingsImpl$Listener.propertyChange(KeyBindingSettingsImpl.java:320)
>   at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
>   at 
> java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
>   at 
> java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
>   at 
> org.netbeans.modules.editor.settings.storage.api.EditorSettingsStorage$2.call(EditorSettingsStorage.java:104)
>   at 
> org.netbeans.modules.editor.settings.storage.api.EditorSettingsStorage$2.call(EditorSettingsStorage.java:102)
>   at 
> org.netbeans.modules.editor.settings.storage.StorageImpl.refresh(StorageImpl.java:170)
>   at 
> org.netbeans.modules.editor.settings.storage.StorageImpl$FilesystemTracker.run(StorageImpl.java:591)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
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] [Closed] (NETBEANS-3673) Java>Imports UI spinnerNumbers too narrow, can't see all the data

2020-03-02 Thread Ernie Rael (Jira)


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

Ernie Rael closed NETBEANS-3673.


Looks good on 11.3

> Java>Imports UI spinnerNumbers too narrow, can't see all the data
> -
>
> Key: NETBEANS-3673
> URL: https://issues.apache.org/jira/browse/NETBEANS-3673
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.2
>Reporter: Ernie Rael
>Assignee: Ernie Rael
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 11.3
>
> Attachments: FixedOptionsImports.png, OptionsFormatImports.png
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Options>Editor>Formatting>Java>Imports. The two spinners aren't wide enough 
> to show reasonable input (I think my values are reasonable :) ) and their 
> sizes don't match; see attachment. Compare to ...>Java>TabsAndIndents.



--
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] [Closed] (NETBEANS-2785) Make NIO2 File Watcher Implementation as Default

2020-03-02 Thread Ernie Rael (Jira)


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

Ernie Rael closed NETBEANS-2785.

Resolution: Fixed

Which platforms get which file watcher seems sorted out now.

> Make NIO2 File Watcher Implementation as Default
> 
>
> Key: NETBEANS-2785
> URL: https://issues.apache.org/jira/browse/NETBEANS-2785
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Filesystems
>Reporter: Laszlo Kishalmi
>Priority: Major
>  Labels: Performance, pull-request-available
> Fix For: 11.2
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> It seems Java NIO2 based file watcher implementation can speed up the IDE 
> startup time and make the IDE a bit snappier overall.



--
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-2559) NullPointerException in debug mode.

2020-03-03 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-2559:
--

In "setFxDebug" there is
{code:java}
ClassType sysPropClass = getClass(vm, tr, 
"com.sun.javafx.runtime.SystemProperties");
{code}
but that class doesn't appear in openjfx (AFAICT). So this leads to a NPE. Can 
probably just return or check that in fact this is openjfx.

> NullPointerException in debug mode.
> ---
>
> Key: NETBEANS-2559
> URL: https://issues.apache.org/jira/browse/NETBEANS-2559
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Java, java - Project, javafx - Project
>Affects Versions: 10.0
> Environment: Windows 10, NetBeans Linux 1099, Java 12.0.1
>Reporter: Michal Rama
>Priority: Minor
>  Labels: Debug, NullPointerException, javafx
>
> Hello,
> When I start the project, everything will go well.
> The problem occurs when I run debug mode. It goes through all the "Line 
> Breakpoints". After the last, the project starts, but it also displays an 
> error.
> {code:java}
> java.lang.NullPointerException
>  at 
> org.netbeans.modules.debugger.jpda.jdi.ReferenceTypeWrapper.fieldByName(ReferenceTypeWrapper.java:1033)
> [catch] at 
> org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.setFxDebug(VisualDebuggerListener.java:463)
>  at 
> org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.initDebuggerRemoteService(VisualDebuggerListener.java:273)
>  at 
> org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.access$100(VisualDebuggerListener.java:94)
>  at 
> org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener$3.breakpointReached(VisualDebuggerListener.java:184)
>  at 
> org.netbeans.api.debugger.jpda.JPDABreakpoint.fireJPDABreakpointChange(JPDABreakpoint.java:275)
>  at 
> org.netbeans.api.debugger.jpda.JPDADebugger.fireBreakpointEvent(JPDADebugger.java:466)
>  at 
> org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.fireBreakpointEvent(JPDADebuggerImpl.java:641)
>  at 
> org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.perform(BreakpointImpl.java:535)
>  at 
> org.netbeans.modules.debugger.jpda.breakpoints.MethodBreakpointImpl.exec(MethodBreakpointImpl.java:253)
>  at 
> org.netbeans.modules.debugger.jpda.util.Operator.processEvents(Operator.java:500)
>  at 
> org.netbeans.modules.debugger.jpda.util.Operator.access$800(Operator.java:94)
>  at org.netbeans.modules.debugger.jpda.util.Operator$1.run(Operator.java:225)
>  at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  at org.netbeans.modules.debugger.jpda.util.Operator$2.run(Operator.java:257)
>  at java.base/java.lang.Thread.run(Thread.java:835){code}
> Why is he doing it?
> Please help
> Thank you



--
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-2559) NullPointerException in debug mode.

2020-03-04 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-2559:
--

(That comment is a note to myself about where/why in NB there is an NPE)
What version of JavaFX are you debugging?

That is code inside of NB. It seems like NB is looking for something, 
com.sun.javafx.runtime.SystemProperties,  that does not exist in the javafx 
that you are debugging.

> NullPointerException in debug mode.
> ---
>
> Key: NETBEANS-2559
> URL: https://issues.apache.org/jira/browse/NETBEANS-2559
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Java, java - Project, javafx - Project
>Affects Versions: 11.2
> Environment: Windows 10, Java 13.0.2
>Reporter: Michal Rama
>Priority: Minor
>  Labels: Debug, NullPointerException, javafx
>
> Hello,
> When I start the project, everything will go well.
> The problem occurs when I run debug mode. It goes through all the "Line 
> Breakpoints". After the last, the project starts, but it also displays an 
> error.
> {code:java}
> java.lang.NullPointerExceptionjava.lang.NullPointerException at 
> org.netbeans.modules.debugger.jpda.jdi.ReferenceTypeWrapper.fieldByName(ReferenceTypeWrapper.java:1033)[catch]
>  at 
> org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.setFxDebug(VisualDebuggerListener.java:463)
>  at 
> org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.initDebuggerRemoteService(VisualDebuggerListener.java:273)
>  at 
> org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.access$100(VisualDebuggerListener.java:94)
>  at 
> org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener$3.breakpointReached(VisualDebuggerListener.java:184)
>  at 
> org.netbeans.api.debugger.jpda.JPDABreakpoint.fireJPDABreakpointChange(JPDABreakpoint.java:275)
>  at 
> org.netbeans.api.debugger.jpda.JPDADebugger.fireBreakpointEvent(JPDADebugger.java:466)
>  at 
> org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.fireBreakpointEvent(JPDADebuggerImpl.java:641)
>  at 
> org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.perform(BreakpointImpl.java:535)
>  at 
> org.netbeans.modules.debugger.jpda.breakpoints.MethodBreakpointImpl.exec(MethodBreakpointImpl.java:253)
>  at 
> org.netbeans.modules.debugger.jpda.util.Operator.processEvents(Operator.java:500)
>  at 
> org.netbeans.modules.debugger.jpda.util.Operator.access$800(Operator.java:94) 
> at org.netbeans.modules.debugger.jpda.util.Operator$1.run(Operator.java:225) 
> at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) 
> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at 
> org.netbeans.modules.debugger.jpda.util.Operator$2.run(Operator.java:257) at 
> java.base/java.lang.Thread.run(Thread.java:830){code}
> Why is he doing it?
> Please help
> Thank you



--
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-3961) Project location not saved for reuse with NewProject>JavaWithMaven>JavaApplication

2020-03-05 Thread Ernie Rael (Jira)
Ernie Rael created NETBEANS-3961:


 Summary: Project location not saved for reuse with 
NewProject>JavaWithMaven>JavaApplication
 Key: NETBEANS-3961
 URL: https://issues.apache.org/jira/browse/NETBEANS-3961
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Maven
Affects Versions: 11.3
 Environment: jdk8, Win7
Reporter: Ernie Rael


To reproduce
# NewProject>JavaWithMaven>JavaApplication
# Next button
# Change Project location to something different than default being shown
# Finish button

Create another project, as above, and observe the project location.
It is the original project location.
It should be the directory where the most recent project was just created.




--
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-3730) Can't run a newly created project based on "Simple JavaFX Maven Archetype (Gluon)"

2020-03-08 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-3730:
-
Labels: pull-request-available  (was: )

> Can't run a newly created project based on "Simple JavaFX Maven Archetype 
> (Gluon)" 
> ---
>
> Key: NETBEANS-3730
> URL: https://issues.apache.org/jira/browse/NETBEANS-3730
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project
>Affects Versions: 11.2, 11.3
> Environment: Product Version: Apache NetBeans IDE 11.2
> Java: 11.0.5; OpenJDK 64-Bit Server VM 11.0.5+10-LTS
> Runtime: OpenJDK Runtime Environment 11.0.5+10-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
>Reporter: Pavlo Iatsiuk
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2020-01-22 16_02_03-Window.png, 
> BuildConfigFor-javafx-maven-plugin-givingRunDebug, nbactions.xml
>
>
> Can't run a newly created project based on "Simple JavaFX Maven Archetype 
> (Gluon)" template.
> Run action tries to execute maven exec:exec task (see console output below)
> This template includes org.openjfx:javafx-maven-plugin into the pom.xml. So, 
> action can be changed on javafx:run to run the application.
> Console output:
> {{cd D:\projects\temp\SimpleJavaFXMaven; "JAVA_HOME=C:\\Program Files\\Amazon 
> Corretto\\jdk11.0.5_10" cmd /c 
> "\"\"D:\\soft\\scoop\\apps\\netbeans\\current\\java\\maven\\bin\\mvn.cmd\" 
> -Dexec.args=\"-classpath %classpath com.nems.simplejavafxmaven.App\" 
> -Dexec.executable=\"C:\\Program Files\\Amazon 
> Corretto\\jdk11.0.5_10\\bin\\java.exe\" 
> -Dmaven.ext.class.path=D:\\soft\\scoop\\apps\\netbeans\\current\\java\\maven-nblib\\netbeans-eventspy.jar
>  -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""cd 
> D:\projects\temp\SimpleJavaFXMaven; "JAVA_HOME=C:\\Program Files\\Amazon 
> Corretto\\jdk11.0.5_10" cmd /c 
> "\"\"D:\\soft\\scoop\\apps\\netbeans\\current\\java\\maven\\bin\\mvn.cmd\" 
> -Dexec.args=\"-classpath %classpath com.nems.simplejavafxmaven.App\" 
> -Dexec.executable=\"C:\\Program Files\\Amazon 
> Corretto\\jdk11.0.5_10\\bin\\java.exe\" 
> -Dmaven.ext.class.path=D:\\soft\\scoop\\apps\\netbeans\\current\\java\\maven-nblib\\netbeans-eventspy.jar
>  -Dfile.encoding=UTF-8 
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""Running NetBeans Compile On 
> Save execution. Phase execution is skipped and output directories of 
> dependency projects (with Compile on Save turned on) will be used instead of 
> their jar artifacts.Scanning for projects...                                  
>                                       
> Building
>  SimpleJavaFXMaven 
> 1.0-SNAPSHOT}}
> {{--- exec-maven-plugin:1.5.0:exec (default-cli) @ SimpleJavaFXMaven 
> ---Error: JavaFX runtime components are missing, and are required to run this 
> applicationCommand execution failed.org.apache.commons.exec.ExecuteException: 
> Process exited with an error: 1 (Exit value: 1) at 
> org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
>  at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166) 
> at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764) at 
> org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711) at 
> org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289) at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>  at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>  at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>  at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>  at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>  at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>  at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>  at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at 
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at 
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at 
> org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at 
> org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at 
> org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at 
> java.base/jdk.internal.reflect.NativeMethodAccess

[jira] [Commented] (NETBEANS-3730) Can't run a newly created project based on "Simple JavaFX Maven Archetype (Gluon)"

2020-03-08 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-3730:
--

Manually added label pull request available for

[NETBEANS-3730] Use NewProject JavaFX archetypes tailored for NetBeans

[PR#1983:|https://github.com/apache/netbeans/pull/1983]

> Can't run a newly created project based on "Simple JavaFX Maven Archetype 
> (Gluon)" 
> ---
>
> Key: NETBEANS-3730
> URL: https://issues.apache.org/jira/browse/NETBEANS-3730
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project
>Affects Versions: 11.2, 11.3
> Environment: Product Version: Apache NetBeans IDE 11.2
> Java: 11.0.5; OpenJDK 64-Bit Server VM 11.0.5+10-LTS
> Runtime: OpenJDK Runtime Environment 11.0.5+10-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
>Reporter: Pavlo Iatsiuk
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2020-01-22 16_02_03-Window.png, 
> BuildConfigFor-javafx-maven-plugin-givingRunDebug, nbactions.xml
>
>
> Can't run a newly created project based on "Simple JavaFX Maven Archetype 
> (Gluon)" template.
> Run action tries to execute maven exec:exec task (see console output below)
> This template includes org.openjfx:javafx-maven-plugin into the pom.xml. So, 
> action can be changed on javafx:run to run the application.
> Console output:
> {{cd D:\projects\temp\SimpleJavaFXMaven; "JAVA_HOME=C:\\Program Files\\Amazon 
> Corretto\\jdk11.0.5_10" cmd /c 
> "\"\"D:\\soft\\scoop\\apps\\netbeans\\current\\java\\maven\\bin\\mvn.cmd\" 
> -Dexec.args=\"-classpath %classpath com.nems.simplejavafxmaven.App\" 
> -Dexec.executable=\"C:\\Program Files\\Amazon 
> Corretto\\jdk11.0.5_10\\bin\\java.exe\" 
> -Dmaven.ext.class.path=D:\\soft\\scoop\\apps\\netbeans\\current\\java\\maven-nblib\\netbeans-eventspy.jar
>  -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""cd 
> D:\projects\temp\SimpleJavaFXMaven; "JAVA_HOME=C:\\Program Files\\Amazon 
> Corretto\\jdk11.0.5_10" cmd /c 
> "\"\"D:\\soft\\scoop\\apps\\netbeans\\current\\java\\maven\\bin\\mvn.cmd\" 
> -Dexec.args=\"-classpath %classpath com.nems.simplejavafxmaven.App\" 
> -Dexec.executable=\"C:\\Program Files\\Amazon 
> Corretto\\jdk11.0.5_10\\bin\\java.exe\" 
> -Dmaven.ext.class.path=D:\\soft\\scoop\\apps\\netbeans\\current\\java\\maven-nblib\\netbeans-eventspy.jar
>  -Dfile.encoding=UTF-8 
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""Running NetBeans Compile On 
> Save execution. Phase execution is skipped and output directories of 
> dependency projects (with Compile on Save turned on) will be used instead of 
> their jar artifacts.Scanning for projects...                                  
>                                       
> Building
>  SimpleJavaFXMaven 
> 1.0-SNAPSHOT}}
> {{--- exec-maven-plugin:1.5.0:exec (default-cli) @ SimpleJavaFXMaven 
> ---Error: JavaFX runtime components are missing, and are required to run this 
> applicationCommand execution failed.org.apache.commons.exec.ExecuteException: 
> Process exited with an error: 1 (Exit value: 1) at 
> org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
>  at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166) 
> at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764) at 
> org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711) at 
> org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289) at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>  at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>  at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>  at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>  at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>  at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>  at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>  at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at 
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at 
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at 
> org.apache.maven.cli.MavenCli.execute(Maven

[jira] [Created] (NETBEANS-4083) Exception creating NewProject JavaWithMaven

2020-03-29 Thread Ernie Rael (Jira)
Ernie Rael created NETBEANS-4083:


 Summary: Exception creating NewProject JavaWithMaven
 Key: NETBEANS-4083
 URL: https://issues.apache.org/jira/browse/NETBEANS-4083
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Maven
Affects Versions: 12.0
Reporter: Ernie Rael
 Fix For: 12.0


Dialog has incomplete validation for "Project Folder:". Also incomplete 
validation for "Package:". These problems affect several new project types

To reproduce "Project Folder:" problem
 # touch /tmp/xxx # create some random file
 # NewProject > JavaWithMaven > JavaApplication
 # Enter "Project Location:" as "/tmp"
 # Enter "Project Name:" as "xx
 # click Finish

Observe exception (last few lines)
{code:java}
java.lang.IllegalArgumentException: Attempted to pass a non-directory to 
findProject: F:\tmp\xx@6b3ef9bc:3669eed1
at 
org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:140)
[catch] at 
org.netbeans.modules.maven.newproject.ArchetypeWizardUtils.processProjectFolder(ArchetypeWizardUtils.java:208)

{code}
To reproduce "Package:" problem (several ways)
 # NewProject > JavaWithMaven > JavaApplication
 # Enter "Project Name:" as "xx-yy-8", notice that "Package:" has a trailing dot
 # click Finish

Project is created with invalid package name.



--
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] [Assigned] (NETBEANS-4083) Exception creating NewProject JavaWithMaven

2020-03-29 Thread Ernie Rael (Jira)


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

Ernie Rael reassigned NETBEANS-4083:


Assignee: Ernie Rael

> Exception creating NewProject JavaWithMaven
> ---
>
> Key: NETBEANS-4083
> URL: https://issues.apache.org/jira/browse/NETBEANS-4083
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Assignee: Ernie Rael
>Priority: Major
> Fix For: 12.0
>
>
> Dialog has incomplete validation for "Project Folder:". Also incomplete 
> validation for "Package:". These problems affect several new project types
> To reproduce "Project Folder:" problem
>  # touch /tmp/xxx # create some random file
>  # NewProject > JavaWithMaven > JavaApplication
>  # Enter "Project Location:" as "/tmp"
>  # Enter "Project Name:" as "xx
>  # click Finish
> Observe exception (last few lines)
> {code:java}
> java.lang.IllegalArgumentException: Attempted to pass a non-directory to 
> findProject: F:\tmp\xx@6b3ef9bc:3669eed1
>   at 
> org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:140)
> [catch] at 
> org.netbeans.modules.maven.newproject.ArchetypeWizardUtils.processProjectFolder(ArchetypeWizardUtils.java:208)
> {code}
> To reproduce "Package:" problem (several ways)
>  # NewProject > JavaWithMaven > JavaApplication
>  # Enter "Project Name:" as "xx-yy-8", notice that "Package:" has a trailing 
> dot
>  # click Finish
> Project is created with invalid package name.



--
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-4083) Exception creating NewProject JavaWithMaven

2020-03-29 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4083:
-
Labels: pull-request-available  (was: )

> Exception creating NewProject JavaWithMaven
> ---
>
> Key: NETBEANS-4083
> URL: https://issues.apache.org/jira/browse/NETBEANS-4083
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Assignee: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.0
>
>
> Dialog has incomplete validation for "Project Folder:". Also incomplete 
> validation for "Package:". These problems affect several new project types
> To reproduce "Project Folder:" problem
>  # touch /tmp/xxx # create some random file
>  # NewProject > JavaWithMaven > JavaApplication
>  # Enter "Project Location:" as "/tmp"
>  # Enter "Project Name:" as "xx
>  # click Finish
> Observe exception (last few lines)
> {code:java}
> java.lang.IllegalArgumentException: Attempted to pass a non-directory to 
> findProject: F:\tmp\xx@6b3ef9bc:3669eed1
>   at 
> org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:140)
> [catch] at 
> org.netbeans.modules.maven.newproject.ArchetypeWizardUtils.processProjectFolder(ArchetypeWizardUtils.java:208)
> {code}
> To reproduce "Package:" problem (several ways)
>  # NewProject > JavaWithMaven > JavaApplication
>  # Enter "Project Name:" as "xx-yy-8", notice that "Package:" has a trailing 
> dot
>  # click Finish
> Project is created with invalid package name.



--
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-4083) Exception creating NewProject JavaWithMaven

2020-03-29 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4083:
--

The PR didn't hook up correctly, sigh.

[https://github.com/apache/netbeans/pull/2053]
{code:java}
changeset:   4122:a21deae90ed9
bookmark:ValidationsForMavenProjectCreation
tag: tip
parent:  4102:a92abb562f42
user:Ernie Rael 
date:Mon Mar 30 06:47:05 2020 +0100
summary: [NETBEANS-4083] Add missing validation in new maven project dialog
{code}

> Exception creating NewProject JavaWithMaven
> ---
>
> Key: NETBEANS-4083
> URL: https://issues.apache.org/jira/browse/NETBEANS-4083
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Assignee: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.0
>
>
> Dialog has incomplete validation for "Project Folder:". Also incomplete 
> validation for "Package:". These problems affect several new project types
> To reproduce "Project Folder:" problem
>  # touch /tmp/xxx # create some random file
>  # NewProject > JavaWithMaven > JavaApplication
>  # Enter "Project Location:" as "/tmp"
>  # Enter "Project Name:" as "xx
>  # click Finish
> Observe exception (last few lines)
> {code:java}
> java.lang.IllegalArgumentException: Attempted to pass a non-directory to 
> findProject: F:\tmp\xx@6b3ef9bc:3669eed1
>   at 
> org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:140)
> [catch] at 
> org.netbeans.modules.maven.newproject.ArchetypeWizardUtils.processProjectFolder(ArchetypeWizardUtils.java:208)
> {code}
> To reproduce "Package:" problem (several ways)
>  # NewProject > JavaWithMaven > JavaApplication
>  # Enter "Project Name:" as "xx-yy-8", notice that "Package:" has a trailing 
> dot
>  # click Finish
> Project is created with invalid package name.



--
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-4094) Can't request verification of new plugin version on PP3 without dropping verification of previous version

2020-03-31 Thread Ernie Rael (Jira)
Ernie Rael created NETBEANS-4094:


 Summary: Can't request verification of new plugin version on PP3 
without dropping verification of previous version 
 Key: NETBEANS-4094
 URL: https://issues.apache.org/jira/browse/NETBEANS-4094
 Project: NetBeans
  Issue Type: Bug
  Components: updatecenters - Pluginportal
Reporter: Ernie Rael


This problem opens a window where no version of the given plugin appears in the 
catalog. Between dropping and verification completion. 

To reproduce:
 # add new version of plugin in maven repository, refresh in PP3.
 # edit new version
 # Observe; there is no "request verification" button for new version

If you edit the previous version, you can drop verification, then go back to 
the new version and request verification.



--
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-4097) HintsInvoker ... assertion Analyzer error

2020-04-01 Thread Ernie Rael (Jira)
Ernie Rael created NETBEANS-4097:


 Summary: HintsInvoker ... assertion Analyzer error
 Key: NETBEANS-4097
 URL: https://issues.apache.org/jira/browse/NETBEANS-4097
 Project: NetBeans
  Issue Type: Bug
  Components: java - Compiler
Affects Versions: 11.3
 Environment: NB-11.3, jdk1.8_241, nb-javac-2.0,Win7
Reporter: Ernie Rael


I've only seen this a few times; this specific failure might be new in 11.3. 
The code it fails on is ancient. This failure happened when setting project 
group to "(none)" and it happened in a file that was not opened (at least not 
being edited).
{code:java}
java.lang.AssertionError: Analyzer error when processing: private static final 
Runnable updateKeymap = new Runnable(){

() {
super();
}

@Override
public void run() {
bindingList = null;
firePropertyChange(KEY_BINDINGS, null, null);
}
}
at com.sun.tools.javac.util.Assert.error(Assert.java:162)
at com.sun.tools.javac.comp.Analyzer.doAnalysis(Analyzer.java:578)
at com.sun.tools.javac.comp.Analyzer$2.flush(Analyzer.java:549)
{code}
stacktrace attached



--
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-4097) HintsInvoker ... assertion Analyzer error

2020-04-01 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4097:
-
Attachment: StackTrace.log

> HintsInvoker ... assertion Analyzer error
> -
>
> Key: NETBEANS-4097
> URL: https://issues.apache.org/jira/browse/NETBEANS-4097
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 11.3
> Environment: NB-11.3, jdk1.8_241, nb-javac-2.0,Win7
>Reporter: Ernie Rael
>Priority: Minor
> Attachments: StackTrace.log
>
>
> I've only seen this a few times; this specific failure might be new in 11.3. 
> The code it fails on is ancient. This failure happened when setting project 
> group to "(none)" and it happened in a file that was not opened (at least not 
> being edited).
> {code:java}
> java.lang.AssertionError: Analyzer error when processing: private static 
> final Runnable updateKeymap = new Runnable(){
> 
> () {
> super();
> }
> 
> @Override
> public void run() {
> bindingList = null;
> firePropertyChange(KEY_BINDINGS, null, null);
> }
> }
>   at com.sun.tools.javac.util.Assert.error(Assert.java:162)
>   at com.sun.tools.javac.comp.Analyzer.doAnalysis(Analyzer.java:578)
>   at com.sun.tools.javac.comp.Analyzer$2.flush(Analyzer.java:549)
> {code}
> stacktrace attached



--
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-4120) nbactions.xml use of clean and javafx:run goals blocks unit tests

2020-04-07 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4120:
--

I'm sure maven is wonderful...

On the maven command line, you can list both goals and phases. And the docs 
even say that clean is a lifecycle. I'm guessing that through binding goals to 
phases..., who knows...

Glad you have something that works.

> nbactions.xml use of clean and javafx:run goals blocks unit tests
> -
>
> Key: NETBEANS-4120
> URL: https://issues.apache.org/jira/browse/NETBEANS-4120
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
> Environment: Win 10, Java 14, NB 12.0 Beta 2, OpenFX 15-ea+2
>Reporter: Kenneth Fogel
>Priority: Major
> Fix For: 12.0
>
>
> In nbaction.xml the entry:
> 
>      run
>      
>          jar
>      
>      
>          clean
>          javafx:run
>      
>  
> should be
> 
>      run
>      
>          jar
>      
>      
>          clean
>         test 
>         javafx:run
>      
>  
> All goals between clean and javafx:run should be executed. For unknown 
> reasons javafx:run excludes testing. This was discovered when the goals in a 
> Maven pom of clean javafx:run would not run tests. Add test to the pom or the 
> nbactions.xml resolved this. If the project does not have any test classes 
> then there is no issue and the FX app starts up normally.
> There is a side effect. A project that does not yet have a main method ends 
> the build without running the tests. There needs to be a dummy class with a 
> main in it.



--
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] [Assigned] (NETBEANS-4127) can't profile Java FX project

2020-04-07 Thread Ernie Rael (Jira)


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

Ernie Rael reassigned NETBEANS-4127:


Assignee: Ernie Rael

> can't profile Java FX project
> -
>
> Key: NETBEANS-4127
> URL: https://issues.apache.org/jira/browse/NETBEANS-4127
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0
>Reporter: Glenn Holmer
>Assignee: Ernie Rael
>Priority: Major
>
> Steps to reproduce (12.0 beta 2, JDK 11.0.6 on Debian Linux "Buster" )
> 1) New Project, Java with Maven, FXML JavaFX Maven Archetype (Gluon)
> 2) F6 to run project, select and save main class (works correctly)
> 3) Set breakpoints and debug project wiht ctrl-F5 (works correctly)
> 4) Profile project with ctrl-F2, select "Configure Session", "Telemetry".
> 5) Click Profile button. Select main class and remember permanently.
> Result: Program terminates immediately with this in output window:
> Error: JavaFX runtime components are missing, and are required to run this 
> application
> Profiler Agent: Connection with agent closed



--
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-4127) can't profile Java FX project

2020-04-07 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4127:
--

Ran into several things investigating this, essentially
 * The profile button bypassed javafx-maven-plugin. Add profile entry to 
nbactions, and a profile execution to pom.xml; pass in nb's profiling args for 
jvm.
 * The fx plugin can't handle a single jvm args option. Filed a plugin issue, 
[https://github.com/openjfx/javafx-maven-plugin/issues/75] . Unlikely to be 
fixed in the 12.0 timeframe.

Investigating how to provide profiling jvmargs as individual properties for use 
in the current jfx plugin.

> can't profile Java FX project
> -
>
> Key: NETBEANS-4127
> URL: https://issues.apache.org/jira/browse/NETBEANS-4127
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0
>Reporter: Glenn Holmer
>Assignee: Ernie Rael
>Priority: Major
>
> Steps to reproduce (12.0 beta 2, JDK 11.0.6 on Debian Linux "Buster" )
> 1) New Project, Java with Maven, FXML JavaFX Maven Archetype (Gluon)
> 2) F6 to run project, select and save main class (works correctly)
> 3) Set breakpoints and debug project wiht ctrl-F5 (works correctly)
> 4) Profile project with ctrl-F2, select "Configure Session", "Telemetry".
> 5) Click Profile button. Select main class and remember permanently.
> Result: Program terminates immediately with this in output window:
> Error: JavaFX runtime components are missing, and are required to run this 
> application
> Profiler Agent: Connection with agent closed



--
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-4143) "Tools > Open in Terminal" fails with cygwin

2020-04-09 Thread Ernie Rael (Jira)
Ernie Rael created NETBEANS-4143:


 Summary: "Tools > Open in Terminal" fails with cygwin
 Key: NETBEANS-4143
 URL: https://issues.apache.org/jira/browse/NETBEANS-4143
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Terminalemulator
Affects Versions: 12.0
Reporter: Ernie Rael


INFO [nativeexecution.support.logger]: [188225 ms.] Unable to start pty 
process: binary=F:\tmp\dlight_err\24ad3743\899701107\pty; 
args=[--set-erase-key, F:\cygwin64\bin\bash.exe, -c, exec 
/cygdrive/F/cygwin64/bin/bash.exe "--login"]; rc=Cannot run program 
"F:\tmp\dlight_err\24ad3743\899701107\pty": Malformed argument has embedded 
quote: exec /cygdrive/F/cygwin64/bin/bash.exe \"–login\"

This is NOT related to [NETBEANS-3254], I tried setting those properties.



--
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-4143) "Tools > Open in Terminal" fails with cygwin

2020-04-09 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4143:
-
Description: 
INFO [nativeexecution.support.logger]: [188225 ms.] Unable to start pty 
process: binary=F:\tmp\dlight_err\24ad3743\899701107\pty; 
args=[--set-erase-key, F:\cygwin64\bin\bash.exe, -c, exec 
/cygdrive/F/cygwin64/bin/bash.exe "--login"]; rc=Cannot run program 
"F:\tmp\dlight_err\24ad3743\899701107\pty": Malformed argument has embedded 
quote: exec /cygdrive/F/cygwin64/bin/bash.exe \"–login\"

This is NOT related to NETBEANS-3254 (AFAICT); I tried setting those properties.

  was:
INFO [nativeexecution.support.logger]: [188225 ms.] Unable to start pty 
process: binary=F:\tmp\dlight_err\24ad3743\899701107\pty; 
args=[--set-erase-key, F:\cygwin64\bin\bash.exe, -c, exec 
/cygdrive/F/cygwin64/bin/bash.exe "--login"]; rc=Cannot run program 
"F:\tmp\dlight_err\24ad3743\899701107\pty": Malformed argument has embedded 
quote: exec /cygdrive/F/cygwin64/bin/bash.exe \"–login\"

This is NOT related to [NETBEANS-3254], I tried setting those properties.


> "Tools > Open in Terminal" fails with cygwin
> 
>
> Key: NETBEANS-4143
> URL: https://issues.apache.org/jira/browse/NETBEANS-4143
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Terminalemulator
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Priority: Major
>
> INFO [nativeexecution.support.logger]: [188225 ms.] Unable to start pty 
> process: binary=F:\tmp\dlight_err\24ad3743\899701107\pty; 
> args=[--set-erase-key, F:\cygwin64\bin\bash.exe, -c, exec 
> /cygdrive/F/cygwin64/bin/bash.exe "--login"]; rc=Cannot run program 
> "F:\tmp\dlight_err\24ad3743\899701107\pty": Malformed argument has embedded 
> quote: exec /cygdrive/F/cygwin64/bin/bash.exe \"–login\"
> This is NOT related to NETBEANS-3254 (AFAICT); I tried setting those 
> properties.



--
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-4143) "Tools > Open in Terminal" fails with cygwin

2020-04-09 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4143:
--

Does anyone know where "pty" is comming from?

$ file pty
 pty: PE32+ executable (console) x86-64 (stripped to external PDB), for MS 
Windows

I ask because I can't find the source anywhere. (Not that options, like 
"--login", should be quoted to bash) But if I do
{quote}$ bash -c "exec bash \"-i\""
{quote}
that works. But maybe it's getting passed to pty as
{quote}$ bash -c "exec bash "-i""
{quote}
Which is probably more likely. But even that works

So maybe pty is preemptively giving up without even trying...

> "Tools > Open in Terminal" fails with cygwin
> 
>
> Key: NETBEANS-4143
> URL: https://issues.apache.org/jira/browse/NETBEANS-4143
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Terminalemulator
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Priority: Major
>
> INFO [nativeexecution.support.logger]: [188225 ms.] Unable to start pty 
> process: binary=F:\tmp\dlight_err\24ad3743\899701107\pty; 
> args=[--set-erase-key, F:\cygwin64\bin\bash.exe, -c, exec 
> /cygdrive/F/cygwin64/bin/bash.exe "--login"]; rc=Cannot run program 
> "F:\tmp\dlight_err\24ad3743\899701107\pty": Malformed argument has embedded 
> quote: exec /cygdrive/F/cygwin64/bin/bash.exe \"–login\"
> This is NOT related to NETBEANS-3254 (AFAICT); I tried setting those 
> properties.



--
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-4143) "Tools > Open in Terminal" fails with cygwin

2020-04-09 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4143:
-
Description: 
INFO [nativeexecution.support.logger]: [188225 ms.] Unable to start pty 
process: binary=F:\tmp\dlight_err\24ad3743\899701107\pty; 
args=[--set-erase-key, F:\cygwin64\bin\bash.exe, -c, exec 
/cygdrive/F/cygwin64/bin/bash.exe "--login"]; rc=Cannot run program 
"F:\tmp\dlight_err\24ad3743\899701107\pty": Malformed argument has embedded 
quote: exec /cygdrive/F/cygwin64/bin/bash.exe \"–login\"

This is NOT related to NETBEANS-3254 (AFAICT); I tried setting those properties.

Ran into this, following a youtube video posted last week.

  was:
INFO [nativeexecution.support.logger]: [188225 ms.] Unable to start pty 
process: binary=F:\tmp\dlight_err\24ad3743\899701107\pty; 
args=[--set-erase-key, F:\cygwin64\bin\bash.exe, -c, exec 
/cygdrive/F/cygwin64/bin/bash.exe "--login"]; rc=Cannot run program 
"F:\tmp\dlight_err\24ad3743\899701107\pty": Malformed argument has embedded 
quote: exec /cygdrive/F/cygwin64/bin/bash.exe \"–login\"

This is NOT related to NETBEANS-3254 (AFAICT); I tried setting those properties.


> "Tools > Open in Terminal" fails with cygwin
> 
>
> Key: NETBEANS-4143
> URL: https://issues.apache.org/jira/browse/NETBEANS-4143
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Terminalemulator
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> INFO [nativeexecution.support.logger]: [188225 ms.] Unable to start pty 
> process: binary=F:\tmp\dlight_err\24ad3743\899701107\pty; 
> args=[--set-erase-key, F:\cygwin64\bin\bash.exe, -c, exec 
> /cygdrive/F/cygwin64/bin/bash.exe "--login"]; rc=Cannot run program 
> "F:\tmp\dlight_err\24ad3743\899701107\pty": Malformed argument has embedded 
> quote: exec /cygdrive/F/cygwin64/bin/bash.exe \"–login\"
> This is NOT related to NETBEANS-3254 (AFAICT); I tried setting those 
> properties.
> Ran into this, following a youtube video posted last week.



--
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-4152) Can't edit java with nb-repo build

2020-04-10 Thread Ernie Rael (Jira)
Ernie Rael created NETBEANS-4152:


 Summary: Can't edit java with nb-repo build
 Key: NETBEANS-4152
 URL: https://issues.apache.org/jira/browse/NETBEANS-4152
 Project: NetBeans
  Issue Type: Bug
  Components: java - Hints
Affects Versions: 12.0
 Environment: Win7,nb-repo,jdk-13
Reporter: Ernie Rael
 Attachments: NB13-NO-messages.log

Built the repo with latest commits (see below). Empty Cachedir. No nb-javac. 
IDE running on jdk-13. Attached log is after startup, no keystrokes. Might be 
related to NETBEANS-4146 since similar stack. Any edits brings up dialog (after 
short pause)
{code:java}
java.lang.NullPointerException
at 
jdk.compiler/com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash(Check.java:2091)
{code}
At startup open project with file:
{code:java}
package play;

import javax.swing.text.Segment;

public class NewClass
{
void t(Segment s, int col)
{
char c;
c = s.array[col + s.offset];

c = s.array[s.offset + col];
}
}
{code}
{code:java}
@ changeset: 4145:d6a5ef54df74
| bookmark: FixTermStartup
| tag: tip
| user: Ernie Rael 
| date: Fri Apr 10 04:46:35 2020 +0100
| summary: [NETBEANS-4143] Dont quote args in common case; fixes terminal 
startup in cygwin.
|
o changeset: 4144:2f8e25e43d06
| tag: upstream/master
| user: Laszlo Kishalmi 
| date: Sun Apr 05 12:37:42 2020 -0700
| summary: [NETBEANS-4118] Moved Gradle Tooling into it's own module and to 
version 6.3
|
o changeset: 4143:062d22019b93
|\ parent: 4139:da89e72d
| | parent: 4142:5b30fd7dd99f
| | user: Eric Barboni 
| | date: Fri Apr 10 11:18:14 2020 +0200
| | summary: Merge pull request #2060 from DevCharly/flatlaf-0.29
| |
...
|
o changeset: 4139:da89e72d
|\ parent: 4124:6066a52b01ff
| | parent: 4138:400df9905951
| | user: Eric Barboni 
| | date: Thu Apr 09 15:14:08 2020 +0200
| | summary: Merge pull request #2013 from jlahoda/fix-refactoring-vanilla-javac
| |{code}



--
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] [Assigned] (NETBEANS-4152) Can't edit java with nb-repo build

2020-04-10 Thread Ernie Rael (Jira)


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

Ernie Rael reassigned NETBEANS-4152:


Assignee: Jan Lahoda

> Can't edit java with nb-repo build
> --
>
> Key: NETBEANS-4152
> URL: https://issues.apache.org/jira/browse/NETBEANS-4152
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: Win7,nb-repo,jdk-13
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Blocker
> Attachments: NB13-NO-messages.log
>
>
> Built the repo with latest commits (see below). Empty Cachedir. No nb-javac. 
> IDE running on jdk-13. Attached log is after startup, no keystrokes. Might be 
> related to NETBEANS-4146 since similar stack. Any edits brings up dialog 
> (after short pause)
> {code:java}
> java.lang.NullPointerException
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash(Check.java:2091)
> {code}
> At startup open project with file:
> {code:java}
> package play;
> import javax.swing.text.Segment;
> public class NewClass
> {
> void t(Segment s, int col)
> {
> char c;
> c = s.array[col + s.offset];
> c = s.array[s.offset + col];
> }
> }
> {code}
> {code:java}
> @ changeset: 4145:d6a5ef54df74
> | bookmark: FixTermStartup
> | tag: tip
> | user: Ernie Rael 
> | date: Fri Apr 10 04:46:35 2020 +0100
> | summary: [NETBEANS-4143] Dont quote args in common case; fixes terminal 
> startup in cygwin.
> |
> o changeset: 4144:2f8e25e43d06
> | tag: upstream/master
> | user: Laszlo Kishalmi 
> | date: Sun Apr 05 12:37:42 2020 -0700
> | summary: [NETBEANS-4118] Moved Gradle Tooling into it's own module and to 
> version 6.3
> |
> o changeset: 4143:062d22019b93
> |\ parent: 4139:da89e72d
> | | parent: 4142:5b30fd7dd99f
> | | user: Eric Barboni 
> | | date: Fri Apr 10 11:18:14 2020 +0200
> | | summary: Merge pull request #2060 from DevCharly/flatlaf-0.29
> | |
> ...
> |
> o changeset: 4139:da89e72d
> |\ parent: 4124:6066a52b01ff
> | | parent: 4138:400df9905951
> | | user: Eric Barboni 
> | | date: Thu Apr 09 15:14:08 2020 +0200
> | | summary: Merge pull request #2013 from 
> jlahoda/fix-refactoring-vanilla-javac
> | |{code}



--
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-4152) Can't edit java with nb-repo build

2020-04-10 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4152:
--

I'm not sure about protocol, but assigning at least for triage.

> Can't edit java with nb-repo build
> --
>
> Key: NETBEANS-4152
> URL: https://issues.apache.org/jira/browse/NETBEANS-4152
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: Win7,nb-repo,jdk-13
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Blocker
> Attachments: NB13-NO-messages.log
>
>
> Built the repo with latest commits (see below). Empty Cachedir. No nb-javac. 
> IDE running on jdk-13. Attached log is after startup, no keystrokes. Might be 
> related to NETBEANS-4146 since similar stack. Any edits brings up dialog 
> (after short pause)
> {code:java}
> java.lang.NullPointerException
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash(Check.java:2091)
> {code}
> At startup open project with file:
> {code:java}
> package play;
> import javax.swing.text.Segment;
> public class NewClass
> {
> void t(Segment s, int col)
> {
> char c;
> c = s.array[col + s.offset];
> c = s.array[s.offset + col];
> }
> }
> {code}
> {code:java}
> @ changeset: 4145:d6a5ef54df74
> | bookmark: FixTermStartup
> | tag: tip
> | user: Ernie Rael 
> | date: Fri Apr 10 04:46:35 2020 +0100
> | summary: [NETBEANS-4143] Dont quote args in common case; fixes terminal 
> startup in cygwin.
> |
> o changeset: 4144:2f8e25e43d06
> | tag: upstream/master
> | user: Laszlo Kishalmi 
> | date: Sun Apr 05 12:37:42 2020 -0700
> | summary: [NETBEANS-4118] Moved Gradle Tooling into it's own module and to 
> version 6.3
> |
> o changeset: 4143:062d22019b93
> |\ parent: 4139:da89e72d
> | | parent: 4142:5b30fd7dd99f
> | | user: Eric Barboni 
> | | date: Fri Apr 10 11:18:14 2020 +0200
> | | summary: Merge pull request #2060 from DevCharly/flatlaf-0.29
> | |
> ...
> |
> o changeset: 4139:da89e72d
> |\ parent: 4124:6066a52b01ff
> | | parent: 4138:400df9905951
> | | user: Eric Barboni 
> | | date: Thu Apr 09 15:14:08 2020 +0200
> | | summary: Merge pull request #2013 from 
> jlahoda/fix-refactoring-vanilla-javac
> | |{code}



--
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-4152) Constant exceptions while editting

2020-04-15 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4152:
-
Summary: Constant exceptions while editting  (was: Can't edit java with 
nb-repo build)

> Constant exceptions while editting
> --
>
> Key: NETBEANS-4152
> URL: https://issues.apache.org/jira/browse/NETBEANS-4152
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: Win7,nb-repo,jdk-13
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Blocker
> Attachments: NB13-NO-messages.log
>
>
> Built the repo with latest commits (see below). Empty Cachedir. No nb-javac. 
> IDE running on jdk-13. Attached log is after startup, no keystrokes. Might be 
> related to NETBEANS-4146 since similar stack. Any edits brings up dialog 
> (after short pause)
> {code:java}
> java.lang.NullPointerException
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash(Check.java:2091)
> {code}
> At startup open project with file:
> {code:java}
> package play;
> import javax.swing.text.Segment;
> public class NewClass
> {
> void t(Segment s, int col)
> {
> char c;
> c = s.array[col + s.offset];
> c = s.array[s.offset + col];
> }
> }
> {code}
> {code:java}
> @ changeset: 4145:d6a5ef54df74
> | bookmark: FixTermStartup
> | tag: tip
> | user: Ernie Rael 
> | date: Fri Apr 10 04:46:35 2020 +0100
> | summary: [NETBEANS-4143] Dont quote args in common case; fixes terminal 
> startup in cygwin.
> |
> o changeset: 4144:2f8e25e43d06
> | tag: upstream/master
> | user: Laszlo Kishalmi 
> | date: Sun Apr 05 12:37:42 2020 -0700
> | summary: [NETBEANS-4118] Moved Gradle Tooling into it's own module and to 
> version 6.3
> |
> o changeset: 4143:062d22019b93
> |\ parent: 4139:da89e72d
> | | parent: 4142:5b30fd7dd99f
> | | user: Eric Barboni 
> | | date: Fri Apr 10 11:18:14 2020 +0200
> | | summary: Merge pull request #2060 from DevCharly/flatlaf-0.29
> | |
> ...
> |
> o changeset: 4139:da89e72d
> |\ parent: 4124:6066a52b01ff
> | | parent: 4138:400df9905951
> | | user: Eric Barboni 
> | | date: Thu Apr 09 15:14:08 2020 +0200
> | | summary: Merge pull request #2013 from 
> jlahoda/fix-refactoring-vanilla-javac
> | |{code}



--
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-4152) Constant exceptions while editting

2020-04-15 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4152:
-
Attachment: 12b3-NB13-NO-messages.log

> Constant exceptions while editting
> --
>
> Key: NETBEANS-4152
> URL: https://issues.apache.org/jira/browse/NETBEANS-4152
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: Win7,nb-repo,jdk-13
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Blocker
> Attachments: 12b3-NB13-NO-messages.log, NB13-NO-messages.log
>
>
> Built the repo with latest commits (see below). Empty Cachedir. No nb-javac. 
> IDE running on jdk-13. Attached log is after startup, no keystrokes. Might be 
> related to NETBEANS-4146 since similar stack. Any edits brings up dialog 
> (after short pause)
> {code:java}
> java.lang.NullPointerException
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash(Check.java:2091)
> {code}
> At startup open project with file:
> {code:java}
> package play;
> import javax.swing.text.Segment;
> public class NewClass
> {
> void t(Segment s, int col)
> {
> char c;
> c = s.array[col + s.offset];
> c = s.array[s.offset + col];
> }
> }
> {code}
> {code:java}
> @ changeset: 4145:d6a5ef54df74
> | bookmark: FixTermStartup
> | tag: tip
> | user: Ernie Rael 
> | date: Fri Apr 10 04:46:35 2020 +0100
> | summary: [NETBEANS-4143] Dont quote args in common case; fixes terminal 
> startup in cygwin.
> |
> o changeset: 4144:2f8e25e43d06
> | tag: upstream/master
> | user: Laszlo Kishalmi 
> | date: Sun Apr 05 12:37:42 2020 -0700
> | summary: [NETBEANS-4118] Moved Gradle Tooling into it's own module and to 
> version 6.3
> |
> o changeset: 4143:062d22019b93
> |\ parent: 4139:da89e72d
> | | parent: 4142:5b30fd7dd99f
> | | user: Eric Barboni 
> | | date: Fri Apr 10 11:18:14 2020 +0200
> | | summary: Merge pull request #2060 from DevCharly/flatlaf-0.29
> | |
> ...
> |
> o changeset: 4139:da89e72d
> |\ parent: 4124:6066a52b01ff
> | | parent: 4138:400df9905951
> | | user: Eric Barboni 
> | | date: Thu Apr 09 15:14:08 2020 +0200
> | | summary: Merge pull request #2013 from 
> jlahoda/fix-refactoring-vanilla-javac
> | |{code}



--
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-4152) Constant exceptions while editting

2020-04-15 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4152:
-
Priority: Critical  (was: Blocker)

> Constant exceptions while editting
> --
>
> Key: NETBEANS-4152
> URL: https://issues.apache.org/jira/browse/NETBEANS-4152
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: Win7,nb-repo,jdk-13
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Critical
> Attachments: 12b3-NB13-NO-messages.log, NB13-NO-messages.log
>
>
> Built the repo with latest commits (see below). Empty Cachedir. No nb-javac. 
> IDE running on jdk-13. Attached log is after startup, no keystrokes. Might be 
> related to NETBEANS-4146 since similar stack. Any edits brings up dialog 
> (after short pause)
> {code:java}
> java.lang.NullPointerException
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash(Check.java:2091)
> {code}
> At startup open project with file:
> {code:java}
> package play;
> import javax.swing.text.Segment;
> public class NewClass
> {
> void t(Segment s, int col)
> {
> char c;
> c = s.array[col + s.offset];
> c = s.array[s.offset + col];
> }
> }
> {code}
> {code:java}
> @ changeset: 4145:d6a5ef54df74
> | bookmark: FixTermStartup
> | tag: tip
> | user: Ernie Rael 
> | date: Fri Apr 10 04:46:35 2020 +0100
> | summary: [NETBEANS-4143] Dont quote args in common case; fixes terminal 
> startup in cygwin.
> |
> o changeset: 4144:2f8e25e43d06
> | tag: upstream/master
> | user: Laszlo Kishalmi 
> | date: Sun Apr 05 12:37:42 2020 -0700
> | summary: [NETBEANS-4118] Moved Gradle Tooling into it's own module and to 
> version 6.3
> |
> o changeset: 4143:062d22019b93
> |\ parent: 4139:da89e72d
> | | parent: 4142:5b30fd7dd99f
> | | user: Eric Barboni 
> | | date: Fri Apr 10 11:18:14 2020 +0200
> | | summary: Merge pull request #2060 from DevCharly/flatlaf-0.29
> | |
> ...
> |
> o changeset: 4139:da89e72d
> |\ parent: 4124:6066a52b01ff
> | | parent: 4138:400df9905951
> | | user: Eric Barboni 
> | | date: Thu Apr 09 15:14:08 2020 +0200
> | | summary: Merge pull request #2013 from 
> jlahoda/fix-refactoring-vanilla-javac
> | |{code}



--
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-4152) Constant exceptions while editting

2020-04-15 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4152:
-
Environment: Win7,12.0beta3,jdk-13  (was: Win7,nb-repo,jdk-13)

> Constant exceptions while editting
> --
>
> Key: NETBEANS-4152
> URL: https://issues.apache.org/jira/browse/NETBEANS-4152
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: Win7,12.0beta3,jdk-13
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Critical
> Attachments: 12b3-NB13-NO-messages.log, NB13-NO-messages.log
>
>
> Built the repo with latest commits (see below). Empty Cachedir. No nb-javac. 
> IDE running on jdk-13. Attached log is after startup, no keystrokes. Might be 
> related to NETBEANS-4146 since similar stack. Any edits brings up dialog 
> (after short pause)
> {code:java}
> java.lang.NullPointerException
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash(Check.java:2091)
> {code}
> At startup open project with file:
> {code:java}
> package play;
> import javax.swing.text.Segment;
> public class NewClass
> {
> void t(Segment s, int col)
> {
> char c;
> c = s.array[col + s.offset];
> c = s.array[s.offset + col];
> }
> }
> {code}
> {code:java}
> @ changeset: 4145:d6a5ef54df74
> | bookmark: FixTermStartup
> | tag: tip
> | user: Ernie Rael 
> | date: Fri Apr 10 04:46:35 2020 +0100
> | summary: [NETBEANS-4143] Dont quote args in common case; fixes terminal 
> startup in cygwin.
> |
> o changeset: 4144:2f8e25e43d06
> | tag: upstream/master
> | user: Laszlo Kishalmi 
> | date: Sun Apr 05 12:37:42 2020 -0700
> | summary: [NETBEANS-4118] Moved Gradle Tooling into it's own module and to 
> version 6.3
> |
> o changeset: 4143:062d22019b93
> |\ parent: 4139:da89e72d
> | | parent: 4142:5b30fd7dd99f
> | | user: Eric Barboni 
> | | date: Fri Apr 10 11:18:14 2020 +0200
> | | summary: Merge pull request #2060 from DevCharly/flatlaf-0.29
> | |
> ...
> |
> o changeset: 4139:da89e72d
> |\ parent: 4124:6066a52b01ff
> | | parent: 4138:400df9905951
> | | user: Eric Barboni 
> | | date: Thu Apr 09 15:14:08 2020 +0200
> | | summary: Merge pull request #2013 from 
> jlahoda/fix-refactoring-vanilla-javac
> | |{code}



--
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-4152) Constant exceptions while editting

2020-04-15 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4152:
-
Priority: Major  (was: Critical)

> Constant exceptions while editting
> --
>
> Key: NETBEANS-4152
> URL: https://issues.apache.org/jira/browse/NETBEANS-4152
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: Win7,12.0beta3,jdk-13
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: 12b3-NB13-NO-messages.log, NB13-NO-messages.log
>
>
> Built the repo with latest commits (see below). Empty Cachedir. No nb-javac. 
> IDE running on jdk-13. Attached log is after startup, no keystrokes. Might be 
> related to NETBEANS-4146 since similar stack. Any edits brings up dialog 
> (after short pause)
> {code:java}
> java.lang.NullPointerException
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash(Check.java:2091)
> {code}
> At startup open project with file:
> {code:java}
> package play;
> import javax.swing.text.Segment;
> public class NewClass
> {
> void t(Segment s, int col)
> {
> char c;
> c = s.array[col + s.offset];
> c = s.array[s.offset + col];
> }
> }
> {code}
> {code:java}
> @ changeset: 4145:d6a5ef54df74
> | bookmark: FixTermStartup
> | tag: tip
> | user: Ernie Rael 
> | date: Fri Apr 10 04:46:35 2020 +0100
> | summary: [NETBEANS-4143] Dont quote args in common case; fixes terminal 
> startup in cygwin.
> |
> o changeset: 4144:2f8e25e43d06
> | tag: upstream/master
> | user: Laszlo Kishalmi 
> | date: Sun Apr 05 12:37:42 2020 -0700
> | summary: [NETBEANS-4118] Moved Gradle Tooling into it's own module and to 
> version 6.3
> |
> o changeset: 4143:062d22019b93
> |\ parent: 4139:da89e72d
> | | parent: 4142:5b30fd7dd99f
> | | user: Eric Barboni 
> | | date: Fri Apr 10 11:18:14 2020 +0200
> | | summary: Merge pull request #2060 from DevCharly/flatlaf-0.29
> | |
> ...
> |
> o changeset: 4139:da89e72d
> |\ parent: 4124:6066a52b01ff
> | | parent: 4138:400df9905951
> | | user: Eric Barboni 
> | | date: Thu Apr 09 15:14:08 2020 +0200
> | | summary: Merge pull request #2013 from 
> jlahoda/fix-refactoring-vanilla-javac
> | |{code}



--
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-4174) Custom hint not getting badge

2020-04-15 Thread Ernie Rael (Jira)
Ernie Rael created NETBEANS-4174:


 Summary: Custom hint not getting badge
 Key: NETBEANS-4174
 URL: https://issues.apache.org/jira/browse/NETBEANS-4174
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Hints & Annotations, java - Hints
Affects Versions: 12.0
Reporter: Ernie Rael


Custom hint, options show it as "WARNING", but no badges. Regression from 11.3.

"Refactor > Inspect&Transform" work with it.

Given this file
{code:java}
package play;

import javax.swing.text.Segment;

public class NewClass
{
void t(Segment s, int col)
{
char c;
c = s.array[col + s.offset];

c = s.array[s.offset + col];
}
}
{code}
and in userdir/config/rules
{code:java}


$seg.array[$val + $seg.offset]
::
$seg instanceof javax.swing.text.Segment
=>
$seg.charAt($val)
;;

$seg.array[$seg.offset + $val]
::
$seg instanceof javax.swing.text.Segment
=>
$seg.charAt($val)
;;
{code}
 



--
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-4152) Constant exceptions while editting

2020-04-15 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4152:
--

Change title, problem in beta3. Adjusted down from blocker, since it wasn't. 
(must be some flag so that exceptions don't bring up a dialog, repo-build gets 
the dialog).

> Constant exceptions while editting
> --
>
> Key: NETBEANS-4152
> URL: https://issues.apache.org/jira/browse/NETBEANS-4152
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: Win7,12.0beta3,jdk-13
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: 12b3-NB13-NO-messages.log, NB13-NO-messages.log
>
>
> Built the repo with latest commits (see below). Empty Cachedir. No nb-javac. 
> IDE running on jdk-13. Attached log is after startup, no keystrokes. Might be 
> related to NETBEANS-4146 since similar stack. Any edits brings up dialog 
> (after short pause)
> {code:java}
> java.lang.NullPointerException
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash(Check.java:2091)
> {code}
> At startup open project with file:
> {code:java}
> package play;
> import javax.swing.text.Segment;
> public class NewClass
> {
> void t(Segment s, int col)
> {
> char c;
> c = s.array[col + s.offset];
> c = s.array[s.offset + col];
> }
> }
> {code}
> {code:java}
> @ changeset: 4145:d6a5ef54df74
> | bookmark: FixTermStartup
> | tag: tip
> | user: Ernie Rael 
> | date: Fri Apr 10 04:46:35 2020 +0100
> | summary: [NETBEANS-4143] Dont quote args in common case; fixes terminal 
> startup in cygwin.
> |
> o changeset: 4144:2f8e25e43d06
> | tag: upstream/master
> | user: Laszlo Kishalmi 
> | date: Sun Apr 05 12:37:42 2020 -0700
> | summary: [NETBEANS-4118] Moved Gradle Tooling into it's own module and to 
> version 6.3
> |
> o changeset: 4143:062d22019b93
> |\ parent: 4139:da89e72d
> | | parent: 4142:5b30fd7dd99f
> | | user: Eric Barboni 
> | | date: Fri Apr 10 11:18:14 2020 +0200
> | | summary: Merge pull request #2060 from DevCharly/flatlaf-0.29
> | |
> ...
> |
> o changeset: 4139:da89e72d
> |\ parent: 4124:6066a52b01ff
> | | parent: 4138:400df9905951
> | | user: Eric Barboni 
> | | date: Thu Apr 09 15:14:08 2020 +0200
> | | summary: Merge pull request #2013 from 
> jlahoda/fix-refactoring-vanilla-javac
> | |{code}



--
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-4174) Custom hint not getting badge

2020-04-15 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4174:
--

Might be related to NETBEANS-4146

 
*Product Version:* Apache NetBeans IDE 12.0-beta3

*Java:* 13.0.2; Java HotSpot(TM) 64-Bit Server VM 13.0.2+8

*Runtime:* Java(TM) SE Runtime Environment 13.0.2+8

*System:* Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)

> Custom hint not getting badge
> -
>
> Key: NETBEANS-4174
> URL: https://issues.apache.org/jira/browse/NETBEANS-4174
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints & Annotations, java - Hints
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Priority: Major
>
> Custom hint, options show it as "WARNING", but no badges. Regression from 
> 11.3.
> "Refactor > Inspect&Transform" work with it.
> Given this file
> {code:java}
> package play;
> import javax.swing.text.Segment;
> public class NewClass
> {
> void t(Segment s, int col)
> {
> char c;
> c = s.array[col + s.offset];
> c = s.array[s.offset + col];
> }
> }
> {code}
> and in userdir/config/rules
> {code:java}
> 
> $seg.array[$val + $seg.offset]
> ::
> $seg instanceof javax.swing.text.Segment
> =>
> $seg.charAt($val)
> ;;
> $seg.array[$seg.offset + $val]
> ::
> $seg instanceof javax.swing.text.Segment
> =>
> $seg.charAt($val)
> ;;
> {code}
>  



--
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-4033) Profile file action of a maven project is broken

2020-04-19 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4033:
--

PR#2068 is specifically about JavaFX. That might provide something that can be 
used to fix this.

How can this be reproduced?

The output in the description has a lot of embedded NewLines that are probably 
not actually in the output; that makes it difficult to see what's going on. 
Could you provide the output without the NLs?

> Profile file action of a maven project is broken
> 
>
> Key: NETBEANS-4033
> URL: https://issues.apache.org/jira/browse/NETBEANS-4033
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta1
> Java: 11; Java HotSpot(TM) 64-Bit Server VM 11+28
> Runtime: Java(TM) SE Runtime Environment 11+28
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
> User directory: 
> C:\Users\luca.mambretti.BZDOMAIN\AppData\Roaming\NetBeans\12.0-beta1
> Cache directory: 
> C:\Users\luca.mambretti.BZDOMAIN\AppData\Local\NetBeans\Cache\12.0-beta1
>Reporter: Luca Mambretti
>Priority: Major
>  Labels: netcat
>
> When trying to profile a single file in a maven project an incorrect command 
> line is generated.
> following the generated command as shown in the IDE output
> cd D:\Progetti\PERS\NetCat-12\QuickstartPrj; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk-11" cmd /c "\"C:\\Program 
> Files\\NetBeans-12.beta1\\java\\maven\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/Program 
> Files/NetBeans-12.beta1/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
>  Files\\NetBeans-12.beta1\\profiler\\lib\\\",5140,10 
> -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=D:\\Progetti\\PERS\\NetCat-12\\QuickstartPrj\\nbproject\\private\\profiler
>  -classpath %classpath it.mambretti.quickstartprj.TestMain\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk-11\\bin\\java.exe\" 
> -Dexec.classpathScope=runtime -Dmaven.ext.class.path=\"C:\\Program 
> Files\\NetBeans-12.beta1\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:1.5.0:exec"
> Running NetBeans Compile On Save execution. Phase execution is skipped and 
> output directories of dependency projects (with Compile on Save turned on) 
> will be used instead of their jar artifacts.
> The syntax of the command is incorrect.



--
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-4203) org.netbeans.api.io.InputOutput.reset() doesn't work

2020-04-20 Thread Ernie Rael (Jira)
Ernie Rael created NETBEANS-4203:


 Summary: org.netbeans.api.io.InputOutput.reset() doesn't work
 Key: NETBEANS-4203
 URL: https://issues.apache.org/jira/browse/NETBEANS-4203
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Output Window
Reporter: Ernie Rael
 Attachments: InputOutputReset.jar

Test module is attached. The module installs an action "Tools > Input 
OutputReset Test"

This test is taken verbatim from the _I/O API SPI Overview_, it is UseCase5:
 
[https://bits.netbeans.org/dev/javadoc/org-netbeans-api-io/overview-summary.html]
 with the "io.show()" added to simplify the observation of the failure.

After running the test, the output window should only have
{code:java}
The pane is now empty and we can reuse it simply
{code}

It doesn't; in addition the data from before the "reset()" is still there.



--
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-4206) Maven Create New Module action uses wrong location

2020-04-21 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4206:
--

I'm not a maven user. Could you give an outline to reproduce. I guess this is 
about the parent pom stuff?  Can I just take some project with a parent pom and 
try to create a project in the same directory as some siblings?

> Maven Create New Module action uses wrong location
> --
>
> Key: NETBEANS-4206
> URL: https://issues.apache.org/jira/browse/NETBEANS-4206
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0
>Reporter: Neil C Smith
>Assignee: Ernie Rael
>Priority: Major
> Fix For: 12.0
>
>
> The fix for #2446 seems to result in the Create New Module action inside a 
> parent Maven project creating the project in the wrong place.
> See use of CommonProjectActions.PROJECT_PARENT_FOLDER in 
> [https://github.com/apache/netbeans/blob/master/java/maven/src/org/netbeans/modules/maven/nodes/ModulesNode.java#L334]



--
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-4206) Maven Create New Module action uses wrong location

2020-04-21 Thread Ernie Rael (Jira)


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

Ernie Rael edited comment on NETBEANS-4206 at 4/21/20, 3:34 PM:


I'm not a maven user. Could you give an outline to reproduce. I guess this is 
about the parent pom stuff?  Can I just take some project with a parent pom and 
try to create a project in the same directory as some siblings? And the failure 
is that it is in the wrong directory, not with it's siblings; is there any 
related meta data failure that you know about?


was (Author: errael):
I'm not a maven user. Could you give an outline to reproduce. I guess this is 
about the parent pom stuff?  Can I just take some project with a parent pom and 
try to create a project in the same directory as some siblings?

> Maven Create New Module action uses wrong location
> --
>
> Key: NETBEANS-4206
> URL: https://issues.apache.org/jira/browse/NETBEANS-4206
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0
>Reporter: Neil C Smith
>Assignee: Ernie Rael
>Priority: Major
> Fix For: 12.0
>
>
> The fix for #2446 seems to result in the Create New Module action inside a 
> parent Maven project creating the project in the wrong place.
> See use of CommonProjectActions.PROJECT_PARENT_FOLDER in 
> [https://github.com/apache/netbeans/blob/master/java/maven/src/org/netbeans/modules/maven/nodes/ModulesNode.java#L334]



--
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-4206) Maven Create New Module action uses wrong location

2020-04-21 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4206:
--

Thanks to your report about how the New Module action sets stuff up, I think I 
know now where the original bug came from. The fix was incomplete, not wrong 
(subject to changes in my understanding). The problem is that "projdir" 
(PROJECT_PARENT_FOLDER) has two meanings:
 * CreateNewModule action uses it to inform the wizard where to put the project
example: /tmp/parent
 * the wizard uses it to inform project creation of the project directory
example: /tmp/parent/child

So things worked, as long as you didn't use the back button. When back/next are 
entered, a new level is added to the project location.

> Maven Create New Module action uses wrong location
> --
>
> Key: NETBEANS-4206
> URL: https://issues.apache.org/jira/browse/NETBEANS-4206
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0
>Reporter: Neil C Smith
>Assignee: Ernie Rael
>Priority: Major
> Fix For: 12.0
>
>
> The fix for #2446 seems to result in the Create New Module action inside a 
> parent Maven project creating the project in the wrong place.
> See use of CommonProjectActions.PROJECT_PARENT_FOLDER in 
> [https://github.com/apache/netbeans/blob/master/java/maven/src/org/netbeans/modules/maven/nodes/ModulesNode.java#L334]



--
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-4203) org.netbeans.api.io.InputOutput.reset() doesn't work

2020-04-23 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4203:
--

Here's a workaround that can be adapted to particular needs
{code:java}
if(true) {
// WORK AROUND RESET PROBLEM
io.close();
io = IOProvider.getDefault().getIO(tabTag, anyFlag);
} else {
io.reset();
}
{code}
 

> org.netbeans.api.io.InputOutput.reset() doesn't work
> 
>
> Key: NETBEANS-4203
> URL: https://issues.apache.org/jira/browse/NETBEANS-4203
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Reporter: Ernie Rael
>Priority: Major
> Attachments: InputOutputReset.jar
>
>
> Test module is attached. The module installs an action "Tools > Input 
> OutputReset Test"
> This test is taken verbatim from the _I/O API SPI Overview_, it is UseCase5:
>  
> [https://bits.netbeans.org/dev/javadoc/org-netbeans-api-io/overview-summary.html]
>  with the "io.show()" added to simplify the observation of the failure.
> After running the test, the output window should only have
> {code:java}
> The pane is now empty and we can reuse it simply
> {code}
> It doesn't; in addition the data from before the "reset()" is still there.



--
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-4203) org.netbeans.api.io.InputOutput.reset() doesn't work

2020-04-24 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4203:
-
Attachment: InputOutputReset.jar

> org.netbeans.api.io.InputOutput.reset() doesn't work
> 
>
> Key: NETBEANS-4203
> URL: https://issues.apache.org/jira/browse/NETBEANS-4203
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Reporter: Ernie Rael
>Priority: Major
> Attachments: InputOutputReset.jar, InputOutputReset.jar
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Test module is attached. The module installs an action "Tools > Input 
> OutputReset Test"
> This test is taken verbatim from the _I/O API SPI Overview_, it is UseCase5:
>  
> [https://bits.netbeans.org/dev/javadoc/org-netbeans-api-io/overview-summary.html]
>  with the "io.show()" added to simplify the observation of the failure.
> After running the test, the output window should only have
> {code:java}
> The pane is now empty and we can reuse it simply
> {code}
> It doesn't; in addition the data from before the "reset()" is still there.



--
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-4203) org.netbeans.api.io.InputOutput.reset() doesn't work

2020-04-24 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4203:
--

This latest module has 3 tests with increased verification; the tests report 
pass/fail. It installs 4 Menu items at the top of tools list like:
 ---
 Run All Tests
 ---
 Input Output Reset Test
 Multiple Input Output
 Two Task Reset
 ---

Run All Tests runs each of the three tests.

> org.netbeans.api.io.InputOutput.reset() doesn't work
> 
>
> Key: NETBEANS-4203
> URL: https://issues.apache.org/jira/browse/NETBEANS-4203
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Reporter: Ernie Rael
>Priority: Major
> Attachments: InputOutputReset.jar, InputOutputReset.jar
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Test module is attached. The module installs an action "Tools > Input 
> OutputReset Test"
> This test is taken verbatim from the _I/O API SPI Overview_, it is UseCase5:
>  
> [https://bits.netbeans.org/dev/javadoc/org-netbeans-api-io/overview-summary.html]
>  with the "io.show()" added to simplify the observation of the failure.
> After running the test, the output window should only have
> {code:java}
> The pane is now empty and we can reuse it simply
> {code}
> It doesn't; in addition the data from before the "reset()" is still there.



--
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-4270) hint "Use @NbBundle.Messages" bad edit of Bundle.properties

2020-04-28 Thread Ernie Rael (Jira)
Ernie Rael created NETBEANS-4270:


 Summary: hint "Use @NbBundle.Messages" bad edit of 
Bundle.properties
 Key: NETBEANS-4270
 URL: https://issues.apache.org/jira/browse/NETBEANS-4270
 Project: NetBeans
  Issue Type: Bug
  Components: apisupport - Project, platform - Property Editors
 Environment: jdk8, win7, NB11.03-jdk8, NB12b3-jdk13
Reporter: Ernie Rael
 Attachments: OptionsPlayHack.zip

./apisupport/apisupport.refactoring/src/org/netbeans/modules
 /apisupport/hints/UseNbBundleMessages.java:
 "UseNbBundleMessages.displayName=Use @NbBundle.Messages"

To reproduce:
 # in Menu > Tools > Options > Editor > Hints > NetBeansDevelopment
 enable "Use @NbBundle.Messages" hint
 # unzip sources; open OptionsPlayHack in IDE
 # open file OptionsPlayHackOptionsPanelController.java
 # go to the line:
{noformat}
categoryName = "#OptionsCategory_Name_OptionsPlayHack",
{noformat}
and accept the hint "Use NbBundle.Message"

 # the line
{noformat}
keywords = "#OptionsCategory_Keywords_OptionsPlayHack",
{noformat}
is marked in error. Hover mouse over this line and see
{noformat}
Save modifications to Bundle.properties before using this hint
{noformat}

 # click on the save button

Observe:
 - the line is still in error, but now
{noformat}
No key 'OptionsCategory_Keywords_OptionsPlayHack'
found in OptionsPlayHack.Bundle
Bundle.properties does not contain any key 
'OptionsCategory_Keywords_OptionsPlayHack'
{noformat}

 - Open the bundle file and note that the remaining line is
{noformat}
ptionsCategory_Keywords_OptionsPlayHack=keyw1
{noformat}
which is a misspelling, missing initial "O"

 - click undo button twice, see the correct spelling (and deleted line)



--
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-4276) hint: ClassCastException: JCMethodInvocation not cast to StatementTree

2020-04-29 Thread Ernie Rael (Jira)
Ernie Rael created NETBEANS-4276:


 Summary: hint: ClassCastException: JCMethodInvocation not cast to 
StatementTree 
 Key: NETBEANS-4276
 URL: https://issues.apache.org/jira/browse/NETBEANS-4276
 Project: NetBeans
  Issue Type: Bug
  Components: java - Hints
Affects Versions: 12.0
 Environment: repo build with commits as of 4/28; jdk14.0.1; win7
Reporter: Ernie Rael
Assignee: Jan Lahoda
 Attachments: RefactorReflect.zip, messages.log

Attached a simple single java file project that causes the problem. message.log 
with Exception also attached. Probably comes down to these lines:

{code:java}
  Field f = OptUtil1.class.getDeclaredField("baz");
  f.setInt(null, 123);
{code}

Using a custom hint; issue2.hint is in the project at top level. Fails both 
with clicking on bulb and inspect&transform.



--
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-4276) hint: ClassCastException: JCMethodInvocation not cast to StatementTree

2020-04-29 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4276:
-
Description: 
Attached a simple single java file project that causes the problem. message.log 
with Exception also attached. Probably comes down to these lines:

{code:java}
  Field f = OptUtil1.class.getDeclaredField("baz");
  f.setInt(null, 123);
{code}

Using a custom hint; issue2.hint is in the project at top level. Fails both 
with clicking on bulb and inspect&transform.

Those two lines above, reflection, have nothing to do with it. Delete them, 
leave only the two lines that match the hint. Exception still happens.

  was:
Attached a simple single java file project that causes the problem. message.log 
with Exception also attached. Probably comes down to these lines:

{code:java}
  Field f = OptUtil1.class.getDeclaredField("baz");
  f.setInt(null, 123);
{code}

Using a custom hint; issue2.hint is in the project at top level. Fails both 
with clicking on bulb and inspect&transform.


> hint: ClassCastException: JCMethodInvocation not cast to StatementTree 
> ---
>
> Key: NETBEANS-4276
> URL: https://issues.apache.org/jira/browse/NETBEANS-4276
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: repo build with commits as of 4/28; jdk14.0.1; win7
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: RefactorReflect.zip, messages.log
>
>
> Attached a simple single java file project that causes the problem. 
> message.log with Exception also attached. Probably comes down to these lines:
> {code:java}
>   Field f = OptUtil1.class.getDeclaredField("baz");
>   f.setInt(null, 123);
> {code}
> Using a custom hint; issue2.hint is in the project at top level. Fails both 
> with clicking on bulb and inspect&transform.
> Those two lines above, reflection, have nothing to do with it. Delete them, 
> leave only the two lines that match the hint. Exception still happens.



--
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-4276) hint: ClassCastException: JCMethodInvocation not cast to StatementTree

2020-04-29 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4276:
--

May not need to download the attachments...
The hint:
{code:java}
if($opt.getBoolean()) $opt.printf($fmt, $args$)
::
$opt instanceof play.OptUtil1.DebugOption
 && $fmt instanceof String
=>
System.err.printf($fmt)
;;
{code}
The java code

{code:java}
  if(   dbgOptions.getBoolean())
dbgOptions.printf("Init G.%s to '%s'\n", "foo", "bar");
{code}


> hint: ClassCastException: JCMethodInvocation not cast to StatementTree 
> ---
>
> Key: NETBEANS-4276
> URL: https://issues.apache.org/jira/browse/NETBEANS-4276
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: repo build with commits as of 4/28; jdk14.0.1; win7
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: RefactorReflect.zip, messages.log
>
>
> Attached a simple single java file project that causes the problem. 
> message.log with Exception also attached. Probably comes down to these lines:
> {code:java}
>   Field f = OptUtil1.class.getDeclaredField("baz");
>   f.setInt(null, 123);
> {code}
> Using a custom hint; issue2.hint is in the project at top level. Fails both 
> with clicking on bulb and inspect&transform.
> Those two lines above, reflection, have nothing to do with it. Delete them, 
> leave only the two lines that match the hint. Exception still happens.



--
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-4270) hint "Use @NbBundle.Messages" bad edit of Bundle.properties

2020-04-29 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4270:
-
Priority: Major  (was: Minor)

> hint "Use @NbBundle.Messages" bad edit of Bundle.properties
> ---
>
> Key: NETBEANS-4270
> URL: https://issues.apache.org/jira/browse/NETBEANS-4270
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Project, platform - Property Editors
> Environment: jdk8, win7, NB11.03-jdk8, NB12b3-jdk13
>Reporter: Ernie Rael
>Priority: Major
> Attachments: OptionsPlayHack.zip
>
>
> ./apisupport/apisupport.refactoring/src/org/netbeans/modules
>  /apisupport/hints/UseNbBundleMessages.java:
>  "UseNbBundleMessages.displayName=Use @NbBundle.Messages"
> To reproduce:
>  # in Menu > Tools > Options > Editor > Hints > NetBeansDevelopment
>  enable "Use @NbBundle.Messages" hint
>  # unzip sources; open OptionsPlayHack in IDE
>  # open file OptionsPlayHackOptionsPanelController.java
>  # go to the line:
> {noformat}
> categoryName = "#OptionsCategory_Name_OptionsPlayHack",
> {noformat}
> and accept the hint "Use NbBundle.Message"
>  # the line
> {noformat}
> keywords = "#OptionsCategory_Keywords_OptionsPlayHack",
> {noformat}
> is marked in error. Hover mouse over this line and see
> {noformat}
> Save modifications to Bundle.properties before using this hint
> {noformat}
>  # click on the save button
> Observe:
>  - the line is still in error, but now
> {noformat}
> No key 'OptionsCategory_Keywords_OptionsPlayHack'
> found in OptionsPlayHack.Bundle
> Bundle.properties does not contain any key 
> 'OptionsCategory_Keywords_OptionsPlayHack'
> {noformat}
>  - Open the bundle file and note that the remaining line is
> {noformat}
> ptionsCategory_Keywords_OptionsPlayHack=keyw1
> {noformat}
> which is a misspelling, missing initial "O"
>  - click undo button twice, see the correct spelling (and deleted line)



--
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-4270) hint "Use @NbBundle.Messages" bad edit of Bundle.properties

2020-04-29 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4270:
--

I just saw that in a real world "Bundle.properties" file, one with many 
entries. After doing "Use @NbBundle.message" once, every remaining line in 
Bundle.properties has the first char missing. Upping the priority.

> hint "Use @NbBundle.Messages" bad edit of Bundle.properties
> ---
>
> Key: NETBEANS-4270
> URL: https://issues.apache.org/jira/browse/NETBEANS-4270
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Project, platform - Property Editors
> Environment: jdk8, win7, NB11.03-jdk8, NB12b3-jdk13
>Reporter: Ernie Rael
>Priority: Major
> Attachments: OptionsPlayHack.zip
>
>
> ./apisupport/apisupport.refactoring/src/org/netbeans/modules
>  /apisupport/hints/UseNbBundleMessages.java:
>  "UseNbBundleMessages.displayName=Use @NbBundle.Messages"
> To reproduce:
>  # in Menu > Tools > Options > Editor > Hints > NetBeansDevelopment
>  enable "Use @NbBundle.Messages" hint
>  # unzip sources; open OptionsPlayHack in IDE
>  # open file OptionsPlayHackOptionsPanelController.java
>  # go to the line:
> {noformat}
> categoryName = "#OptionsCategory_Name_OptionsPlayHack",
> {noformat}
> and accept the hint "Use NbBundle.Message"
>  # the line
> {noformat}
> keywords = "#OptionsCategory_Keywords_OptionsPlayHack",
> {noformat}
> is marked in error. Hover mouse over this line and see
> {noformat}
> Save modifications to Bundle.properties before using this hint
> {noformat}
>  # click on the save button
> Observe:
>  - the line is still in error, but now
> {noformat}
> No key 'OptionsCategory_Keywords_OptionsPlayHack'
> found in OptionsPlayHack.Bundle
> Bundle.properties does not contain any key 
> 'OptionsCategory_Keywords_OptionsPlayHack'
> {noformat}
>  - Open the bundle file and note that the remaining line is
> {noformat}
> ptionsCategory_Keywords_OptionsPlayHack=keyw1
> {noformat}
> which is a misspelling, missing initial "O"
>  - click undo button twice, see the correct spelling (and deleted line)



--
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] [Assigned] (NETBEANS-4270) hint "Use @NbBundle.Messages" bad edit of Bundle.properties

2020-05-01 Thread Ernie Rael (Jira)


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

Ernie Rael reassigned NETBEANS-4270:


Assignee: Ernie Rael

> hint "Use @NbBundle.Messages" bad edit of Bundle.properties
> ---
>
> Key: NETBEANS-4270
> URL: https://issues.apache.org/jira/browse/NETBEANS-4270
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Project, platform - Property Editors
> Environment: jdk8, win7, NB11.03-jdk8, NB12b3-jdk13
>Reporter: Ernie Rael
>Assignee: Ernie Rael
>Priority: Major
> Attachments: OptionsPlayHack.zip
>
>
> ./apisupport/apisupport.refactoring/src/org/netbeans/modules
>  /apisupport/hints/UseNbBundleMessages.java:
>  "UseNbBundleMessages.displayName=Use @NbBundle.Messages"
> To reproduce:
>  # in Menu > Tools > Options > Editor > Hints > NetBeansDevelopment
>  enable "Use @NbBundle.Messages" hint
>  # unzip sources; open OptionsPlayHack in IDE
>  # open file OptionsPlayHackOptionsPanelController.java
>  # go to the line:
> {noformat}
> categoryName = "#OptionsCategory_Name_OptionsPlayHack",
> {noformat}
> and accept the hint "Use NbBundle.Message"
>  # the line
> {noformat}
> keywords = "#OptionsCategory_Keywords_OptionsPlayHack",
> {noformat}
> is marked in error. Hover mouse over this line and see
> {noformat}
> Save modifications to Bundle.properties before using this hint
> {noformat}
>  # click on the save button
> Observe:
>  - the line is still in error, but now
> {noformat}
> No key 'OptionsCategory_Keywords_OptionsPlayHack'
> found in OptionsPlayHack.Bundle
> Bundle.properties does not contain any key 
> 'OptionsCategory_Keywords_OptionsPlayHack'
> {noformat}
>  - Open the bundle file and note that the remaining line is
> {noformat}
> ptionsCategory_Keywords_OptionsPlayHack=keyw1
> {noformat}
> which is a misspelling, missing initial "O"
>  - click undo button twice, see the correct spelling (and deleted line)



--
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-4270) hint "Use @NbBundle.Messages" bad edit of Bundle.properties

2020-05-01 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4270:
-
Labels: pull-request-available  (was: )

> hint "Use @NbBundle.Messages" bad edit of Bundle.properties
> ---
>
> Key: NETBEANS-4270
> URL: https://issues.apache.org/jira/browse/NETBEANS-4270
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Project, platform - Property Editors
> Environment: jdk8, win7, NB11.03-jdk8, NB12b3-jdk13
>Reporter: Ernie Rael
>Assignee: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
> Attachments: OptionsPlayHack.zip
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> ./apisupport/apisupport.refactoring/src/org/netbeans/modules
>  /apisupport/hints/UseNbBundleMessages.java:
>  "UseNbBundleMessages.displayName=Use @NbBundle.Messages"
> To reproduce:
>  # in Menu > Tools > Options > Editor > Hints > NetBeansDevelopment
>  enable "Use @NbBundle.Messages" hint
>  # unzip sources; open OptionsPlayHack in IDE
>  # open file OptionsPlayHackOptionsPanelController.java
>  # go to the line:
> {noformat}
> categoryName = "#OptionsCategory_Name_OptionsPlayHack",
> {noformat}
> and accept the hint "Use NbBundle.Message"
>  # the line
> {noformat}
> keywords = "#OptionsCategory_Keywords_OptionsPlayHack",
> {noformat}
> is marked in error. Hover mouse over this line and see
> {noformat}
> Save modifications to Bundle.properties before using this hint
> {noformat}
>  # click on the save button
> Observe:
>  - the line is still in error, but now
> {noformat}
> No key 'OptionsCategory_Keywords_OptionsPlayHack'
> found in OptionsPlayHack.Bundle
> Bundle.properties does not contain any key 
> 'OptionsCategory_Keywords_OptionsPlayHack'
> {noformat}
>  - Open the bundle file and note that the remaining line is
> {noformat}
> ptionsCategory_Keywords_OptionsPlayHack=keyw1
> {noformat}
> which is a misspelling, missing initial "O"
>  - click undo button twice, see the correct spelling (and deleted line)



--
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-4299) hint "Use @NbBundle.Messages" causes casual diff error; corrupts .java file

2020-05-01 Thread Ernie Rael (Jira)
Ernie Rael created NETBEANS-4299:


 Summary: hint "Use @NbBundle.Messages" causes casual diff error; 
corrupts .java file
 Key: NETBEANS-4299
 URL: https://issues.apache.org/jira/browse/NETBEANS-4299
 Project: NetBeans
  Issue Type: Bug
  Components: java - Hints
Affects Versions: 12.0
Reporter: Ernie Rael
 Fix For: 12.0
 Attachments: CasualDiff.messages.log, OptionsPlayHackCasualDiff.zip

In addition to the CasualDiff exception (see attached log), in the java file a 
chunk of source gets copied to the fix location.

Attached tiny project that reproduces the problem.
 # in Menu > Tools > Options > Editor > Hints > NetBeansDevelopment
 enable "Use @NbBundle.Messages" hint
 # unzip sources; open OptionsPlayHackCasualDiff in IDE
 # open file OptionsPlayHackOptionsPanelController.java
 # go to the line with hint,
{noformat}
  keywords = "#OptionsCategory_Keywords_OptionsPlayHack",
{noformat}
and accept the hint "Use NbBundle.Message"

Observe:

CasualDiff generated, source file messed up.



--
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-4299) hint "Use @NbBundle.Messages" causes casual diff error; corrupts .java file

2020-05-01 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4299:
--

Added [~skygo] (RM) [~jlahoda], [~singh-akhilesh] as last to touch CasualDiff.

Labeled "regression" since works in 11.3/jdk8/nb-javac.
 
{noformat}
Product Version: Apache NetBeans IDE DEV (Build 20200501-unknown-revn)
Java: 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7
Runtime: Java(TM) SE Runtime Environment 14.0.1+7
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
{noformat}


> hint "Use @NbBundle.Messages" causes casual diff error; corrupts .java file
> ---
>
> Key: NETBEANS-4299
> URL: https://issues.apache.org/jira/browse/NETBEANS-4299
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Priority: Major
>  Labels: regression
> Fix For: 12.0
>
> Attachments: CasualDiff.messages.log, OptionsPlayHackCasualDiff.zip
>
>
> In addition to the CasualDiff exception (see attached log), in the java file 
> a chunk of source gets copied to the fix location.
> Attached tiny project that reproduces the problem.
>  # in Menu > Tools > Options > Editor > Hints > NetBeansDevelopment
>  enable "Use @NbBundle.Messages" hint
>  # unzip sources; open OptionsPlayHackCasualDiff in IDE
>  # open file OptionsPlayHackOptionsPanelController.java
>  # go to the line with hint,
> {noformat}
>   keywords = "#OptionsCategory_Keywords_OptionsPlayHack",
> {noformat}
> and accept the hint "Use NbBundle.Message"
> Observe:
> CasualDiff generated, source file messed up.



--
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-4299) hint "Use @NbBundle.Messages" causes casual diff error; corrupts .java file

2020-05-01 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4299:
--

Tested with repo build, up to


{noformat}
@  changeset:   4228:03cf67e46d05
|  tag: upstream/master
|  date:Thu Apr 30 18:33:23 2020 +0200
{noformat}


> hint "Use @NbBundle.Messages" causes casual diff error; corrupts .java file
> ---
>
> Key: NETBEANS-4299
> URL: https://issues.apache.org/jira/browse/NETBEANS-4299
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Priority: Major
>  Labels: regression
> Fix For: 12.0
>
> Attachments: CasualDiff.messages.log, OptionsPlayHackCasualDiff.zip
>
>
> In addition to the CasualDiff exception (see attached log), in the java file 
> a chunk of source gets copied to the fix location.
> Attached tiny project that reproduces the problem.
>  # in Menu > Tools > Options > Editor > Hints > NetBeansDevelopment
>  enable "Use @NbBundle.Messages" hint
>  # unzip sources; open OptionsPlayHackCasualDiff in IDE
>  # open file OptionsPlayHackOptionsPanelController.java
>  # go to the line with hint,
> {noformat}
>   keywords = "#OptionsCategory_Keywords_OptionsPlayHack",
> {noformat}
> and accept the hint "Use NbBundle.Message"
> Observe:
> CasualDiff generated, source file messed up.



--
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-4299) hint "Use @NbBundle.Messages" causes casual diff error; corrupts .java file

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4299:
-
Labels: pull-request-available regression  (was: regression)

> hint "Use @NbBundle.Messages" causes casual diff error; corrupts .java file
> ---
>
> Key: NETBEANS-4299
> URL: https://issues.apache.org/jira/browse/NETBEANS-4299
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Priority: Major
>  Labels: pull-request-available, regression
> Fix For: 12.0
>
> Attachments: CasualDiff.messages.log, OptionsPlayHackCasualDiff.zip
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> In addition to the CasualDiff exception (see attached log), in the java file 
> a chunk of source gets copied to the fix location.
> Attached tiny project that reproduces the problem.
>  # in Menu > Tools > Options > Editor > Hints > NetBeansDevelopment
>  enable "Use @NbBundle.Messages" hint
>  # unzip sources; open OptionsPlayHackCasualDiff in IDE
>  # open file OptionsPlayHackOptionsPanelController.java
>  # go to the line with hint,
> {noformat}
>   keywords = "#OptionsCategory_Keywords_OptionsPlayHack",
> {noformat}
> and accept the hint "Use NbBundle.Message"
> Observe:
> CasualDiff generated, source file messed up.



--
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] [Closed] (NETBEANS-4174) Custom hint not getting badge

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael closed NETBEANS-4174.

Resolution: Fixed

Closing. Works with current repo running jdk14.

{noformat}
o  changeset:   4228:03cf67e46d05
|  tag: upstream/master
|  user:Benjamin Graf 
|  date:Thu Apr 30 18:33:23 2020 +0200
{noformat}


> Custom hint not getting badge
> -
>
> Key: NETBEANS-4174
> URL: https://issues.apache.org/jira/browse/NETBEANS-4174
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints & Annotations, java - Hints
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Priority: Major
>
> Custom hint, options show it as "WARNING", but no badges. Regression from 
> 11.3.
> "Refactor > Inspect&Transform" work with it.
> Given this file
> {code:java}
> package play;
> import javax.swing.text.Segment;
> public class NewClass
> {
> void t(Segment s, int col)
> {
> char c;
> c = s.array[col + s.offset];
> c = s.array[s.offset + col];
> }
> }
> {code}
> and in userdir/config/rules
> {code:java}
> 
> $seg.array[$val + $seg.offset]
> ::
> $seg instanceof javax.swing.text.Segment
> =>
> $seg.charAt($val)
> ;;
> $seg.array[$seg.offset + $val]
> ::
> $seg instanceof javax.swing.text.Segment
> =>
> $seg.charAt($val)
> ;;
> {code}
>  



--
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] [Closed] (NETBEANS-4143) "Tools > Open in Terminal" fails with cygwin

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael closed NETBEANS-4143.

Resolution: Fixed

Works with repo
{noformat}
o  changeset:   4228:03cf67e46d05
|  tag: upstream/master
|  user:Benjamin Graf 
|  date:Thu Apr 30 18:33:23 2020 +0200
{noformat}

> "Tools > Open in Terminal" fails with cygwin
> 
>
> Key: NETBEANS-4143
> URL: https://issues.apache.org/jira/browse/NETBEANS-4143
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Terminalemulator
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> INFO [nativeexecution.support.logger]: [188225 ms.] Unable to start pty 
> process: binary=F:\tmp\dlight_err\24ad3743\899701107\pty; 
> args=[--set-erase-key, F:\cygwin64\bin\bash.exe, -c, exec 
> /cygdrive/F/cygwin64/bin/bash.exe "--login"]; rc=Cannot run program 
> "F:\tmp\dlight_err\24ad3743\899701107\pty": Malformed argument has embedded 
> quote: exec /cygdrive/F/cygwin64/bin/bash.exe \"–login\"
> This is NOT related to NETBEANS-3254 (AFAICT); I tried setting those 
> properties.
> Ran into this, following a youtube video posted last week.



--
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] [Closed] (NETBEANS-4206) Maven Create New Module action uses wrong location

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael closed NETBEANS-4206.

Resolution: Fixed

works with repo
{noformat}
o  changeset:   4228:03cf67e46d05
|  tag: upstream/master
|  user:Benjamin Graf 
|  date:Thu Apr 30 18:33:23 2020 +0200
{noformat}

> Maven Create New Module action uses wrong location
> --
>
> Key: NETBEANS-4206
> URL: https://issues.apache.org/jira/browse/NETBEANS-4206
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0
>Reporter: Neil C Smith
>Assignee: Ernie Rael
>Priority: Major
> Fix For: 12.0
>
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> The fix for #2446 seems to result in the Create New Module action inside a 
> parent Maven project creating the project in the wrong place.
> See use of CommonProjectActions.PROJECT_PARENT_FOLDER in 
> [https://github.com/apache/netbeans/blob/master/java/maven/src/org/netbeans/modules/maven/nodes/ModulesNode.java#L334]



--
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] [Closed] (NETBEANS-4152) Constant exceptions while editting

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael closed NETBEANS-4152.

Resolution: Fixed

works with repo
{noformat}
o  changeset:   4228:03cf67e46d05
|  tag: upstream/master
|  user:Benjamin Graf 
|  date:Thu Apr 30 18:33:23 2020 +0200
{noformat}

> Constant exceptions while editting
> --
>
> Key: NETBEANS-4152
> URL: https://issues.apache.org/jira/browse/NETBEANS-4152
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: Win7,12.0beta3,jdk-13
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: 12b3-NB13-NO-messages.log, NB13-NO-messages.log
>
>
> Built the repo with latest commits (see below). Empty Cachedir. No nb-javac. 
> IDE running on jdk-13. Attached log is after startup, no keystrokes. Might be 
> related to NETBEANS-4146 since similar stack. Any edits brings up dialog 
> (after short pause)
> {code:java}
> java.lang.NullPointerException
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash(Check.java:2091)
> {code}
> At startup open project with file:
> {code:java}
> package play;
> import javax.swing.text.Segment;
> public class NewClass
> {
> void t(Segment s, int col)
> {
> char c;
> c = s.array[col + s.offset];
> c = s.array[s.offset + col];
> }
> }
> {code}
> {code:java}
> @ changeset: 4145:d6a5ef54df74
> | bookmark: FixTermStartup
> | tag: tip
> | user: Ernie Rael 
> | date: Fri Apr 10 04:46:35 2020 +0100
> | summary: [NETBEANS-4143] Dont quote args in common case; fixes terminal 
> startup in cygwin.
> |
> o changeset: 4144:2f8e25e43d06
> | tag: upstream/master
> | user: Laszlo Kishalmi 
> | date: Sun Apr 05 12:37:42 2020 -0700
> | summary: [NETBEANS-4118] Moved Gradle Tooling into it's own module and to 
> version 6.3
> |
> o changeset: 4143:062d22019b93
> |\ parent: 4139:da89e72d
> | | parent: 4142:5b30fd7dd99f
> | | user: Eric Barboni 
> | | date: Fri Apr 10 11:18:14 2020 +0200
> | | summary: Merge pull request #2060 from DevCharly/flatlaf-0.29
> | |
> ...
> |
> o changeset: 4139:da89e72d
> |\ parent: 4124:6066a52b01ff
> | | parent: 4138:400df9905951
> | | user: Eric Barboni 
> | | date: Thu Apr 09 15:14:08 2020 +0200
> | | summary: Merge pull request #2013 from 
> jlahoda/fix-refactoring-vanilla-javac
> | |{code}



--
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] [Closed] (NETBEANS-4083) Exception creating NewProject JavaWithMaven

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael closed NETBEANS-4083.

Resolution: Fixed

works with repo
{noformat}
o  changeset:   4228:03cf67e46d05
|  tag: upstream/master
|  user:Benjamin Graf 
|  date:Thu Apr 30 18:33:23 2020 +0200
{noformat}

> Exception creating NewProject JavaWithMaven
> ---
>
> Key: NETBEANS-4083
> URL: https://issues.apache.org/jira/browse/NETBEANS-4083
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Assignee: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.0
>
>
> Dialog has incomplete validation for "Project Folder:". Also incomplete 
> validation for "Package:". These problems affect several new project types
> To reproduce "Project Folder:" problem
>  # touch /tmp/xxx # create some random file
>  # NewProject > JavaWithMaven > JavaApplication
>  # Enter "Project Location:" as "/tmp"
>  # Enter "Project Name:" as "xx
>  # click Finish
> Observe exception (last few lines)
> {code:java}
> java.lang.IllegalArgumentException: Attempted to pass a non-directory to 
> findProject: F:\tmp\xx@6b3ef9bc:3669eed1
>   at 
> org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:140)
> [catch] at 
> org.netbeans.modules.maven.newproject.ArchetypeWizardUtils.processProjectFolder(ArchetypeWizardUtils.java:208)
> {code}
> To reproduce "Package:" problem (several ways)
>  # NewProject > JavaWithMaven > JavaApplication
>  # Enter "Project Name:" as "xx-yy-8", notice that "Package:" has a trailing 
> dot
>  # click Finish
> Project is created with invalid package name.



--
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-4152) Constant exceptions while editting

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4152:
--

and running jdk14

> Constant exceptions while editting
> --
>
> Key: NETBEANS-4152
> URL: https://issues.apache.org/jira/browse/NETBEANS-4152
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: Win7,12.0beta3,jdk-13
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: 12b3-NB13-NO-messages.log, NB13-NO-messages.log
>
>
> Built the repo with latest commits (see below). Empty Cachedir. No nb-javac. 
> IDE running on jdk-13. Attached log is after startup, no keystrokes. Might be 
> related to NETBEANS-4146 since similar stack. Any edits brings up dialog 
> (after short pause)
> {code:java}
> java.lang.NullPointerException
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash(Check.java:2091)
> {code}
> At startup open project with file:
> {code:java}
> package play;
> import javax.swing.text.Segment;
> public class NewClass
> {
> void t(Segment s, int col)
> {
> char c;
> c = s.array[col + s.offset];
> c = s.array[s.offset + col];
> }
> }
> {code}
> {code:java}
> @ changeset: 4145:d6a5ef54df74
> | bookmark: FixTermStartup
> | tag: tip
> | user: Ernie Rael 
> | date: Fri Apr 10 04:46:35 2020 +0100
> | summary: [NETBEANS-4143] Dont quote args in common case; fixes terminal 
> startup in cygwin.
> |
> o changeset: 4144:2f8e25e43d06
> | tag: upstream/master
> | user: Laszlo Kishalmi 
> | date: Sun Apr 05 12:37:42 2020 -0700
> | summary: [NETBEANS-4118] Moved Gradle Tooling into it's own module and to 
> version 6.3
> |
> o changeset: 4143:062d22019b93
> |\ parent: 4139:da89e72d
> | | parent: 4142:5b30fd7dd99f
> | | user: Eric Barboni 
> | | date: Fri Apr 10 11:18:14 2020 +0200
> | | summary: Merge pull request #2060 from DevCharly/flatlaf-0.29
> | |
> ...
> |
> o changeset: 4139:da89e72d
> |\ parent: 4124:6066a52b01ff
> | | parent: 4138:400df9905951
> | | user: Eric Barboni 
> | | date: Thu Apr 09 15:14:08 2020 +0200
> | | summary: Merge pull request #2013 from 
> jlahoda/fix-refactoring-vanilla-javac
> | |{code}



--
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] [Closed] (NETBEANS-2446) New project wizard with wrong project location

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael closed NETBEANS-2446.

Resolution: Fixed

Works with pre 12.0 repo

{noformat}
changeset:   4228:03cf67e46d05
tag: upstream/master
date:Thu Apr 30 18:33:23 2020 +0200
{noformat}


> New project wizard with wrong project location
> --
>
> Key: NETBEANS-2446
> URL: https://issues.apache.org/jira/browse/NETBEANS-2446
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 11.0
>Reporter: James Z
>Assignee: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.0
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> New Project wizard has bug, it used wrong Project Location, and when navigate 
> with 'Next >', '< Back', the project location will become longer and longer. 
> It also create lots of directories.
> Such as: ~/NetBeansProjects/mavenproject1/mavenproject1/mavenproject1/.../...



--
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-4276) hint: ClassCastException: JCMethodInvocation not cast to StatementTree

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4276:
-
Priority: Minor  (was: Major)

> hint: ClassCastException: JCMethodInvocation not cast to StatementTree 
> ---
>
> Key: NETBEANS-4276
> URL: https://issues.apache.org/jira/browse/NETBEANS-4276
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: repo build with commits as of 4/28; jdk14.0.1; win7
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Minor
> Attachments: RefactorReflect.zip, messages.log
>
>
> Attached a simple single java file project that causes the problem. 
> message.log with Exception also attached. Probably comes down to these lines:
> {code:java}
>   Field f = OptUtil1.class.getDeclaredField("baz");
>   f.setInt(null, 123);
> {code}
> Using a custom hint; issue2.hint is in the project at top level. Fails both 
> with clicking on bulb and inspect&transform.
> Those two lines above, reflection, have nothing to do with it. Delete them, 
> leave only the two lines that match the hint. Exception still happens.



--
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] [Resolved] (NETBEANS-4276) hint: ClassCastException: JCMethodInvocation not cast to StatementTree

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael resolved NETBEANS-4276.
--
Resolution: Invalid

Add semicolon to  and  and it works.

> hint: ClassCastException: JCMethodInvocation not cast to StatementTree 
> ---
>
> Key: NETBEANS-4276
> URL: https://issues.apache.org/jira/browse/NETBEANS-4276
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: repo build with commits as of 4/28; jdk14.0.1; win7
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Minor
> Attachments: RefactorReflect.zip, messages.log
>
>
> Attached a simple single java file project that causes the problem. 
> message.log with Exception also attached. Probably comes down to these lines:
> {code:java}
>   Field f = OptUtil1.class.getDeclaredField("baz");
>   f.setInt(null, 123);
> {code}
> Using a custom hint; issue2.hint is in the project at top level. Fails both 
> with clicking on bulb and inspect&transform.
> Those two lines above, reflection, have nothing to do with it. Delete them, 
> leave only the two lines that match the hint. Exception still happens.



--
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-2082) Scroll to the caret position when code fold feature is run

2020-05-14 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-2082:
--

A breakpoint shows something from the EventQ, so probably need to approach it 
from the folding code side. There's a q'd COMPONENT_RESIZED event, that 
JViewport turns into a changeEvent. When changeEvent processed, 
viewport.getViewPosition() has the big jump. Resize event makes sense, the 
overall size of the text view has changed due to the folding change, but 
where's the scroll to cursor coming from? 

The suspect, mentioned in 
https://issues.apache.org/jira/browse/NETBEANS-2082?focusedCommentId=17019778&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17019778
 , is all about maintaining cursor positon and keeping it visible. I don't 
fully understand the bug it is trying to fix, but maybe maintaining view port 
position instead of cursor might help.

In any event, it could be that taking out the line
{code:java}
comp.putClientProperty("editorcaret.updateRetainsVisibleOnce", Boolean.TRUE);
{code}
would revert the behavior. The triggering bug report, #270172, says 
"...navigating to a line in a newly opened file" which might be less painful 
than always screwing up.

I initially couldn't reproduce the problem; I tried jVi disable, then the bug 
reproduced OK. Looks like using jVi is a workaround ;) . I reproduces quite 
easily, very annoying if you care.

> Scroll to the caret position when code fold feature is run
> --
>
> Key: NETBEANS-2082
> URL: https://issues.apache.org/jira/browse/NETBEANS-2082
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Code folding
>Affects Versions: 10.0, 11.0, 11.1, 11.2
> Environment: Netbeans 11 with OpenJDK 12. 
> Darwin MacBook-Pro-2.local 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 11 
> 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64
> Netbeans 10 with OpenJDK 11.
> Darwin MacBook-Pro-2.local 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 
> 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64
>Reporter: Pier Luigi
>Assignee: Svatopluk Dedic
>Priority: Critical
> Attachments: DemoPHPCodeFoldingProblem_NB11.php, netbeans-2082.gif
>
>
> Collapsing a block often results in a jump of the editor to an incorrect 
> editing position (and scrolling the page cause a rejump to that position 
> after a second of scroll inactivity).
> The same sources works perfectly with Netbeans 8.2.



--
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-2082) Scroll to the caret position when code fold feature is run

2020-05-14 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-2082:
--

{quote}the place I was clicking at went out of sight
{quote}
I think that is the bug. That's what the animation in the comment shows: click 
at line 241, end up at 106 (where the cursor is seen). When I tried it, I had 
the cursor near the end of a file, then scrolled far away, closed a fold and 
ended up at the cursor. A problem when browsing a file by scrolling.

> Scroll to the caret position when code fold feature is run
> --
>
> Key: NETBEANS-2082
> URL: https://issues.apache.org/jira/browse/NETBEANS-2082
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Code folding
>Affects Versions: 10.0, 11.0, 11.1, 11.2
> Environment: Netbeans 11 with OpenJDK 12. 
> Darwin MacBook-Pro-2.local 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 11 
> 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64
> Netbeans 10 with OpenJDK 11.
> Darwin MacBook-Pro-2.local 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 
> 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64
>Reporter: Pier Luigi
>Assignee: Svatopluk Dedic
>Priority: Critical
> Attachments: DemoPHPCodeFoldingProblem_NB11.php, netbeans-2082.gif
>
>
> Collapsing a block often results in a jump of the editor to an incorrect 
> editing position (and scrolling the page cause a rejump to that position 
> after a second of scroll inactivity).
> The same sources works perfectly with Netbeans 8.2.



--
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-2082) Scroll to the caret position when code fold feature is run

2020-05-14 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-2082:
--

BTW, without the fix for the bug 
[https://bz.apache.org/netbeans/show_bug.cgi?id=270172]  (not a new feature as 
suggested)  "Options > Editor > Folding > Collapse by Default" has severe 
problems when used with automatic open features.

It seems preferable if a fix for "Folding > Collapse by Default" could be 
localized to that feature (wherever that code might be) rather than spread 
across caret handling.

> Scroll to the caret position when code fold feature is run
> --
>
> Key: NETBEANS-2082
> URL: https://issues.apache.org/jira/browse/NETBEANS-2082
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Code folding
>Affects Versions: 10.0, 11.0, 11.1, 11.2
> Environment: Netbeans 11 with OpenJDK 12. 
> Darwin MacBook-Pro-2.local 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 11 
> 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64
> Netbeans 10 with OpenJDK 11.
> Darwin MacBook-Pro-2.local 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 
> 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64
>Reporter: Pier Luigi
>Assignee: Svatopluk Dedic
>Priority: Critical
> Attachments: DemoPHPCodeFoldingProblem_NB11.php, NETBEANS-2082.zip, 
> netbeans-2082.gif
>
>
> Collapsing a block often results in a jump of the editor to an incorrect 
> editing position (and scrolling the page cause a rejump to that position 
> after a second of scroll inactivity).
> The same sources works perfectly with Netbeans 8.2.



--
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-2082) Scroll to the caret position when code fold feature is run

2020-05-15 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-2082:
--

[~sdedic]
{quote}The property was a way how to get the editor a "hint" what's going on to 
react properly when it decides to "do something" about the caret and 
viewport

The issue here is that the hint is either insufficient, or is given in 
different conditions than it should.
{quote}
Got it. In this context, I guess I was saying the hint could be given/used when 
the "Collapse by default" actions occur, rather than for any fold change.

> Scroll to the caret position when code fold feature is run
> --
>
> Key: NETBEANS-2082
> URL: https://issues.apache.org/jira/browse/NETBEANS-2082
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Code folding
>Affects Versions: 10.0, 11.0, 11.1, 11.2
> Environment: Netbeans 11 with OpenJDK 12. 
> Darwin MacBook-Pro-2.local 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 11 
> 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64
> Netbeans 10 with OpenJDK 11.
> Darwin MacBook-Pro-2.local 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 
> 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64
>Reporter: Pier Luigi
>Assignee: Svatopluk Dedic
>Priority: Critical
> Attachments: DemoPHPCodeFoldingProblem_NB11.php, NETBEANS-2082.zip, 
> netbeans-2082.gif
>
>
> Collapsing a block often results in a jump of the editor to an incorrect 
> editing position (and scrolling the page cause a rejump to that position 
> after a second of scroll inactivity).
> The same sources works perfectly with Netbeans 8.2.



--
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-2082) Scroll to the caret position when code fold feature is run

2020-05-15 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-2082:
--

{quote}I'll start by attempting to block the caret anchor in case the caret was 
off the screen initially.
{quote}
Consider the case where there is a large (bigger than the screen) closed fold 
which the user wants to expand, and the caret is a few lines _after_ the closed 
fold. So the _caret is onscreen before the expand_. After clicking expand, I 
would want to see the first line fold (like keeping the top line of the 
viewport locked), rather than follow the caret and cause the screen to scroll 
down leaving me looking at the end of the fold. The idea of 
anchoring/scrolling-to the caret only seems relevant to initial state. (and I 
could easily be missing other cases)

> Scroll to the caret position when code fold feature is run
> --
>
> Key: NETBEANS-2082
> URL: https://issues.apache.org/jira/browse/NETBEANS-2082
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Code folding
>Affects Versions: 10.0, 11.0, 11.1, 11.2
> Environment: Netbeans 11 with OpenJDK 12. 
> Darwin MacBook-Pro-2.local 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 11 
> 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64
> Netbeans 10 with OpenJDK 11.
> Darwin MacBook-Pro-2.local 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 
> 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64
>Reporter: Pier Luigi
>Assignee: Svatopluk Dedic
>Priority: Critical
> Attachments: DemoPHPCodeFoldingProblem_NB11.php, NETBEANS-2082.zip, 
> netbeans-2082.gif
>
>
> Collapsing a block often results in a jump of the editor to an incorrect 
> editing position (and scrolling the page cause a rejump to that position 
> after a second of scroll inactivity).
> The same sources works perfectly with Netbeans 8.2.



--
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-4356) Unneeded/redundant cast added by code completion

2020-05-20 Thread Ernie Rael (Jira)
Ernie Rael created NETBEANS-4356:


 Summary: Unneeded/redundant cast added by code completion
 Key: NETBEANS-4356
 URL: https://issues.apache.org/jira/browse/NETBEANS-4356
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Completion & Templates
Affects Versions: 12.0
 Environment: Product Version: Apache NetBeans IDE 12.0-beta4
Updates: Updates available to version NetBeans 8.2 Patch 2
Java: 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7
Runtime: Java(TM) SE Runtime Environment 14.0.1+7
System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb)
Reporter: Ernie Rael


Consider the code, caret shown as '|',
{code:java}
  static private void xxx(ViMark m) {
if(m instanceof Filemark) {
  if(m.getb|)
}
  }
{code}
Bring up code completion, it show info for Filemark, not ViMark; that could be 
handy in some cases. BTW, ViMark is an interface. Select method getBuffer() and 
the result is
{code:java}
  if(((Filemark)m).getBuffer())
{code}
ViMark has a getBuffer method, the cast is bogus. The project is marked 1.8 
source.

I tried it after removing cachedir, still failed. A simple test case works. 
I'll try to get a smaller 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-4356) Unneeded/redundant cast added by code completion

2020-05-20 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4356:
--

[~jlahoda] added you in case you could triage or ...

> Unneeded/redundant cast added by code completion
> 
>
> Key: NETBEANS-4356
> URL: https://issues.apache.org/jira/browse/NETBEANS-4356
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion & Templates
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta4
> Updates: Updates available to version NetBeans 8.2 Patch 2
> Java: 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7
> Runtime: Java(TM) SE Runtime Environment 14.0.1+7
> System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb)
>Reporter: Ernie Rael
>Priority: Major
>  Labels: regresion
>
> Consider the code, caret shown as '|',
> {code:java}
>   static private void xxx(ViMark m) {
> if(m instanceof Filemark) {
>   if(m.getb|)
> }
>   }
> {code}
> Bring up code completion, it show info for Filemark, not ViMark; that could 
> be handy in some cases. BTW, ViMark is an interface. Select method 
> getBuffer() and the result is
> {code:java}
>   if(((Filemark)m).getBuffer())
> {code}
> ViMark has a getBuffer method, the cast is bogus. The project is marked 1.8 
> source.
> I tried it after removing cachedir, still failed. A simple test case works. 
> I'll try to get a smaller 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] [Updated] (NETBEANS-4356) Unneeded/redundant cast added by code completion

2020-05-21 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4356:
-
Attachment: the-example.jar

> Unneeded/redundant cast added by code completion
> 
>
> Key: NETBEANS-4356
> URL: https://issues.apache.org/jira/browse/NETBEANS-4356
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion & Templates
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta4
> Updates: Updates available to version NetBeans 8.2 Patch 2
> Java: 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7
> Runtime: Java(TM) SE Runtime Environment 14.0.1+7
> System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb)
>Reporter: Ernie Rael
>Priority: Major
>  Labels: regresion
> Attachments: the-example.jar
>
>
> Consider the code, caret shown as '|',
> {code:java}
>   static private void xxx(ViMark m) {
> if(m instanceof Filemark) {
>   if(m.getb|)
> }
>   }
> {code}
> Bring up code completion, it show info for Filemark, not ViMark; that could 
> be handy in some cases. BTW, ViMark is an interface. Select method 
> getBuffer() and the result is
> {code:java}
>   if(((Filemark)m).getBuffer())
> {code}
> ViMark has a getBuffer method, the cast is bogus. The project is marked 1.8 
> source.
> I tried it after removing cachedir, still failed. A simple test case works. 
> I'll try to get a smaller 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-4356) Unneeded/redundant cast added by code completion

2020-05-21 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4356:
--

the-example.jar has a minimal project that exhibits the problem. Fails starting 
up with empty userdir.

Unzip the file, open play/UneededCast.java, try code completion as indicated.

Would be nice if a fix could...

> Unneeded/redundant cast added by code completion
> 
>
> Key: NETBEANS-4356
> URL: https://issues.apache.org/jira/browse/NETBEANS-4356
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion & Templates
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta4
> Updates: Updates available to version NetBeans 8.2 Patch 2
> Java: 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7
> Runtime: Java(TM) SE Runtime Environment 14.0.1+7
> System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb)
>Reporter: Ernie Rael
>Priority: Major
>  Labels: regresion
> Attachments: the-example.jar
>
>
> Consider the code, caret shown as '|',
> {code:java}
>   static private void xxx(ViMark m) {
> if(m instanceof Filemark) {
>   if(m.getb|)
> }
>   }
> {code}
> Bring up code completion, it show info for Filemark, not ViMark; that could 
> be handy in some cases. BTW, ViMark is an interface. Select method 
> getBuffer() and the result is
> {code:java}
>   if(((Filemark)m).getBuffer())
> {code}
> ViMark has a getBuffer method, the cast is bogus. The project is marked 1.8 
> source.
> I tried it after removing cachedir, still failed. A simple test case works. 
> I'll try to get a smaller 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] [Updated] (NETBEANS-3898) ModuleList.doScanNetBeansOrgSources descends into .git/.hg

2020-05-23 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-3898:
-
Labels: performance pull-request-available  (was: performance)

> ModuleList.doScanNetBeansOrgSources descends into .git/.hg
> --
>
> Key: NETBEANS-3898
> URL: https://issues.apache.org/jira/browse/NETBEANS-3898
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Project
>Reporter: Ernie Rael
>Priority: Minor
>  Labels: performance, pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
>  
> org.netbeans.modules.apisupport.project.universe.ModuleList.doScanNetBeansOrgSources
>  produces LOG entries like: 
> {quote}INFO...: exhaustive scan of F:\repos\netbeans\.hg\cache
>  INFO...: exhaustive scan of F:\repos\netbeans\.hg\git
>  ...
> {quote}
> Which come because of stuff after the following code, ("kids" is directories 
> in /netebeans)
> {code:java}
> for (File kid : kids) {
> if (!kid.isDirectory()) {
> continue;
> }
> String name = kid.getName();
> if (EXCLUDED_DIR_NAMES.contains(name)) {
> // #61579: known to not be project dirs, so skip to save time.
> continue;
> }
> {code}
> Can save even more time by staying out of the repo data. Two possible 
> solutions
>  * Add ".git" and ".hg" to EXCLUDED_DIR_NAMES
>  * Skip anything that starts with "."
> Comments? I'm inclined towards the second, skip anything that's hidden.



--
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-4356) Unneeded/redundant cast added by code completion

2020-05-24 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4356:
-
Labels: pull-request-available  (was: regresion)

> Unneeded/redundant cast added by code completion
> 
>
> Key: NETBEANS-4356
> URL: https://issues.apache.org/jira/browse/NETBEANS-4356
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion & Templates
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta4
> Updates: Updates available to version NetBeans 8.2 Patch 2
> Java: 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7
> Runtime: Java(TM) SE Runtime Environment 14.0.1+7
> System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb)
>Reporter: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
> Attachments: the-example.jar
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Consider the code, caret shown as '|',
> {code:java}
>   static private void xxx(ViMark m) {
> if(m instanceof Filemark) {
>   if(m.getb|)
> }
>   }
> {code}
> Bring up code completion, it show info for Filemark, not ViMark; that could 
> be handy in some cases. BTW, ViMark is an interface. Select method 
> getBuffer() and the result is
> {code:java}
>   if(((Filemark)m).getBuffer())
> {code}
> ViMark has a getBuffer method, the cast is bogus. The project is marked 1.8 
> source.
> I tried it after removing cachedir, still failed. A simple test case works. 
> I'll try to get a smaller 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-4356) Unneeded/redundant cast added by code completion

2020-05-24 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4356:
--

I removed the regression label. (it also exhibits this behavior with 
NB11.3/jdk-1.8/nb-javac)

Guess I use instanceof less than I thought.

> Unneeded/redundant cast added by code completion
> 
>
> Key: NETBEANS-4356
> URL: https://issues.apache.org/jira/browse/NETBEANS-4356
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion & Templates
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta4
> Updates: Updates available to version NetBeans 8.2 Patch 2
> Java: 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7
> Runtime: Java(TM) SE Runtime Environment 14.0.1+7
> System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb)
>Reporter: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
> Attachments: the-example.jar
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Consider the code, caret shown as '|',
> {code:java}
>   static private void xxx(ViMark m) {
> if(m instanceof Filemark) {
>   if(m.getb|)
> }
>   }
> {code}
> Bring up code completion, it show info for Filemark, not ViMark; that could 
> be handy in some cases. BTW, ViMark is an interface. Select method 
> getBuffer() and the result is
> {code:java}
>   if(((Filemark)m).getBuffer())
> {code}
> ViMark has a getBuffer method, the cast is bogus. The project is marked 1.8 
> source.
> I tried it after removing cachedir, still failed. A simple test case works. 
> I'll try to get a smaller 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-4378) Plugin manager timeout when loading from PP3; some state corruption

2020-05-27 Thread Ernie Rael (Jira)
Ernie Rael created NETBEANS-4378:


 Summary: Plugin manager timeout when loading from PP3; some state 
corruption
 Key: NETBEANS-4378
 URL: https://issues.apache.org/jira/browse/NETBEANS-4378
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Plugin Manager, updatecenters - Pluginportal
Affects Versions: 12.0
 Environment: Product Version: Apache NetBeans IDE 12.0-beta5
Java: 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7
Runtime: Java(TM) SE Runtime Environment 14.0.1+7
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Reporter: Ernie Rael
 Attachments: mlog-1

I don't have time right now to put together a report, but attached is alog after
 * fresh NB install
 * load a plugin from "netbeans plugin portal" (PP3)

BTW, I've seen the unpack200 (or whatever) issue but I don't see that in the 
log. I didn't think PP3 had that issue.

Could be plugin manager or PP3. Could be transient or permanent. Reproduced by 
someone who reads the dev list.



--
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-4378) Plugin manager timeout when loading from PP3; some state corruption

2020-05-27 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4378:
--

I noticed recently that the description in the plugin manager is not what it 
was in the past (a few months ago?) It used to be either from short description 
at portal or description from pom.xml.  (I have them as the same); now it is 
long description from the portal. Must have been other changes made...

> Plugin manager timeout when loading from PP3; some state corruption
> ---
>
> Key: NETBEANS-4378
> URL: https://issues.apache.org/jira/browse/NETBEANS-4378
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager, updatecenters - Pluginportal
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta5
> Java: 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7
> Runtime: Java(TM) SE Runtime Environment 14.0.1+7
> System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
>Reporter: Ernie Rael
>Assignee: Matthias Bläsing
>Priority: Major
> Attachments: mlog-1
>
>
> I don't have time right now to put together a report, but attached is alog 
> after
>  * fresh NB install
>  * load a plugin from "netbeans plugin portal" (PP3)
> BTW, I've seen the unpack200 (or whatever) issue but I don't see that in the 
> log. I didn't think PP3 had that issue.
> Could be plugin manager or PP3. Could be transient or permanent. Reproduced 
> by someone who reads the dev list.



--
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-4378) Plugin manager timeout when loading from PP3; some state corruption

2020-05-27 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4378:
--

Another thing I noticed after the failure, the plugin is shown both in the 
installed list and the available list.

I suppose that's a different problem around error recovery. As you say "pain 
will follow".

Error recovery after an impossible error, is pretty low priority...

> Plugin manager timeout when loading from PP3; some state corruption
> ---
>
> Key: NETBEANS-4378
> URL: https://issues.apache.org/jira/browse/NETBEANS-4378
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager, updatecenters - Pluginportal
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta5
> Java: 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7
> Runtime: Java(TM) SE Runtime Environment 14.0.1+7
> System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
>Reporter: Ernie Rael
>Assignee: Matthias Bläsing
>Priority: Major
> Attachments: mlog-1
>
>
> I don't have time right now to put together a report, but attached is alog 
> after
>  * fresh NB install
>  * load a plugin from "netbeans plugin portal" (PP3)
> BTW, I've seen the unpack200 (or whatever) issue but I don't see that in the 
> log. I didn't think PP3 had that issue.
> Could be plugin manager or PP3. Could be transient or permanent. Reproduced 
> by someone who reads the dev list.



--
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-4378) Plugin manager timeout when loading from PP3; some state corruption

2020-05-27 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4378:
--

{quote}change would be noticable since the switchover to PP3
{quote}
Let me clarify. I was referring to downloads from PP3 a few months ago. I 
tested that with NB-11.3 after I uploaded a plugin.

I noticed in particular because the description in the plugin manager no longer 
showed some installation/initialization  text that used to be there.

> Plugin manager timeout when loading from PP3; some state corruption
> ---
>
> Key: NETBEANS-4378
> URL: https://issues.apache.org/jira/browse/NETBEANS-4378
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager, updatecenters - Pluginportal
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta5
> Java: 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7
> Runtime: Java(TM) SE Runtime Environment 14.0.1+7
> System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
>Reporter: Ernie Rael
>Assignee: Matthias Bläsing
>Priority: Major
> Attachments: mlog-1
>
>
> I don't have time right now to put together a report, but attached is alog 
> after
>  * fresh NB install
>  * load a plugin from "netbeans plugin portal" (PP3)
> BTW, I've seen the unpack200 (or whatever) issue but I don't see that in the 
> log. I didn't think PP3 had that issue.
> Could be plugin manager or PP3. Could be transient or permanent. Reproduced 
> by someone who reads the dev list.



--
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-4380) pull-request-available label is no longer automatically turned on

2020-05-27 Thread Ernie Rael (Jira)
Ernie Rael created NETBEANS-4380:


 Summary: pull-request-available label is no longer automatically 
turned on
 Key: NETBEANS-4380
 URL: https://issues.apache.org/jira/browse/NETBEANS-4380
 Project: NetBeans
  Issue Type: Bug
  Components: connecteddeveloper - Issuetracking Framework
Reporter: Ernie Rael


I've noticed that the pull-request-available label is no longer automatically 
turned on. Is this intentional?

The "ASF GitHub Bot logged work" message is getting into the issue, so things 
are hooked up.

The above is copied from an email to the dev list, dated May 1, 2020. Comments 
indicated that this was not intentional.



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



<    1   2   3   >