[jira] [Closed] (NETBEANS-950) Code folding for ""

2021-03-22 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-950.
-
Resolution: Fixed

> Code folding for ""
> ---
>
> Key: NETBEANS-950
> URL: https://issues.apache.org/jira/browse/NETBEANS-950
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
> Fix For: 10.0
>
> Attachments: tmp_code_php.jpg
>
>
> https://netbeans.org/bugzilla/show_bug.cgi?id=232600



--
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-950) Code folding for ""

2021-03-22 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-950:
---

[~stefanoai] 

Please don't reopen this. Could you report your problem with your exact steps 
as a new issue?

e.g.

Steps to reproduce: 
 # ...
 # ...
 # ...

Actual result:

something...

Expected result:

something...

Please let me know when you create a new issue.

Thanks.

> Code folding for ""
> ---
>
> Key: NETBEANS-950
> URL: https://issues.apache.org/jira/browse/NETBEANS-950
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
> Fix For: 10.0
>
> Attachments: tmp_code_php.jpg
>
>
> https://netbeans.org/bugzilla/show_bug.cgi?id=232600



--
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-950) Code folding for ""

2021-03-22 Thread Stefano Calabrese (Jira)


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

Stefano Calabrese updated NETBEANS-950:
---
Issue Type: Bug  (was: New Feature)

> Code folding for ""
> ---
>
> Key: NETBEANS-950
> URL: https://issues.apache.org/jira/browse/NETBEANS-950
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
> Fix For: 10.0
>
> Attachments: tmp_code_php.jpg
>
>
> https://netbeans.org/bugzilla/show_bug.cgi?id=232600



--
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-950) Code folding for ""

2021-03-22 Thread Stefano Calabrese (Jira)


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

Stefano Calabrese updated NETBEANS-950:
---
Attachment: tmp_code_php.jpg

> Code folding for ""
> ---
>
> Key: NETBEANS-950
> URL: https://issues.apache.org/jira/browse/NETBEANS-950
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
> Fix For: 10.0
>
> Attachments: tmp_code_php.jpg
>
>
> https://netbeans.org/bugzilla/show_bug.cgi?id=232600



--
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] [Reopened] (NETBEANS-950) Code folding for ""

2021-03-22 Thread Stefano Calabrese (Jira)


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

Stefano Calabrese reopened NETBEANS-950:


Hi i have a problem with code folding ""

if you have thi code...
{code:java}
Segnaposto codice // 
Hello ?> and break folding

 

Thank you

> Code folding for ""
> ---
>
> Key: NETBEANS-950
> URL: https://issues.apache.org/jira/browse/NETBEANS-950
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
> Fix For: 10.0
>
>
> https://netbeans.org/bugzilla/show_bug.cgi?id=232600



--
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-950) Code folding for ""

2021-03-22 Thread Stefano Calabrese (Jira)


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

Stefano Calabrese edited comment on NETBEANS-950 at 3/22/21, 5:40 PM:
--

Hi i have a problem with code folding ""

if you have this code
{code:java}
Segnaposto codice // 
Hello ?> and break folding

 

Thank you


was (Author: stefanoai):
Hi i have a problem with code folding ""

if you have thi code...
{code:java}
Segnaposto codice // 
Hello ?> and break folding

 

Thank you

> Code folding for ""
> ---
>
> Key: NETBEANS-950
> URL: https://issues.apache.org/jira/browse/NETBEANS-950
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
> Fix For: 10.0
>
>
> https://netbeans.org/bugzilla/show_bug.cgi?id=232600



--
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-2976) EE Deployment module not working with git-commit-id-plugin and finalName

2021-03-22 Thread John (Jira)


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

John commented on NETBEANS-2976:


Any update on this issue?

> EE Deployment module not working with git-commit-id-plugin and finalName
> 
>
> Key: NETBEANS-2976
> URL: https://issues.apache.org/jira/browse/NETBEANS-2976
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Ubuntu Linux 19.04, Netbeans 11.1, Oracle JDK 1.8.0_201
>Reporter: John
>Priority: Minor
>
> I have nested maven projects that uses plugin 
> `pl.project13.maven:git-commit-id-plugin` in the parent pom, and a child 
> project overriding it's artifact name in it's pom.  When the `finalName` 
> setting in the child project contains properties created by the plugin, the 
> NB deployment module can't find the packaged ear for test deployment.
>  
> Here is the parent pom.xml:
>  
> {code:java}
> 
>  pl.project13.maven
>  git-commit-id-plugin
>  2.2.6
>  
>
>  get-the-git-infos
>  
>revision
>  
>  initialize
>
>
>  validate-the-git-infos
>  
>validateRevision
>  
>  package
>
>   
>   
>   ${project.basedir}/.git
>   git
>   MMdd'T'HHmm
>   false
>   false
>   false
>   false   
>   true 
>   true
>   false 
>   false false 
>   true 
>   true
>   
> ^git.commit.id.abbrev$ 
> ^git.commit.time$ 
> ^git.build.version$ 
> ^git.branch$
>   
>  
> {code}
>  
>  
> Here is the child pom.xml:
>  
> {code:java}
> 
>   
> ${project.artifactId}${project.version}${git.branch}${git.commit.time}${git.commit.id.abbrev}
> {code}
>  
> {{And IDE.log:}}
> {code:java}
> INFO [org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment]
> org.netbeans.modules.j2ee.deployment.impl.TargetServer$NoArchiveException: No 
> archive for deployment
>     at 
> org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:675)
> [catch] at 
> org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:221)
>     at 
> org.netbeans.modules.maven.j2ee.execution.DeploymentHelper.perform(DeploymentHelper.java:185)
>     at 
> org.netbeans.modules.maven.j2ee.execution.CoSAlternativeExecutorImpl.execute(CoSAlternativeExecutorImpl.java:67)
>     at 
> org.netbeans.modules.maven.cos.CoSAlternativeExecutor.execute(CoSAlternativeExecutor.java:64)
>     at 
> org.netbeans.modules.maven.cos.CosChecker.checkRunMainClass(CosChecker.java:186)
>     at 
> org.netbeans.modules.maven.cos.CosChecker.checkRunConfig(CosChecker.java:140)
>     at 
> org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:213)
>     at 
> org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128){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-3417) Control line separators

2021-03-22 Thread John (Jira)


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

John commented on NETBEANS-3417:


[~Kacer]Why was this closed as `incomplete`?  Can you add a comment describing 
the resolution?  Thanks.

> Control line separators
> ---
>
> Key: NETBEANS-3417
> URL: https://issues.apache.org/jira/browse/NETBEANS-3417
> Project: NetBeans
>  Issue Type: Bug
> Environment: Ubuntu 19.10
> Product Version: Apache NetBeans IDE 11.1
> Java: 1.8.0_181; Java HotSpot(TM) 64-Bit Server VM 25.181-b13
> Runtime: Java(TM) SE Runtime Environment 1.8.0_181-b13
> System: Linux version 5.3.0-23-generic running on amd64; UTF-8; en_US (nb)
>Reporter: John Manko
>Priority: Major
> Attachments: Screenshot from 2019-11-20 16-16-46.png
>
>
> When performing a git diff HEAR, I can see that netbeans is adding an "^M" 
> character to end of lines.  The screenshot shows that where new lines are 
> created, the non-printable character is appended to the end of lines.
>  
>  



--
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-5371) The generated JUnit 5 code cannot be run.

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5371:
-

Thanks a lot for verifying.

> The generated JUnit 5 code cannot be run.
> -
>
> Key: NETBEANS-5371
> URL: https://issues.apache.org/jira/browse/NETBEANS-5371
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit, java - Project
>Affects Versions: 12.3
> Environment: Windows 10, Apache NetBeans 12.3, Java 16
>Reporter: Michal Rama
>Priority: Minor
>  Labels: JUnit, java, junit, junit5, test
> Attachments: obr.png, obr�zek53.png
>
>
> Hello,
> I created a simple class.
> {code:java}
> public class Example  {
> public static void main(String[] args) {
> var color = new Example();
> System.out.println(color.isTextBlack("black"));
> System.out.println(color.isTextBlack("white"));
> }
> public boolean isTextBlack(String color) {
> return color.equals("black");
> }
> }
> {code}
> Then I create a JUnit 5 test via a "bulb" on the class line.
> !obr.png!
> !obr�zek53.png!
> A file with this code will be generated.
> {code:java}
> import org.junit.jupiter.api.AfterEach;
> import org.junit.jupiter.api.AfterAll;
> import org.junit.jupiter.api.BeforeEach;
> import org.junit.jupiter.api.BeforeAll;
> import org.junit.jupiter.api.Test;
> import static org.junit.jupiter.api.Assertions.*;
> public class ExampleTest {
> 
> public ExampleTest() {
> }
> 
> @BeforeAll
> public static void setUpClass() {
> }
> 
> @AfterAll
> public static void tearDownClass() {
> }
> 
> @BeforeEach
> public void setUp() {
> }
> 
> @AfterEach
> public void tearDown() {
> }
> /**
>  * Test of main method, of class Example.
>  */
> @Test
> public void testMain() {
> System.out.println("main");
> String[] args = null;
> Example.main(args);
> // TODO review the generated test code and remove the default call to 
> fail.
> fail("The test case is a prototype.");
> }
> /**
>  * Test of isTextBlack method, of class Example.
>  */
> @Test
> public void testIsTextBlack() {
> System.out.println("isTextBlack");
> String color = "";
> Example instance = new Example();
> boolean expResult = false;
> boolean result = instance.isTextBlack(color);
> assertEquals(expResult, result);
> // TODO review the generated test code and remove the default call to 
> fail.
> fail("The test case is a prototype.");
> }
> }
> {code}
> If I run it, it will crash with this error
> {code:java}
> warning: unknown enum constant Status.STABLE
>   reason: class file for org.apiguardian.api.API$Status not found
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant 

[jira] [Resolved] (NETBEANS-3579) Code completion not working inside block lambdas

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga resolved NETBEANS-3579.
-
Resolution: Fixed

> Code completion not working inside block lambdas
> 
>
> Key: NETBEANS-3579
> URL: https://issues.apache.org/jira/browse/NETBEANS-3579
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0, 11.2
>Reporter: Jan Lahoda
>Assignee: Akhilesh Singh
>Priority: Critical
> Attachments: RE Defect #3579 Status  Findings.msg, RE Defect #3579 
> Status  Findings.msg, Screenshot (346).png
>
>
> Consider the following code ('|' should not be part of the code, and 
> represents where the caret should be placed):
> {{package org.netbeans.modules.learning.lambda.code.completion;}}
> {{import java.util.Collection;}}
> {{public class NewClass {}}
> {{    public int compute(Collection c) {}}
> {{    return c.stream().map(s -> {s.|)}}
> {{    }}}
> {{}}}
> Invoking the code completion at the marked place ('|') yields not results 
> whatsoever for me. That is apparently wrong - there should be results for a 
> variable of type String.
>  
> The IDE is a fully updated Apache NetBeans 11.2, with nb-javac installed 
> running on JDK 13:
> Product Version: Apache NetBeans IDE 11.2
> Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9
> Runtime: OpenJDK Runtime Environment 13.0.1+9
> System: Linux version 4.15.0-72-generic running on amd64; UTF-8; en_US (nb)
> User directory: /tmp/nbuser.lambda.test
> Cache directory: /tmp/nbuser.lambda.test/var/cache



--
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-4946) Improve JAVA EE with Ant based projects

2021-03-22 Thread Jose (Jira)


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

Jose closed NETBEANS-4946.
--
Resolution: Implemented

PR merged into master

> Improve JAVA EE with Ant based projects
> ---
>
> Key: NETBEANS-4946
> URL: https://issues.apache.org/jira/browse/NETBEANS-4946
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javaee - EJB Project, javaee - Web Project, projects - 
> Ant Project
>Affects Versions: 12.1, 12.2
>Reporter: Jose
>Assignee: Jose
>Priority: Major
>  Labels: pull-request-available
> Fix For: Next
>
>  Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> Notes:
> - Fix version mismatching when creating deployment descriptors with JEE 8
>   and JAKARTA EE 8
> - Fix CDI config file version mismatching with JEE 8 and JAKARTA EE 8, 
>   IDE creates JEE 7
> - IDE do not create deployment descriptor for EJB Modules from JEE 5 to JEE 7
>   and creates it with wrong version in JEE 8
> - Add methods that detect support for CDI 1.0 and CDI 2.0
> - Add missing resource, license file and deployment descriptor for JEE 8
> - Remove unnecessary validation that checks if running JDK 7 then change to 
> JDK 6
> - Remove use of deprecated method "getJ2eePlatform" in one class
> - Remove use of deprecated method "getServerID" in one class
> - Update javac.source and compilerargs properties in some Java EE modules
> - Use try-with-resources and close
> - Fix statement that compares Integers with "=="
> - Fix some typos
> - Remove some unnecessary unboxing/boxing of variables
> - Add some missing @Override tags
> - Add loggers and fix some uses of it
> Testing:
> - Create EAR, EJB, WEB and Application Client with JEE 5, 6, 6 w/CDI , 7 , 8 
> and
>   JAKARTA EE 8
> - Verify the correct creation of deployment descriptors and CDI files for 
> every
>   profile in the projects mention above
> - Verify that every project can clean and build successfully 
> Doubts:
> - Don't know how to create, modify the files with extension .mdd
> Issues:
> - Could not make work web-fragment version 4.0, it was not working from the 
> beggining



--
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-5478) nbbuild : DownloadBinaries task: 5 secs connect time is not enough

2021-03-22 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated NETBEANS-5478:
-
Labels: pull-request-available  (was: )

> nbbuild : DownloadBinaries task:  5 secs connect time is not enough
> ---
>
> Key: NETBEANS-5478
> URL: https://issues.apache.org/jira/browse/NETBEANS-5478
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Lars Bruun-Hansen
>Assignee: Lars Bruun-Hansen
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> h3. *nbbuild*
> When building NetBeans the {{DownloadBinaries}} Ant task is executed. (this 
> task downloads prerequisite artifacts from either Central Maven or 
> {{https://netbeans.osuosl.org/binaries}})
> However, via the {{ConfigureProxy}} class it implicitly uses a hard-coded 
> connect timeout of 5 seconds. This would seem enough for the general case, 
> but simply isn't enough for virtualized environments, such as GitHub Actions 
> runners. Such environments typically incur a "first touch" penalty on 
> outbound network connections, meaning that the first outbound connection to 
> internet may require more connect time than 5 seconds. (after this it is of 
> course fast). 
> As a result, I see intermittent failures when the build is executed on GitHub 
> Actions runners. Possibly someone else have seen the problem on other CI 
> systems?
> The failures have been hard to track down because both {{DownloadBinaries}} 
> and {{ConfigureProxy}} are swallowing exceptions (not cool!). 
> I'll create a PR. I'll make the connect timeout overridable via a property, 
> but leave the default as-is for those who have become accustomed to the 
> current fail-fast behavior.
>  
>  
>  
>  



--
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-5371) The generated JUnit 5 code cannot be run.

2021-03-22 Thread Michal Rama (Jira)


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

Michal Rama commented on NETBEANS-5371:
---

You're right. In Maven it works properly. The problem obviously only concerns 
Ant.

> The generated JUnit 5 code cannot be run.
> -
>
> Key: NETBEANS-5371
> URL: https://issues.apache.org/jira/browse/NETBEANS-5371
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit, java - Project
>Affects Versions: 12.3
> Environment: Windows 10, Apache NetBeans 12.3, Java 16
>Reporter: Michal Rama
>Priority: Minor
>  Labels: JUnit, java, junit, junit5, test
> Attachments: obr.png, obr�zek53.png
>
>
> Hello,
> I created a simple class.
> {code:java}
> public class Example  {
> public static void main(String[] args) {
> var color = new Example();
> System.out.println(color.isTextBlack("black"));
> System.out.println(color.isTextBlack("white"));
> }
> public boolean isTextBlack(String color) {
> return color.equals("black");
> }
> }
> {code}
> Then I create a JUnit 5 test via a "bulb" on the class line.
> !obr.png!
> !obr�zek53.png!
> A file with this code will be generated.
> {code:java}
> import org.junit.jupiter.api.AfterEach;
> import org.junit.jupiter.api.AfterAll;
> import org.junit.jupiter.api.BeforeEach;
> import org.junit.jupiter.api.BeforeAll;
> import org.junit.jupiter.api.Test;
> import static org.junit.jupiter.api.Assertions.*;
> public class ExampleTest {
> 
> public ExampleTest() {
> }
> 
> @BeforeAll
> public static void setUpClass() {
> }
> 
> @AfterAll
> public static void tearDownClass() {
> }
> 
> @BeforeEach
> public void setUp() {
> }
> 
> @AfterEach
> public void tearDown() {
> }
> /**
>  * Test of main method, of class Example.
>  */
> @Test
> public void testMain() {
> System.out.println("main");
> String[] args = null;
> Example.main(args);
> // TODO review the generated test code and remove the default call to 
> fail.
> fail("The test case is a prototype.");
> }
> /**
>  * Test of isTextBlack method, of class Example.
>  */
> @Test
> public void testIsTextBlack() {
> System.out.println("isTextBlack");
> String color = "";
> Example instance = new Example();
> boolean expResult = false;
> boolean result = instance.isTextBlack(color);
> assertEquals(expResult, result);
> // TODO review the generated test code and remove the default call to 
> fail.
> fail("The test case is a prototype.");
> }
> }
> {code}
> If I run it, it will crash with this error
> {code:java}
> warning: unknown enum constant Status.STABLE
>   reason: class file for org.apiguardian.api.API$Status not found
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE

[jira] [Comment Edited] (NETBEANS-3579) Code completion not working inside block lambdas

2021-03-22 Thread Akhilesh Singh (Jira)


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

Akhilesh Singh edited comment on NETBEANS-3579 at 3/22/21, 3:30 PM:


Yes, This issue is resolved. PFA !Screenshot (346).png!


was (Author: singh-akhilesh):
Yes, This issue is resolved. PFA

[^RE Defect #3579 Status  Findings.msg]!Screenshot (346).png!

> Code completion not working inside block lambdas
> 
>
> Key: NETBEANS-3579
> URL: https://issues.apache.org/jira/browse/NETBEANS-3579
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0, 11.2
>Reporter: Jan Lahoda
>Assignee: Akhilesh Singh
>Priority: Critical
> Attachments: RE Defect #3579 Status  Findings.msg, RE Defect #3579 
> Status  Findings.msg, Screenshot (346).png
>
>
> Consider the following code ('|' should not be part of the code, and 
> represents where the caret should be placed):
> {{package org.netbeans.modules.learning.lambda.code.completion;}}
> {{import java.util.Collection;}}
> {{public class NewClass {}}
> {{    public int compute(Collection c) {}}
> {{    return c.stream().map(s -> {s.|)}}
> {{    }}}
> {{}}}
> Invoking the code completion at the marked place ('|') yields not results 
> whatsoever for me. That is apparently wrong - there should be results for a 
> variable of type String.
>  
> The IDE is a fully updated Apache NetBeans 11.2, with nb-javac installed 
> running on JDK 13:
> Product Version: Apache NetBeans IDE 11.2
> Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9
> Runtime: OpenJDK Runtime Environment 13.0.1+9
> System: Linux version 4.15.0-72-generic running on amd64; UTF-8; en_US (nb)
> User directory: /tmp/nbuser.lambda.test
> Cache directory: /tmp/nbuser.lambda.test/var/cache



--
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-2610) PHP can't set breakpoint

2021-03-22 Thread Jira


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

Vítězslav Dvořák commented on NETBEANS-2610:


I think this subsystem is not activated by default ... ?

!image-2021-03-22-16-17-27-060.png!

> PHP can't set breakpoint
> 
>
> Key: NETBEANS-2610
> URL: https://issues.apache.org/jira/browse/NETBEANS-2610
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Debugger
>Affects Versions: 10.0, 11.0, 12.0, 12.1
> Environment: Ubuntu 19.10, JDK 8 and JDK 11
>Reporter: Owen Savill
>Priority: Major
>  Labels: PHP, php-debug
> Attachments: image-2021-03-22-16-17-27-060.png
>
>
> When Netbeans first fires up it is unable to set a breakpoint in a PHP file 
> until a breakpoint is set elsewhere, e.g. in a Java project. I've also 
> noticed that sometimes after following a jump to the definition of a PHP 
> function enabling breakpoints also becomes enabled.



--
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-2610) PHP can't set breakpoint

2021-03-22 Thread Jira


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

Vítězslav Dvořák updated NETBEANS-2610:
---
Attachment: image-2021-03-22-16-17-27-060.png

> PHP can't set breakpoint
> 
>
> Key: NETBEANS-2610
> URL: https://issues.apache.org/jira/browse/NETBEANS-2610
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Debugger
>Affects Versions: 10.0, 11.0, 12.0, 12.1
> Environment: Ubuntu 19.10, JDK 8 and JDK 11
>Reporter: Owen Savill
>Priority: Major
>  Labels: PHP, php-debug
> Attachments: image-2021-03-22-16-17-27-060.png
>
>
> When Netbeans first fires up it is unable to set a breakpoint in a PHP file 
> until a breakpoint is set elsewhere, e.g. in a Java project. I've also 
> noticed that sometimes after following a jump to the definition of a PHP 
> function enabling breakpoints also becomes enabled.



--
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-699) Refactoring Tools Servely Disabled for Un-saved Java Code

2021-03-22 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-699:
--

[~geertjan]This issue is way to old, reported for NetBeans 9.0 we had a lot of 
refactoring issues back then. We may have some now. But that Gradle Plugin was 
different as well. I'd just mark this one resolved either with invalid or 
cannot reproduce resolution.

> Refactoring Tools Servely Disabled for Un-saved Java Code
> -
>
> Key: NETBEANS-699
> URL: https://issues.apache.org/jira/browse/NETBEANS-699
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Navigation, editor - Refactoring, java - 
> Navigation, java - Refactoring
>Affects Versions: 9.0
> Environment: * gradle clean
> * Purged all Gradle caches
> * Empty cache directory
> Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-205-on-20180202)
> Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> Runtime: Java(TM) SE Runtime Environment 10+46
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_AU (nb)
> User directory: Z:\tmp\.other\user\netbeans\v09.00-beta\FourAbs
> Cache directory: Z:\tmp\.other\cache\netbeans\FourAbs-09
>Reporter: will mason
>Priority: Critical
>  Labels: CTRL-B, CTRL/Left-Click, Regression, editing, 
> find-usages, navigation, refactoring, searching
> Attachments: image-2018-04-19-12-58-53-652.png, messages.log
>
>
> h2. context
>  * Editing Java code
>  * Wanted to find all usages of a method
> h2. expected / desirable
>  * Select method name
>  * Press *ALT / F7* 
>  * See Usages pop-up
>  * Press *OK*
>  * Review list of uses found.
>  * There is ONE as identified using {{grep}}
>  * I expect Navigation and Refactoring tools to work on ALL files and 
> Open/Active buffers.
>  * Netbeans 8 does not force me to save or save and reopen files to rename a 
> method, or find all usages, etc.
> h2. actual
>  * Pressing *ALT / F7* resulted in the following error:
> {panel:title=ALT / F7 error}
> !image-2018-04-19-12-58-53-652.png!
> {panel}
>  * The method immediately above this line and the method below are both 
> private
>  * I can press *ALT / F7* for those methods, no problem.
>  * In addition navigation isn't working e.g. *CTRL / Left-Mouse-Click* - Jump 
> to source code fails.
>  * But only for that One method.
> _Furthermore_ ...
>  * These operations started / resumed working on the {{isNullSelectedNote()}} 
> method after *Save-*ing the file.
>  * In a great many cases now Navigation and Refactoring operations have 
> Failed.
>  * And later worked / Resumed working later
>  * There is NO CONSISTENT pattern - However most of the time saving the file 
> or All Files eventually the task seems to work (_again_)
>  * On the other hand, sometimes navigation, refactoring operations work fine 
> without forcing me to save a file. 
>  * It is unpredictable - That can be worse than broken  sometimes!
>  * 
> h2. Impact
>  * Had to go to a command line and run grep
>  * That is not helpful for a Public method used across many projects
> h2. supporting information
>  * messages.log
>  * screenshot



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



[netbeans] branch master updated: Change invokeLaters to Mutex.EVENT.

2021-03-22 Thread sdedic
This is an automated email from the ASF dual-hosted git repository.

sdedic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 255a250  Change invokeLaters to Mutex.EVENT.
 new d0a9324  Merge pull request #2823 from sdedic/lsp/edt2mutex
255a250 is described below

commit 255a250194f75ea9a62ffe89a848518764b72e8b
Author: Svata Dedic 
AuthorDate: Mon Mar 22 13:36:05 2021 +0100

Change invokeLaters to Mutex.EVENT.
---
 .../src/org/netbeans/api/java/source/UiUtils.java  | 24 +++--
 java/java.source/test/unit/data/jdk/Table.java | 27 +++
 .../org/netbeans/api/java/source/UiUtilsTest.java  | 10 +++---
 .../netbeans/core/windows/WindowManagerImpl.java   | 40 +++---
 .../org/openide/text/CloneableEditorSupport.java   | 15 
 .../src/org/openide/text/DocumentOpenClose.java|  6 ++--
 6 files changed, 60 insertions(+), 62 deletions(-)

diff --git a/java/java.source/src/org/netbeans/api/java/source/UiUtils.java 
b/java/java.source/src/org/netbeans/api/java/source/UiUtils.java
index 3b9d24f..0f966d0 100644
--- a/java/java.source/src/org/netbeans/api/java/source/UiUtils.java
+++ b/java/java.source/src/org/netbeans/api/java/source/UiUtils.java
@@ -34,7 +34,6 @@ import javax.lang.model.element.Element;
 import javax.lang.model.element.ElementKind;
 import javax.lang.model.element.Modifier;
 import javax.swing.Icon;
-import javax.swing.SwingUtilities;
 import javax.swing.text.StyledDocument;
 import org.netbeans.modules.java.source.pretty.VeryPretty;
 import org.netbeans.modules.java.source.save.DiffContext;
@@ -50,6 +49,7 @@ import org.openide.text.Line;
 import org.openide.text.Line.ShowOpenType;
 import org.openide.text.Line.ShowVisibilityType;
 import org.openide.text.NbDocument;
+import org.openide.util.Mutex;
 import org.openide.util.NbBundle;
 import org.openide.util.UserQuestionException;
 
@@ -377,27 +377,13 @@ public final class  UiUtils {
 }
 
 private static void doShow(final Line l, final int column) {
-if (SwingUtilities.isEventDispatchThread()) {
-l.show(ShowOpenType.OPEN, ShowVisibilityType.FOCUS, column);
-} else {
-SwingUtilities.invokeLater(new Runnable() {
-public void run() {
-l.show(ShowOpenType.OPEN, ShowVisibilityType.FOCUS, 
column);
-}
-});
-}
+Mutex.EVENT.readAccess(() ->
+l.show(ShowOpenType.OPEN, ShowVisibilityType.FOCUS, column)
+);
 }
 
 private static void doOpen(final OpenCookie oc) {
-if (SwingUtilities.isEventDispatchThread()) {
-oc.open();
-} else {
-SwingUtilities.invokeLater(new Runnable() {
-public void run() {
-oc.open();
-}
-});
-}
+Mutex.EVENT.readAccess(oc::open);
 }
 
 private static int getOffset(FileObject fo, final ElementHandle handle) throws IOException {
diff --git a/java/java.source/test/unit/data/jdk/Table.java 
b/java/java.source/test/unit/data/jdk/Table.java
new file mode 100644
index 000..ea7cf5f
--- /dev/null
+++ b/java/java.source/test/unit/data/jdk/Table.java
@@ -0,0 +1,27 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package test;
+
+public class Table {
+
+}
+
+
+
diff --git 
a/java/java.source/test/unit/src/org/netbeans/api/java/source/UiUtilsTest.java 
b/java/java.source/test/unit/src/org/netbeans/api/java/source/UiUtilsTest.java
index 27ad84b..b15467f 100644
--- 
a/java/java.source/test/unit/src/org/netbeans/api/java/source/UiUtilsTest.java
+++ 
b/java/java.source/test/unit/src/org/netbeans/api/java/source/UiUtilsTest.java
@@ -46,7 +46,7 @@ import org.openide.util.Utilities;
  * @author Tomas Zezula
  */
 public class UiUtilsTest extends NbTestCase {
-private static final String JTABLE_DATA = "jdk/JTable.java";//NOI18N
+private static final String JTABLE_DATA = "jdk/Table.java";//NOI18N
 
 public UiUtilsTest(String testName) {
 super(testName);
@@ -80,14 +80,14 @@ public class UiUtilsTest 

[jira] [Created] (NETBEANS-5479) Remote upload (sftp) removing character from path

2021-03-22 Thread Stephen Boyer (Jira)
Stephen Boyer created NETBEANS-5479:
---

 Summary: Remote upload (sftp) removing character from path
 Key: NETBEANS-5479
 URL: https://issues.apache.org/jira/browse/NETBEANS-5479
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.2, 12.0.1, 12.1, 11.3
Reporter: Stephen Boyer


When doing a remote upload, either manual or upload on save to an sftp server, 
Netbeans will connect, parse the default path correctly, then remove the first 
character in the folder path.

 

For example: SFTP path"/var/www/vhosts/mydomain.com/httpdocs

file in project: application/views/myview.php

 

Netbeans will try to save the file to the following location: 
/var/www/vhosts/mydomain.com/httpdocs/pplication/views/myview.php

 

This of course fails since it is stripping the first character out of the file 
path.



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



[netbeans] branch master updated (921f707 -> cd3434f)

2021-03-22 Thread sdedic
This is an automated email from the ASF dual-hosted git repository.

sdedic pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from 921f707  Merge pull request #2821 from philippefichet/master
 new 5f90f78  [NETBEANS-5458] Update Batik SVG to version 1.14
 new 055bebf  Disabled external xlink references; test added.
 new cd3434f  Merge pull request #2817 from sdedic/sd/batik114

The 5117 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ...tik-1.12-license.txt => batik-1.14-license.txt} |  4 +-
 ...batik-1.12-notice.txt => batik-1.14-notice.txt} |  2 +-
 platform/libs.batik.read/external/binaries-list| 30 +++
 ...nse.txt => xmlgraphics-commons-2.6-license.txt} |  3 +-
 ...tice.txt => xmlgraphics-commons-2.6-notice.txt} |  2 +-
 .../libs.batik.read/nbproject/project.properties   | 58 ++---
 platform/libs.batik.read/nbproject/project.xml | 60 ++---
 platform/openide.util.ui.svg/manifest.mf   |  2 +-
 .../nbproject/project.properties   |  2 +-
 platform/openide.util.ui.svg/nbproject/project.xml | 14 
 .../src/org/openide/util/svg/SVGIcon.java  | 12 ++-
 .../org/openide/util/svg/SVGLoaderImplTest.java| 79 +
 .../unit/src/org/openide/util/svg/externalHref.svg | 98 ++
 .../unit/src/org/openide/util/svg/innocent.svg | 98 ++
 14 files changed, 382 insertions(+), 82 deletions(-)
 rename platform/libs.batik.read/external/{batik-1.12-license.txt => 
batik-1.14-license.txt} (97%)
 rename platform/libs.batik.read/external/{batik-1.12-notice.txt => 
batik-1.14-notice.txt} (92%)
 rename platform/libs.batik.read/external/{xmlgraphics-commons-2.4-license.txt 
=> xmlgraphics-commons-2.6-license.txt} (99%)
 rename platform/libs.batik.read/external/{xmlgraphics-commons-2.4-notice.txt 
=> xmlgraphics-commons-2.6-notice.txt} (71%)
 create mode 100644 
platform/openide.util.ui.svg/test/unit/src/org/openide/util/svg/SVGLoaderImplTest.java
 create mode 100644 
platform/openide.util.ui.svg/test/unit/src/org/openide/util/svg/externalHref.svg
 create mode 100644 
platform/openide.util.ui.svg/test/unit/src/org/openide/util/svg/innocent.svg

-
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-2369) Gradle support for displaying non-standard gradle files

2021-03-22 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-2369:
---

Not yet implemented.

> Gradle support for displaying non-standard gradle files
> ---
>
> Key: NETBEANS-2369
> URL: https://issues.apache.org/jira/browse/NETBEANS-2369
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Affects Versions: 11.0
>Reporter: Charles George
>Assignee: Laszlo Kishalmi
>Priority: Critical
>
> Multi-project builds in Gradle may contain a common gradle file shared among 
> subprojects. For example, I have a common.gradle file applied to each 
> subproject in the root projects build.gradle file.
> The "Projects" view in NetBeans only lists build.gradle, settings.gradle, and 
> gradle.properties under the "Build Scripts" section. The regex or code that 
> is determining which files to display should be relaxed to include something 
> like *.gradle. Otherwise I'm forced to go into the "Files" view to find the 
> common.gradle file in my root project.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Assigned] (NETBEANS-2369) Gradle support for displaying non-standard gradle files

2021-03-22 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi reassigned NETBEANS-2369:
-

Assignee: Laszlo Kishalmi

> Gradle support for displaying non-standard gradle files
> ---
>
> Key: NETBEANS-2369
> URL: https://issues.apache.org/jira/browse/NETBEANS-2369
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Affects Versions: 11.0
>Reporter: Charles George
>Assignee: Laszlo Kishalmi
>Priority: Critical
>
> Multi-project builds in Gradle may contain a common gradle file shared among 
> subprojects. For example, I have a common.gradle file applied to each 
> subproject in the root projects build.gradle file.
> The "Projects" view in NetBeans only lists build.gradle, settings.gradle, and 
> gradle.properties under the "Build Scripts" section. The regex or code that 
> is determining which files to display should be relaxed to include something 
> like *.gradle. Otherwise I'm forced to go into the "Files" view to find the 
> common.gradle file in my root project.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-3579) Code completion not working inside block lambdas

2021-03-22 Thread Akhilesh Singh (Jira)


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

Akhilesh Singh commented on NETBEANS-3579:
--

Yes, This issue is resolved. PFA

[^RE Defect #3579 Status  Findings.msg]!Screenshot (346).png!

> Code completion not working inside block lambdas
> 
>
> Key: NETBEANS-3579
> URL: https://issues.apache.org/jira/browse/NETBEANS-3579
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0, 11.2
>Reporter: Jan Lahoda
>Assignee: Akhilesh Singh
>Priority: Critical
> Attachments: RE Defect #3579 Status  Findings.msg, RE Defect #3579 
> Status  Findings.msg, Screenshot (346).png
>
>
> Consider the following code ('|' should not be part of the code, and 
> represents where the caret should be placed):
> {{package org.netbeans.modules.learning.lambda.code.completion;}}
> {{import java.util.Collection;}}
> {{public class NewClass {}}
> {{    public int compute(Collection c) {}}
> {{    return c.stream().map(s -> {s.|)}}
> {{    }}}
> {{}}}
> Invoking the code completion at the marked place ('|') yields not results 
> whatsoever for me. That is apparently wrong - there should be results for a 
> variable of type String.
>  
> The IDE is a fully updated Apache NetBeans 11.2, with nb-javac installed 
> running on JDK 13:
> Product Version: Apache NetBeans IDE 11.2
> Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9
> Runtime: OpenJDK Runtime Environment 13.0.1+9
> System: Linux version 4.15.0-72-generic running on amd64; UTF-8; en_US (nb)
> User directory: /tmp/nbuser.lambda.test
> Cache directory: /tmp/nbuser.lambda.test/var/cache



--
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-3579) Code completion not working inside block lambdas

2021-03-22 Thread Akhilesh Singh (Jira)


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

Akhilesh Singh updated NETBEANS-3579:
-
Attachment: Screenshot (346).png

> Code completion not working inside block lambdas
> 
>
> Key: NETBEANS-3579
> URL: https://issues.apache.org/jira/browse/NETBEANS-3579
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0, 11.2
>Reporter: Jan Lahoda
>Assignee: Akhilesh Singh
>Priority: Critical
> Attachments: RE Defect #3579 Status  Findings.msg, RE Defect #3579 
> Status  Findings.msg, Screenshot (346).png
>
>
> Consider the following code ('|' should not be part of the code, and 
> represents where the caret should be placed):
> {{package org.netbeans.modules.learning.lambda.code.completion;}}
> {{import java.util.Collection;}}
> {{public class NewClass {}}
> {{    public int compute(Collection c) {}}
> {{    return c.stream().map(s -> {s.|)}}
> {{    }}}
> {{}}}
> Invoking the code completion at the marked place ('|') yields not results 
> whatsoever for me. That is apparently wrong - there should be results for a 
> variable of type String.
>  
> The IDE is a fully updated Apache NetBeans 11.2, with nb-javac installed 
> running on JDK 13:
> Product Version: Apache NetBeans IDE 11.2
> Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9
> Runtime: OpenJDK Runtime Environment 13.0.1+9
> System: Linux version 4.15.0-72-generic running on amd64; UTF-8; en_US (nb)
> User directory: /tmp/nbuser.lambda.test
> Cache directory: /tmp/nbuser.lambda.test/var/cache



--
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-3579) Code completion not working inside block lambdas

2021-03-22 Thread Akhilesh Singh (Jira)


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

Akhilesh Singh updated NETBEANS-3579:
-
Attachment: RE Defect #3579 Status  Findings.msg

> Code completion not working inside block lambdas
> 
>
> Key: NETBEANS-3579
> URL: https://issues.apache.org/jira/browse/NETBEANS-3579
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0, 11.2
>Reporter: Jan Lahoda
>Assignee: Akhilesh Singh
>Priority: Critical
> Attachments: RE Defect #3579 Status  Findings.msg, RE Defect #3579 
> Status  Findings.msg
>
>
> Consider the following code ('|' should not be part of the code, and 
> represents where the caret should be placed):
> {{package org.netbeans.modules.learning.lambda.code.completion;}}
> {{import java.util.Collection;}}
> {{public class NewClass {}}
> {{    public int compute(Collection c) {}}
> {{    return c.stream().map(s -> {s.|)}}
> {{    }}}
> {{}}}
> Invoking the code completion at the marked place ('|') yields not results 
> whatsoever for me. That is apparently wrong - there should be results for a 
> variable of type String.
>  
> The IDE is a fully updated Apache NetBeans 11.2, with nb-javac installed 
> running on JDK 13:
> Product Version: Apache NetBeans IDE 11.2
> Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9
> Runtime: OpenJDK Runtime Environment 13.0.1+9
> System: Linux version 4.15.0-72-generic running on amd64; UTF-8; en_US (nb)
> User directory: /tmp/nbuser.lambda.test
> Cache directory: /tmp/nbuser.lambda.test/var/cache



--
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-3579) Code completion not working inside block lambdas

2021-03-22 Thread Akhilesh Singh (Jira)


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

Akhilesh Singh updated NETBEANS-3579:
-
Attachment: RE Defect #3579 Status  Findings.msg

> Code completion not working inside block lambdas
> 
>
> Key: NETBEANS-3579
> URL: https://issues.apache.org/jira/browse/NETBEANS-3579
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0, 11.2
>Reporter: Jan Lahoda
>Assignee: Akhilesh Singh
>Priority: Critical
> Attachments: RE Defect #3579 Status  Findings.msg
>
>
> Consider the following code ('|' should not be part of the code, and 
> represents where the caret should be placed):
> {{package org.netbeans.modules.learning.lambda.code.completion;}}
> {{import java.util.Collection;}}
> {{public class NewClass {}}
> {{    public int compute(Collection c) {}}
> {{    return c.stream().map(s -> {s.|)}}
> {{    }}}
> {{}}}
> Invoking the code completion at the marked place ('|') yields not results 
> whatsoever for me. That is apparently wrong - there should be results for a 
> variable of type String.
>  
> The IDE is a fully updated Apache NetBeans 11.2, with nb-javac installed 
> running on JDK 13:
> Product Version: Apache NetBeans IDE 11.2
> Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9
> Runtime: OpenJDK Runtime Environment 13.0.1+9
> System: Linux version 4.15.0-72-generic running on amd64; UTF-8; en_US (nb)
> User directory: /tmp/nbuser.lambda.test
> Cache directory: /tmp/nbuser.lambda.test/var/cache



--
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-3579) Code completion not working inside block lambdas

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3579:
-

Do you consider this resolved, [~singh-akhilesh]? Or what needs to be done here?

> Code completion not working inside block lambdas
> 
>
> Key: NETBEANS-3579
> URL: https://issues.apache.org/jira/browse/NETBEANS-3579
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0, 11.2
>Reporter: Jan Lahoda
>Assignee: Akhilesh Singh
>Priority: Critical
>
> Consider the following code ('|' should not be part of the code, and 
> represents where the caret should be placed):
> {{package org.netbeans.modules.learning.lambda.code.completion;}}
> {{import java.util.Collection;}}
> {{public class NewClass {}}
> {{    public int compute(Collection c) {}}
> {{    return c.stream().map(s -> {s.|)}}
> {{    }}}
> {{}}}
> Invoking the code completion at the marked place ('|') yields not results 
> whatsoever for me. That is apparently wrong - there should be results for a 
> variable of type String.
>  
> The IDE is a fully updated Apache NetBeans 11.2, with nb-javac installed 
> running on JDK 13:
> Product Version: Apache NetBeans IDE 11.2
> Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9
> Runtime: OpenJDK Runtime Environment 13.0.1+9
> System: Linux version 4.15.0-72-generic running on amd64; UTF-8; en_US (nb)
> User directory: /tmp/nbuser.lambda.test
> Cache directory: /tmp/nbuser.lambda.test/var/cache



--
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-4953) Can't open path like \\wsl$\Ubuntu\home\

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-4953:
-

This seems to be about WSL, maybe this helps:

https://www.reddit.com/r/bashonubuntuonwindows/comments/7n7uiv/how_to_use_things_like_ides_that_dont_support_the/

> Can't open path like \\wsl$\Ubuntu\home\
> 
>
> Key: NETBEANS-4953
> URL: https://issues.apache.org/jira/browse/NETBEANS-4953
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home Netbeans 12.1
>Reporter: Sergio
>Priority: Critical
>
> I got error when try create/open a project that located on  
> \\wsl$\Ubuntu\home\ ...
> ---
> java.net.URISyntaxException: Illegal character in hostname at index 10: 
> file://wsl$/Ubuntu/home//Projects/java.net.URISyntaxException: Illegal 
> character in hostname at index 10: file://wsl$/Ubuntu/home//Projects/ at 
> java.net.URI$Parser.fail(URI.java:2848) at 
> java.net.URI$Parser.parseHostname(URI.java:3387) at 
> java.net.URI$Parser.parseServer(URI.java:3236) at 
> java.net.URI$Parser.parseAuthority(URI.java:3155) at 
> java.net.URI$Parser.parseHierarchical(URI.java:3097) at 
> java.net.URI$Parser.parse(URI.java:3053) at java.net.URI.(URI.java:673) 
> at java.net.URI.(URI.java:774) at 
> org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:111)Caused:
>  java.lang.Error at 
> org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:113)
>  at 
> org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:105)
>  at 
> org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.fileToURL(FileBasedURLMapper.java:87)
>  at 
> org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.getURL(FileBasedURLMapper.java:50)
>  at 
> org.netbeans.modules.masterfs.MasterURLMapper.getURL(MasterURLMapper.java:44) 
> at org.openide.filesystems.URLMapper.findURL(URLMapper.java:115) at 
> org.openide.filesystems.FileObject.toURL(FileObject.java:1216) at 
> org.openide.filesystems.FileObject.toURI(FileObject.java:1227) at 
> org.netbeans.modules.cpplite.project.CPPLiteProject.getRootPreferences(CPPLiteProject.java:57)
>  at 
> org.netbeans.modules.cpplite.project.CPPLiteProject.access$200(CPPLiteProject.java:44)
>  at 
> org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject2(CPPLiteProject.java:138)
>  at 
> org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject(CPPLiteProject.java:147)
>  at 
> org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.loadProject(CPPLiteProject.java:152)
>  at 
> org.netbeans.modules.projectapi.nb.NbProjectManager.createProject(NbProjectManager.java:376)
>  at 
> org.netbeans.modules.projectapi.nb.NbProjectManager.access$300(NbProjectManager.java:69)
>  at 
> org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:289)
>  at 
> org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:218)
>  at 
> org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188)
>  at org.openide.util.Mutex.readAccess(Mutex.java:225) at 
> org.netbeans.modules.projectapi.nb.NbProjectManager.findProject(NbProjectManager.java:218)
>  at 
> org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:142) 
> at 
> org.netbeans.spi.project.support.ant.SourcesHelper.remarkExternalRoots(SourcesHelper.java:847)
>  at 
> org.netbeans.spi.project.support.ant.SourcesHelper.registerExternalRoots(SourcesHelper.java:818)
>  at 
> org.netbeans.spi.project.support.ant.SourcesHelper.registerExternalRoots(SourcesHelper.java:759)
>  at 
> org.netbeans.modules.php.project.PhpSources.initSources(PhpSources.java:119) 
> at org.netbeans.modules.php.project.PhpSources.access$100(PhpSources.java:45) 
> at org.netbeans.modules.php.project.PhpSources$1.run(PhpSources.java:93) at 
> org.netbeans.modules.php.project.PhpSources$1.run(PhpSources.java:82) at 
> org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188)
>  at org.openide.util.Mutex.readAccess(Mutex.java:193) at 
> org.netbeans.modules.php.project.PhpSources.getSourceGroups(PhpSources.java:82)
>  at 
> org.netbeans.modules.versioning.core.ProjectMenuItem.getRootFilesForProjectNodes(ProjectMenuItem.java:193)
>  at 
> org.netbeans.modules.versioning.core.ProjectMenuItem.createItems(ProjectMenuItem.java:74)
>  at 
> org.netbeans.modules.versioning.core.ProjectMenuItem.access$200(ProjectMenuItem.java:51)
>  at 
> org.netbeans.modules.versioning.core.ProjectMenuItem$DynamicDummyItem.getMenuPresenters(ProjectMenuItem.java:177)
>  at 
> 

[jira] [Commented] (NETBEANS-5371) The generated JUnit 5 code cannot be run.

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5371:
-

Since you have a workaround -- and you could be using Maven or Gradle -- and 
also because we're trying to de-emphasize Ant, in favor of Maven and Gradle, 
switching the priority of this to minor.

> The generated JUnit 5 code cannot be run.
> -
>
> Key: NETBEANS-5371
> URL: https://issues.apache.org/jira/browse/NETBEANS-5371
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit, java - Project
>Affects Versions: 12.3
> Environment: Windows 10, Apache NetBeans 12.3, Java 16
>Reporter: Michal Rama
>Priority: Minor
>  Labels: JUnit, java, junit, junit5, test
> Attachments: obr.png, obr�zek53.png
>
>
> Hello,
> I created a simple class.
> {code:java}
> public class Example  {
> public static void main(String[] args) {
> var color = new Example();
> System.out.println(color.isTextBlack("black"));
> System.out.println(color.isTextBlack("white"));
> }
> public boolean isTextBlack(String color) {
> return color.equals("black");
> }
> }
> {code}
> Then I create a JUnit 5 test via a "bulb" on the class line.
> !obr.png!
> !obr�zek53.png!
> A file with this code will be generated.
> {code:java}
> import org.junit.jupiter.api.AfterEach;
> import org.junit.jupiter.api.AfterAll;
> import org.junit.jupiter.api.BeforeEach;
> import org.junit.jupiter.api.BeforeAll;
> import org.junit.jupiter.api.Test;
> import static org.junit.jupiter.api.Assertions.*;
> public class ExampleTest {
> 
> public ExampleTest() {
> }
> 
> @BeforeAll
> public static void setUpClass() {
> }
> 
> @AfterAll
> public static void tearDownClass() {
> }
> 
> @BeforeEach
> public void setUp() {
> }
> 
> @AfterEach
> public void tearDown() {
> }
> /**
>  * Test of main method, of class Example.
>  */
> @Test
> public void testMain() {
> System.out.println("main");
> String[] args = null;
> Example.main(args);
> // TODO review the generated test code and remove the default call to 
> fail.
> fail("The test case is a prototype.");
> }
> /**
>  * Test of isTextBlack method, of class Example.
>  */
> @Test
> public void testIsTextBlack() {
> System.out.println("isTextBlack");
> String color = "";
> Example instance = new Example();
> boolean expResult = false;
> boolean result = instance.isTextBlack(color);
> assertEquals(expResult, result);
> // TODO review the generated test code and remove the default call to 
> fail.
> fail("The test case is a prototype.");
> }
> }
> {code}
> If I run it, it will crash with this error
> {code:java}
> warning: unknown enum constant Status.STABLE
>   reason: class file for org.apiguardian.api.API$Status not found
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: 

[jira] [Updated] (NETBEANS-5371) The generated JUnit 5 code cannot be run.

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga updated NETBEANS-5371:

Priority: Minor  (was: Blocker)

> The generated JUnit 5 code cannot be run.
> -
>
> Key: NETBEANS-5371
> URL: https://issues.apache.org/jira/browse/NETBEANS-5371
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit, java - Project
>Affects Versions: 12.3
> Environment: Windows 10, Apache NetBeans 12.3, Java 16
>Reporter: Michal Rama
>Priority: Minor
>  Labels: JUnit, java, junit, junit5, test
> Attachments: obr.png, obr�zek53.png
>
>
> Hello,
> I created a simple class.
> {code:java}
> public class Example  {
> public static void main(String[] args) {
> var color = new Example();
> System.out.println(color.isTextBlack("black"));
> System.out.println(color.isTextBlack("white"));
> }
> public boolean isTextBlack(String color) {
> return color.equals("black");
> }
> }
> {code}
> Then I create a JUnit 5 test via a "bulb" on the class line.
> !obr.png!
> !obr�zek53.png!
> A file with this code will be generated.
> {code:java}
> import org.junit.jupiter.api.AfterEach;
> import org.junit.jupiter.api.AfterAll;
> import org.junit.jupiter.api.BeforeEach;
> import org.junit.jupiter.api.BeforeAll;
> import org.junit.jupiter.api.Test;
> import static org.junit.jupiter.api.Assertions.*;
> public class ExampleTest {
> 
> public ExampleTest() {
> }
> 
> @BeforeAll
> public static void setUpClass() {
> }
> 
> @AfterAll
> public static void tearDownClass() {
> }
> 
> @BeforeEach
> public void setUp() {
> }
> 
> @AfterEach
> public void tearDown() {
> }
> /**
>  * Test of main method, of class Example.
>  */
> @Test
> public void testMain() {
> System.out.println("main");
> String[] args = null;
> Example.main(args);
> // TODO review the generated test code and remove the default call to 
> fail.
> fail("The test case is a prototype.");
> }
> /**
>  * Test of isTextBlack method, of class Example.
>  */
> @Test
> public void testIsTextBlack() {
> System.out.println("isTextBlack");
> String color = "";
> Example instance = new Example();
> boolean expResult = false;
> boolean result = instance.isTextBlack(color);
> assertEquals(expResult, result);
> // TODO review the generated test code and remove the default call to 
> fail.
> fail("The test case is a prototype.");
> }
> }
> {code}
> If I run it, it will crash with this error
> {code:java}
> warning: unknown enum constant Status.STABLE
>   reason: class file for org.apiguardian.api.API$Status not found
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum 

[jira] [Commented] (NETBEANS-5041) Memory usage constantly grows when "performance" buttons are enabled

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5041:
-

So, this is seen only when the performance buttons are clicked? Or it's not 
about clicking, i.e., what must be done to see this problem, and can it be 
reproduced in 12.3?

> Memory usage constantly grows when "performance" buttons are enabled
> 
>
> Key: NETBEANS-5041
> URL: https://issues.apache.org/jira/browse/NETBEANS-5041
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.1
>Reporter: Evgeny Knihuta
>Priority: Critical
> Attachments: Screenshot 2020-11-19 141042.png
>
>
> !Screenshot 2020-11-19 141042.png!
> Memory grows and sometimes shrinks - that leads to freezing UI



--
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-2580) Main window size affects performance / build times on macOS

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-2580:
-

Is this still a problem with Apache NetBeans 12.3.

> Main window size affects performance / build times on macOS
> ---
>
> Key: NETBEANS-2580
> URL: https://issues.apache.org/jira/browse/NETBEANS-2580
> Project: NetBeans
>  Issue Type: Bug
> Environment: macOS 10.14.5
> java 1.8.0_92
> Same behavior experienced in NetBeans 8.2 and 11.0
>Reporter: Tomas Krivanek
>Priority: Critical
>  Labels: performance, usability
> Attachments: fast-build-small-window.npss, multi-window-big-slow.jpg, 
> multi-window-small-fast.jpg, single-window-big-slow.jpg, 
> single-window-small-fast.jpg, slow-build-large-window.npss
>
>
> After switching to 4k display I noticed significant increase of build times 
> of my java projects in NetBeans. For example, project that previously build 
> in 15s now take about 1m30s. 
> After trying different resolutions and layouts I found out that it is the 
> size of main NetBeans window, what have greatest impact on compile times!
> I am using NetBeans with all tabs detached to own windows with empty main 
> window shrinked to smallest possible size as workaround. Please see attached 
> screenshots with different layouts and typical build times of simple hello 
> world project.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-532) NPE running profiler

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga resolved NETBEANS-532.

Resolution: Fixed

> NPE running profiler
> 
>
> Key: NETBEANS-532
> URL: https://issues.apache.org/jira/browse/NETBEANS-532
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-242-on-20180323)
> Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> Runtime: Java(TM) SE Runtime Environment 10+46
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Critical
>  Labels: jdk10
>
> When running the profiler on a Maven project I get:
> {code}
> java.lang.NullPointerException
>   at 
> org.netbeans.modules.profiler.v2.features.MethodsFeature$9.getProfilerClient(MethodsFeature.java:515)
>   at 
> org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.initUI(MethodsFeatureUI.java:222)
>   at 
> org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.getResultsUI(MethodsFeatureUI.java:100)
>   at 
> org.netbeans.modules.profiler.v2.features.MethodsFeature.getResultsUI(MethodsFeature.java:492)
>   at 
> org.netbeans.modules.profiler.v2.impl.FeaturesView.createContainer(FeaturesView.java:149)
>   at 
> org.netbeans.modules.profiler.v2.impl.FeaturesView.addFeature(FeaturesView.java:134)
>   at 
> org.netbeans.modules.profiler.v2.ProfilerWindow.updateFeatures(ProfilerWindow.java:373)
>   at 
> org.netbeans.modules.profiler.v2.ProfilerWindow.popupulateUI(ProfilerWindow.java:275)
>   at 
> org.netbeans.modules.profiler.v2.ProfilerWindow.access$200(ProfilerWindow.java:132)
>   at 
> org.netbeans.modules.profiler.v2.ProfilerWindow$1$1.run(ProfilerWindow.java:200)
>   at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
>   at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>   at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>   at java.base/java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
>   at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>   at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>   at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
> {code}
> This issues 100% of the time.



--
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-532) NPE running profiler

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-532:


OK, closing, based on the above.

> NPE running profiler
> 
>
> Key: NETBEANS-532
> URL: https://issues.apache.org/jira/browse/NETBEANS-532
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-242-on-20180323)
> Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> Runtime: Java(TM) SE Runtime Environment 10+46
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Critical
>  Labels: jdk10
>
> When running the profiler on a Maven project I get:
> {code}
> java.lang.NullPointerException
>   at 
> org.netbeans.modules.profiler.v2.features.MethodsFeature$9.getProfilerClient(MethodsFeature.java:515)
>   at 
> org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.initUI(MethodsFeatureUI.java:222)
>   at 
> org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.getResultsUI(MethodsFeatureUI.java:100)
>   at 
> org.netbeans.modules.profiler.v2.features.MethodsFeature.getResultsUI(MethodsFeature.java:492)
>   at 
> org.netbeans.modules.profiler.v2.impl.FeaturesView.createContainer(FeaturesView.java:149)
>   at 
> org.netbeans.modules.profiler.v2.impl.FeaturesView.addFeature(FeaturesView.java:134)
>   at 
> org.netbeans.modules.profiler.v2.ProfilerWindow.updateFeatures(ProfilerWindow.java:373)
>   at 
> org.netbeans.modules.profiler.v2.ProfilerWindow.popupulateUI(ProfilerWindow.java:275)
>   at 
> org.netbeans.modules.profiler.v2.ProfilerWindow.access$200(ProfilerWindow.java:132)
>   at 
> org.netbeans.modules.profiler.v2.ProfilerWindow$1$1.run(ProfilerWindow.java:200)
>   at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
>   at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>   at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>   at java.base/java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
>   at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>   at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>   at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
> {code}
> This issues 100% of the time.



--
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-699) Refactoring Tools Servely Disabled for Un-saved Java Code

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-699:


[~aplatypus] can you please add a sample project?

> Refactoring Tools Servely Disabled for Un-saved Java Code
> -
>
> Key: NETBEANS-699
> URL: https://issues.apache.org/jira/browse/NETBEANS-699
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Navigation, editor - Refactoring, java - 
> Navigation, java - Refactoring
>Affects Versions: 9.0
> Environment: * gradle clean
> * Purged all Gradle caches
> * Empty cache directory
> Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-205-on-20180202)
> Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> Runtime: Java(TM) SE Runtime Environment 10+46
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_AU (nb)
> User directory: Z:\tmp\.other\user\netbeans\v09.00-beta\FourAbs
> Cache directory: Z:\tmp\.other\cache\netbeans\FourAbs-09
>Reporter: will mason
>Priority: Critical
>  Labels: CTRL-B, CTRL/Left-Click, Regression, editing, 
> find-usages, navigation, refactoring, searching
> Attachments: image-2018-04-19-12-58-53-652.png, messages.log
>
>
> h2. context
>  * Editing Java code
>  * Wanted to find all usages of a method
> h2. expected / desirable
>  * Select method name
>  * Press *ALT / F7* 
>  * See Usages pop-up
>  * Press *OK*
>  * Review list of uses found.
>  * There is ONE as identified using {{grep}}
>  * I expect Navigation and Refactoring tools to work on ALL files and 
> Open/Active buffers.
>  * Netbeans 8 does not force me to save or save and reopen files to rename a 
> method, or find all usages, etc.
> h2. actual
>  * Pressing *ALT / F7* resulted in the following error:
> {panel:title=ALT / F7 error}
> !image-2018-04-19-12-58-53-652.png!
> {panel}
>  * The method immediately above this line and the method below are both 
> private
>  * I can press *ALT / F7* for those methods, no problem.
>  * In addition navigation isn't working e.g. *CTRL / Left-Mouse-Click* - Jump 
> to source code fails.
>  * But only for that One method.
> _Furthermore_ ...
>  * These operations started / resumed working on the {{isNullSelectedNote()}} 
> method after *Save-*ing the file.
>  * In a great many cases now Navigation and Refactoring operations have 
> Failed.
>  * And later worked / Resumed working later
>  * There is NO CONSISTENT pattern - However most of the time saving the file 
> or All Files eventually the task seems to work (_again_)
>  * On the other hand, sometimes navigation, refactoring operations work fine 
> without forcing me to save a file. 
>  * It is unpredictable - That can be worse than broken  sometimes!
>  * 
> h2. Impact
>  * Had to go to a command line and run grep
>  * That is not helpful for a Public method used across many projects
> h2. supporting information
>  * messages.log
>  * screenshot



--
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-1297) Autoupdate catalog task does not generate Fragment-Host info

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-1297:
-

What is the status of this, [~sdedic]?

> Autoupdate catalog task does not generate Fragment-Host info
> 
>
> Key: NETBEANS-1297
> URL: https://issues.apache.org/jira/browse/NETBEANS-1297
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Autoupdate
>Reporter: Svatopluk Dedic
>Priority: Critical
>
> MakeUpdateDesc should use new DTD version if Fragment-host declaration is 
> present.The Fragment-Host attribute should be exported into the catalog.
> See also NETBEANS-1296. 



--
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-5478) nbbuild : DownloadBinaries task: 5 secs connect time is not enough

2021-03-22 Thread Lars Bruun-Hansen (Jira)
Lars Bruun-Hansen created NETBEANS-5478:
---

 Summary: nbbuild : DownloadBinaries task:  5 secs connect time is 
not enough
 Key: NETBEANS-5478
 URL: https://issues.apache.org/jira/browse/NETBEANS-5478
 Project: NetBeans
  Issue Type: Bug
Reporter: Lars Bruun-Hansen
Assignee: Lars Bruun-Hansen


h3. *nbbuild*

When building NetBeans the {{DownloadBinaries}} Ant task is executed. (this 
task downloads prerequisite artifacts from either Central Maven or 
{{https://netbeans.osuosl.org/binaries}})

However, via the {{ConfigureProxy}} class it implicitly uses a hard-coded 
connect timeout of 5 seconds. This would seem enough for the general case, but 
simply isn't enough for virtualized environments, such as GitHub Actions 
runners. Such environments typically incur a "first touch" penalty on outbound 
network connections, meaning that the first outbound connection to internet may 
require more connect time than 5 seconds. (after this it is of course fast). 

As a result, I see intermittent failures when the build is executed on GitHub 
Actions runners. Possibly someone else have seen the problem on other CI 
systems?

The failures have been hard to track down because both {{DownloadBinaries}} and 
{{ConfigureProxy}} are swallowing exceptions (not cool!). 

I'll create a PR. I'll make the connect timeout overridable via a property, but 
leave the default as-is for those who have become accustomed to the current 
fail-fast behavior.

 

 

 

 



--
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-5049) Crash in SemanticHighlighterBased for JSP

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga resolved NETBEANS-5049.
-
Resolution: Fixed

> Crash in SemanticHighlighterBased for JSP
> -
>
> Key: NETBEANS-5049
> URL: https://issues.apache.org/jira/browse/NETBEANS-5049
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.2
>Reporter: Jan Lahoda
>Assignee: Jan Lahoda
>Priority: Critical
>  Labels: pull-request-available
> Fix For: 12.3
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> The exception:
> {noformat}
> SEVERE [org.openide.util.Exceptions]
> java.lang.NullPointerException: Cannot invoke 
> "org.netbeans.api.lexer.TokenSequence.index()" because "this.ts" is null
>     at 
> org.netbeans.modules.java.editor.base.semantic.TokenList.index(TokenList.java:364)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitExpressionStatement(SemanticHighlighterBase.java:740)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitExpressionStatement(SemanticHighlighterBase.java:280)
>     at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1540)
>     at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86)
>     at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280)
>     at 
> jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:109)
>     at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>     at 
> jdk.compiler/com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:254)
>     at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1059)
>     at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86)
>     at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280)
>     at 
> jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:94)
>     at 
> jdk.compiler/com.sun.source.util.TreeScanner.visitMethod(TreeScanner.java:212)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethod(SemanticHighlighterBase.java:789)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethod(SemanticHighlighterBase.java:280)
>     at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:925)
>     at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86)
>     at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280)
>     at 
> jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:109)
>     at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitClass(SemanticHighlighterBase.java:944)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitClass(SemanticHighlighterBase.java:280)
>     at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:832)
>     at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86)
>     at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021)
>     at 
> 

[jira] [Commented] (NETBEANS-5049) Crash in SemanticHighlighterBased for JSP

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5049:
-

Since the PR is merged, I'm closing this as resolved.

> Crash in SemanticHighlighterBased for JSP
> -
>
> Key: NETBEANS-5049
> URL: https://issues.apache.org/jira/browse/NETBEANS-5049
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.2
>Reporter: Jan Lahoda
>Assignee: Jan Lahoda
>Priority: Critical
>  Labels: pull-request-available
> Fix For: 12.3
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> The exception:
> {noformat}
> SEVERE [org.openide.util.Exceptions]
> java.lang.NullPointerException: Cannot invoke 
> "org.netbeans.api.lexer.TokenSequence.index()" because "this.ts" is null
>     at 
> org.netbeans.modules.java.editor.base.semantic.TokenList.index(TokenList.java:364)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitExpressionStatement(SemanticHighlighterBase.java:740)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitExpressionStatement(SemanticHighlighterBase.java:280)
>     at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1540)
>     at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86)
>     at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280)
>     at 
> jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:109)
>     at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>     at 
> jdk.compiler/com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:254)
>     at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1059)
>     at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86)
>     at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280)
>     at 
> jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:94)
>     at 
> jdk.compiler/com.sun.source.util.TreeScanner.visitMethod(TreeScanner.java:212)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethod(SemanticHighlighterBase.java:789)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethod(SemanticHighlighterBase.java:280)
>     at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:925)
>     at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86)
>     at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280)
>     at 
> jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:109)
>     at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitClass(SemanticHighlighterBase.java:944)
>     at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitClass(SemanticHighlighterBase.java:280)
>     at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:832)
>     at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86)
>     at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>     at 
> 

[jira] [Closed] (NETBEANS-5140) SFTP Connection

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga closed NETBEANS-5140.
---
Resolution: Not A Problem

> SFTP Connection
> ---
>
> Key: NETBEANS-5140
> URL: https://issues.apache.org/jira/browse/NETBEANS-5140
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - FTP Support
>Affects Versions: 11.3, 12.2
> Environment: Windows 10
>Reporter: Josh Lawrence
>Priority: Blocker
> Attachments: channel-is-not-opened.png
>
>
> Everything was working perfectly until this morning.  When I try and sync, 
> upload or download files via an SFTP connection Netbeans connects to the 
> server perfectly but then seems to hit a roadblock.  Hosting company have 
> restarted the FTP service ... to no avail.
>  
> Here's the log ... which is useless because according to this everything 
> is perfect! 
> Connecting to r341.syd2.hostingplatform.net.au port 2683
> Connection established
> Remote version string: SSH-2.0-OpenSSH_7.4
> Local version string: SSH-2.0-JSCH-0.1.54
> CheckCiphers: 
> aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
> CheckKexes: 
> diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
> CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> SSH_MSG_KEXINIT sent
> SSH_MSG_KEXINIT received
> kex: server: 
> curve25519-sha256,curve25519-sha...@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> kex: server: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
> kex: server: 
> chacha20-poly1...@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-...@openssh.com,aes256-...@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc
> kex: server: 
> chacha20-poly1...@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-...@openssh.com,aes256-...@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc
> kex: server: 
> umac-64-...@openssh.com,umac-128-...@openssh.com,hmac-sha2-256-...@openssh.com,hmac-sha2-512-...@openssh.com,hmac-sha1-...@openssh.com,umac...@openssh.com,umac-...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
> kex: server: 
> umac-64-...@openssh.com,umac-128-...@openssh.com,hmac-sha2-256-...@openssh.com,hmac-sha2-512-...@openssh.com,hmac-sha1-...@openssh.com,umac...@openssh.com,umac-...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
> kex: server: none,z...@openssh.com
> kex: server: none,z...@openssh.com
> kex: server:
> kex: server:
> kex: client: 
> ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
> kex: client: 
> ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: none
> kex: client: none
> kex: client:
> kex: client:
> kex: server->client aes128-ctr hmac-sha1 none
> kex: client->server aes128-ctr hmac-sha1 none
> SSH_MSG_KEX_ECDH_INIT sent
> expecting SSH_MSG_KEX_ECDH_REPLY
> ssh_rsa_verify: signature true
> Permanently added 'r341.syd2.hostingplatform.net.au' (RSA) to the list of 
> known hosts.
> SSH_MSG_NEWKEYS sent
> SSH_MSG_NEWKEYS received
> SSH_MSG_SERVICE_REQUEST sent
> SSH_MSG_SERVICE_ACCEPT received
> Authentications that can continue: 
> gssapi-with-mic,publickey,keyboard-interactive,password
> Next authentication method: gssapi-with-mic
> Authentications that can continue: publickey,keyboard-interactive,password
> Next authentication method: publickey
> Authentications that can continue: password
> Next authentication method: password
> Authentication succeeded (password).
> QUIT
> Goodbye



--
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-5140) SFTP Connection

2021-03-22 Thread Josh Lawrence (Jira)


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

Josh Lawrence commented on NETBEANS-5140:
-

Hi there,

Apologies.  It turned out it was an issue at the server end.  Something 
was causing connections to be instantly disconnected.   Took a lot of 
time to get to the bottom of but was a great feeling once we did.

So please close.

Josh







> SFTP Connection
> ---
>
> Key: NETBEANS-5140
> URL: https://issues.apache.org/jira/browse/NETBEANS-5140
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - FTP Support
>Affects Versions: 11.3, 12.2
> Environment: Windows 10
>Reporter: Josh Lawrence
>Priority: Blocker
> Attachments: channel-is-not-opened.png
>
>
> Everything was working perfectly until this morning.  When I try and sync, 
> upload or download files via an SFTP connection Netbeans connects to the 
> server perfectly but then seems to hit a roadblock.  Hosting company have 
> restarted the FTP service ... to no avail.
>  
> Here's the log ... which is useless because according to this everything 
> is perfect! 
> Connecting to r341.syd2.hostingplatform.net.au port 2683
> Connection established
> Remote version string: SSH-2.0-OpenSSH_7.4
> Local version string: SSH-2.0-JSCH-0.1.54
> CheckCiphers: 
> aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
> CheckKexes: 
> diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
> CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> SSH_MSG_KEXINIT sent
> SSH_MSG_KEXINIT received
> kex: server: 
> curve25519-sha256,curve25519-sha...@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> kex: server: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
> kex: server: 
> chacha20-poly1...@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-...@openssh.com,aes256-...@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc
> kex: server: 
> chacha20-poly1...@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-...@openssh.com,aes256-...@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc
> kex: server: 
> umac-64-...@openssh.com,umac-128-...@openssh.com,hmac-sha2-256-...@openssh.com,hmac-sha2-512-...@openssh.com,hmac-sha1-...@openssh.com,umac...@openssh.com,umac-...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
> kex: server: 
> umac-64-...@openssh.com,umac-128-...@openssh.com,hmac-sha2-256-...@openssh.com,hmac-sha2-512-...@openssh.com,hmac-sha1-...@openssh.com,umac...@openssh.com,umac-...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
> kex: server: none,z...@openssh.com
> kex: server: none,z...@openssh.com
> kex: server:
> kex: server:
> kex: client: 
> ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
> kex: client: 
> ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: none
> kex: client: none
> kex: client:
> kex: client:
> kex: server->client aes128-ctr hmac-sha1 none
> kex: client->server aes128-ctr hmac-sha1 none
> SSH_MSG_KEX_ECDH_INIT sent
> expecting SSH_MSG_KEX_ECDH_REPLY
> ssh_rsa_verify: signature true
> Permanently added 'r341.syd2.hostingplatform.net.au' (RSA) to the list of 
> known hosts.
> SSH_MSG_NEWKEYS sent
> SSH_MSG_NEWKEYS received
> SSH_MSG_SERVICE_REQUEST sent
> SSH_MSG_SERVICE_ACCEPT received
> Authentications that can continue: 
> gssapi-with-mic,publickey,keyboard-interactive,password
> Next authentication method: gssapi-with-mic
> Authentications that can continue: publickey,keyboard-interactive,password
> Next authentication method: publickey
> Authentications that can continue: password
> Next authentication method: password
> Authentication succeeded (password).
> QUIT
> Goodbye



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For 

[jira] [Commented] (NETBEANS-5162) NetBean 12.2 includes an incompatible bundled version of maven (3.6.0)

2021-03-22 Thread Neil C Smith (Jira)


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

Neil C Smith commented on NETBEANS-5162:


I'm not sure if we can fix this until Maven address that issue?  But perhaps 
[~belgarat] could take a look?  There's a bunch of other Maven argument passing 
changes going in to 12.4.

> NetBean 12.2 includes an incompatible bundled version of maven (3.6.0) 
> ---
>
> Key: NETBEANS-5162
> URL: https://issues.apache.org/jira/browse/NETBEANS-5162
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0, 12.1, 12.2
>Reporter: MALIET Yves
>Priority: Major
> Attachments: The one that works.PNG, pom.7z, snippet_week_of_2121.7z, 
> the one thar fails.PNG
>
>
> I have no problem to build a project but not able to debug it (java project)
> I'm facing the same issue as the MNG-6970 "The syntax of the command is 
> incorrect"
> I also have a Netbeans 11.3 installed on the same machine, if I force 12.2 to 
> use the maven bundled with 11.3 (maven v 3.3.9), the debugger works like a 
> charm in 12.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-5162) NetBean 12.2 includes an incompatible bundled version of maven (3.6.0)

2021-03-22 Thread MALIET Yves (Jira)


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

MALIET Yves commented on NETBEANS-5162:
---

yes, it does.

> NetBean 12.2 includes an incompatible bundled version of maven (3.6.0) 
> ---
>
> Key: NETBEANS-5162
> URL: https://issues.apache.org/jira/browse/NETBEANS-5162
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0, 12.1, 12.2
>Reporter: MALIET Yves
>Priority: Major
> Attachments: The one that works.PNG, pom.7z, snippet_week_of_2121.7z, 
> the one thar fails.PNG
>
>
> I have no problem to build a project but not able to debug it (java project)
> I'm facing the same issue as the MNG-6970 "The syntax of the command is 
> incorrect"
> I also have a Netbeans 11.3 installed on the same machine, if I force 12.2 to 
> use the maven bundled with 11.3 (maven v 3.3.9), the debugger works like a 
> charm in 12.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-5162) NetBean 12.2 includes an incompatible bundled version of maven (3.6.0)

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5162:
-

And that varies per which Maven version you use?

> NetBean 12.2 includes an incompatible bundled version of maven (3.6.0) 
> ---
>
> Key: NETBEANS-5162
> URL: https://issues.apache.org/jira/browse/NETBEANS-5162
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0, 12.1, 12.2
>Reporter: MALIET Yves
>Priority: Major
> Attachments: The one that works.PNG, pom.7z, snippet_week_of_2121.7z, 
> the one thar fails.PNG
>
>
> I have no problem to build a project but not able to debug it (java project)
> I'm facing the same issue as the MNG-6970 "The syntax of the command is 
> incorrect"
> I also have a Netbeans 11.3 installed on the same machine, if I force 12.2 to 
> use the maven bundled with 11.3 (maven v 3.3.9), the debugger works like a 
> charm in 12.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-5162) NetBean 12.2 includes an incompatible bundled version of maven (3.6.0)

2021-03-22 Thread MALIET Yves (Jira)


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

MALIET Yves commented on NETBEANS-5162:
---

Hi,

I have a workaround but this issue is not solved for me: I'm stuck with file 
paths containing no spaces.
Regards,

Y.

> NetBean 12.2 includes an incompatible bundled version of maven (3.6.0) 
> ---
>
> Key: NETBEANS-5162
> URL: https://issues.apache.org/jira/browse/NETBEANS-5162
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0, 12.1, 12.2
>Reporter: MALIET Yves
>Priority: Major
> Attachments: The one that works.PNG, pom.7z, snippet_week_of_2121.7z, 
> the one thar fails.PNG
>
>
> I have no problem to build a project but not able to debug it (java project)
> I'm facing the same issue as the MNG-6970 "The syntax of the command is 
> incorrect"
> I also have a Netbeans 11.3 installed on the same machine, if I force 12.2 to 
> use the maven bundled with 11.3 (maven v 3.3.9), the debugger works like a 
> charm in 12.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] [Updated] (NETBEANS-5162) NetBean 12.2 includes an incompatible bundled version of maven (3.6.0)

2021-03-22 Thread MALIET Yves (Jira)


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

MALIET Yves updated NETBEANS-5162:
--
Priority: Major  (was: Blocker)

> NetBean 12.2 includes an incompatible bundled version of maven (3.6.0) 
> ---
>
> Key: NETBEANS-5162
> URL: https://issues.apache.org/jira/browse/NETBEANS-5162
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0, 12.1, 12.2
>Reporter: MALIET Yves
>Priority: Major
> Attachments: The one that works.PNG, pom.7z, snippet_week_of_2121.7z, 
> the one thar fails.PNG
>
>
> I have no problem to build a project but not able to debug it (java project)
> I'm facing the same issue as the MNG-6970 "The syntax of the command is 
> incorrect"
> I also have a Netbeans 11.3 installed on the same machine, if I force 12.2 to 
> use the maven bundled with 11.3 (maven v 3.3.9), the debugger works like a 
> charm in 12.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-5140) SFTP Connection

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5140:
-

Is this still a problem and reproducible in 12.3?

> SFTP Connection
> ---
>
> Key: NETBEANS-5140
> URL: https://issues.apache.org/jira/browse/NETBEANS-5140
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - FTP Support
>Affects Versions: 11.3, 12.2
> Environment: Windows 10
>Reporter: Josh Lawrence
>Priority: Blocker
> Attachments: channel-is-not-opened.png
>
>
> Everything was working perfectly until this morning.  When I try and sync, 
> upload or download files via an SFTP connection Netbeans connects to the 
> server perfectly but then seems to hit a roadblock.  Hosting company have 
> restarted the FTP service ... to no avail.
>  
> Here's the log ... which is useless because according to this everything 
> is perfect! 
> Connecting to r341.syd2.hostingplatform.net.au port 2683
> Connection established
> Remote version string: SSH-2.0-OpenSSH_7.4
> Local version string: SSH-2.0-JSCH-0.1.54
> CheckCiphers: 
> aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
> CheckKexes: 
> diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
> CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> SSH_MSG_KEXINIT sent
> SSH_MSG_KEXINIT received
> kex: server: 
> curve25519-sha256,curve25519-sha...@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> kex: server: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
> kex: server: 
> chacha20-poly1...@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-...@openssh.com,aes256-...@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc
> kex: server: 
> chacha20-poly1...@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-...@openssh.com,aes256-...@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc
> kex: server: 
> umac-64-...@openssh.com,umac-128-...@openssh.com,hmac-sha2-256-...@openssh.com,hmac-sha2-512-...@openssh.com,hmac-sha1-...@openssh.com,umac...@openssh.com,umac-...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
> kex: server: 
> umac-64-...@openssh.com,umac-128-...@openssh.com,hmac-sha2-256-...@openssh.com,hmac-sha2-512-...@openssh.com,hmac-sha1-...@openssh.com,umac...@openssh.com,umac-...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
> kex: server: none,z...@openssh.com
> kex: server: none,z...@openssh.com
> kex: server:
> kex: server:
> kex: client: 
> ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
> kex: client: 
> ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: none
> kex: client: none
> kex: client:
> kex: client:
> kex: server->client aes128-ctr hmac-sha1 none
> kex: client->server aes128-ctr hmac-sha1 none
> SSH_MSG_KEX_ECDH_INIT sent
> expecting SSH_MSG_KEX_ECDH_REPLY
> ssh_rsa_verify: signature true
> Permanently added 'r341.syd2.hostingplatform.net.au' (RSA) to the list of 
> known hosts.
> SSH_MSG_NEWKEYS sent
> SSH_MSG_NEWKEYS received
> SSH_MSG_SERVICE_REQUEST sent
> SSH_MSG_SERVICE_ACCEPT received
> Authentications that can continue: 
> gssapi-with-mic,publickey,keyboard-interactive,password
> Next authentication method: gssapi-with-mic
> Authentications that can continue: publickey,keyboard-interactive,password
> Next authentication method: publickey
> Authentications that can continue: password
> Next authentication method: password
> Authentication succeeded (password).
> QUIT
> Goodbye



--
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-5241) Opening a project gives an error

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5241:
-

This is an issue marked for 12.0, can it be reproduced for 12.3, and if so, can 
a project be provided for reproducing this problem?

> Opening a project gives an error
> 
>
> Key: NETBEANS-5241
> URL: https://issues.apache.org/jira/browse/NETBEANS-5241
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
> Environment: Windows 10, NetBeans 12.0
>Reporter: JW
>Priority: Blocker
> Fix For: 12.0
>
> Attachments: Error.txt, IDELog.txt, UserConfiguration.txt
>
>
> When I try to open a project, my NetBeans gives me an error. See the attached 
> files for the errors and my user configuration. I am not really sure what 
> goes wrong, but I feel like the problem lies in accessing the file system. I 
> hope someone can make more sense of the errors I received.



--
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-5162) NetBean 12.2 includes an incompatible bundled version of maven (3.6.0)

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5162:
-

Is there more that needs to be done for this issue or is it resolved?

> NetBean 12.2 includes an incompatible bundled version of maven (3.6.0) 
> ---
>
> Key: NETBEANS-5162
> URL: https://issues.apache.org/jira/browse/NETBEANS-5162
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0, 12.1, 12.2
>Reporter: MALIET Yves
>Priority: Blocker
> Attachments: The one that works.PNG, pom.7z, snippet_week_of_2121.7z, 
> the one thar fails.PNG
>
>
> I have no problem to build a project but not able to debug it (java project)
> I'm facing the same issue as the MNG-6970 "The syntax of the command is 
> incorrect"
> I also have a Netbeans 11.3 installed on the same machine, if I force 12.2 to 
> use the maven bundled with 11.3 (maven v 3.3.9), the debugger works like a 
> charm in 12.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-5098) SessionBean - EJB Container initialization error

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5098:
-

If you restart with a new user directory (delete the existing one), do you 
still encounter the problem?

I am not saying that removing the user directory is the solution here, I am 
asking you if you can still reproduce the problem after starting with a fresh 
user directory in order to find out what the problem might be.

> SessionBean - EJB Container initialization error
> 
>
> Key: NETBEANS-5098
> URL: https://issues.apache.org/jira/browse/NETBEANS-5098
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - EJB
>Affects Versions: 12.2, 12.3
> Environment: Netbeans 12.3, glassfish-4.1.2, jdk-15.0.1
>Reporter: S. M.
>Priority: Blocker
>
> Reopened because: It worked with new NB 12.3 for a week or so - now the 
> Exception popped up again and is lasting now. There where no changes made 
> from my side.
> By the way: NETBEANS-5099 popped up at the same time.
> The exactly same code works fine when it is compiled and deployed outside 
> Netbeans or with an older Netbeans version. So I feel it is a Netbeans Issue.
> How to reproduce: Make a new Java Ant/Java Enterprise/EJB Module and add an 
> 'empty' Session-EJB to the project: 
> (The critical point seems to be the LocalBean annotation. When the local 
> interface is implemented by a concrete class it works.)
> {code}
> package test;
> import javax.ejb.LocalBean;
> import javax.ejb.Stateless;
> @Stateless
> @LocalBean
>  public class NewSessionBean {
>  }
> {code}
> Deploy the module within Netbeans to Glassfish.
> The exactly same code works fine when it is deployed outside Netbeans or with 
> an older Netbeans version. So I feel it is a Netbeans Issue.
> At deployment on Glassfish 5 the following Exeption occurs:
> {code}
> java.lang.RuntimeException: EJB Container initialization error
>   at 
> org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:234)
>   at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:291)
>   at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:99)
>   at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:206)
>   at 
> org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:313)
>   at 
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:496)
>   at 
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
>   at 
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at javax.security.auth.Subject.doAs(Subject.java:360)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at javax.security.auth.Subject.doAs(Subject.java:360)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846)
>   at 
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722)
>   at 
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534)
>   at 
> com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224)
>   at 
> org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:189)
>   at 
> com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)
>   at 
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)
>   at 
> org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
>   at 
> org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
>   at 
> org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
>   at 
> 

[jira] [Commented] (NETBEANS-5476) New project - failure to open on Windows-Linux network path (WSL)

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5476:
-

Is this true for all PHP projects that you create from sources or only for this 
specific case? 

Can you try to create a PHP project from different sources to see whether it 
can be reproduced consistently or only for this specific set of sources?

> New project - failure to open on Windows-Linux network path (WSL) 
> --
>
> Key: NETBEANS-5476
> URL: https://issues.apache.org/jira/browse/NETBEANS-5476
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Luca De Prisco
>Priority: Blocker
>
> Hello everybody,
> here is my situation:
> Windows 10 Pro with Ubuntu WSL 20.04 subsystem
> After installing the IDE NetBeans and have correctly installed the JDK 8, I 
> tried to create a new PHP project that aimed at existing sources.
>  In the specification of the "Sourcer Folder" I enter the following path:
> WSL $ ubuntu-20.04 Home Luke inova
> The project is not created and I get a warning error message (at the bottom 
> right), with the following details:
>  
> java.net.URISyntaxException: Illegal character in hostname at index 10: 
> [file://wsl$/Ubuntu-20.04/home/luca/inova/|file:///Ubuntu-20.04/home/luca/inova/]
>  at java.net.URI$Parser.fail(URI.java:2848)
>  at java.net.URI$Parser.parseHostname(URI.java:3387)
>  at java.net.URI$Parser.parseServer(URI.java:3236)
>  at java.net.URI$Parser.parseAuthority(URI.java:3155)
>  at java.net.URI$Parser.parseHierarchical(URI.java:3097)
>  at java.net.URI$Parser.parse(URI.java:3053)
>  at java.net.URI.(URI.java:673)
>  at java.net.URI.(URI.java:774)
>  at 
> org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:111)
>  Caused: java.lang.Error
>  at 
> org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:113)
>  at 
> org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:105)
>  at 
> org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.fileToURL(FileBasedURLMapper.java:87)
>  at 
> org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.getURL(FileBasedURLMapper.java:50)
>  at 
> org.netbeans.modules.masterfs.MasterURLMapper.getURL(MasterURLMapper.java:44)
>  at org.openide.filesystems.URLMapper.findURL(URLMapper.java:115)
>  at org.openide.filesystems.FileObject.toURL(FileObject.java:1216)
>  at org.openide.filesystems.FileObject.toURI(FileObject.java:1227)
>  at 
> org.netbeans.modules.cpplite.project.CPPLiteProject.getRootPreferences(CPPLiteProject.java:64)
>  at 
> org.netbeans.modules.cpplite.project.CPPLiteProject.access$200(CPPLiteProject.java:51)
>  at 
> org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject2(CPPLiteProject.java:151)
>  at 
> org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject(CPPLiteProject.java:160)
>  at 
> org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.loadProject(CPPLiteProject.java:165)
>  at 
> org.netbeans.modules.projectapi.nb.NbProjectManager.createProject(NbProjectManager.java:376)
>  at 
> org.netbeans.modules.projectapi.nb.NbProjectManager.access$300(NbProjectManager.java:69)
>  at 
> org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:289)
>  at 
> org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:218)
>  at 
> org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188)
>  at org.openide.util.Mutex.readAccess(Mutex.java:231)
>  at 
> org.netbeans.modules.projectapi.nb.NbProjectManager.findProject(NbProjectManager.java:218)
>  at 
> org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:142)
>  at 
> org.netbeans.modules.php.project.util.PhpProjectUtils.isProject(PhpProjectUtils.java:102)
>  at 
> org.netbeans.modules.php.project.ui.wizards.ConfigureProjectPanel.validateSources(ConfigureProjectPanel.java:480)
>  at 
> org.netbeans.modules.php.project.ui.wizards.ConfigureProjectPanel.isValid(ConfigureProjectPanel.java:246)
>  at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:850)
>  at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:797)
>  at org.openide.loaders.TemplateWizard.updateState(TemplateWizard.java:758)
>  at 
> org.netbeans.modules.project.ui.NewProjectWizard.updateState(NewProjectWizard.java:59)
>  at org.openide.WizardDescriptor._updateState(WizardDescriptor.java:775)
>  at org.openide.WizardDescriptor.access$200(WizardDescriptor.java:67)
>  at 
> org.openide.WizardDescriptor$Listener.stateChanged(WizardDescriptor.java:2156)
>  at 
> 

[jira] [Commented] (NETBEANS-2317) Convert any project to Maven project

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-2317:
-

Isn't simply restarting the IDE enough? Are you sure you need to restart the 
PC? And, also in 12.3?

> Convert any project to Maven project
> 
>
> Key: NETBEANS-2317
> URL: https://issues.apache.org/jira/browse/NETBEANS-2317
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven, projects - Generic Projects UI, 
> projects - Maven
>Affects Versions: 10.0
>Reporter: Antônio Diego da LuZ silva
>Assignee: Antônio Diego da LuZ silva
>Priority: Critical
>
> When put a pom.xml on the root folder of an project then remove the nbproject 
> folder the NetBeans continues recognizing the project as the previous format 
> until the PC is rstarted. This can be corrected renaming the root folde and 
> renaming the project. My expectancy is that the project be recognized as a 
> Maven project imediately or after it be reopened.



--
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-2357) I was trying to resize my consile screen and the netbeans application stalled

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-2357:
-

Is this still a problem in 12.3 and, if not, can this be closed?

> I was trying to resize my consile screen and the netbeans application stalled
> -
>
> Key: NETBEANS-2357
> URL: https://issues.apache.org/jira/browse/NETBEANS-2357
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Beans
>Affects Versions: 10.0
> Environment: NetBeans 10
>Reporter: Ed Casas
>Assignee: Ed Casas
>Priority: Critical
> Fix For: Next
>
> Attachments: Bug_In_NetBeans_ECC.txt
>
>
> I was trying to resize console screen and the application stalled and a 
> message appear to create a issue ticket here is what doing when all this 
> happened.
>  



--
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-2364) "The bootPath parameter cannot be null" when trying to run app being made

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-2364:
-

Is this still a problem in 12.3? If not, can this be closed?

> "The bootPath parameter cannot be null" when trying to run app being made
> -
>
> Key: NETBEANS-2364
> URL: https://issues.apache.org/jira/browse/NETBEANS-2364
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0, 11.0
>Reporter: Windfarmer
>Priority: Critical
>
> Restarted project and updated NetBeans in hope of fixing, 
> NullPointerException given after pressing run button after clicking review 
> and report link in notification
> ---
> >Log Session: Sunday, April 7, 2019 at 10:54:09 PM Eastern Daylight Time
> >System Info: 
>  Product Version = Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
>  Operating System = Windows 10 version 10.0 running on amd64
>  Java; VM; Vendor = 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS; 
> Oracle Corporation
>  Runtime = Java(TM) SE Runtime Environment 11.0.1+13-LTS
>  Java Home = C:\Program Files\Java\jdk-11.0.1
>  System Locale; Encoding = en_US (nb); Cp1252
>  Home Directory = C:\Users\Wyatt
>  Current Directory = 
> C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\bin
>  User Directory = C:\Users\Wyatt\AppData\Roaming\NetBeans\11.0
>  Cache Directory = C:\Users\Wyatt\AppData\Local\NetBeans\Cache\11.0
>  Installation = 
> C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\nb
>  C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\ergonomics
>  C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\ide
>  C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\extide
>  C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\java
>  C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\apisupport
>  C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\webcommon
>  C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\websvccommon
>  C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\enterprise
>  C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\profiler
>  C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\php
>  C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\harness
>  C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\groovy
>  C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\javafx
>  C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\platform
>  Boot & Ext. Classpath = 
>  Application Classpath = 
> C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\platform\lib\boot.jar;C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\platform\lib\org-openide-modules.jar;C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\platform\lib\org-openide-util-lookup.jar;C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\platform\lib\org-openide-util-ui.jar;C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\platform\lib\org-openide-util.jar
>  Startup Classpath = 
> C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\platform\core\asm-all-5.0.1.jar;C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\platform\core\core-base.jar;C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\platform\core\core.jar;C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\platform\core\org-netbeans-libs-asm.jar;C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\platform\core\org-openide-filesystems-compat8.jar;C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\platform\core\org-openide-filesystems.jar;C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\nb\core\org-netbeans-upgrader.jar;C:\Users\Wyatt\Downloads\incubating-netbeans-11.0-bin\netbeans\nb\core\locale\core_nb.jar
> ---
> INFO [org.netbeans.upgrade.AutoUpgrade]: Importing from 
> C:\Users\Wyatt\AppData\Roaming\NetBeans\9.0 to 
> C:\Users\Wyatt\AppData\Roaming\NetBeans\11.0
> INFO [org.netbeans.modules.netbinox]: Install area set to 
> file:/C:/Users/Wyatt/Downloads/incubating-netbeans-11.0-bin/netbeans/
> WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated.
> WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.structure which is deprecated.
> WARNING 

[jira] [Commented] (NETBEANS-2369) Gradle support for displaying non-standard gradle files

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-2369:
-

Has this been implemented, [~lkishalmi], and if so can this be closed?

> Gradle support for displaying non-standard gradle files
> ---
>
> Key: NETBEANS-2369
> URL: https://issues.apache.org/jira/browse/NETBEANS-2369
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Affects Versions: 11.0
>Reporter: Charles George
>Priority: Critical
>
> Multi-project builds in Gradle may contain a common gradle file shared among 
> subprojects. For example, I have a common.gradle file applied to each 
> subproject in the root projects build.gradle file.
> The "Projects" view in NetBeans only lists build.gradle, settings.gradle, and 
> gradle.properties under the "Build Scripts" section. The regex or code that 
> is determining which files to display should be relaxed to include something 
> like *.gradle. Otherwise I'm forced to go into the "Files" view to find the 
> common.gradle file in my root project.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1195) Netbeans freezes after cvs commit

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-1195:
-

Is this still a problem in 12.3?

Is it possible for you to move from CVS to Git (and GitHub) instead?

> Netbeans freezes after cvs commit
> -
>
> Key: NETBEANS-1195
> URL: https://issues.apache.org/jira/browse/NETBEANS-1195
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Stefan
>Priority: Critical
> Attachments: Thread-Dump1-NetBeans-Freeze1.tdump, Thread-Dump1.txt, 
> Thread-Dump2-NetBeans-Freeze1.tdump, Thread-Dump2.txt
>
>
> After cvs-commit Netbeans freezes and after 10 Minutes I killed the instance 
> (no response anymore).
> I´ve attached 2 Thread-Dumps (7 Minutes between Dump1 and Dump2).
>  
> System:
> *Product Version:* Apache NetBeans IDE 9.0 (Build 
> incubator-netbeans-release-334-on-20180708)
> *Java:* 1.8.0_161; Java HotSpot(TM) 64-Bit Server VM 25.161-b12
> *Runtime:* Java(TM) SE Runtime Environment 1.8.0_161-b12
> *System:* Windows 10 version 10.0 running on amd64; Cp1252; de_AT (nb)



--
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-2512) NullPointerException when I try to Refactor / rename a Java class

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-2512:
-

Can you try to reproduce this problem in 12.3? If you can reproduce it, can you 
provide steps for others to try to reproduce the problem?

> NullPointerException when I try to Refactor / rename a Java class
> -
>
> Key: NETBEANS-2512
> URL: https://issues.apache.org/jira/browse/NETBEANS-2512
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment:   Mac OS X, 10.14.4, x86_64
>   Java HotSpot(TM) 64-Bit Server VM, 25.181-b13, Java(TM) SE Runtime 
> Environment, 1.8.0_181-b13
>Reporter: Al Ourtilani
>Priority: Critical
>
> 
>   2019-05-07T16:53:30
>   1557240810445
>   533
>   700
>   28
>   UI_USER_CONFIGURATION
>   UI_USER_CONFIGURATION
>   org.netbeans.modules.uihandler.Bundle
>   Mac OS X, 10.14.4, x86_64
>   Java HotSpot(TM) 64-Bit Server VM, 25.181-b13, Java(TM) SE Runtime 
> Environment, 1.8.0_181-b13
>   Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
>   
>   NullPointerException at 
> org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$NodeToFileObjectTask.run
>   Please provide a description of the problem or the steps to 
> reproduce
>   *
> 
> I tried to rename a java class using the Refactor menu from Project view / 
> Files view and Editor and nothing happened.
>  
>  



--
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-1902) Programm stopps without visible reason: Thread stopped at Java

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-1902:
-

Can you provide a scenario that we can use to reproduce the issue, i.e., in 
steps? What specific steps must be taken to reproduce this scenario -- not in 
paragraphs, please, but in numbered steps?

> Programm stopps without visible reason: Thread stopped at Java 
> ---
>
> Key: NETBEANS-1902
> URL: https://issues.apache.org/jira/browse/NETBEANS-1902
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 9.0, 10.0
> Environment: Windows 10 Pro, Java 8 unter Netbeans Apache 10.0
>Reporter: Thomas Willms
>Priority: Critical
>  Labels: command-line, debugger
>
> Ich habe ein umfangreiches komplexes Java-Kommandozeilen-Programm 
> geschrieben. Wenn ich durch eine programmierte Funktion mit Debug jeden 
> Schritt einzeln durchlaufe, funktioniert alles. Wenn ich jedoch durch 
> dieselbe Funktion nicht komplett die einzelnen Schritte durchlaufe, sondern 
> sie mit F8 durchlaufe, dann verschwindet auf einmal die grüne Farbe des 
> Balkens, der die aktuelle Position angibt. Das Programm läuft laut Menü/Run 
> noch, aber es gibt eine Meldung "Thread stopped at Java (Liniennummer)" User 
> Program running".  Es wurde aber keine Zeile erreicht, an der eine Eingabe 
> erforderlich ist. Es bleibt keine andere Möglichkeit, als das geschriebene 
> Programm neu zu starten. Ein Deadlock wird nicht gefunden. Weiteres 
> Durchlaufen mit dem Debugger ist nicht möglich. Der Balken erscheint auch 
> nicht neu, wenn man F8 drückt. Das Programm ist jedoch nicht fertig 
> durchgelaufen.
> Wenn ich dieselbe Funktion, die vorher mit F8 nicht funktionierte, weil das 
> angegebene Phänomen auftritt, mit dem Debugger Zeile für Zeile mit F7 
> durchlaufe, dann funktioniert alles auf einmal. Dies ist viele Male 
> aufgetreten.
> Ein Grund für das Stoppen des Threads ist nicht ersichtlich, obwohl es 
> manchmal den Anschein hat, als ob es daran liegen könnte, dass an derselben 
> Stelle vorher ein Haltepunkt war.
> Das Problem taucht sogar beim ganz normalen Starten des Programmes mit Run 
> statt mit Debug auf. Leider ist es schwierig, das Auftauchen definiert zu 
> reproduzieren. Es ist jedoch so häufig, dass es immer wieder mal auftritt, 
> ohne dass man es jedoch vorhersagen könnte.
>  Kann mir da jemand helfen?
>  



--
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-5123) Scanner class is not working

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5123:
-

Hello [~Ravenman], as requested above, can you try to reproduce the problem 
again to see if it is still a problem in 12.3?

> Scanner class is not working
> 
>
> Key: NETBEANS-5123
> URL: https://issues.apache.org/jira/browse/NETBEANS-5123
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.1, 12.2
> Environment: Product Version: Apache NetBeans IDE 12.2
> Java: 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12
> Runtime: OpenJDK Runtime Environment 14.0.2+12
> System: Linux version 5.9.13-arch1-1 running on amd64; UTF-8; en_US (nb)
> User directory: /home/user/.netbeans/12.2
> Cache directory: /home/user/.cache/netbeans/12.2
>Reporter: Maxwell
>Priority: Blocker
>
> Hi,
> I'm trying to use the scanner function in Netbeans on GNU/Linux and I can't 
> get anything. I did a search on the web and I found this similar issues 
> reports:
> [Found in 
> Reddit:|https://www.reddit.com/r/javahelp/comments/hogiy0/problem_with_netbeans_ide_cant_run_scanner/]
> [Found in 
> StackOverFlow|https://stackoverflow.com/questions/65093960/problem-with-java-scanner-when-using-netbeans-it-does-not-show-any-reaction]
> Can you check and fix this ASAP, please?
>  



--
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-5371) The generated JUnit 5 code cannot be run.

2021-03-22 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5371:
-

Can you nevertheless try to reproduce the problem with a Maven based project, 
to see whether the problem you've identified is specific to Ant-based projects 
for you?

> The generated JUnit 5 code cannot be run.
> -
>
> Key: NETBEANS-5371
> URL: https://issues.apache.org/jira/browse/NETBEANS-5371
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit, java - Project
>Affects Versions: 12.3
> Environment: Windows 10, Apache NetBeans 12.3, Java 16
>Reporter: Michal Rama
>Priority: Blocker
>  Labels: JUnit, java, junit, junit5, test
> Attachments: obr.png, obr�zek53.png
>
>
> Hello,
> I created a simple class.
> {code:java}
> public class Example  {
> public static void main(String[] args) {
> var color = new Example();
> System.out.println(color.isTextBlack("black"));
> System.out.println(color.isTextBlack("white"));
> }
> public boolean isTextBlack(String color) {
> return color.equals("black");
> }
> }
> {code}
> Then I create a JUnit 5 test via a "bulb" on the class line.
> !obr.png!
> !obr�zek53.png!
> A file with this code will be generated.
> {code:java}
> import org.junit.jupiter.api.AfterEach;
> import org.junit.jupiter.api.AfterAll;
> import org.junit.jupiter.api.BeforeEach;
> import org.junit.jupiter.api.BeforeAll;
> import org.junit.jupiter.api.Test;
> import static org.junit.jupiter.api.Assertions.*;
> public class ExampleTest {
> 
> public ExampleTest() {
> }
> 
> @BeforeAll
> public static void setUpClass() {
> }
> 
> @AfterAll
> public static void tearDownClass() {
> }
> 
> @BeforeEach
> public void setUp() {
> }
> 
> @AfterEach
> public void tearDown() {
> }
> /**
>  * Test of main method, of class Example.
>  */
> @Test
> public void testMain() {
> System.out.println("main");
> String[] args = null;
> Example.main(args);
> // TODO review the generated test code and remove the default call to 
> fail.
> fail("The test case is a prototype.");
> }
> /**
>  * Test of isTextBlack method, of class Example.
>  */
> @Test
> public void testIsTextBlack() {
> System.out.println("isTextBlack");
> String color = "";
> Example instance = new Example();
> boolean expResult = false;
> boolean result = instance.isTextBlack(color);
> assertEquals(expResult, result);
> // TODO review the generated test code and remove the default call to 
> fail.
> fail("The test case is a prototype.");
> }
> }
> {code}
> If I run it, it will crash with this error
> {code:java}
> warning: unknown enum constant Status.STABLE
>   reason: class file for org.apiguardian.api.API$Status not found
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant Status.STABLE
> warning: unknown enum constant 

[jira] [Commented] (NETBEANS-5363) Java Refactoring Failure

2021-03-22 Thread Eddy / Hok (Jira)


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

Eddy / Hok commented on NETBEANS-5363:
--

I've tested it on Windows 10, and still, get the same error.  The only platform 
that I've not tested yet, is Mac OS.

> Java Refactoring Failure
> 
>
> Key: NETBEANS-5363
> URL: https://issues.apache.org/jira/browse/NETBEANS-5363
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring
>Affects Versions: 12.2
> Environment: 
> ---
> >Log Session: Saturday, February 13, 2021 at 9:11:37 AM Western Indonesia Time
> >System Info: 
>  Product Version = Apache NetBeans IDE 12.2
>  Operating System = Linux version 5.8.0-43-generic running on amd64
>  Java; VM; Vendor = 11.0.10; OpenJDK 64-Bit Server VM 
> 11.0.10+9-Ubuntu-0ubuntu1.20.04; Ubuntu
>  Runtime = OpenJDK Runtime Environment 11.0.10+9-Ubuntu-0ubuntu1.20.04
>  Java Home = /usr/lib/jvm/java-11-openjdk-amd64
>  System Locale; Encoding = en_US (nb); UTF-8
>  Home Directory = /home/eddy
>  Current Directory = /home/eddy
>  User Directory = /home/eddy/snap/netbeans/common/data/12.2
>  Cache Directory = /home/eddy/snap/netbeans/common/cache/12.2
>  Installation = /snap/netbeans/41/netbeans/nb
>  /snap/netbeans/41/netbeans/ergonomics
>  /snap/netbeans/41/netbeans/ide
>  /snap/netbeans/41/netbeans/extide
>  /snap/netbeans/41/netbeans/java
>  /snap/netbeans/41/netbeans/apisupport
>  /snap/netbeans/41/netbeans/webcommon
>  /snap/netbeans/41/netbeans/websvccommon
>  /snap/netbeans/41/netbeans/enterprise
>  /snap/netbeans/41/netbeans/profiler
>  /snap/netbeans/41/netbeans/php
>  /snap/netbeans/41/netbeans/harness
>  /snap/netbeans/41/netbeans/cpplite
>  /snap/netbeans/41/netbeans/groovy
>  /snap/netbeans/41/netbeans/extra
>  /snap/netbeans/41/netbeans/javafx
>  /snap/netbeans/41/netbeans/platform
>  Boot & Ext. Classpath = 
>  Application Classpath = 
> /snap/netbeans/41/netbeans/platform/lib/boot.jar:/snap/netbeans/41/netbeans/platform/lib/org-openide-modules.jar:/snap/netbeans/41/netbeans/platform/lib/org-openide-util.jar:/snap/netbeans/41/netbeans/platform/lib/org-openide-util-lookup.jar:/snap/netbeans/41/netbeans/platform/lib/org-openide-util-ui.jar
>  Startup Classpath = 
> /snap/netbeans/41/netbeans/platform/core/asm-8.0.1.jar:/snap/netbeans/41/netbeans/platform/core/asm-commons-8.0.1.jar:/snap/netbeans/41/netbeans/platform/core/asm-tree-8.0.1.jar:/snap/netbeans/41/netbeans/platform/core/core-base.jar:/snap/netbeans/41/netbeans/platform/core/core.jar:/snap/netbeans/41/netbeans/platform/core/org-netbeans-libs-asm.jar:/snap/netbeans/41/netbeans/platform/core/org-openide-filesystems-compat8.jar:/snap/netbeans/41/netbeans/platform/core/org-openide-filesystems.jar:/snap/netbeans/41/netbeans/nb/core/org-netbeans-upgrader.jar:/snap/netbeans/41/netbeans/nb/core/locale/core_nb.jar
> ---
> INFO [org.netbeans.modules.netbinox]: Install area set to 
> file:/snap/netbeans/41/netbeans/
> WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated.
> WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.structure which is deprecated.
> WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.ant.hints, org.netbeans.modules.java.hints, 
> org.netbeans.modules.jshell.support, org.netbeans.modules.maven.hints] use 
> org.netbeans.modules.java.hints.legacy.spi which is deprecated: Use Java 
> Hints SPI (org.netbeans.spi.java.hints) instead.
> INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
>  slf4j.jdk14 [1.7.28 1.7.28]
>  slf4j.api [1.7.28 1.7.28]
>  org.openide.util.lookup [8.44 12.2-d73d3dd898acc440c460924dabf8ad5feb90369f]
>  org.openide.util [9.17 12.2-d73d3dd898acc440c460924dabf8ad5feb90369f]
>  org.openide.util.ui [9.18 12.2-d73d3dd898acc440c460924dabf8ad5feb90369f]
>  org.openide.modules [7.58 12.2-d73d3dd898acc440c460924dabf8ad5feb90369f]
>  org.netbeans.api.annotations.common/1 [1.37 
> 12.2-d73d3dd898acc440c460924dabf8ad5feb90369f]
>  org.openide.filesystems [9.20 12.2-d73d3dd898acc440c460924dabf8ad5feb90369f]
>  org.openide.awt [7.78 12.2-d73d3dd898acc440c460924dabf8ad5feb90369f]
>  org.netbeans.api.progress/1 [1.57 
> 12.2-d73d3dd898acc440c460924dabf8ad5feb90369f]
>  org.netbeans.api.progress.nb [1.57 
> 12.2-d73d3dd898acc440c460924dabf8ad5feb90369f]
>  org.openide.dialogs [7.52 12.2-d73d3dd898acc440c460924dabf8ad5feb90369f]
>  org.openide.nodes [7.55 12.2-d73d3dd898acc440c460924dabf8ad5feb90369f]
>  org.openide.windows [6.87 

[jira] [Created] (NETBEANS-5477) Showing suggestion/autocomplete/javadoc in lambda does not work

2021-03-22 Thread Netbeans User 2019 (Jira)
Netbeans User 2019 created NETBEANS-5477:


 Summary: Showing suggestion/autocomplete/javadoc in lambda does 
not work
 Key: NETBEANS-5477
 URL: https://issues.apache.org/jira/browse/NETBEANS-5477
 Project: NetBeans
  Issue Type: Bug
  Components: java - Editor, java - Javadoc
Affects Versions: 12.3
 Environment: JDK 11
Gradle 6.8.2
nb-javac is not installed
Reporter: Netbeans User 2019


If you use lambda with brackets like "{" some code "}"
then you do not get suggestion/autocomplete/javadoc. 



--
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-5476) New project - failure to open on Windows-Linux network path (WSL)

2021-03-22 Thread Luca De Prisco (Jira)


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

Luca De Prisco updated NETBEANS-5476:
-
Priority: Blocker  (was: Major)

> New project - failure to open on Windows-Linux network path (WSL) 
> --
>
> Key: NETBEANS-5476
> URL: https://issues.apache.org/jira/browse/NETBEANS-5476
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Luca De Prisco
>Priority: Blocker
>
> Hello everybody,
> here is my situation:
> Windows 10 Pro with Ubuntu WSL 20.04 subsystem
> After installing the IDE NetBeans and have correctly installed the JDK 8, I 
> tried to create a new PHP project that aimed at existing sources.
>  In the specification of the "Sourcer Folder" I enter the following path:
> WSL $ ubuntu-20.04 Home Luke inova
> The project is not created and I get a warning error message (at the bottom 
> right), with the following details:
>  
> java.net.URISyntaxException: Illegal character in hostname at index 10: 
> [file://wsl$/Ubuntu-20.04/home/luca/inova/|file:///Ubuntu-20.04/home/luca/inova/]
>  at java.net.URI$Parser.fail(URI.java:2848)
>  at java.net.URI$Parser.parseHostname(URI.java:3387)
>  at java.net.URI$Parser.parseServer(URI.java:3236)
>  at java.net.URI$Parser.parseAuthority(URI.java:3155)
>  at java.net.URI$Parser.parseHierarchical(URI.java:3097)
>  at java.net.URI$Parser.parse(URI.java:3053)
>  at java.net.URI.(URI.java:673)
>  at java.net.URI.(URI.java:774)
>  at 
> org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:111)
>  Caused: java.lang.Error
>  at 
> org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:113)
>  at 
> org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:105)
>  at 
> org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.fileToURL(FileBasedURLMapper.java:87)
>  at 
> org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.getURL(FileBasedURLMapper.java:50)
>  at 
> org.netbeans.modules.masterfs.MasterURLMapper.getURL(MasterURLMapper.java:44)
>  at org.openide.filesystems.URLMapper.findURL(URLMapper.java:115)
>  at org.openide.filesystems.FileObject.toURL(FileObject.java:1216)
>  at org.openide.filesystems.FileObject.toURI(FileObject.java:1227)
>  at 
> org.netbeans.modules.cpplite.project.CPPLiteProject.getRootPreferences(CPPLiteProject.java:64)
>  at 
> org.netbeans.modules.cpplite.project.CPPLiteProject.access$200(CPPLiteProject.java:51)
>  at 
> org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject2(CPPLiteProject.java:151)
>  at 
> org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject(CPPLiteProject.java:160)
>  at 
> org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.loadProject(CPPLiteProject.java:165)
>  at 
> org.netbeans.modules.projectapi.nb.NbProjectManager.createProject(NbProjectManager.java:376)
>  at 
> org.netbeans.modules.projectapi.nb.NbProjectManager.access$300(NbProjectManager.java:69)
>  at 
> org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:289)
>  at 
> org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:218)
>  at 
> org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188)
>  at org.openide.util.Mutex.readAccess(Mutex.java:231)
>  at 
> org.netbeans.modules.projectapi.nb.NbProjectManager.findProject(NbProjectManager.java:218)
>  at 
> org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:142)
>  at 
> org.netbeans.modules.php.project.util.PhpProjectUtils.isProject(PhpProjectUtils.java:102)
>  at 
> org.netbeans.modules.php.project.ui.wizards.ConfigureProjectPanel.validateSources(ConfigureProjectPanel.java:480)
>  at 
> org.netbeans.modules.php.project.ui.wizards.ConfigureProjectPanel.isValid(ConfigureProjectPanel.java:246)
>  at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:850)
>  at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:797)
>  at org.openide.loaders.TemplateWizard.updateState(TemplateWizard.java:758)
>  at 
> org.netbeans.modules.project.ui.NewProjectWizard.updateState(NewProjectWizard.java:59)
>  at org.openide.WizardDescriptor._updateState(WizardDescriptor.java:775)
>  at org.openide.WizardDescriptor.access$200(WizardDescriptor.java:67)
>  at 
> org.openide.WizardDescriptor$Listener.stateChanged(WizardDescriptor.java:2156)
>  at 
> org.openide.util.WeakListenerImpl$Change.stateChanged(WeakListenerImpl.java:331)
>  at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:108)
>  at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:94)
>  at 
> 

[jira] [Created] (NETBEANS-5476) New project - failure to open on Windows-Linux network path (WSL)

2021-03-22 Thread Luca De Prisco (Jira)
Luca De Prisco created NETBEANS-5476:


 Summary: New project - failure to open on Windows-Linux network 
path (WSL) 
 Key: NETBEANS-5476
 URL: https://issues.apache.org/jira/browse/NETBEANS-5476
 Project: NetBeans
  Issue Type: Bug
Reporter: Luca De Prisco


Hello everybody,

here is my situation:

Windows 10 Pro with Ubuntu WSL 20.04 subsystem

After installing the IDE NetBeans and have correctly installed the JDK 8, I 
tried to create a new PHP project that aimed at existing sources.
 In the specification of the "Sourcer Folder" I enter the following path:

WSL $ ubuntu-20.04 Home Luke inova

The project is not created and I get a warning error message (at the bottom 
right), with the following details:

 

java.net.URISyntaxException: Illegal character in hostname at index 10: 
[file://wsl$/Ubuntu-20.04/home/luca/inova/|file:///Ubuntu-20.04/home/luca/inova/]
 at java.net.URI$Parser.fail(URI.java:2848)
 at java.net.URI$Parser.parseHostname(URI.java:3387)
 at java.net.URI$Parser.parseServer(URI.java:3236)
 at java.net.URI$Parser.parseAuthority(URI.java:3155)
 at java.net.URI$Parser.parseHierarchical(URI.java:3097)
 at java.net.URI$Parser.parse(URI.java:3053)
 at java.net.URI.(URI.java:673)
 at java.net.URI.(URI.java:774)
 at 
org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:111)
 Caused: java.lang.Error
 at 
org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:113)
 at 
org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:105)
 at 
org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.fileToURL(FileBasedURLMapper.java:87)
 at 
org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.getURL(FileBasedURLMapper.java:50)
 at 
org.netbeans.modules.masterfs.MasterURLMapper.getURL(MasterURLMapper.java:44)
 at org.openide.filesystems.URLMapper.findURL(URLMapper.java:115)
 at org.openide.filesystems.FileObject.toURL(FileObject.java:1216)
 at org.openide.filesystems.FileObject.toURI(FileObject.java:1227)
 at 
org.netbeans.modules.cpplite.project.CPPLiteProject.getRootPreferences(CPPLiteProject.java:64)
 at 
org.netbeans.modules.cpplite.project.CPPLiteProject.access$200(CPPLiteProject.java:51)
 at 
org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject2(CPPLiteProject.java:151)
 at 
org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject(CPPLiteProject.java:160)
 at 
org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.loadProject(CPPLiteProject.java:165)
 at 
org.netbeans.modules.projectapi.nb.NbProjectManager.createProject(NbProjectManager.java:376)
 at 
org.netbeans.modules.projectapi.nb.NbProjectManager.access$300(NbProjectManager.java:69)
 at 
org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:289)
 at 
org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:218)
 at 
org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188)
 at org.openide.util.Mutex.readAccess(Mutex.java:231)
 at 
org.netbeans.modules.projectapi.nb.NbProjectManager.findProject(NbProjectManager.java:218)
 at org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:142)
 at 
org.netbeans.modules.php.project.util.PhpProjectUtils.isProject(PhpProjectUtils.java:102)
 at 
org.netbeans.modules.php.project.ui.wizards.ConfigureProjectPanel.validateSources(ConfigureProjectPanel.java:480)
 at 
org.netbeans.modules.php.project.ui.wizards.ConfigureProjectPanel.isValid(ConfigureProjectPanel.java:246)
 at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:850)
 at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:797)
 at org.openide.loaders.TemplateWizard.updateState(TemplateWizard.java:758)
 at 
org.netbeans.modules.project.ui.NewProjectWizard.updateState(NewProjectWizard.java:59)
 at org.openide.WizardDescriptor._updateState(WizardDescriptor.java:775)
 at org.openide.WizardDescriptor.access$200(WizardDescriptor.java:67)
 at 
org.openide.WizardDescriptor$Listener.stateChanged(WizardDescriptor.java:2156)
 at 
org.openide.util.WeakListenerImpl$Change.stateChanged(WeakListenerImpl.java:331)
 at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:108)
 at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:94)
 at 
org.netbeans.modules.php.project.ui.wizards.ConfigureProjectPanel.fireChangeEvent(ConfigureProjectPanel.java:293)
 at 
org.netbeans.modules.php.project.ui.wizards.ConfigureProjectPanel.stateChanged(ConfigureProjectPanel.java:675)
 at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:108)
 at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:94)
 at 
org.netbeans.modules.php.project.ui.wizards.ConfigurableProjectPanel.processUpdate(ConfigurableProjectPanel.java:112)
 at 

[jira] [Comment Edited] (NETBEANS-5475) Exception during work with IDE that even block indexing so degrade IDE to text editor

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 edited comment on NETBEANS-5475 at 3/22/21, 8:27 AM:


If I remember right that happened during working with CSS file.
Could you ([[~lkishalmi]]) look at this case at least?


java.lang.NullPointerException
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.evaluateClassName(GradleJavaTokenProvider.java:137)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.processSelectedPackageAndClass(GradleJavaTokenProvider.java:82)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.createReplacements(GradleJavaTokenProvider.java:73)
at 
org.netbeans.modules.gradle.actions.ReplaceTokenProviderMerger.createReplacements(ReplaceTokenProviderMerger.java:72)
at 
org.netbeans.modules.gradle.api.execute.RunUtils.evaluateActionArgs(RunUtils.java:323)
at 
org.netbeans.modules.gradle.java.JavaActionProvider.isActionEnabled(JavaActionProvider.java:102)
at 
org.netbeans.modules.gradle.actions.ActionToTaskUtils.isActionEnabled(ActionToTaskUtils.java:59)
at 
org.netbeans.modules.gradle.ActionProviderImpl.isActionEnabled(ActionProviderImpl.java:145)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl.update(CssStylesPanelProviderImpl.java:221)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl.update(CssStylesPanelProviderImpl.java:187)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl$SelectionView.update(CssStylesPanelProviderImpl.java:438)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl$SelectionView$1.resultChanged(CssStylesPanelProviderImpl.java:424)
[catch] at org.openide.util.lookup.ProxyLookup$1Notify.run(ProxyLookup.java:239)
at org.openide.util.lookup.ProxyLookup.setLookups(ProxyLookup.java:248)
at org.openide.util.lookup.ProxyLookup.setLookups(ProxyLookup.java:184)
at 
org.netbeans.modules.css.visual.CssStylesPanel$ModifiableLookup.updateLookup(CssStylesPanel.java:367)
at 
org.netbeans.modules.css.visual.CssStylesPanel.setContext(CssStylesPanel.java:297)
at 
org.netbeans.modules.css.visual.api.CssStylesTC.setContext(CssStylesTC.java:109)
at 
org.netbeans.modules.css.visual.CssStylesTCController$1$1.run(CssStylesTCController.java:113)
at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at 
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at 
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)


was (Author: nb-user-2019):
[[~lkishalmi]] If I remember right that happened during working with CSS file:


java.lang.NullPointerException
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.evaluateClassName(GradleJavaTokenProvider.java:137)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.processSelectedPackageAndClass(GradleJavaTokenProvider.java:82)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.createReplacements(GradleJavaTokenProvider.java:73)
at 
org.netbeans.modules.gradle.actions.ReplaceTokenProviderMerger.createReplacements(ReplaceTokenProviderMerger.java:72)
at 
org.netbeans.modules.gradle.api.execute.RunUtils.evaluateActionArgs(RunUtils.java:323)
at 
org.netbeans.modules.gradle.java.JavaActionProvider.isActionEnabled(JavaActionProvider.java:102)
at 
org.netbeans.modules.gradle.actions.ActionToTaskUtils.isActionEnabled(ActionToTaskUtils.java:59)
at 
org.netbeans.modules.gradle.ActionProviderImpl.isActionEnabled(ActionProviderImpl.java:145)
at 

[jira] [Comment Edited] (NETBEANS-5475) Exception during work with IDE that even block indexing so degrade IDE to text editor

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 edited comment on NETBEANS-5475 at 3/22/21, 8:25 AM:


[[~lkishalmi]] If I remember right that happened during working with CSS file:


java.lang.NullPointerException
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.evaluateClassName(GradleJavaTokenProvider.java:137)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.processSelectedPackageAndClass(GradleJavaTokenProvider.java:82)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.createReplacements(GradleJavaTokenProvider.java:73)
at 
org.netbeans.modules.gradle.actions.ReplaceTokenProviderMerger.createReplacements(ReplaceTokenProviderMerger.java:72)
at 
org.netbeans.modules.gradle.api.execute.RunUtils.evaluateActionArgs(RunUtils.java:323)
at 
org.netbeans.modules.gradle.java.JavaActionProvider.isActionEnabled(JavaActionProvider.java:102)
at 
org.netbeans.modules.gradle.actions.ActionToTaskUtils.isActionEnabled(ActionToTaskUtils.java:59)
at 
org.netbeans.modules.gradle.ActionProviderImpl.isActionEnabled(ActionProviderImpl.java:145)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl.update(CssStylesPanelProviderImpl.java:221)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl.update(CssStylesPanelProviderImpl.java:187)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl$SelectionView.update(CssStylesPanelProviderImpl.java:438)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl$SelectionView$1.resultChanged(CssStylesPanelProviderImpl.java:424)
[catch] at org.openide.util.lookup.ProxyLookup$1Notify.run(ProxyLookup.java:239)
at org.openide.util.lookup.ProxyLookup.setLookups(ProxyLookup.java:248)
at org.openide.util.lookup.ProxyLookup.setLookups(ProxyLookup.java:184)
at 
org.netbeans.modules.css.visual.CssStylesPanel$ModifiableLookup.updateLookup(CssStylesPanel.java:367)
at 
org.netbeans.modules.css.visual.CssStylesPanel.setContext(CssStylesPanel.java:297)
at 
org.netbeans.modules.css.visual.api.CssStylesTC.setContext(CssStylesTC.java:109)
at 
org.netbeans.modules.css.visual.CssStylesTCController$1$1.run(CssStylesTCController.java:113)
at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at 
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at 
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)


was (Author: nb-user-2019):
If I remember right that happened during working with CSS file:


java.lang.NullPointerException
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.evaluateClassName(GradleJavaTokenProvider.java:137)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.processSelectedPackageAndClass(GradleJavaTokenProvider.java:82)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.createReplacements(GradleJavaTokenProvider.java:73)
at 
org.netbeans.modules.gradle.actions.ReplaceTokenProviderMerger.createReplacements(ReplaceTokenProviderMerger.java:72)
at 
org.netbeans.modules.gradle.api.execute.RunUtils.evaluateActionArgs(RunUtils.java:323)
at 
org.netbeans.modules.gradle.java.JavaActionProvider.isActionEnabled(JavaActionProvider.java:102)
at 
org.netbeans.modules.gradle.actions.ActionToTaskUtils.isActionEnabled(ActionToTaskUtils.java:59)
at 
org.netbeans.modules.gradle.ActionProviderImpl.isActionEnabled(ActionProviderImpl.java:145)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl.update(CssStylesPanelProviderImpl.java:221)
at 

[jira] [Assigned] (NETBEANS-5475) Exception during work with IDE that even block indexing so degrade IDE to text editor

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 reassigned NETBEANS-5475:


Assignee: Laszlo Kishalmi

> Exception during work with IDE that even block indexing so degrade IDE to 
> text editor
> -
>
> Key: NETBEANS-5475
> URL: https://issues.apache.org/jira/browse/NETBEANS-5475
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Parsing  Indexing, java - Compiler, java - 
> Editor, platform - Action Items
>Affects Versions: 12.3
> Environment: JDK 11
> Gradle 6.8.2
> nb-javac is not installed
>Reporter: Netbeans User 2019
>Assignee: Laszlo Kishalmi
>Priority: Blocker
>  Labels: indexing
>




--
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-5471) NPE in Call hierarchy

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 edited comment on NETBEANS-5471 at 3/22/21, 8:23 AM:


I would generally report to uninstall nb-javac, but seems that 12.3 is so 
broken even in case of no nb-javac in. In any case I will report new issue with 
such exceptions occurred during usage of 12.3 (NETBEANS-5475).


was (Author: nb-user-2019):
I would generally report to uninstall nb-javac, but seems that 12.3 is so 
broken even in case of no nb-javac in. In any case I will report new issue with 
such exceptions occurred during usage of 12.3.

> NPE in Call hierarchy
> -
>
> Key: NETBEANS-5471
> URL: https://issues.apache.org/jira/browse/NETBEANS-5471
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
>Reporter: Hynek Mlnarik
>Priority: Major
> Attachments: NETBEANS-5471-ide.log, image-2021-03-21-06-50-41-901.png
>
>
> I keep getting occasional NPEs when looking through Call hierarchy in Java 
> project.
> Steps to reproduce:
>  # Clone [https://github.com/keycloak/keycloak/] (a big project - may be a 
> factor)
>  # Pick a method, use Call hierarchy.
>  # Walk the call hierarchy by expanding the nodes
>  # Observe random NPEs
> {noformat}
> Annotation: An error occurred during parsing of 
> '/home/hmlnarik/src/keycloak/services/src/main/java/org/keycloak/forms/login/freemarker/model/RealmBean.java'.
>  Please report a bug against java/source and attach dump file 
> '/home/hmlnarik/.netbeans/12.3/var/log/RealmBean.dump'.
> Annotation: An error occurred during parsing of 
> '/home/hmlnarik/src/keycloak/services/src/main/java/org/keycloak/forms/login/freemarker/model/RealmBean.java'.
>  Please report a bug against java/source and attach dump file 
> '/home/hmlnarik/.netbeans/12.3/var/log/RealmBean.dump'.
> An error occurred during parsing of 
> '/home/hmlnarik/src/keycloak/services/src/main/java/org/keycloak/forms/login/freemarker/model/RealmBean.java'.
>  Please report a bug against java/source and attach dump file 
> '/home/hmlnarik/.netbeans/12.3/var/log/RealmBean.dump'.
> An error occurred during parsing of 
> '/home/hmlnarik/src/keycloak/services/src/main/java/org/keycloak/forms/login/freemarker/model/RealmBean.java'.
>  Please report a bug against java/source and attach dump file 
> '/home/hmlnarik/.netbeans/12.3/var/log/RealmBean.dump'.
> Caused: java.lang.NullPointerException
>  at com.sun.tools.javac.comp.Todo.retainFiles(Todo.java:98)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:732)
>  at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:386)
>  at 
> org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:88)
>  at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:348)
>  at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:301)
>  at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>  at 
> org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:166)
>  at 
> org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:138)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>  at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>  at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>  at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>  at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>  at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:83)
>  at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
>  at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
>  at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.processFiles(CallHierarchyTasks.java:476)
>  at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.runTask(CallHierarchyTasks.java:338)
> [catch] at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallTaskBase.run(CallHierarchyTasks.java:288)

[jira] [Commented] (NETBEANS-5475) Exception during work with IDE that even block indexing so degrade IDE to text editor

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 commented on NETBEANS-5475:
--

That ones possibly even affect indexing
so you can use:
- "Go to Type"
- "Go to Implementation"
- present fake issues in editor and in actions items
- maybe even other strange things that could be possible to remove only by 
closing IDE, removing caches.

Maybe stupid idea, but I think that even any of file leads to exception then 
rest of them should be indexed.

So here you are several of them:


com.sun.tools.javac.code.Types$FunctionDescriptorLookupError
at 
jdk.compiler/com.sun.tools.javac.code.Types$DescriptorCache.failure(Types.java:808)
at 
jdk.compiler/com.sun.tools.javac.code.Types$DescriptorCache.failure(Types.java:804)
at 
jdk.compiler/com.sun.tools.javac.code.Types$DescriptorCache.findDescriptorInternal(Types.java:735)
at 
jdk.compiler/com.sun.tools.javac.code.Types$DescriptorCache.get(Types.java:719)
at 
jdk.compiler/com.sun.tools.javac.code.Types.findDescriptorType(Types.java:827)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCFunctionalExpression.getDescriptorType(JCTree.java:735)
at 
jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitLambda(Flow.java:1282)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1811)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at 
jdk.compiler/com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:398)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57)
at 
jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitApply(Flow.java:1234)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1634)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at 
jdk.compiler/com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:398)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeScanner.visitSelect(TreeScanner.java:302)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2114)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at 
jdk.compiler/com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:398)
at 
jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitApply(Flow.java:1233)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1634)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at 
jdk.compiler/com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:398)
at 
jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitReturn(Flow.java:1210)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1546)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at 
jdk.compiler/com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:398)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57)
at 
jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitBlock(Flow.java:997)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1020)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at 
jdk.compiler/com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:398)
at 
jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitMethodDef(Flow.java:964)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:866)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at 
jdk.compiler/com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:398)
at 
jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitClassDef(Flow.java:927)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:774)
at 
jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at 
jdk.compiler/com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:398)
at 
jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.analyzeTree(Flow.java:1327)
at 
jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.analyzeTree(Flow.java:1317)
at jdk.compiler/com.sun.tools.javac.comp.Flow.analyzeTree(Flow.java:218)
at 
jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1401)
at 
jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1375)
at 
jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:396)
at 

[jira] [Comment Edited] (NETBEANS-5475) Exception during work with IDE that even block indexing so degrade IDE to text editor

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 edited comment on NETBEANS-5475 at 3/22/21, 8:15 AM:


If I remember right that happened during working with CSS file:


java.lang.NullPointerException
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.evaluateClassName(GradleJavaTokenProvider.java:137)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.processSelectedPackageAndClass(GradleJavaTokenProvider.java:82)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.createReplacements(GradleJavaTokenProvider.java:73)
at 
org.netbeans.modules.gradle.actions.ReplaceTokenProviderMerger.createReplacements(ReplaceTokenProviderMerger.java:72)
at 
org.netbeans.modules.gradle.api.execute.RunUtils.evaluateActionArgs(RunUtils.java:323)
at 
org.netbeans.modules.gradle.java.JavaActionProvider.isActionEnabled(JavaActionProvider.java:102)
at 
org.netbeans.modules.gradle.actions.ActionToTaskUtils.isActionEnabled(ActionToTaskUtils.java:59)
at 
org.netbeans.modules.gradle.ActionProviderImpl.isActionEnabled(ActionProviderImpl.java:145)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl.update(CssStylesPanelProviderImpl.java:221)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl.update(CssStylesPanelProviderImpl.java:187)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl$SelectionView.update(CssStylesPanelProviderImpl.java:438)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl$SelectionView$1.resultChanged(CssStylesPanelProviderImpl.java:424)
[catch] at org.openide.util.lookup.ProxyLookup$1Notify.run(ProxyLookup.java:239)
at org.openide.util.lookup.ProxyLookup.setLookups(ProxyLookup.java:248)
at org.openide.util.lookup.ProxyLookup.setLookups(ProxyLookup.java:184)
at 
org.netbeans.modules.css.visual.CssStylesPanel$ModifiableLookup.updateLookup(CssStylesPanel.java:367)
at 
org.netbeans.modules.css.visual.CssStylesPanel.setContext(CssStylesPanel.java:297)
at 
org.netbeans.modules.css.visual.api.CssStylesTC.setContext(CssStylesTC.java:109)
at 
org.netbeans.modules.css.visual.CssStylesTCController$1$1.run(CssStylesTCController.java:113)
at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at 
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at 
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)


was (Author: nb-user-2019):
If I remember right that happened during working with CSS file:


java.lang.NullPointerException
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.evaluateClassName(GradleJavaTokenProvider.java:137)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.processSelectedPackageAndClass(GradleJavaTokenProvider.java:82)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.createReplacements(GradleJavaTokenProvider.java:73)
at 
org.netbeans.modules.gradle.actions.ReplaceTokenProviderMerger.createReplacements(ReplaceTokenProviderMerger.java:72)
at 
org.netbeans.modules.gradle.api.execute.RunUtils.evaluateActionArgs(RunUtils.java:323)
at 
org.netbeans.modules.gradle.java.JavaActionProvider.isActionEnabled(JavaActionProvider.java:102)
at 
org.netbeans.modules.gradle.actions.ActionToTaskUtils.isActionEnabled(ActionToTaskUtils.java:59)
at 
org.netbeans.modules.gradle.ActionProviderImpl.isActionEnabled(ActionProviderImpl.java:145)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl.update(CssStylesPanelProviderImpl.java:221)
at 

[jira] [Comment Edited] (NETBEANS-5475) Exception during work with IDE that even block indexing so degrade IDE to text editor

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 edited comment on NETBEANS-5475 at 3/22/21, 8:15 AM:


If I remember right that happened during working with CSS file:


java.lang.NullPointerException
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.evaluateClassName(GradleJavaTokenProvider.java:137)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.processSelectedPackageAndClass(GradleJavaTokenProvider.java:82)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.createReplacements(GradleJavaTokenProvider.java:73)
at 
org.netbeans.modules.gradle.actions.ReplaceTokenProviderMerger.createReplacements(ReplaceTokenProviderMerger.java:72)
at 
org.netbeans.modules.gradle.api.execute.RunUtils.evaluateActionArgs(RunUtils.java:323)
at 
org.netbeans.modules.gradle.java.JavaActionProvider.isActionEnabled(JavaActionProvider.java:102)
at 
org.netbeans.modules.gradle.actions.ActionToTaskUtils.isActionEnabled(ActionToTaskUtils.java:59)
at 
org.netbeans.modules.gradle.ActionProviderImpl.isActionEnabled(ActionProviderImpl.java:145)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl.update(CssStylesPanelProviderImpl.java:221)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl.update(CssStylesPanelProviderImpl.java:187)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl$SelectionView.update(CssStylesPanelProviderImpl.java:438)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl$SelectionView$1.resultChanged(CssStylesPanelProviderImpl.java:424)
[catch] at org.openide.util.lookup.ProxyLookup$1Notify.run(ProxyLookup.java:239)
at org.openide.util.lookup.ProxyLookup.setLookups(ProxyLookup.java:248)
at org.openide.util.lookup.ProxyLookup.setLookups(ProxyLookup.java:184)
at 
org.netbeans.modules.css.visual.CssStylesPanel$ModifiableLookup.updateLookup(CssStylesPanel.java:367)
at 
org.netbeans.modules.css.visual.CssStylesPanel.setContext(CssStylesPanel.java:297)
at 
org.netbeans.modules.css.visual.api.CssStylesTC.setContext(CssStylesTC.java:109)
at 
org.netbeans.modules.css.visual.CssStylesTCController$1$1.run(CssStylesTCController.java:113)
at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at 
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at 
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)


was (Author: nb-user-2019):
java.lang.NullPointerException
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.evaluateClassName(GradleJavaTokenProvider.java:137)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.processSelectedPackageAndClass(GradleJavaTokenProvider.java:82)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.createReplacements(GradleJavaTokenProvider.java:73)
at 
org.netbeans.modules.gradle.actions.ReplaceTokenProviderMerger.createReplacements(ReplaceTokenProviderMerger.java:72)
at 
org.netbeans.modules.gradle.api.execute.RunUtils.evaluateActionArgs(RunUtils.java:323)
at 
org.netbeans.modules.gradle.java.JavaActionProvider.isActionEnabled(JavaActionProvider.java:102)
at 
org.netbeans.modules.gradle.actions.ActionToTaskUtils.isActionEnabled(ActionToTaskUtils.java:59)
at 
org.netbeans.modules.gradle.ActionProviderImpl.isActionEnabled(ActionProviderImpl.java:145)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl.update(CssStylesPanelProviderImpl.java:221)
at 

[jira] [Commented] (NETBEANS-5475) Exception during work with IDE that even block indexing so degrade IDE to text editor

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 commented on NETBEANS-5475:
--

java.lang.NullPointerException
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.evaluateClassName(GradleJavaTokenProvider.java:137)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.processSelectedPackageAndClass(GradleJavaTokenProvider.java:82)
at 
org.netbeans.modules.gradle.java.GradleJavaTokenProvider.createReplacements(GradleJavaTokenProvider.java:73)
at 
org.netbeans.modules.gradle.actions.ReplaceTokenProviderMerger.createReplacements(ReplaceTokenProviderMerger.java:72)
at 
org.netbeans.modules.gradle.api.execute.RunUtils.evaluateActionArgs(RunUtils.java:323)
at 
org.netbeans.modules.gradle.java.JavaActionProvider.isActionEnabled(JavaActionProvider.java:102)
at 
org.netbeans.modules.gradle.actions.ActionToTaskUtils.isActionEnabled(ActionToTaskUtils.java:59)
at 
org.netbeans.modules.gradle.ActionProviderImpl.isActionEnabled(ActionProviderImpl.java:145)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl.update(CssStylesPanelProviderImpl.java:221)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl.update(CssStylesPanelProviderImpl.java:187)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl$SelectionView.update(CssStylesPanelProviderImpl.java:438)
at 
org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl$SelectionView$1.resultChanged(CssStylesPanelProviderImpl.java:424)
[catch] at org.openide.util.lookup.ProxyLookup$1Notify.run(ProxyLookup.java:239)
at org.openide.util.lookup.ProxyLookup.setLookups(ProxyLookup.java:248)
at org.openide.util.lookup.ProxyLookup.setLookups(ProxyLookup.java:184)
at 
org.netbeans.modules.css.visual.CssStylesPanel$ModifiableLookup.updateLookup(CssStylesPanel.java:367)
at 
org.netbeans.modules.css.visual.CssStylesPanel.setContext(CssStylesPanel.java:297)
at 
org.netbeans.modules.css.visual.api.CssStylesTC.setContext(CssStylesTC.java:109)
at 
org.netbeans.modules.css.visual.CssStylesTCController$1$1.run(CssStylesTCController.java:113)
at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at 
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at 
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

> Exception during work with IDE that even block indexing so degrade IDE to 
> text editor
> -
>
> Key: NETBEANS-5475
> URL: https://issues.apache.org/jira/browse/NETBEANS-5475
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Parsing  Indexing, java - Compiler, java - 
> Editor, platform - Action Items
>Affects Versions: 12.3
> Environment: JDK 11
> Gradle 6.8.2
> nb-javac is not installed
>Reporter: Netbeans User 2019
>Priority: Blocker
>  Labels: indexing
>




--
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-5475) Exception during work with IDE that even block indexing so degrade IDE to text editor

2021-03-22 Thread Netbeans User 2019 (Jira)
Netbeans User 2019 created NETBEANS-5475:


 Summary: Exception during work with IDE that even block indexing 
so degrade IDE to text editor
 Key: NETBEANS-5475
 URL: https://issues.apache.org/jira/browse/NETBEANS-5475
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Parsing  Indexing, java - Compiler, java - 
Editor, platform - Action Items
Affects Versions: 12.3
 Environment: JDK 11
Gradle 6.8.2
nb-javac is not installed
Reporter: Netbeans User 2019






--
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-5292) nb-javac is source of several issues

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 commented on NETBEANS-5292:
--

Seems since 12.3 there are more and more issues even without nb-javac, but I 
will create for that one new issue so to be handled separately. 

> nb-javac is source of several issues
> 
>
> Key: NETBEANS-5292
> URL: https://issues.apache.org/jira/browse/NETBEANS-5292
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler, java - Editor, java - Hints, platform - 
> Action Items
>Affects Versions: 11.3, 12.2
> Environment: Gradle 6.8.1
> Possibly any JDK version 11
> nb-javac installed
>Reporter: Netbeans User 2019
>Priority: Blocker
>  Labels: hints, nbjavac, nbjavac-impl.jar
>
> There are several issue reporting NullPointerException and in logs even 
> several related to hints (In context of Tools > Options > Editor > Hints).
> So my suggestions are:
> 1) to be deactivated all hints and retested with and with and without 
> nb-javac as seems that many issue like this is connected nb-javac, but It 
> could be even possible that hints are not revised at all from start and even 
> it is possible that could be ticked to run by import from prior version of 
> Netbeans, but it could be unsupported in new version.
> 2) turn off of nb-javac does not fix issues like these, because it seems that 
> that states is ignored and nb-javac is still somehow in use ... so only 
> option is to uninstalled completely (so to see in notification request for 
> installation) - so it has to be fixed that if it is inactivated should not be 
> used
> 3) to be added even new feature to reset all Hints to default
> 4) seems that even some of such failure (even reported as race condition) 
> that leads to cases that it is not finished indexing so particular classes 
> are not index so even not visible by dialog to of types and in java editor is 
> represented as errors and there is not way to removed that reds, because 
> there are no way to tell to Apache Netbeans that such class is existing and 
> it is correct.
> 5) "Background scanning of projects..." is even running for minutes with 
> nb-javac installed
> Even if it is not done in minor version I would like to see it in major 
> version fixed.
> To me it seems that nb-javac brings more issue than save



--
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-5471) NPE in Call hierarchy

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 commented on NETBEANS-5471:
--

I would generally report to uninstall nb-javac, but seems that 12.3 is so 
broken even in case of no nb-javac in. In any case I will report new issue with 
such exceptions occurred during usage of 12.3.

> NPE in Call hierarchy
> -
>
> Key: NETBEANS-5471
> URL: https://issues.apache.org/jira/browse/NETBEANS-5471
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
>Reporter: Hynek Mlnarik
>Priority: Major
> Attachments: NETBEANS-5471-ide.log, image-2021-03-21-06-50-41-901.png
>
>
> I keep getting occasional NPEs when looking through Call hierarchy in Java 
> project.
> Steps to reproduce:
>  # Clone [https://github.com/keycloak/keycloak/] (a big project - may be a 
> factor)
>  # Pick a method, use Call hierarchy.
>  # Walk the call hierarchy by expanding the nodes
>  # Observe random NPEs
> {noformat}
> Annotation: An error occurred during parsing of 
> '/home/hmlnarik/src/keycloak/services/src/main/java/org/keycloak/forms/login/freemarker/model/RealmBean.java'.
>  Please report a bug against java/source and attach dump file 
> '/home/hmlnarik/.netbeans/12.3/var/log/RealmBean.dump'.
> Annotation: An error occurred during parsing of 
> '/home/hmlnarik/src/keycloak/services/src/main/java/org/keycloak/forms/login/freemarker/model/RealmBean.java'.
>  Please report a bug against java/source and attach dump file 
> '/home/hmlnarik/.netbeans/12.3/var/log/RealmBean.dump'.
> An error occurred during parsing of 
> '/home/hmlnarik/src/keycloak/services/src/main/java/org/keycloak/forms/login/freemarker/model/RealmBean.java'.
>  Please report a bug against java/source and attach dump file 
> '/home/hmlnarik/.netbeans/12.3/var/log/RealmBean.dump'.
> An error occurred during parsing of 
> '/home/hmlnarik/src/keycloak/services/src/main/java/org/keycloak/forms/login/freemarker/model/RealmBean.java'.
>  Please report a bug against java/source and attach dump file 
> '/home/hmlnarik/.netbeans/12.3/var/log/RealmBean.dump'.
> Caused: java.lang.NullPointerException
>  at com.sun.tools.javac.comp.Todo.retainFiles(Todo.java:98)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:732)
>  at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:386)
>  at 
> org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:88)
>  at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:348)
>  at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.run(CallHierarchyTasks.java:301)
>  at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>  at 
> org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:166)
>  at 
> org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:138)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>  at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>  at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>  at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>  at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>  at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:83)
>  at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
>  at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
>  at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.processFiles(CallHierarchyTasks.java:476)
>  at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallersTask.runTask(CallHierarchyTasks.java:338)
> [catch] at 
> org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$CallTaskBase.run(CallHierarchyTasks.java:288)
>  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 
> 

[jira] [Updated] (NETBEANS-3753) After reopen IDE be in editor tab where you previously ended

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 updated NETBEANS-3753:
-
Affects Version/s: 12.3

> After reopen IDE be in editor tab where you previously ended
> 
>
> Key: NETBEANS-3753
> URL: https://issues.apache.org/jira/browse/NETBEANS-3753
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - UI
>Affects Versions: 12.0, 12.2, 12.3
>Reporter: Netbeans User 2019
>Priority: Major
>
> I would like expect to continue in last open (active in view) editor tab 
> (file) before IDE is closed, but I have not find any option to do this so I 
> have always to know when I have endes my work.



--
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-2373) Support for Gradle distribution plugin

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 updated NETBEANS-2373:
-
Affects Version/s: 12.3

> Support for Gradle distribution plugin
> --
>
> Key: NETBEANS-2373
> URL: https://issues.apache.org/jira/browse/NETBEANS-2373
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Affects Versions: 11.0, 12.0, 11.1, 11.2, 11.3, 12.2, 12.3
> Environment: Netbeans 11
> Gradle 5, 6.4.1
> Java 11
>Reporter: Netbeans User 2019
>Assignee: Laszlo Kishalmi
>Priority: Major
>
> Gradle plugin shall recognize the distribution plugin and add a Source root 
> for 'src/main/dist' and it also need to support the created distribution 
> packages in a way. Either in a separate node or just in the project 
> customizer.



--
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-3751) Keep order of tabs after IDE reopen

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 updated NETBEANS-3751:
-
Affects Version/s: 12.3

> Keep order of tabs after IDE reopen
> ---
>
> Key: NETBEANS-3751
> URL: https://issues.apache.org/jira/browse/NETBEANS-3751
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other, ide - UI
>Affects Versions: 12.2, 12.3
>Reporter: Netbeans User 2019
>Priority: Major
> Attachments: screenshot-1.png
>
>
> Tabs are always reorder (I do not know on what sorting key) by each opening 
> of IDE even if it is set:
> Tools > Options > Appearance > Sort tabs when a document opens is set to 
> "Sort nothing"
> So I expect that will be kept in order before I close IDE.



--
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-3752) Problem with Sort opened documents list by project

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 updated NETBEANS-3752:
-
Affects Version/s: 12.3

> Problem with Sort opened documents list by project
> --
>
> Key: NETBEANS-3752
> URL: https://issues.apache.org/jira/browse/NETBEANS-3752
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 12.0, 12.2, 12.3
>Reporter: Netbeans User 2019
>Priority: Minor
>
> In Context:
> Tools > Options > Appearance > Sort opened documents list by project
> My understanding is that has impact only to group open document ("list") by 
> project at the end on tabs as \/ (arrow down). But this does not works 
> properly as you have to have click twice from start to be really grouped by 
> project.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-3754) On Save option for Java is ignored about removal of trailing spaces

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 updated NETBEANS-3754:
-
Affects Version/s: 12.3

> On Save option for Java is ignored about removal of trailing spaces
> ---
>
> Key: NETBEANS-3754
> URL: https://issues.apache.org/jira/browse/NETBEANS-3754
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Options
>Affects Versions: 12.0, 12.2, 12.3
>Reporter: Netbeans User 2019
>Priority: Major
>
> I expect when I have set on Save Option to "All lines" for:
> Tools > Options > Editor > On Save > Remove Trailing Whitespace from 
> that will be removed such trailings spaces, but I have mostly run it manually 
> via Source > Remove Trailing Spaces.



--
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-3963) Copy document groups with Netbeans IDE upgrade

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 updated NETBEANS-3963:
-
Affects Version/s: 12.3

> Copy document groups with Netbeans IDE upgrade
> --
>
> Key: NETBEANS-3963
> URL: https://issues.apache.org/jira/browse/NETBEANS-3963
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 12.0, 11.3, 12.2, 12.3
> Environment: Netbeans 11.2 -> 11.3
> Netbeans 11.3 -> 12.0
>Reporter: Netbeans User 2019
>Priority: Major
>  Labels: document-groups, upgrade
>
> I would like to ask if it is possible to be even migrated Window -> Document 
> Groups enterilly. I mean that all the time there is such document group, but 
> no resource/java file from prior version is imported into it. *So I need to 
> open old version and new Apache Netbeans version  and open each file one by 
> one, but this is not so funny.*



--
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-3969) Browse... button to open file dialog shows error message

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 closed NETBEANS-3969.


> Browse... button to open file dialog shows error message
> 
>
> Key: NETBEANS-3969
> URL: https://issues.apache.org/jira/browse/NETBEANS-3969
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI, platform - DialogsWizards
>Affects Versions: 12.0, 11.2, 11.3, 12.2
> Environment: OpenJDK 11.0.2
> Gradle 6.4.1
>Reporter: Netbeans User 2019
>Priority: Major
>
> Browse... button on several locations after clicking to select e.g. folder 
> (e.g. gradle home or new project) leads to dialog "Problem with Shortcut" as 
> message "The drive or network connection that the shorcut ... refers to is 
> unavailable..." and after that it is open exact dialog, but it is take same 
> time to open 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] [Resolved] (NETBEANS-3969) Browse... button to open file dialog shows error message

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 resolved NETBEANS-3969.
--
Resolution: Fixed

> Browse... button to open file dialog shows error message
> 
>
> Key: NETBEANS-3969
> URL: https://issues.apache.org/jira/browse/NETBEANS-3969
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI, platform - DialogsWizards
>Affects Versions: 12.0, 11.2, 11.3, 12.2
> Environment: OpenJDK 11.0.2
> Gradle 6.4.1
>Reporter: Netbeans User 2019
>Priority: Major
>
> Browse... button on several locations after clicking to select e.g. folder 
> (e.g. gradle home or new project) leads to dialog "Problem with Shortcut" as 
> message "The drive or network connection that the shorcut ... refers to is 
> unavailable..." and after that it is open exact dialog, but it is take same 
> time to open 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] [Commented] (NETBEANS-3969) Browse... button to open file dialog shows error message

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 commented on NETBEANS-3969:
--

have you tried to used latest JDK 11? If this does not help open up new issue 
for yourself.

> Browse... button to open file dialog shows error message
> 
>
> Key: NETBEANS-3969
> URL: https://issues.apache.org/jira/browse/NETBEANS-3969
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI, platform - DialogsWizards
>Affects Versions: 12.0, 11.2, 11.3, 12.2
> Environment: OpenJDK 11.0.2
> Gradle 6.4.1
>Reporter: Netbeans User 2019
>Priority: Major
>
> Browse... button on several locations after clicking to select e.g. folder 
> (e.g. gradle home or new project) leads to dialog "Problem with Shortcut" as 
> message "The drive or network connection that the shorcut ... refers to is 
> unavailable..." and after that it is open exact dialog, but it is take same 
> time to open 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] [Commented] (NETBEANS-5293) Gradle multi project badly broken with new spring boot

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 commented on NETBEANS-5293:
--

https://github.com/spring-projects/spring-boot/issues/25009

> Gradle multi project badly broken with new spring boot
> --
>
> Key: NETBEANS-5293
> URL: https://issues.apache.org/jira/browse/NETBEANS-5293
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Generic Projects UI, projects - Gradle
>Affects Versions: 12.2
> Environment: JDK 11+
> Gradle 6.8.1
> Spring Boot 2.3.8 and 2.4.2 (so plugin 'org.springframework.boot')
>Reporter: Netbeans User 2019
>Assignee: Laszlo Kishalmi
>Priority: Major
>
> After upgrade from 2.2.13.RELEASE to 2.3.8.RELEASE or 2.4.2
> it is starting to ask by resolving project dialog to resolve project 
> dependencies, but it is unsuccessful so only option to close a dialog and 
> problem icon is shown on projects that depends on any project dependencies. 
> But :
> - it is possible to run gradle task via Clean, Build, Run action from context 
> menu
> - Project properties dialog seems ok
> - but such resolving dialog is forced to open by each start of IDE and 
> problem icon on projects persists
> https://docs.gradle.org/current/dsl/org.gradle.api.artifacts.dsl.DependencyHandler.html#N1748D
> It only helps if it is also specify a "configuration"  in project dependency.
> Using different configuration of course leads to case to be added project as 
> jar
> or as folder in Project properties, but without that Project Properties is 
> presented 
> in folder form, but problem icon shown on particular project.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-5293) Gradle multi project badly broken with new spring boot

2021-03-22 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 commented on NETBEANS-5293:
--

If I remember right it is enough to use generated one e.g. twice an then adding 
dependence on the first one.

> Gradle multi project badly broken with new spring boot
> --
>
> Key: NETBEANS-5293
> URL: https://issues.apache.org/jira/browse/NETBEANS-5293
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Generic Projects UI, projects - Gradle
>Affects Versions: 12.2
> Environment: JDK 11+
> Gradle 6.8.1
> Spring Boot 2.3.8 and 2.4.2 (so plugin 'org.springframework.boot')
>Reporter: Netbeans User 2019
>Assignee: Laszlo Kishalmi
>Priority: Major
>
> After upgrade from 2.2.13.RELEASE to 2.3.8.RELEASE or 2.4.2
> it is starting to ask by resolving project dialog to resolve project 
> dependencies, but it is unsuccessful so only option to close a dialog and 
> problem icon is shown on projects that depends on any project dependencies. 
> But :
> - it is possible to run gradle task via Clean, Build, Run action from context 
> menu
> - Project properties dialog seems ok
> - but such resolving dialog is forced to open by each start of IDE and 
> problem icon on projects persists
> https://docs.gradle.org/current/dsl/org.gradle.api.artifacts.dsl.DependencyHandler.html#N1748D
> It only helps if it is also specify a "configuration"  in project dependency.
> Using different configuration of course leads to case to be added project as 
> jar
> or as folder in Project properties, but without that Project Properties is 
> presented 
> in folder form, but problem icon shown on particular project.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists