[jira] [Commented] (NETBEANS-4183) Restore+Apply action in Options | Fonts&Colors| Annotations panel

2020-04-15 Thread Manikantan Narender Nath (Jira)


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

Manikantan Narender Nath commented on NETBEANS-4183:


Workaround - start with a clean userdir

> Restore+Apply action in Options | Fonts&Colors| Annotations panel
> -
>
> Key: NETBEANS-4183
> URL: https://issues.apache.org/jira/browse/NETBEANS-4183
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints & Annotations
>Affects Versions: 12.0
>Reporter: Manikantan Narender Nath
>Priority: Major
>  Labels: netcat
> Attachments: Restore-after-apply.png, Restore-before-apply.png
>
>
> Test case 
> [https://netbeans-vm.apache.org/synergy/client/app/#/assignment/2433/v/1]
> Original issue [https://bz.apache.org/netbeans/show_bug.cgi?id=254764]
> Steps
>  # Create a new Java file
>  # Type the following `x = 3;`
>  # Open Options |Font&Colors|annotations
>  # Select Fixable Errors in list on left
>  # Change the foreground to magenta
>  # Change background to Black
>  # Press Apply button
>  # Do not press OK
>  # Observed behaviour in editor is correct the line on error annotation is 
> black with magenta foreground
>  # Click Restore button
>  # Select Fixable Errors
>  # Correctly shows default colors (attachment Restore-before-apply.png)
>  # Press Apply button
>  # Select Fixable errors
>  # Shows changed colors (attachment Restore-after-apply.png)



--
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-4183) Restore+Apply action in Options | Fonts&Colors| Annotations panel

2020-04-15 Thread Manikantan Narender Nath (Jira)


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

Manikantan Narender Nath updated NETBEANS-4183:
---
Description: 
Test case 
[https://netbeans-vm.apache.org/synergy/client/app/#/assignment/2433/v/1]

Original issue [https://bz.apache.org/netbeans/show_bug.cgi?id=254764]

Steps
 # Create a new Java file
 # Type the following `x = 3;`
 # Open Options |Font&Colors|annotations
 # Select Fixable Errors in list on left
 # Change the foreground to magenta
 # Change background to Black
 # Press Apply button
 # Do not press OK
 # Observed behaviour in editor is correct the line on error annotation is 
black with magenta foreground
 # Click Restore button
 # Select Fixable Errors
 # Correctly shows default colors (attachment Restore-before-apply.png)
 # Press Apply button
 # Select Fixable errors
 # Shows changed colors (attachment Restore-after-apply.png)

  was:
Test case 
[https://netbeans-vm.apache.org/synergy/client/app/#/assignment/2433/v/1]

Original issue https://bz.apache.org/netbeans/show_bug.cgi?id=254764

Steps
 # Create a new Java file
 # Type the following `x = 3;`
 # Open Options |Font&Colors|annotations
 # Select Fixable Errors in list on left
 # Change the foreground to magenta
 # Change background to Black
 # Press Apply button
 # Do not press OK
 # Observed behaviour in editor is correct the line on error annotation is 
black with magenta foreground
 # Click Restore button
 # Select Fixable Errors
 # Correctly shows default colors
 # Press Apply button
 # Select Fixable errors
 # Shows changed colors


> Restore+Apply action in Options | Fonts&Colors| Annotations panel
> -
>
> Key: NETBEANS-4183
> URL: https://issues.apache.org/jira/browse/NETBEANS-4183
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints & Annotations
>Affects Versions: 12.0
>Reporter: Manikantan Narender Nath
>Priority: Major
>  Labels: netcat
> Attachments: Restore-after-apply.png, Restore-before-apply.png
>
>
> Test case 
> [https://netbeans-vm.apache.org/synergy/client/app/#/assignment/2433/v/1]
> Original issue [https://bz.apache.org/netbeans/show_bug.cgi?id=254764]
> Steps
>  # Create a new Java file
>  # Type the following `x = 3;`
>  # Open Options |Font&Colors|annotations
>  # Select Fixable Errors in list on left
>  # Change the foreground to magenta
>  # Change background to Black
>  # Press Apply button
>  # Do not press OK
>  # Observed behaviour in editor is correct the line on error annotation is 
> black with magenta foreground
>  # Click Restore button
>  # Select Fixable Errors
>  # Correctly shows default colors (attachment Restore-before-apply.png)
>  # Press Apply button
>  # Select Fixable errors
>  # Shows changed colors (attachment Restore-after-apply.png)



--
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-4183) Restore+Apply action in Options | Fonts&Colors| Annotations panel

2020-04-15 Thread Manikantan Narender Nath (Jira)


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

Manikantan Narender Nath updated NETBEANS-4183:
---
Attachment: Restore-before-apply.png
Restore-after-apply.png

> Restore+Apply action in Options | Fonts&Colors| Annotations panel
> -
>
> Key: NETBEANS-4183
> URL: https://issues.apache.org/jira/browse/NETBEANS-4183
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints & Annotations
>Affects Versions: 12.0
>Reporter: Manikantan Narender Nath
>Priority: Major
>  Labels: netcat
> Attachments: Restore-after-apply.png, Restore-before-apply.png
>
>
> Test case 
> [https://netbeans-vm.apache.org/synergy/client/app/#/assignment/2433/v/1]
> Original issue https://bz.apache.org/netbeans/show_bug.cgi?id=254764
> Steps
>  # Create a new Java file
>  # Type the following `x = 3;`
>  # Open Options |Font&Colors|annotations
>  # Select Fixable Errors in list on left
>  # Change the foreground to magenta
>  # Change background to Black
>  # Press Apply button
>  # Do not press OK
>  # Observed behaviour in editor is correct the line on error annotation is 
> black with magenta foreground
>  # Click Restore button
>  # Select Fixable Errors
>  # Correctly shows default colors
>  # Press Apply button
>  # Select Fixable errors
>  # Shows changed colors



--
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-4183) Restore+Apply action in Options | Fonts&Colors| Annotations panel

2020-04-15 Thread Manikantan Narender Nath (Jira)


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

Manikantan Narender Nath updated NETBEANS-4183:
---
Attachment: (was: image-2020-04-16-11-23-38-609.png)

> Restore+Apply action in Options | Fonts&Colors| Annotations panel
> -
>
> Key: NETBEANS-4183
> URL: https://issues.apache.org/jira/browse/NETBEANS-4183
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints & Annotations
>Affects Versions: 12.0
>Reporter: Manikantan Narender Nath
>Priority: Major
>  Labels: netcat
>
> Test case 
> [https://netbeans-vm.apache.org/synergy/client/app/#/assignment/2433/v/1]
> Original issue https://bz.apache.org/netbeans/show_bug.cgi?id=254764
> Steps
>  # Create a new Java file
>  # Type the following `x = 3;`
>  # Open Options |Font&Colors|annotations
>  # Select Fixable Errors in list on left
>  # Change the foreground to magenta
>  # Change background to Black
>  # Press Apply button
>  # Do not press OK
>  # Observed behaviour in editor is correct the line on error annotation is 
> black with magenta foreground
>  # Click Restore button
>  # Select Fixable Errors
>  # Correctly shows default colors
>  # Press Apply button
>  # Select Fixable errors
>  # Shows changed colors



--
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-4183) Restore+Apply action in Options | Fonts&Colors| Annotations panel

2020-04-15 Thread Manikantan Narender Nath (Jira)


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

Manikantan Narender Nath updated NETBEANS-4183:
---
Description: 
Test case 
[https://netbeans-vm.apache.org/synergy/client/app/#/assignment/2433/v/1]

Original issue https://bz.apache.org/netbeans/show_bug.cgi?id=254764

Steps
 # Create a new Java file
 # Type the following `x = 3;`
 # Open Options |Font&Colors|annotations
 # Select Fixable Errors in list on left
 # Change the foreground to magenta
 # Change background to Black
 # Press Apply button
 # Do not press OK
 # Observed behaviour in editor is correct the line on error annotation is 
black with magenta foreground
 # Click Restore button
 # Select Fixable Errors
 # Correctly shows default colors
 # Press Apply button
 # Select Fixable errors
 # Shows changed colors

  was:
Test case 
https://netbeans-vm.apache.org/synergy/client/app/#/assignment/2433/v/1

Steps
 # Create a new Java file
 # Type the following `x = 3;`
 # Open Options |Font&Colors|annotations
 # Select Fixable Errors in list on left
 # Change the foreground to magenta
 # Change background to Black
 # Press Apply button
 # Do not press OK
 # Observed behaviour in editor is correct the line on error annotation is 
black with magenta foreground
 # Click Restore button
 # Select Fixable Errors
 # Correctly shows default colors
 # Press Apply button
 # Select Fixable errors
 # Shows changed colors


> Restore+Apply action in Options | Fonts&Colors| Annotations panel
> -
>
> Key: NETBEANS-4183
> URL: https://issues.apache.org/jira/browse/NETBEANS-4183
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints & Annotations
>Affects Versions: 12.0
>Reporter: Manikantan Narender Nath
>Priority: Major
>  Labels: netcat
> Attachments: image-2020-04-16-11-23-38-609.png
>
>
> Test case 
> [https://netbeans-vm.apache.org/synergy/client/app/#/assignment/2433/v/1]
> Original issue https://bz.apache.org/netbeans/show_bug.cgi?id=254764
> Steps
>  # Create a new Java file
>  # Type the following `x = 3;`
>  # Open Options |Font&Colors|annotations
>  # Select Fixable Errors in list on left
>  # Change the foreground to magenta
>  # Change background to Black
>  # Press Apply button
>  # Do not press OK
>  # Observed behaviour in editor is correct the line on error annotation is 
> black with magenta foreground
>  # Click Restore button
>  # Select Fixable Errors
>  # Correctly shows default colors
>  # Press Apply button
>  # Select Fixable errors
>  # Shows changed colors



--
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-4183) Restore+Apply action in Options | Fonts&Colors| Annotations panel

2020-04-15 Thread Manikantan Narender Nath (Jira)
Manikantan Narender Nath created NETBEANS-4183:
--

 Summary: Restore+Apply action in Options | Fonts&Colors| 
Annotations panel
 Key: NETBEANS-4183
 URL: https://issues.apache.org/jira/browse/NETBEANS-4183
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Hints & Annotations
Affects Versions: 12.0
Reporter: Manikantan Narender Nath
 Attachments: image-2020-04-16-11-23-38-609.png

Test case 
https://netbeans-vm.apache.org/synergy/client/app/#/assignment/2433/v/1

Steps
 # Create a new Java file
 # Type the following `x = 3;`
 # Open Options |Font&Colors|annotations
 # Select Fixable Errors in list on left
 # Change the foreground to magenta
 # Change background to Black
 # Press Apply button
 # Do not press OK
 # Observed behaviour in editor is correct the line on error annotation is 
black with magenta foreground
 # Click Restore button
 # Select Fixable Errors
 # Correctly shows default colors
 # Press Apply button
 # Select Fixable errors
 # Shows changed colors



--
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-4182) Make it possible to save all files when switching to Terminal

2020-04-15 Thread ASF GitHub Bot (Jira)


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

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

> Make it possible to save all files when switching to Terminal
> -
>
> Key: NETBEANS-4182
> URL: https://issues.apache.org/jira/browse/NETBEANS-4182
> Project: NetBeans
>  Issue Type: Improvement
>  Components: cnd - Terminalemulator
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
>
> It would be good to have an option which can enable save all files when the 
> focus is switched to a terminal window.



--
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-4182) Make it possible to save all files when switching to Terminal

2020-04-15 Thread Laszlo Kishalmi (Jira)
Laszlo Kishalmi created NETBEANS-4182:
-

 Summary: Make it possible to save all files when switching to 
Terminal
 Key: NETBEANS-4182
 URL: https://issues.apache.org/jira/browse/NETBEANS-4182
 Project: NetBeans
  Issue Type: Improvement
  Components: cnd - Terminalemulator
Reporter: Laszlo Kishalmi
Assignee: Laszlo Kishalmi


It would be good to have an option which can enable save all files when the 
focus is switched to a terminal window.



--
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-4167) YAML Lexer returns null after typing a simple curly bracket

2020-04-15 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi resolved NETBEANS-4167.
---
Fix Version/s: 12.0
   Resolution: Fixed

> YAML Lexer returns null after typing a simple curly bracket
> ---
>
> Key: NETBEANS-4167
> URL: https://issues.apache.org/jira/browse/NETBEANS-4167
> Project: NetBeans
>  Issue Type: Bug
>  Components: yaml - Editor
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




--
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-4124) Error running forked groovyc

2020-04-15 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-4124:
---

When you created the Groovy file you added Hello.groovy, if you check, you/ve 
created a Hello/groovy.groovy file also the main class name in the Gradle might 
be not exist. Ti would be better to share your project as a zip or upload it to 
github the later preferred, as I can for it and make it work with a PR.

> Error running forked groovyc
> 
>
> Key: NETBEANS-4124
> URL: https://issues.apache.org/jira/browse/NETBEANS-4124
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Code, groovy - Editor, groovy - Grails
>Affects Versions: 11.3
>Reporter: Michal Lorenc
>Assignee: Laszlo Kishalmi
>Priority: Major
>
> I installed Netbeans 11.3, OpenJDK-13 under Ubuntu 18.04 and created in the 
> following a new Groovy project.
>  1. Choose File > New Project (Ctrl-Shift-N;\u2318-Shift-N on Mac) from the 
> main menu to open the New Project wizard.
>  2. Select Java Application in the Java category. Click Next.
>  3. Type GroovyJavaDemo as the Project Name and specify the folder where you 
> want to create the application in the Project Location field.
> 
>  4. Deselect the Create Main Class checkbox. Click Finish.
>  5. Next, I created a Groovy Script file with only this content println 
> "Hello" and it caused the following problems:
> {code:java}
>ant -f /home/ubuntu/NetBeansProjects/GroovyJavaDemo 
> -Djavac.includes=Hello.groovy -Drun.class=Hello run-single
> init:
> deps-jar:
> Created dir: /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build
> Updating property file: 
> /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build/built-jar.properties
> Created dir: /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build/classes
> Created dir: /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build/empty
> Compiling 1 source file to 
> /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build/classes
> 
> /home/ubuntu/NetBeansProjects/GroovyJavaDemo/nbproject/build-impl.xml:1120: 
> The following error occurred while executing this line:
> 
> /home/ubuntu/NetBeansProjects/GroovyJavaDemo/nbproject/groovy-build.xml:26: 
> Error running forked groovyc.
> BUILD FAILED (total time: 1 second)
> {code}
> [Gradle developer|https://github.com/gradle/gradle/issues/12700] states it 
> has nothing to with its project.
> Why does it works only with OpenJDk-8 and not with OpenJDK-13?
> Thank you in advance,



--
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-4124) Error running forked groovyc

2020-04-15 Thread Michal Lorenc (Jira)


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

Michal Lorenc commented on NETBEANS-4124:
-

Thank you, it worked to build it does not show the out put of the println 
statement


{code:java}
JAVA_HOME="/usr/lib/jvm/java-13-openjdk-amd64"
cd /home/ubuntu/NetBeansProjects/GroovyTest2; 
/home/ubuntu/.gradle/wrapper/dists/gradle-6.0-bin/8ccdmgaih4za71r0tlxhaz33m/gradle-6.0/bin/gradle
 --configure-on-demand -x check run
Configuration on demand is an incubating feature.
> Task :compileJava NO-SOURCE
> Task :compileGroovy UP-TO-DATE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE
> Task :run

BUILD SUCCESSFUL in 5s
2 actionable tasks: 1 executed, 1 up-to-date
{code}

I've done it in the following  [way|https://imgur.com/a/OboLeLR].

What did I miss?

Thank you in advance




> Error running forked groovyc
> 
>
> Key: NETBEANS-4124
> URL: https://issues.apache.org/jira/browse/NETBEANS-4124
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Code, groovy - Editor, groovy - Grails
>Affects Versions: 11.3
>Reporter: Michal Lorenc
>Assignee: Laszlo Kishalmi
>Priority: Major
>
> I installed Netbeans 11.3, OpenJDK-13 under Ubuntu 18.04 and created in the 
> following a new Groovy project.
>  1. Choose File > New Project (Ctrl-Shift-N;\u2318-Shift-N on Mac) from the 
> main menu to open the New Project wizard.
>  2. Select Java Application in the Java category. Click Next.
>  3. Type GroovyJavaDemo as the Project Name and specify the folder where you 
> want to create the application in the Project Location field.
> 
>  4. Deselect the Create Main Class checkbox. Click Finish.
>  5. Next, I created a Groovy Script file with only this content println 
> "Hello" and it caused the following problems:
> {code:java}
>ant -f /home/ubuntu/NetBeansProjects/GroovyJavaDemo 
> -Djavac.includes=Hello.groovy -Drun.class=Hello run-single
> init:
> deps-jar:
> Created dir: /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build
> Updating property file: 
> /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build/built-jar.properties
> Created dir: /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build/classes
> Created dir: /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build/empty
> Compiling 1 source file to 
> /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build/classes
> 
> /home/ubuntu/NetBeansProjects/GroovyJavaDemo/nbproject/build-impl.xml:1120: 
> The following error occurred while executing this line:
> 
> /home/ubuntu/NetBeansProjects/GroovyJavaDemo/nbproject/groovy-build.xml:26: 
> Error running forked groovyc.
> BUILD FAILED (total time: 1 second)
> {code}
> [Gradle developer|https://github.com/gradle/gradle/issues/12700] states it 
> has nothing to with its project.
> Why does it works only with OpenJDk-8 and not with OpenJDK-13?
> Thank you in advance,



--
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-1416) FXML Editor instances that has constructor by NamedArg annotaton

2020-04-15 Thread Jeremy Hinkle (Jira)


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

Jeremy Hinkle commented on NETBEANS-1416:
-

Issue still exists with NB 11.3 / JDK 11.0.6+10 / JFX 11.0.2.

As mentioned in BugZilla, "Instances of javafx.geometry.Insets cannot be 
created by FXML loader"

> FXML Editor instances that has constructor by NamedArg annotaton
> 
>
> Key: NETBEANS-1416
> URL: https://issues.apache.org/jira/browse/NETBEANS-1416
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Editor
>Affects Versions: 8.2, 9.0, 10.0
>Reporter: Ugur KARA
>Priority: Major
> Attachments: MyAnimation.java, MyView.fxml, Test.java
>
>
>  
>  
> FXML Editor giving following hints,
> "Instances of tr.com.sparrow.fxml.MyAnimation cannot be created by FXML 
> loader"
> "Class 'tr.com.sparrow.fxml.MyAnimation' does not support property 'text'"
> Class 'tr.com.sparrow.fxml.MyAnimation' does not support property 'msg'
>  
> MyAnimation class has constructor that give two parameter by NamedArg 
> annotation,
> At runtime no problem , FXMLLoader can create the  MyAnimation instance, 
> It seems FXML Editor giving the hints at design 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] [Updated] (NETBEANS-4177) IOOBE when editing Java file with temporarily missing comma in method parameter list

2020-04-15 Thread ASF GitHub Bot (Jira)


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

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

> IOOBE when editing Java file with temporarily missing comma in method 
> parameter list
> 
>
> Key: NETBEANS-4177
> URL: https://issues.apache.org/jira/browse/NETBEANS-4177
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.3
> Environment: NetBeans 11.3 with nbjavac plugin installed
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: nbjavac, pull-request-available
>
> If, during editing, a comma is momentarily deleted in the parameter list of a 
> method (in certain cases), an error dialog shows up showing an 
> IndexOutOfBoundsException in 
> SemanticHighlighterBase$DetectorVisitor.addParameterInlineHint. A minimized 
> example exhibiting this behavior is as follows:
> {code:java}
> public class BugSemanticHighlighterBase {
>   private Object testMethod(final String arg1 final String arg2) {
> return new String("");
>   }
> }
> {code}
> This example causes the IDE to throw the following exception:
> {noformat}
> java.lang.IndexOutOfBoundsException: -1
>   at com.sun.tools.javac.util.List.get(List.java:482)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.addParameterInlineHint(SemanticHighlighterBase.java:1241)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitLiteral(SemanticHighlighterBase.java:1180)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitLiteral(SemanticHighlighterBase.java:424)
>   at com.sun.tools.javac.tree.JCTree$JCLiteral.accept(JCTree.java:2410)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   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:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
>   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitNewClass(SemanticHighlighterBase.java:1085)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitNewClass(SemanticHighlighterBase.java:424)
>   at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1820)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   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:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
>   at com.sun.source.util.TreeScanner.visitReturn(TreeScanner.java:495)
>   at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1663)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   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:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
>   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>   at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:249)
>   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1048)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   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:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.s

[jira] [Created] (NETBEANS-4181) Netbeans 11.3 "Slowness Detected" too often

2020-04-15 Thread KINGNI (Jira)
KINGNI created NETBEANS-4181:


 Summary: Netbeans 11.3 "Slowness Detected" too often
 Key: NETBEANS-4181
 URL: https://issues.apache.org/jira/browse/NETBEANS-4181
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.3
 Environment: Ubuntu 18.04
Java-11-OpenJdk

Reporter: KINGNI
 Attachments: IDE log.txt, UI Log.txt, netbeans11.3slowness.jpg

Using netbeans mainly for PHP

For unknown reason to me, Netbeans freeze for long time. Really frustrating



--
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-3972) Unable to git commit changes with GPG signing

2020-04-15 Thread Kevin Andrews (Jira)


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

Kevin Andrews commented on NETBEANS-3972:
-

Looking at the output tab while commiting:


{code:java}
Git Commit
--
git commit -m "Message"
INFO: End of Commit{code}

looks like the command is missing the -S flag when gpg signing is set to true.

> Unable to git commit changes with GPG signing
> -
>
> Key: NETBEANS-3972
> URL: https://issues.apache.org/jira/browse/NETBEANS-3972
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.0, 11.3
>Reporter: Kevin Andrews
>Priority: Minor
>
> After setting up git GPG key signing on the repo config:
> {code:java}
> [user] 
> name = XX
> email =  XX
> signingkey = XX
> [commit] 
> gpgsign = true{code}
> I can commit in a terminal and commits are signed, however through NetBeans I 
> get the following error after entering a commit message and clicking commit:
> {code:java}
> 
>   2020-03-06T21:35:15
>   1583530515293
>   21894
>   org.netbeans.ui.focus
>   500
>   138
>   LOG_WINDOW_ACTIVATED
>   LOG_WINDOW_ACTIVATED
>   org.netbeans.core.ui.warmup.Bundle
>   25
> 
> 
>   2020-03-06T21:35:17
>   1583530517740
>   21895
>   org.netbeans.ui.actions
>   400
>   22
>   UI_ACTION_BUTTON_PRESS
>   UI_ACTION_BUTTON_PRESS
>   org.openide.awt.Bundle
>   javax.swing.JMenuItem[Commit...]
>   javax.swing.JMenuItem
>   
> org.netbeans.modules.versioning.util.SystemActionBridge[Commit...]
>   org.netbeans.modules.versioning.util.SystemActionBridge
>   Commit...
> 
> 
>   2020-03-06T21:35:17
>   1583530517740
>   21896
>   org.netbeans.ui.SystemActionBridge
>   400
>   22
>   UI_ACTION_BUTTON_PRESS
>   UI_ACTION_BUTTON_PRESS
>   org.openide.awt.Bundle
>   
>   
>   
> org.netbeans.modules.git.ui.commit.CommitAction[Co&mmit...]
>   org.netbeans.modules.git.ui.commit.CommitAction
>   Co&mmit...
> 
> 
>   2020-03-06T21:35:19
>   1583530519266
>   21898
>   org.netbeans.ui.vcs
>   800
>   138
>   USG_VCS_CMD
>   USG_VCS_CMD
>   org.netbeans.modules.versioning.util.Bundle
>   GIT
>   11
>   0
>   commit
>   INTERNAL
> 
> 
>   2020-03-06T21:35:19
>   1583530519266
>   21899
>   org.netbeans.modules.git
>   800
>   138
>   org.eclipse.jgit.api.errors.JGitInternalException: missing 
> credentials provider
>   
> org.netbeans.libs.git.GitException: 
> org.eclipse.jgit.api.errors.JGitInternalException: missing credentials 
> provider
> 
>   org.netbeans.libs.git.jgit.commands.CommitCommand
>   run
>   153
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand$1
>   run
>   57
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand$1
>   run
>   54
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   java.security.AccessController
>   doPrivileged
>   jrt:/java.base/java/security/AccessController.class
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand
>   execute
>   54
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.GitClient
>   commit
>   480
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$9
>   call
>   297
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$9
>   call
>   293
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   
> org.netbeans.modules.git.client.GitClient$CommandInvoker$1$1
>   call
>   933
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   
> org.netbeans.modules.git.client.GitClient$CommandInvoker$1
>   call
>   956
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.FilesystemInterceptor
>   runWithoutExternalEvents
>   473
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.Git
>   runWithoutExternalEvents
>   259
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandInvoker
>   runMethodIntern
>   966
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandInvoker
>   runMethod
>   893
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandInvoker
>   access$300
>   869
>   ${netBe

[jira] [Created] (NETBEANS-4180) Assertion error in javac when processing errors in anonymous class

2020-04-15 Thread Eirik Bakke (Jira)
Eirik Bakke created NETBEANS-4180:
-

 Summary: Assertion error in javac when processing errors in 
anonymous class
 Key: NETBEANS-4180
 URL: https://issues.apache.org/jira/browse/NETBEANS-4180
 Project: NetBeans
  Issue Type: Bug
  Components: java - Source
Affects Versions: 11.3
 Environment: NetBeans 11.3 with nbjavac plugin installed
Reporter: Eirik Bakke


If a source file is saved with with certain errors in the syntax of an 
anonymous inner class, an error dialog shows up showing an assertion error in 
javac. A minimized example exhibiting this behavior is as follows:

{code:java}
public final class BugExhibitAnalyserError {
  public void testMethod() {
new Thread(new Runnable() {
  //public void run() {
System.out.println("Hello world");
  //}
});
  }
}
{code}

This example causes the IDE to throw the following exception (shown in a 
user-visible dialog):

{noformat}
java.lang.AssertionError: Analyzer error when processing: new Thread(new 
Runnable(){

() {
super();
}

System.out.println ((ERROR) );
});
at com.sun.tools.javac.util.Assert.error(Assert.java:162)
at com.sun.tools.javac.comp.Analyzer.doAnalysis(Analyzer.java:578)
at com.sun.tools.javac.comp.Analyzer$2.flush(Analyzer.java:549)
at com.sun.tools.javac.comp.Analyzer.flush(Analyzer.java:586)
at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1505)
at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1473)
at 
com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:504)
at 
com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:651)
at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:507)
[catch] at 
org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:261)
at 
org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361)
at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)
at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3300)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.scanFiles(RepositoryUpdater.java:3255)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:3785)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6095)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java

[jira] [Updated] (NETBEANS-4179) Assertion error in javac when saving file with missing comma in method parameter list

2020-04-15 Thread Eirik Bakke (Jira)


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

Eirik Bakke updated NETBEANS-4179:
--
Description: 
If, during editing, a method parameter list occurs with a missing comma (in 
certain cases), an error dialog shows up showing an assertion error in javac 
every time the Java source file is saved, interrupting the user. A minimized 
example exhibiting this behavior is as follows:

{code:java}
public class BugErrorUncaught {
  private Object testMethod(String param1 final String param2) {
return null;
  }
}
{code}

This is a variation of the example in NETBEANS-4095, but filed here as a 
separate bug since the two cause different exceptions at different levels 
(inside javac here vs. at the semantic highlighting layer in NETBEANS-4095). 
This example causes the IDE to throw the following exception:

{noformat}
java.lang.AssertionError
at com.sun.tools.javac.util.Assert.error(Assert.java:155)
at com.sun.tools.javac.util.Assert.check(Assert.java:46)
at 
com.sun.tools.javac.comp.Flow$FlowAnalyzer.errorUncaught(Flow.java:918)
at 
com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitClassDef(Flow.java:1008)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:788)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:422)
at 
com.sun.tools.javac.comp.Flow$FlowAnalyzer.analyzeTree(Flow.java:1456)
at 
com.sun.tools.javac.comp.Flow$FlowAnalyzer.analyzeTree(Flow.java:1446)
at com.sun.tools.javac.comp.Flow.analyzeTree(Flow.java:219)
at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1499)
at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1473)
at 
com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:504)
at 
com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:651)
at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:507)
[catch] at 
org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:261)
at 
org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361)
at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)
at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3300)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.scanFiles(RepositoryUpdater.java:3255)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:3785)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSup

[jira] [Created] (NETBEANS-4179) Assertion error in javac when saving file with missing comma in method parameter list

2020-04-15 Thread Eirik Bakke (Jira)
Eirik Bakke created NETBEANS-4179:
-

 Summary: Assertion error in javac when saving file with missing 
comma in method parameter list
 Key: NETBEANS-4179
 URL: https://issues.apache.org/jira/browse/NETBEANS-4179
 Project: NetBeans
  Issue Type: Bug
  Components: java - Source
Affects Versions: 11.3
 Environment: NetBeans 11.3 with nbjavac plugin installed
Reporter: Eirik Bakke


If, during editing, a method parameter list occurs with a missing comma (in 
certainc cases), an error dialog shows up showing an assertion error in javac 
every time the Java source file is saved, interrupting the user. A minimized 
example exhibiting this behavior is as follows:

{code:java}
public class BugErrorUncaught {
  private Object testMethod(String param1 final String param2) {
return null;
  }
}
{code}

This is a variation of the example in NETBEANS-4095, but filed here as a 
separate bug since the two cause different exceptions at different levels 
(inside javac here vs. at the semantic highlighting layer in NETBEANS-4095). 
This example causes the IDE to throw the following exception:

{noformat}
java.lang.AssertionError
at com.sun.tools.javac.util.Assert.error(Assert.java:155)
at com.sun.tools.javac.util.Assert.check(Assert.java:46)
at 
com.sun.tools.javac.comp.Flow$FlowAnalyzer.errorUncaught(Flow.java:918)
at 
com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitClassDef(Flow.java:1008)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:788)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:422)
at 
com.sun.tools.javac.comp.Flow$FlowAnalyzer.analyzeTree(Flow.java:1456)
at 
com.sun.tools.javac.comp.Flow$FlowAnalyzer.analyzeTree(Flow.java:1446)
at com.sun.tools.javac.comp.Flow.analyzeTree(Flow.java:219)
at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1499)
at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1473)
at 
com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:504)
at 
com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:651)
at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:507)
[catch] at 
org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:261)
at 
org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361)
at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)
at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3300)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.scanFiles(RepositoryUpdater.java:3255)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:3785)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834)

[jira] [Created] (NETBEANS-4178) Ctrl-; to add semicolon to the end of line not working on macOS

2020-04-15 Thread Juan Miguel Escribano (Jira)
Juan Miguel Escribano created NETBEANS-4178:
---

 Summary: Ctrl-; to add semicolon to the end of line not working on 
macOS
 Key: NETBEANS-4178
 URL: https://issues.apache.org/jira/browse/NETBEANS-4178
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.0
 Environment: macOS
Reporter: Juan Miguel Escribano


In macOS the shortcut should be "*CMD+;*"  i.e. "*Shift+CMD+,*" but this 
shortcut is used for "Bookmark history popup previous"



--
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-4177) IOOBE when editing Java file with temporarily missing comma in method parameter list

2020-04-15 Thread Eirik Bakke (Jira)


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

Eirik Bakke updated NETBEANS-4177:
--
Labels: nbjavac  (was: )

> IOOBE when editing Java file with temporarily missing comma in method 
> parameter list
> 
>
> Key: NETBEANS-4177
> URL: https://issues.apache.org/jira/browse/NETBEANS-4177
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.3
> Environment: NetBeans 11.3
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: nbjavac
>
> If, during editing, a comma is momentarily deleted in the parameter list of a 
> method (in certain cases), an error dialog shows up showing an 
> IndexOutOfBoundsException in 
> SemanticHighlighterBase$DetectorVisitor.addParameterInlineHint. A minimized 
> example exhibiting this behavior is as follows:
> {code:java}
> public class BugSemanticHighlighterBase {
>   private Object testMethod(final String arg1 final String arg2) {
> return new String("");
>   }
> }
> {code}
> This example causes the IDE to throw the following exception:
> {noformat}
> java.lang.IndexOutOfBoundsException: -1
>   at com.sun.tools.javac.util.List.get(List.java:482)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.addParameterInlineHint(SemanticHighlighterBase.java:1241)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitLiteral(SemanticHighlighterBase.java:1180)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitLiteral(SemanticHighlighterBase.java:424)
>   at com.sun.tools.javac.tree.JCTree$JCLiteral.accept(JCTree.java:2410)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   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:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
>   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitNewClass(SemanticHighlighterBase.java:1085)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitNewClass(SemanticHighlighterBase.java:424)
>   at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1820)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   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:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
>   at com.sun.source.util.TreeScanner.visitReturn(TreeScanner.java:495)
>   at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1663)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   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:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
>   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>   at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:249)
>   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1048)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   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:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
>   at com.sun.source.util.TreeScanner.scanAndRe

[jira] [Updated] (NETBEANS-4177) IOOBE when editing Java file with temporarily missing comma in method parameter list

2020-04-15 Thread Eirik Bakke (Jira)


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

Eirik Bakke updated NETBEANS-4177:
--
Environment: NetBeans 11.3 with nbjavac plugin installed  (was: NetBeans 
11.3)

> IOOBE when editing Java file with temporarily missing comma in method 
> parameter list
> 
>
> Key: NETBEANS-4177
> URL: https://issues.apache.org/jira/browse/NETBEANS-4177
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.3
> Environment: NetBeans 11.3 with nbjavac plugin installed
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: nbjavac
>
> If, during editing, a comma is momentarily deleted in the parameter list of a 
> method (in certain cases), an error dialog shows up showing an 
> IndexOutOfBoundsException in 
> SemanticHighlighterBase$DetectorVisitor.addParameterInlineHint. A minimized 
> example exhibiting this behavior is as follows:
> {code:java}
> public class BugSemanticHighlighterBase {
>   private Object testMethod(final String arg1 final String arg2) {
> return new String("");
>   }
> }
> {code}
> This example causes the IDE to throw the following exception:
> {noformat}
> java.lang.IndexOutOfBoundsException: -1
>   at com.sun.tools.javac.util.List.get(List.java:482)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.addParameterInlineHint(SemanticHighlighterBase.java:1241)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitLiteral(SemanticHighlighterBase.java:1180)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitLiteral(SemanticHighlighterBase.java:424)
>   at com.sun.tools.javac.tree.JCTree$JCLiteral.accept(JCTree.java:2410)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   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:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
>   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitNewClass(SemanticHighlighterBase.java:1085)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitNewClass(SemanticHighlighterBase.java:424)
>   at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1820)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   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:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
>   at com.sun.source.util.TreeScanner.visitReturn(TreeScanner.java:495)
>   at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1663)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   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:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
>   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>   at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:249)
>   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1048)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   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:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(S

[jira] [Updated] (NETBEANS-4095) NPE saving Java file with type error in for-each

2020-04-15 Thread Eirik Bakke (Jira)


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

Eirik Bakke updated NETBEANS-4095:
--
Labels: nbjavac  (was: )

> NPE saving Java file with type error in for-each
> 
>
> Key: NETBEANS-4095
> URL: https://issues.apache.org/jira/browse/NETBEANS-4095
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.3
> Environment: Java 14, NetBeans with nbjavac plugin installed
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: nbjavac
>
> If, during editing, a for-each loop appears with an incorrect pair of types, 
> an error dialog shows up showing a NullPointerException every time the Java 
> source file is saved, interrupting the user. A minimized example exhibiting 
> this behavior is as follows:
> {code:java}
> public final class CausesVisitIterableForeachLoopNPE {
>   public static final void main(String args[]) {
> final Map someMap = null;
> for (Object someVar : someMap) { }
>   }
> }
> {code}
> This example causes the IDE to throw the following exception:
> {noformat}
> java.lang.NullPointerException
>   at 
> com.sun.tools.javac.comp.Lower.visitIterableForeachLoop(Lower.java:3275)
>   at com.sun.tools.javac.comp.Lower.visitForeachLoop(Lower.java:3162)
>   at 
> com.sun.tools.javac.tree.JCTree$JCEnhancedForLoop.accept(JCTree.java:1176)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
>   at com.sun.tools.javac.comp.Lower.translate(Lower.java:2080)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:167)
>   at com.sun.tools.javac.comp.Lower.visitBlock(Lower.java:3347)
>   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1036)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
>   at com.sun.tools.javac.comp.Lower.translate(Lower.java:2080)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:150)
>   at 
> com.sun.tools.javac.comp.Lower.visitMethodDefInternal(Lower.java:2538)
>   at com.sun.tools.javac.comp.Lower.visitMethodDef(Lower.java:2448)
>   at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:882)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
>   at com.sun.tools.javac.comp.Lower.translate(Lower.java:2080)
>   at com.sun.tools.javac.comp.Lower.visitClassDef(Lower.java:2219)
>   at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:788)
>   at 
> com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
>   at com.sun.tools.javac.comp.Lower.translate(Lower.java:2080)
>   at com.sun.tools.javac.comp.Lower.translate(Lower.java:2099)
>   at 
> com.sun.tools.javac.comp.Lower.translateTopLevelClass(Lower.java:3813)
>   at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1691)
>   at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1532)
>   at 
> com.sun.tools.javac.api.JavacTaskImpl$2.process(JavacTaskImpl.java:574)
>   at 
> com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:651)
>   at 
> com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:577)
> [catch] at 
> org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:303)
>   at 
> org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361)
>   at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)
>   at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3300)
>   at 
> org.netbeans.modules

[jira] [Created] (NETBEANS-4177) IOOBE when editing Java file with temporarily missing comma in method parameter list

2020-04-15 Thread Eirik Bakke (Jira)
Eirik Bakke created NETBEANS-4177:
-

 Summary: IOOBE when editing Java file with temporarily missing 
comma in method parameter list
 Key: NETBEANS-4177
 URL: https://issues.apache.org/jira/browse/NETBEANS-4177
 Project: NetBeans
  Issue Type: Bug
  Components: java - Editor
Affects Versions: 11.3
 Environment: NetBeans 11.3
Reporter: Eirik Bakke


If, during editing, a comma is momentarily deleted in the parameter list of a 
method (in certain cases), an error dialog shows up showing an 
IndexOutOfBoundsException in 
SemanticHighlighterBase$DetectorVisitor.addParameterInlineHint. A minimized 
example exhibiting this behavior is as follows:

{code:java}
public class BugSemanticHighlighterBase {
  private Object testMethod(final String arg1 final String arg2) {
return new String("");
  }
}
{code}

This example causes the IDE to throw the following exception:

{noformat}
java.lang.IndexOutOfBoundsException: -1
at com.sun.tools.javac.util.List.get(List.java:482)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.addParameterInlineHint(SemanticHighlighterBase.java:1241)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitLiteral(SemanticHighlighterBase.java:1180)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitLiteral(SemanticHighlighterBase.java:424)
at com.sun.tools.javac.tree.JCTree$JCLiteral.accept(JCTree.java:2410)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
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:1199)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitNewClass(SemanticHighlighterBase.java:1085)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitNewClass(SemanticHighlighterBase.java:424)
at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1820)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
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:1199)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
at com.sun.source.util.TreeScanner.visitReturn(TreeScanner.java:495)
at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1663)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
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:1199)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:249)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1048)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
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:1199)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
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:1124)

[jira] [Updated] (NETBEANS-3707) Class names in auto-complete barely readable

2020-04-15 Thread ASF GitHub Bot (Jira)


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

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

> Class names in auto-complete barely readable
> 
>
> Key: NETBEANS-3707
> URL: https://issues.apache.org/jira/browse/NETBEANS-3707
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Settings, FlatLaf, php - Editor
>Affects Versions: 11.3
> Environment: Product Version: Apache NetBeans IDE DEV (Build 
> dev-71270e6cd2ac4daf7bfd1baf3727aa90735c60fc)
> Java: 1.8.0_201; Java HotSpot(TM) 64-Bit Server VM 25.201-b09
> Runtime: Java(TM) SE Runtime Environment 1.8.0_201-b09
> System: Linux version 4.15.0-74-generic running on amd64; UTF-8; en_US (nb) 
>Reporter: Tomáš Procházka
>Priority: Minor
>  Labels: pull-request-available
> Attachments: netbeans-class-color.png
>
>
> When using FlatLaf Dark look and feel then color of classes in auto-complete 
> window makes the names very hard to read. Color used for class is too dark 
> and makes very low contrast to background, see attached picture.
> Also can't find if this color can be set in Options.



--
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-4176) Javadoc title is displayed incorrectly for JDK 11.

2020-04-15 Thread Rahul (Jira)


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

Rahul updated NETBEANS-4176:

External issue URL: https://github.com/apache/netbeans/pull/2080

> Javadoc title is displayed incorrectly for JDK 11.
> --
>
> Key: NETBEANS-4176
> URL: https://issues.apache.org/jira/browse/NETBEANS-4176
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Javadoc
>Affects Versions: 11.3
>Reporter: Rahul
>Assignee: Rahul
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 12.0
>
> Attachments: AfterFix.png, BeforeFix.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> This is an small issue.
> Navigate to:
> Help -> Javadoc References 
>  
> For java 11, javadoc title contains HTML escape character.



--
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-4176) Javadoc title is displayed incorrectly for JDK 11.

2020-04-15 Thread Rahul (Jira)


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

Rahul updated NETBEANS-4176:

Attachment: AfterFix.png

> Javadoc title is displayed incorrectly for JDK 11.
> --
>
> Key: NETBEANS-4176
> URL: https://issues.apache.org/jira/browse/NETBEANS-4176
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Javadoc
>Affects Versions: 11.3
>Reporter: Rahul
>Assignee: Rahul
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 12.0
>
> Attachments: AfterFix.png, BeforeFix.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> This is an small issue.
> Navigate to:
> Help -> Javadoc References 
>  
> For java 11, javadoc title contains HTML escape character.



--
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-4176) Javadoc title is displayed incorrectly for JDK 11.

2020-04-15 Thread ASF GitHub Bot (Jira)


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

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

> Javadoc title is displayed incorrectly for JDK 11.
> --
>
> Key: NETBEANS-4176
> URL: https://issues.apache.org/jira/browse/NETBEANS-4176
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Javadoc
>Affects Versions: 11.3
>Reporter: Rahul
>Assignee: Rahul
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 12.0
>
> Attachments: BeforeFix.png
>
>
> This is an small issue.
> Navigate to:
> Help -> Javadoc References 
>  
> For java 11, javadoc title contains HTML escape character.



--
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-3972) Unable to git commit changes with GPG signing

2020-04-15 Thread Kevin Andrews (Jira)


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

Kevin Andrews commented on NETBEANS-3972:
-

Interestingly changing the GPG signing key value to something incorrect gives:

org.eclipse.jgit.api.errors.JGitInternalException: Unable to find a public-key 
with key or user id: xxx

 

Which indicates it is locating the public-key correctly

> Unable to git commit changes with GPG signing
> -
>
> Key: NETBEANS-3972
> URL: https://issues.apache.org/jira/browse/NETBEANS-3972
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.0, 11.3
>Reporter: Kevin Andrews
>Priority: Minor
>
> After setting up git GPG key signing on the repo config:
> {code:java}
> [user] 
> name = XX
> email =  XX
> signingkey = XX
> [commit] 
> gpgsign = true{code}
> I can commit in a terminal and commits are signed, however through NetBeans I 
> get the following error after entering a commit message and clicking commit:
> {code:java}
> 
>   2020-03-06T21:35:15
>   1583530515293
>   21894
>   org.netbeans.ui.focus
>   500
>   138
>   LOG_WINDOW_ACTIVATED
>   LOG_WINDOW_ACTIVATED
>   org.netbeans.core.ui.warmup.Bundle
>   25
> 
> 
>   2020-03-06T21:35:17
>   1583530517740
>   21895
>   org.netbeans.ui.actions
>   400
>   22
>   UI_ACTION_BUTTON_PRESS
>   UI_ACTION_BUTTON_PRESS
>   org.openide.awt.Bundle
>   javax.swing.JMenuItem[Commit...]
>   javax.swing.JMenuItem
>   
> org.netbeans.modules.versioning.util.SystemActionBridge[Commit...]
>   org.netbeans.modules.versioning.util.SystemActionBridge
>   Commit...
> 
> 
>   2020-03-06T21:35:17
>   1583530517740
>   21896
>   org.netbeans.ui.SystemActionBridge
>   400
>   22
>   UI_ACTION_BUTTON_PRESS
>   UI_ACTION_BUTTON_PRESS
>   org.openide.awt.Bundle
>   
>   
>   
> org.netbeans.modules.git.ui.commit.CommitAction[Co&mmit...]
>   org.netbeans.modules.git.ui.commit.CommitAction
>   Co&mmit...
> 
> 
>   2020-03-06T21:35:19
>   1583530519266
>   21898
>   org.netbeans.ui.vcs
>   800
>   138
>   USG_VCS_CMD
>   USG_VCS_CMD
>   org.netbeans.modules.versioning.util.Bundle
>   GIT
>   11
>   0
>   commit
>   INTERNAL
> 
> 
>   2020-03-06T21:35:19
>   1583530519266
>   21899
>   org.netbeans.modules.git
>   800
>   138
>   org.eclipse.jgit.api.errors.JGitInternalException: missing 
> credentials provider
>   
> org.netbeans.libs.git.GitException: 
> org.eclipse.jgit.api.errors.JGitInternalException: missing credentials 
> provider
> 
>   org.netbeans.libs.git.jgit.commands.CommitCommand
>   run
>   153
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand$1
>   run
>   57
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand$1
>   run
>   54
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   java.security.AccessController
>   doPrivileged
>   jrt:/java.base/java/security/AccessController.class
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand
>   execute
>   54
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.GitClient
>   commit
>   480
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$9
>   call
>   297
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$9
>   call
>   293
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   
> org.netbeans.modules.git.client.GitClient$CommandInvoker$1$1
>   call
>   933
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   
> org.netbeans.modules.git.client.GitClient$CommandInvoker$1
>   call
>   956
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.FilesystemInterceptor
>   runWithoutExternalEvents
>   473
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.Git
>   runWithoutExternalEvents
>   259
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandInvoker
>   runMethodIntern
>   966
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandInvoker
>   runMethod
>   893
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$Comma

[netbeans] branch master updated (83ea2d3 -> 974f4d7)

2020-04-15 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from 83ea2d3  Merge pull request #2050 from 
DevCharly/flatlaf-libraries-selection
 add 974f4d7  [NETBEANS-4167] Fix null token on { in yaml files

No new revisions were added by this update.

Summary of changes:
 .../netbeans/modules/languages/yaml/YamlLexer.java | 44 --
 .../data/testfiles/issue_NETBEANS-4167.yaml.txt|  3 ++
 .../issue_NETBEANS-4167.yaml.txt.tokens.txt|  7 
 .../modules/languages/yaml/YamlLexerTest.java  |  5 +++
 4 files changed, 40 insertions(+), 19 deletions(-)
 create mode 100644 
ide/languages.yaml/test/unit/data/testfiles/issue_NETBEANS-4167.yaml.txt
 create mode 100644 
ide/languages.yaml/test/unit/data/testfiles/issue_NETBEANS-4167.yaml.txt.tokens.txt


-
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-4159) Internal hint engine for EE feature resolves class version to JDK6

2020-04-15 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-4159:
-

Hi [~geertjan],

any chance to get this into 12? Main error scenario will be if using JDK14 
records. Quite a big gap between JDK 6 and 14 for new introduced model 
elements. IMHO needed for "really" full JDK14 support. ;)

Regards
Benjamin

> Internal hint engine for EE feature resolves class version to JDK6
> --
>
> Key: NETBEANS-4159
> URL: https://issues.apache.org/jira/browse/NETBEANS-4159
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints & Annotations
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE DEV (Build 
> dev-1718236e226adfd9aa5a48d9be74b2a95a63b050)
> Java: 14; OpenJDK 64-Bit Server VM 14+36
> Runtime: OpenJDK Runtime Environment 14+36
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
>Reporter: Benjamin Graf
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Simple test class using JDK14 feature (e.g. record) always throws Exception 
> while resolving hints.
> {noformat}
> javax.lang.model.element.UnknownElementException: Unknown element: 
> "javaapplication1.JavaApplication1.Point"
>   at 
> java.compiler@14/javax.lang.model.util.AbstractElementVisitor6.visitUnknown(AbstractElementVisitor6.java:126)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitTypeAsRecord(ElementKindVisitor6.java:240)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:160)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:61)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:37)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:151)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider.run(WebServicesHintsProvider.java:112)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider$ProblemFinderCompInfo.run(WebServicesHintsProvider.java:187)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>   at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>   at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> {noformat}
> Reproduce:
> 1. Create Java Application (tested with and and maven based project)
> 2. Write some simple JDK14 record class
> 3. Activate EE feature if not activated yet



--
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-3972) Unable to git commit changes with GPG signing

2020-04-15 Thread Kevin Andrews (Jira)


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

Kevin Andrews updated NETBEANS-3972:

Affects Version/s: 12.0

> Unable to git commit changes with GPG signing
> -
>
> Key: NETBEANS-3972
> URL: https://issues.apache.org/jira/browse/NETBEANS-3972
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.0, 11.3
>Reporter: Kevin Andrews
>Priority: Minor
>
> After setting up git GPG key signing on the repo config:
> {code:java}
> [user] 
> name = XX
> email =  XX
> signingkey = XX
> [commit] 
> gpgsign = true{code}
> I can commit in a terminal and commits are signed, however through NetBeans I 
> get the following error after entering a commit message and clicking commit:
> {code:java}
> 
>   2020-03-06T21:35:15
>   1583530515293
>   21894
>   org.netbeans.ui.focus
>   500
>   138
>   LOG_WINDOW_ACTIVATED
>   LOG_WINDOW_ACTIVATED
>   org.netbeans.core.ui.warmup.Bundle
>   25
> 
> 
>   2020-03-06T21:35:17
>   1583530517740
>   21895
>   org.netbeans.ui.actions
>   400
>   22
>   UI_ACTION_BUTTON_PRESS
>   UI_ACTION_BUTTON_PRESS
>   org.openide.awt.Bundle
>   javax.swing.JMenuItem[Commit...]
>   javax.swing.JMenuItem
>   
> org.netbeans.modules.versioning.util.SystemActionBridge[Commit...]
>   org.netbeans.modules.versioning.util.SystemActionBridge
>   Commit...
> 
> 
>   2020-03-06T21:35:17
>   1583530517740
>   21896
>   org.netbeans.ui.SystemActionBridge
>   400
>   22
>   UI_ACTION_BUTTON_PRESS
>   UI_ACTION_BUTTON_PRESS
>   org.openide.awt.Bundle
>   
>   
>   
> org.netbeans.modules.git.ui.commit.CommitAction[Co&mmit...]
>   org.netbeans.modules.git.ui.commit.CommitAction
>   Co&mmit...
> 
> 
>   2020-03-06T21:35:19
>   1583530519266
>   21898
>   org.netbeans.ui.vcs
>   800
>   138
>   USG_VCS_CMD
>   USG_VCS_CMD
>   org.netbeans.modules.versioning.util.Bundle
>   GIT
>   11
>   0
>   commit
>   INTERNAL
> 
> 
>   2020-03-06T21:35:19
>   1583530519266
>   21899
>   org.netbeans.modules.git
>   800
>   138
>   org.eclipse.jgit.api.errors.JGitInternalException: missing 
> credentials provider
>   
> org.netbeans.libs.git.GitException: 
> org.eclipse.jgit.api.errors.JGitInternalException: missing credentials 
> provider
> 
>   org.netbeans.libs.git.jgit.commands.CommitCommand
>   run
>   153
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand$1
>   run
>   57
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand$1
>   run
>   54
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   java.security.AccessController
>   doPrivileged
>   jrt:/java.base/java/security/AccessController.class
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand
>   execute
>   54
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.GitClient
>   commit
>   480
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$9
>   call
>   297
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$9
>   call
>   293
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   
> org.netbeans.modules.git.client.GitClient$CommandInvoker$1$1
>   call
>   933
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   
> org.netbeans.modules.git.client.GitClient$CommandInvoker$1
>   call
>   956
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.FilesystemInterceptor
>   runWithoutExternalEvents
>   473
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.Git
>   runWithoutExternalEvents
>   259
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandInvoker
>   runMethodIntern
>   966
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandInvoker
>   runMethod
>   893
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandInvoker
>   access$300
>   869
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient
>   commit
>   293
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   
> org.netbeans.modules

[jira] [Commented] (NETBEANS-3972) Unable to git commit changes with GPG signing

2020-04-15 Thread Kevin Andrews (Jira)


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

Kevin Andrews commented on NETBEANS-3972:
-

Tested on the full 11.3 version instead of RC and still an issue.

Also just tried on 12.0-beta3 and still not working with an error popup of:


{code:java}
org.eclipse.jgit.api.errors.JGitInternalException: missing credentials 
provider{code}

After clicking commit.

> Unable to git commit changes with GPG signing
> -
>
> Key: NETBEANS-3972
> URL: https://issues.apache.org/jira/browse/NETBEANS-3972
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 11.3
>Reporter: Kevin Andrews
>Priority: Minor
>
> After setting up git GPG key signing on the repo config:
> {code:java}
> [user] 
> name = XX
> email =  XX
> signingkey = XX
> [commit] 
> gpgsign = true{code}
> I can commit in a terminal and commits are signed, however through NetBeans I 
> get the following error after entering a commit message and clicking commit:
> {code:java}
> 
>   2020-03-06T21:35:15
>   1583530515293
>   21894
>   org.netbeans.ui.focus
>   500
>   138
>   LOG_WINDOW_ACTIVATED
>   LOG_WINDOW_ACTIVATED
>   org.netbeans.core.ui.warmup.Bundle
>   25
> 
> 
>   2020-03-06T21:35:17
>   1583530517740
>   21895
>   org.netbeans.ui.actions
>   400
>   22
>   UI_ACTION_BUTTON_PRESS
>   UI_ACTION_BUTTON_PRESS
>   org.openide.awt.Bundle
>   javax.swing.JMenuItem[Commit...]
>   javax.swing.JMenuItem
>   
> org.netbeans.modules.versioning.util.SystemActionBridge[Commit...]
>   org.netbeans.modules.versioning.util.SystemActionBridge
>   Commit...
> 
> 
>   2020-03-06T21:35:17
>   1583530517740
>   21896
>   org.netbeans.ui.SystemActionBridge
>   400
>   22
>   UI_ACTION_BUTTON_PRESS
>   UI_ACTION_BUTTON_PRESS
>   org.openide.awt.Bundle
>   
>   
>   
> org.netbeans.modules.git.ui.commit.CommitAction[Co&mmit...]
>   org.netbeans.modules.git.ui.commit.CommitAction
>   Co&mmit...
> 
> 
>   2020-03-06T21:35:19
>   1583530519266
>   21898
>   org.netbeans.ui.vcs
>   800
>   138
>   USG_VCS_CMD
>   USG_VCS_CMD
>   org.netbeans.modules.versioning.util.Bundle
>   GIT
>   11
>   0
>   commit
>   INTERNAL
> 
> 
>   2020-03-06T21:35:19
>   1583530519266
>   21899
>   org.netbeans.modules.git
>   800
>   138
>   org.eclipse.jgit.api.errors.JGitInternalException: missing 
> credentials provider
>   
> org.netbeans.libs.git.GitException: 
> org.eclipse.jgit.api.errors.JGitInternalException: missing credentials 
> provider
> 
>   org.netbeans.libs.git.jgit.commands.CommitCommand
>   run
>   153
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand$1
>   run
>   57
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand$1
>   run
>   54
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   java.security.AccessController
>   doPrivileged
>   jrt:/java.base/java/security/AccessController.class
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand
>   execute
>   54
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.GitClient
>   commit
>   480
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$9
>   call
>   297
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$9
>   call
>   293
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   
> org.netbeans.modules.git.client.GitClient$CommandInvoker$1$1
>   call
>   933
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   
> org.netbeans.modules.git.client.GitClient$CommandInvoker$1
>   call
>   956
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.FilesystemInterceptor
>   runWithoutExternalEvents
>   473
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.Git
>   runWithoutExternalEvents
>   259
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandInvoker
>   runMethodIntern
>   966
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandInvoker
>   runMethod
>   893
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandI

[jira] [Commented] (NETBEANS-4129) Select deployment server not listed

2020-04-15 Thread jose luis romero (Jira)


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

jose luis romero commented on NETBEANS-4129:


I detected this bug in another PC and I could notice a few things: I have 4 
servers, 3 locals (payara4, payara5, glassfish) and one remote 
(payaraProduction); the only one listened is the remote! in which I never 
deploy directly

> Select deployment server not listed
> ---
>
> Key: NETBEANS-4129
> URL: https://issues.apache.org/jira/browse/NETBEANS-4129
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.3
> Environment: windows 10 64x, jdk 1.8
>Reporter: jose luis romero
>Priority: Minor
>
> trying to run web projects for the first time show up the "Select deployment 
> server" window but the combobox of Servers is empty, I have to go to project 
> > properties > run and select it there.
> PD: I have  a Paraya 4.1 running as a Glassfish server, when I added Payara, 
> I choose "Glassfish", not Payara option, I did this to try to fix a logger 
> issue with NB and Payara (btw didn't 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-1367) PHP frameworks: End of Life or outdated installers.

2020-04-15 Thread Pavel Selivanov (Jira)


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

Pavel Selivanov updated NETBEANS-1367:
--
Affects Version/s: 12.0

> PHP frameworks: End of Life or outdated installers.
> ---
>
> Key: NETBEANS-1367
> URL: https://issues.apache.org/jira/browse/NETBEANS-1367
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Symfony, php - Zend
>Affects Versions: 10.0, 12.0
>Reporter: Alexander Romanenko
>Priority: Minor
>
> Zend Framework 1 and Symfony 1 are EOL.
> Zend 2 not _exactly_ EOL in favor of 3, but some parts of it are, difficult 
> to tell because it is no longer a monolithic framework that one "installs". 
> This leads to another problem of frameworks listed (not the tools like 
> PHPUnit) being configured as if there is a global external zipped library 
> that gets referenced.
> _Composer create-project_ <_packagist/repository>_ command has been the 
> standard across all frameworks. There is no more "symfony installer" or "zend 
> skeleton application zip" one can download anymore.
> Doctrine no longer uses pear or single entry point for commands.
> *ALSO*, the scripts are global to netbeans, not per project, which is a 
> problem because these frameworks are unique to each project's _vendor_ 
> sub-directory.
>  
> I propose removing application level frameworks from the list, until the 
> plugin has caught up with composer workflow:
>  * Nette2
>  * Symfony (EOL)
>  * Symfon 2/3
>  * Zend (EOL)
>  * Zend 2
>  * PHPUnit skeleton generator (not the main phpunit)
>  * Doctrine 2
>  
> (I did not test all utility level frameworks, that may be its own problem)
> EDIT: tested
>  * PhpUnit - passed (but is a global level option, not project specific, 
> which will cause breakages)
>  * Doctrine 2 - failed.



--
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-1367) PHP frameworks: End of Life or outdated installers.

2020-04-15 Thread Pavel Selivanov (Jira)


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

Pavel Selivanov commented on NETBEANS-1367:
---

Modern day Symfony installer is incompatible with NB 12.

> PHP frameworks: End of Life or outdated installers.
> ---
>
> Key: NETBEANS-1367
> URL: https://issues.apache.org/jira/browse/NETBEANS-1367
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Symfony, php - Zend
>Affects Versions: 10.0
>Reporter: Alexander Romanenko
>Priority: Minor
>
> Zend Framework 1 and Symfony 1 are EOL.
> Zend 2 not _exactly_ EOL in favor of 3, but some parts of it are, difficult 
> to tell because it is no longer a monolithic framework that one "installs". 
> This leads to another problem of frameworks listed (not the tools like 
> PHPUnit) being configured as if there is a global external zipped library 
> that gets referenced.
> _Composer create-project_ <_packagist/repository>_ command has been the 
> standard across all frameworks. There is no more "symfony installer" or "zend 
> skeleton application zip" one can download anymore.
> Doctrine no longer uses pear or single entry point for commands.
> *ALSO*, the scripts are global to netbeans, not per project, which is a 
> problem because these frameworks are unique to each project's _vendor_ 
> sub-directory.
>  
> I propose removing application level frameworks from the list, until the 
> plugin has caught up with composer workflow:
>  * Nette2
>  * Symfony (EOL)
>  * Symfon 2/3
>  * Zend (EOL)
>  * Zend 2
>  * PHPUnit skeleton generator (not the main phpunit)
>  * Doctrine 2
>  
> (I did not test all utility level frameworks, that may be its own problem)
> EDIT: tested
>  * PhpUnit - passed (but is a global level option, not project specific, 
> which will cause breakages)
>  * Doctrine 2 - failed.



--
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-4176) Javadoc title is displayed incorrectly for JDK 11.

2020-04-15 Thread Rahul (Jira)
Rahul created NETBEANS-4176:
---

 Summary: Javadoc title is displayed incorrectly for JDK 11.
 Key: NETBEANS-4176
 URL: https://issues.apache.org/jira/browse/NETBEANS-4176
 Project: NetBeans
  Issue Type: Bug
  Components: java - Javadoc
Affects Versions: 11.3
Reporter: Rahul
Assignee: Rahul
 Fix For: 12.0
 Attachments: BeforeFix.png

This is an small issue.

Navigate to:

Help -> Javadoc References 

 

For java 11, javadoc title contains HTML escape character.



--
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-3891) Formatting: Divide "Boolean Operators" from "Binary Operators"

2020-04-15 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-3891:
---
Fix Version/s: (was: 11.3)
   (was: 11.2)
   (was: 12.0)
   (was: Next)

> Formatting: Divide "Boolean Operators" from "Binary Operators"
> --
>
> Key: NETBEANS-3891
> URL: https://issues.apache.org/jira/browse/NETBEANS-3891
> Project: NetBeans
>  Issue Type: Wish
>  Components: editor - Formatting & Indentation, javascript - 
> Formatting & Indentation, php - Formatting & Indentation
>Affects Versions: 11.2
>Reporter: Andrea
>Priority: Minor
> Attachments: Schermata da 2020-02-18 17-13-05.png
>
>
> Hi, I wanted to ask if you can make this change.
> Menu: "Tools -> Options -> Editor -> Formatting"
>  Language: PHP
>  Category: Spaces
>  Section: "Around Operators"
> Is it possible to add the "Boolean Operators" checkbox to differentiate them 
> from the "Binary Operators"?
>  
>  
> Example:
> if($a==1 && $b!=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-4175) I have found a bug in the application

2020-04-15 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-4175:
-

You could use the latest release, which is 11.3.

Or the latest beta, would be good to get feedback on it:

https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-TLP/job/netbeans/job/release120/12/artifact/dist/netbeans/

> I have found a bug in the application
> -
>
> Key: NETBEANS-4175
> URL: https://issues.apache.org/jira/browse/NETBEANS-4175
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: macOS Catalina - v.10.15.4
>Reporter: Clara
>Priority: Major
> Attachments: bug-report.txt
>
>
> Dear Team,
> I ask for assistance, because the program, the program, after launch, 
> sometimes freezes for several minutes making my job very difficult.
> I send you in attachment the UI log.
> Thanks in advance for the attention and best regards,
> C.



--
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-4162) Trying to run netbeans 11.3 project gets errors

2020-04-15 Thread Tim Hofheins (Jira)


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

Tim Hofheins commented on NETBEANS-4162:


It WORKED! Gotta love that beta software.

> Trying to run netbeans 11.3 project gets errors
> ---
>
> Key: NETBEANS-4162
> URL: https://issues.apache.org/jira/browse/NETBEANS-4162
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Execution, cnd - Project
>Affects Versions: 11.3
> Environment: Windows 10 w/ latest updates, HP Desktop PC w/ 8Gig of 
> memory 1 Terabyte hard drive using AMD processor. I am running Java-14.
>Reporter: Tim Hofheins
>Priority: Major
>  Labels: build
> Attachments: FXMLDocument.fxml, FXMLDocumentController.java, 
> IDE_log.txt, KioskApp.java, UI_log.txt
>
>
> I am writing a JavaFX XML program using Gluon SceneBuilder. When I try to run 
> the program it fails even though it builds the program successfully. I have 
> rebooted and reloaded Netbeans to no avail. Three days ago it ran just fine. 
> I have made no changes today and it fails.



--
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-4175) I have found a bug in the application

2020-04-15 Thread Clara (Jira)
Clara created NETBEANS-4175:
---

 Summary: I have found a bug in the application
 Key: NETBEANS-4175
 URL: https://issues.apache.org/jira/browse/NETBEANS-4175
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.2
 Environment: macOS Catalina - v.10.15.4
Reporter: Clara
 Attachments: bug-report.txt

Dear Team,

I ask for assistance, because the program, the program, after launch, sometimes 
freezes for several minutes making my job very difficult.

I send you in attachment the UI log.

Thanks in advance for the attention and best regards,


C.



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

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

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



[jira] [Commented] (NETBEANS-4174) Custom hint not getting badge

2020-04-15 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4174:
--

Might be related to NETBEANS-4146

 
*Product Version:* Apache NetBeans IDE 12.0-beta3

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

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

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

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



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

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

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



[jira] [Commented] (NETBEANS-4152) Constant exceptions while editting

2020-04-15 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4152:
--

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

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



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

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

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



[jira] [Created] (NETBEANS-4174) Custom hint not getting badge

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


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


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

"Refactor > Inspect&Transform" work with it.

Given this file
{code:java}
package play;

import javax.swing.text.Segment;

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

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


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

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



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

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

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



[jira] [Updated] (NETBEANS-4152) Constant exceptions while editting

2020-04-15 Thread Ernie Rael (Jira)


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

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

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



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

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

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



[jira] [Updated] (NETBEANS-4152) Constant exceptions while editting

2020-04-15 Thread Ernie Rael (Jira)


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

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

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



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

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

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



[jira] [Updated] (NETBEANS-4152) Constant exceptions while editting

2020-04-15 Thread Ernie Rael (Jira)


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

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

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



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

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

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



[jira] [Updated] (NETBEANS-4152) Constant exceptions while editting

2020-04-15 Thread Ernie Rael (Jira)


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

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

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



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

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

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



[jira] [Updated] (NETBEANS-4152) Constant exceptions while editting

2020-04-15 Thread Ernie Rael (Jira)


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

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

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



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

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

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



[jira] [Updated] (NETBEANS-4173) FlatLaf: Partial render selected BeanTreeView element

2020-04-15 Thread Lucas Friedmann (Jira)


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

Lucas Friedmann updated NETBEANS-4173:
--
Description: 
!FlatLaf_before_fix.png!

Example code
{code:java}
import com.formdev.flatlaf.FlatLightLaf;
import org.openide.explorer.ExplorerManager;
import org.openide.explorer.view.BeanTreeView;
import org.openide.nodes.AbstractNode;
import org.openide.nodes.Children;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;

public class SampleFrame extends JFrame implements ExplorerManager.Provider {
private final ExplorerManager explorerManager = new ExplorerManager();

public SampleFrame() throws HeadlessException {
setSize(300, 400);
explorerManager.setRootContext(new SampleNode());
BeanTreeView beanTreeView = new BeanTreeView();
getContentPane().add(beanTreeView, BorderLayout.CENTER);
}

@Override
public ExplorerManager getExplorerManager() {
return explorerManager;
}


private static class SampleNode extends AbstractNode {
public SampleNode() {
super(Children.LEAF);
setName("SampleNode");
}

@Override
public Action[] getActions(boolean context) {
AbstractAction action = new AbstractAction() {
@Override
public void actionPerformed(ActionEvent e) {

}
};
action.putValue(Action.NAME, "Sample");
return new Action[]{action};
}
}

public static void main(String[] args) {
SwingUtilities.invokeLater(() -> {
FlatLightLaf.install();

SampleFrame frame = new SampleFrame();
frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
frame.setVisible(true);
});
}
}
{code}

  was:
!image.png|thumbnail!

Example code
{code}
import com.formdev.flatlaf.FlatLightLaf;
import org.openide.explorer.ExplorerManager;
import org.openide.explorer.view.BeanTreeView;
import org.openide.nodes.AbstractNode;
import org.openide.nodes.Children;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;

public class SampleFrame extends JFrame implements ExplorerManager.Provider {
private final ExplorerManager explorerManager = new ExplorerManager();

public SampleFrame() throws HeadlessException {
setSize(300, 400);
explorerManager.setRootContext(new SampleNode());
BeanTreeView beanTreeView = new BeanTreeView();
getContentPane().add(beanTreeView, BorderLayout.CENTER);
}

@Override
public ExplorerManager getExplorerManager() {
return explorerManager;
}


private static class SampleNode extends AbstractNode {
public SampleNode() {
super(Children.LEAF);
setName("SampleNode");
}

@Override
public Action[] getActions(boolean context) {
AbstractAction action = new AbstractAction() {
@Override
public void actionPerformed(ActionEvent e) {

}
};
action.putValue(Action.NAME, "Sample");
return new Action[]{action};
}
}

public static void main(String[] args) {
SwingUtilities.invokeLater(() -> {
FlatLightLaf.install();

SampleFrame frame = new SampleFrame();
frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
frame.setVisible(true);
});
}
}
{code}


> FlatLaf: Partial render selected BeanTreeView element
> -
>
> Key: NETBEANS-4173
> URL: https://issues.apache.org/jira/browse/NETBEANS-4173
> Project: NetBeans
>  Issue Type: Bug
>  Components: FlatLaf
>Affects Versions: 11.2
>Reporter: Lucas Friedmann
>Priority: Minor
>  Labels: pull-request-available
> Attachments: FlatLaf_after_fix.png, FlatLaf_before_fix.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> !FlatLaf_before_fix.png!
> Example code
> {code:java}
> import com.formdev.flatlaf.FlatLightLaf;
> import org.openide.explorer.ExplorerManager;
> import org.openide.explorer.view.BeanTreeView;
> import org.openide.nodes.AbstractNode;
> import org.openide.nodes.Children;
> import javax.swing.*;
> import java.awt.*;
> import java.awt.event.ActionEvent;
> public class SampleFrame extends JFrame implements ExplorerManager.Provider {
> private final ExplorerManager explorerManager = new ExplorerManager();
> public SampleFrame() throws HeadlessException {
> setSize(300, 400);
> explorerManager.setRootContext(new SampleNode());
> BeanTreeView beanTreeView = new BeanTreeView();
> getContentPane().add(beanTreeView, BorderLayout.CENTER);
> }
> @Override
>

[jira] [Updated] (NETBEANS-4173) FlatLaf: Partial render selected BeanTreeView element

2020-04-15 Thread Lucas Friedmann (Jira)


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

Lucas Friedmann updated NETBEANS-4173:
--
Attachment: FlatLaf_after_fix.png

> FlatLaf: Partial render selected BeanTreeView element
> -
>
> Key: NETBEANS-4173
> URL: https://issues.apache.org/jira/browse/NETBEANS-4173
> Project: NetBeans
>  Issue Type: Bug
>  Components: FlatLaf
>Affects Versions: 11.2
>Reporter: Lucas Friedmann
>Priority: Minor
>  Labels: pull-request-available
> Attachments: FlatLaf_after_fix.png, FlatLaf_before_fix.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> !image.png|thumbnail!
> Example code
> {code}
> import com.formdev.flatlaf.FlatLightLaf;
> import org.openide.explorer.ExplorerManager;
> import org.openide.explorer.view.BeanTreeView;
> import org.openide.nodes.AbstractNode;
> import org.openide.nodes.Children;
> import javax.swing.*;
> import java.awt.*;
> import java.awt.event.ActionEvent;
> public class SampleFrame extends JFrame implements ExplorerManager.Provider {
> private final ExplorerManager explorerManager = new ExplorerManager();
> public SampleFrame() throws HeadlessException {
> setSize(300, 400);
> explorerManager.setRootContext(new SampleNode());
> BeanTreeView beanTreeView = new BeanTreeView();
> getContentPane().add(beanTreeView, BorderLayout.CENTER);
> }
> @Override
> public ExplorerManager getExplorerManager() {
> return explorerManager;
> }
> private static class SampleNode extends AbstractNode {
> public SampleNode() {
> super(Children.LEAF);
> setName("SampleNode");
> }
> @Override
> public Action[] getActions(boolean context) {
> AbstractAction action = new AbstractAction() {
> @Override
> public void actionPerformed(ActionEvent e) {
> }
> };
> action.putValue(Action.NAME, "Sample");
> return new Action[]{action};
> }
> }
> public static void main(String[] args) {
> SwingUtilities.invokeLater(() -> {
> FlatLightLaf.install();
> SampleFrame frame = new SampleFrame();
> frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
> frame.setVisible(true);
> });
> }
> }
> {code}



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

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

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



[jira] [Updated] (NETBEANS-4173) FlatLaf: Partial render selected BeanTreeView element

2020-04-15 Thread Lucas Friedmann (Jira)


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

Lucas Friedmann updated NETBEANS-4173:
--
Attachment: FlatLaf_before_fix.png

> FlatLaf: Partial render selected BeanTreeView element
> -
>
> Key: NETBEANS-4173
> URL: https://issues.apache.org/jira/browse/NETBEANS-4173
> Project: NetBeans
>  Issue Type: Bug
>  Components: FlatLaf
>Affects Versions: 11.2
>Reporter: Lucas Friedmann
>Priority: Minor
>  Labels: pull-request-available
> Attachments: FlatLaf_after_fix.png, FlatLaf_before_fix.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> !image.png|thumbnail!
> Example code
> {code}
> import com.formdev.flatlaf.FlatLightLaf;
> import org.openide.explorer.ExplorerManager;
> import org.openide.explorer.view.BeanTreeView;
> import org.openide.nodes.AbstractNode;
> import org.openide.nodes.Children;
> import javax.swing.*;
> import java.awt.*;
> import java.awt.event.ActionEvent;
> public class SampleFrame extends JFrame implements ExplorerManager.Provider {
> private final ExplorerManager explorerManager = new ExplorerManager();
> public SampleFrame() throws HeadlessException {
> setSize(300, 400);
> explorerManager.setRootContext(new SampleNode());
> BeanTreeView beanTreeView = new BeanTreeView();
> getContentPane().add(beanTreeView, BorderLayout.CENTER);
> }
> @Override
> public ExplorerManager getExplorerManager() {
> return explorerManager;
> }
> private static class SampleNode extends AbstractNode {
> public SampleNode() {
> super(Children.LEAF);
> setName("SampleNode");
> }
> @Override
> public Action[] getActions(boolean context) {
> AbstractAction action = new AbstractAction() {
> @Override
> public void actionPerformed(ActionEvent e) {
> }
> };
> action.putValue(Action.NAME, "Sample");
> return new Action[]{action};
> }
> }
> public static void main(String[] args) {
> SwingUtilities.invokeLater(() -> {
> FlatLightLaf.install();
> SampleFrame frame = new SampleFrame();
> frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
> frame.setVisible(true);
> });
> }
> }
> {code}



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

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

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



[jira] [Updated] (NETBEANS-4173) FlatLaf: Partial render selected BeanTreeView element

2020-04-15 Thread Lucas Friedmann (Jira)


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

Lucas Friedmann updated NETBEANS-4173:
--
Attachment: (was: image.png)

> FlatLaf: Partial render selected BeanTreeView element
> -
>
> Key: NETBEANS-4173
> URL: https://issues.apache.org/jira/browse/NETBEANS-4173
> Project: NetBeans
>  Issue Type: Bug
>  Components: FlatLaf
>Affects Versions: 11.2
>Reporter: Lucas Friedmann
>Priority: Minor
>  Labels: pull-request-available
> Attachments: FlatLaf_after_fix.png, FlatLaf_before_fix.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> !image.png|thumbnail!
> Example code
> {code}
> import com.formdev.flatlaf.FlatLightLaf;
> import org.openide.explorer.ExplorerManager;
> import org.openide.explorer.view.BeanTreeView;
> import org.openide.nodes.AbstractNode;
> import org.openide.nodes.Children;
> import javax.swing.*;
> import java.awt.*;
> import java.awt.event.ActionEvent;
> public class SampleFrame extends JFrame implements ExplorerManager.Provider {
> private final ExplorerManager explorerManager = new ExplorerManager();
> public SampleFrame() throws HeadlessException {
> setSize(300, 400);
> explorerManager.setRootContext(new SampleNode());
> BeanTreeView beanTreeView = new BeanTreeView();
> getContentPane().add(beanTreeView, BorderLayout.CENTER);
> }
> @Override
> public ExplorerManager getExplorerManager() {
> return explorerManager;
> }
> private static class SampleNode extends AbstractNode {
> public SampleNode() {
> super(Children.LEAF);
> setName("SampleNode");
> }
> @Override
> public Action[] getActions(boolean context) {
> AbstractAction action = new AbstractAction() {
> @Override
> public void actionPerformed(ActionEvent e) {
> }
> };
> action.putValue(Action.NAME, "Sample");
> return new Action[]{action};
> }
> }
> public static void main(String[] args) {
> SwingUtilities.invokeLater(() -> {
> FlatLightLaf.install();
> SampleFrame frame = new SampleFrame();
> frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
> frame.setVisible(true);
> });
> }
> }
> {code}



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

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

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



[jira] [Updated] (NETBEANS-4173) FlatLaf: Partial render selected BeanTreeView element

2020-04-15 Thread Lucas Friedmann (Jira)


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

Lucas Friedmann updated NETBEANS-4173:
--
External issue URL: https://github.com/apache/netbeans/pull/2079

> FlatLaf: Partial render selected BeanTreeView element
> -
>
> Key: NETBEANS-4173
> URL: https://issues.apache.org/jira/browse/NETBEANS-4173
> Project: NetBeans
>  Issue Type: Bug
>  Components: FlatLaf
>Affects Versions: 11.2
>Reporter: Lucas Friedmann
>Priority: Minor
>  Labels: pull-request-available
> Attachments: image.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> !image.png|thumbnail!
> Example code
> {code}
> import com.formdev.flatlaf.FlatLightLaf;
> import org.openide.explorer.ExplorerManager;
> import org.openide.explorer.view.BeanTreeView;
> import org.openide.nodes.AbstractNode;
> import org.openide.nodes.Children;
> import javax.swing.*;
> import java.awt.*;
> import java.awt.event.ActionEvent;
> public class SampleFrame extends JFrame implements ExplorerManager.Provider {
> private final ExplorerManager explorerManager = new ExplorerManager();
> public SampleFrame() throws HeadlessException {
> setSize(300, 400);
> explorerManager.setRootContext(new SampleNode());
> BeanTreeView beanTreeView = new BeanTreeView();
> getContentPane().add(beanTreeView, BorderLayout.CENTER);
> }
> @Override
> public ExplorerManager getExplorerManager() {
> return explorerManager;
> }
> private static class SampleNode extends AbstractNode {
> public SampleNode() {
> super(Children.LEAF);
> setName("SampleNode");
> }
> @Override
> public Action[] getActions(boolean context) {
> AbstractAction action = new AbstractAction() {
> @Override
> public void actionPerformed(ActionEvent e) {
> }
> };
> action.putValue(Action.NAME, "Sample");
> return new Action[]{action};
> }
> }
> public static void main(String[] args) {
> SwingUtilities.invokeLater(() -> {
> FlatLightLaf.install();
> SampleFrame frame = new SampleFrame();
> frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
> frame.setVisible(true);
> });
> }
> }
> {code}



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

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

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



[jira] [Updated] (NETBEANS-4173) FlatLaf: Partial render selected BeanTreeView element

2020-04-15 Thread ASF GitHub Bot (Jira)


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

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

> FlatLaf: Partial render selected BeanTreeView element
> -
>
> Key: NETBEANS-4173
> URL: https://issues.apache.org/jira/browse/NETBEANS-4173
> Project: NetBeans
>  Issue Type: Bug
>  Components: FlatLaf
>Affects Versions: 11.2
>Reporter: Lucas Friedmann
>Priority: Minor
>  Labels: pull-request-available
> Attachments: image.png
>
>
> !image.png|thumbnail!
> Example code
> {code}
> import com.formdev.flatlaf.FlatLightLaf;
> import org.openide.explorer.ExplorerManager;
> import org.openide.explorer.view.BeanTreeView;
> import org.openide.nodes.AbstractNode;
> import org.openide.nodes.Children;
> import javax.swing.*;
> import java.awt.*;
> import java.awt.event.ActionEvent;
> public class SampleFrame extends JFrame implements ExplorerManager.Provider {
> private final ExplorerManager explorerManager = new ExplorerManager();
> public SampleFrame() throws HeadlessException {
> setSize(300, 400);
> explorerManager.setRootContext(new SampleNode());
> BeanTreeView beanTreeView = new BeanTreeView();
> getContentPane().add(beanTreeView, BorderLayout.CENTER);
> }
> @Override
> public ExplorerManager getExplorerManager() {
> return explorerManager;
> }
> private static class SampleNode extends AbstractNode {
> public SampleNode() {
> super(Children.LEAF);
> setName("SampleNode");
> }
> @Override
> public Action[] getActions(boolean context) {
> AbstractAction action = new AbstractAction() {
> @Override
> public void actionPerformed(ActionEvent e) {
> }
> };
> action.putValue(Action.NAME, "Sample");
> return new Action[]{action};
> }
> }
> public static void main(String[] args) {
> SwingUtilities.invokeLater(() -> {
> FlatLightLaf.install();
> SampleFrame frame = new SampleFrame();
> frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
> frame.setVisible(true);
> });
> }
> }
> {code}



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

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

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



[jira] [Updated] (NETBEANS-4173) FlatLaF: Partial render selected BeanTreeView element

2020-04-15 Thread Lucas Friedmann (Jira)


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

Lucas Friedmann updated NETBEANS-4173:
--
Summary: FlatLaF: Partial render selected BeanTreeView element  (was: 
[FlatLaF] Partial render selected BeanTreeView element)

> FlatLaF: Partial render selected BeanTreeView element
> -
>
> Key: NETBEANS-4173
> URL: https://issues.apache.org/jira/browse/NETBEANS-4173
> Project: NetBeans
>  Issue Type: Bug
>  Components: FlatLaf
>Affects Versions: 11.2
>Reporter: Lucas Friedmann
>Priority: Minor
> Attachments: image.png
>
>
> !image.png|thumbnail!
> Example code
> {code}
> import com.formdev.flatlaf.FlatLightLaf;
> import org.openide.explorer.ExplorerManager;
> import org.openide.explorer.view.BeanTreeView;
> import org.openide.nodes.AbstractNode;
> import org.openide.nodes.Children;
> import javax.swing.*;
> import java.awt.*;
> import java.awt.event.ActionEvent;
> public class SampleFrame extends JFrame implements ExplorerManager.Provider {
> private final ExplorerManager explorerManager = new ExplorerManager();
> public SampleFrame() throws HeadlessException {
> setSize(300, 400);
> explorerManager.setRootContext(new SampleNode());
> BeanTreeView beanTreeView = new BeanTreeView();
> getContentPane().add(beanTreeView, BorderLayout.CENTER);
> }
> @Override
> public ExplorerManager getExplorerManager() {
> return explorerManager;
> }
> private static class SampleNode extends AbstractNode {
> public SampleNode() {
> super(Children.LEAF);
> setName("SampleNode");
> }
> @Override
> public Action[] getActions(boolean context) {
> AbstractAction action = new AbstractAction() {
> @Override
> public void actionPerformed(ActionEvent e) {
> }
> };
> action.putValue(Action.NAME, "Sample");
> return new Action[]{action};
> }
> }
> public static void main(String[] args) {
> SwingUtilities.invokeLater(() -> {
> FlatLightLaf.install();
> SampleFrame frame = new SampleFrame();
> frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
> frame.setVisible(true);
> });
> }
> }
> {code}



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

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

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



[jira] [Updated] (NETBEANS-4173) FlatLaf: Partial render selected BeanTreeView element

2020-04-15 Thread Lucas Friedmann (Jira)


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

Lucas Friedmann updated NETBEANS-4173:
--
Summary: FlatLaf: Partial render selected BeanTreeView element  (was: 
FlatLaF: Partial render selected BeanTreeView element)

> FlatLaf: Partial render selected BeanTreeView element
> -
>
> Key: NETBEANS-4173
> URL: https://issues.apache.org/jira/browse/NETBEANS-4173
> Project: NetBeans
>  Issue Type: Bug
>  Components: FlatLaf
>Affects Versions: 11.2
>Reporter: Lucas Friedmann
>Priority: Minor
> Attachments: image.png
>
>
> !image.png|thumbnail!
> Example code
> {code}
> import com.formdev.flatlaf.FlatLightLaf;
> import org.openide.explorer.ExplorerManager;
> import org.openide.explorer.view.BeanTreeView;
> import org.openide.nodes.AbstractNode;
> import org.openide.nodes.Children;
> import javax.swing.*;
> import java.awt.*;
> import java.awt.event.ActionEvent;
> public class SampleFrame extends JFrame implements ExplorerManager.Provider {
> private final ExplorerManager explorerManager = new ExplorerManager();
> public SampleFrame() throws HeadlessException {
> setSize(300, 400);
> explorerManager.setRootContext(new SampleNode());
> BeanTreeView beanTreeView = new BeanTreeView();
> getContentPane().add(beanTreeView, BorderLayout.CENTER);
> }
> @Override
> public ExplorerManager getExplorerManager() {
> return explorerManager;
> }
> private static class SampleNode extends AbstractNode {
> public SampleNode() {
> super(Children.LEAF);
> setName("SampleNode");
> }
> @Override
> public Action[] getActions(boolean context) {
> AbstractAction action = new AbstractAction() {
> @Override
> public void actionPerformed(ActionEvent e) {
> }
> };
> action.putValue(Action.NAME, "Sample");
> return new Action[]{action};
> }
> }
> public static void main(String[] args) {
> SwingUtilities.invokeLater(() -> {
> FlatLightLaf.install();
> SampleFrame frame = new SampleFrame();
> frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
> frame.setVisible(true);
> });
> }
> }
> {code}



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

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

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



[jira] [Created] (NETBEANS-4173) [FlatLaF] Partial render selected BeanTreeView element

2020-04-15 Thread Lucas Friedmann (Jira)
Lucas Friedmann created NETBEANS-4173:
-

 Summary: [FlatLaF] Partial render selected BeanTreeView element
 Key: NETBEANS-4173
 URL: https://issues.apache.org/jira/browse/NETBEANS-4173
 Project: NetBeans
  Issue Type: Bug
  Components: FlatLaf
Affects Versions: 11.2
Reporter: Lucas Friedmann
 Attachments: image.png

!image.png|thumbnail!

Example code
{code}
import com.formdev.flatlaf.FlatLightLaf;
import org.openide.explorer.ExplorerManager;
import org.openide.explorer.view.BeanTreeView;
import org.openide.nodes.AbstractNode;
import org.openide.nodes.Children;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;

public class SampleFrame extends JFrame implements ExplorerManager.Provider {
private final ExplorerManager explorerManager = new ExplorerManager();

public SampleFrame() throws HeadlessException {
setSize(300, 400);
explorerManager.setRootContext(new SampleNode());
BeanTreeView beanTreeView = new BeanTreeView();
getContentPane().add(beanTreeView, BorderLayout.CENTER);
}

@Override
public ExplorerManager getExplorerManager() {
return explorerManager;
}


private static class SampleNode extends AbstractNode {
public SampleNode() {
super(Children.LEAF);
setName("SampleNode");
}

@Override
public Action[] getActions(boolean context) {
AbstractAction action = new AbstractAction() {
@Override
public void actionPerformed(ActionEvent e) {

}
};
action.putValue(Action.NAME, "Sample");
return new Action[]{action};
}
}

public static void main(String[] args) {
SwingUtilities.invokeLater(() -> {
FlatLightLaf.install();

SampleFrame frame = new SampleFrame();
frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
frame.setVisible(true);
});
}
}
{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