[jira] [Commented] (NETBEANS-4086) Gradle sub projects added via groovy script instead of include path directive not shown in project view

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


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

Manikantan Narender Nath commented on NETBEANS-4086:


Attached sample project (Script-Multi-project.zip). It is a gradle wrapper 
enabled project.

> Gradle sub projects added via groovy script instead of include path directive 
> not shown in project view
> ---
>
> Key: NETBEANS-4086
> URL: https://issues.apache.org/jira/browse/NETBEANS-4086
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta2
> Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> Runtime: OpenJDK Runtime Environment 11.0.2+9
> System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)
>Reporter: Manikantan Narender Nath
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: netcat
> Fix For: 12.0
>
> Attachments: Script-Multi-project.zip, settings.gradle
>
>
> Steps to reproduce
>  # Started with a clean user and cache dir
>  # New Project | java with Gradle | Multi-project build
>  # Provide name "Script-Multi-project"
>  # Provide location /Netcat12/NBprojects
>  # Provide description Sub projects via script
>  # Click Finish
>  # The Project view will show newly create root project as Sub projects via 
> script
>  # Edit settings.gradle (use attachment settings.gradle)
>  # New Project | java with Gradle | Java class library
>  # Provide name lib1
>  # Provide location as /Netcat12/NBprojects/Script-Multi-project
>  # provide other details
>  # Click finish
>  # REpeat steps 9 to 12 for creating another library project lib2
> Expected result
> Expect to see sub projects nodes under Script-Multi-project
> Actual result
> Cannot see the sub projects node
> Files view does not show the newly created projects as gradle projects
>  



--
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-4086) Gradle sub projects added via groovy script instead of include path directive not shown in project view

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


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

Manikantan Narender Nath updated NETBEANS-4086:
---
Attachment: Script-Multi-project.zip

> Gradle sub projects added via groovy script instead of include path directive 
> not shown in project view
> ---
>
> Key: NETBEANS-4086
> URL: https://issues.apache.org/jira/browse/NETBEANS-4086
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta2
> Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> Runtime: OpenJDK Runtime Environment 11.0.2+9
> System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)
>Reporter: Manikantan Narender Nath
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: netcat
> Fix For: 12.0
>
> Attachments: Script-Multi-project.zip, settings.gradle
>
>
> Steps to reproduce
>  # Started with a clean user and cache dir
>  # New Project | java with Gradle | Multi-project build
>  # Provide name "Script-Multi-project"
>  # Provide location /Netcat12/NBprojects
>  # Provide description Sub projects via script
>  # Click Finish
>  # The Project view will show newly create root project as Sub projects via 
> script
>  # Edit settings.gradle (use attachment settings.gradle)
>  # New Project | java with Gradle | Java class library
>  # Provide name lib1
>  # Provide location as /Netcat12/NBprojects/Script-Multi-project
>  # provide other details
>  # Click finish
>  # REpeat steps 9 to 12 for creating another library project lib2
> Expected result
> Expect to see sub projects nodes under Script-Multi-project
> Actual result
> Cannot see the sub projects node
> Files view does not show the newly created projects as gradle projects
>  



--
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-4213) Default Text block colors are not used in editor

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


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

Manikantan Narender Nath updated NETBEANS-4213:
---
Labels: netcat  (was: )

> Default Text block colors are not used in editor
> 
>
> Key: NETBEANS-4213
> URL: https://issues.apache.org/jira/browse/NETBEANS-4213
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Options
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta3
> Java: 14; OpenJDK 64-Bit Server VM 14+36
> Runtime: OpenJDK Runtime Environment 14+36
> System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)
>Reporter: Manikantan Narender Nath
>Priority: Major
>  Labels: netcat
> Attachments: textBlock-Default foreground-notapplied.png
>
>
> Steps to reproduce
>  # Start Netbeans with Clean user dir and Java Se 14
>  # Create a Java application project (maven or Ant)
>  # Enter a text block (JEP 355)
>  # Open Options Dialog | Fonts & colors
>  # Select Java in Language
>  # Select Text block in category
>  # Verify that the back ground is #EE and foreground is Black+Inherited
> *Expected Result*
> In the editor The text block in foreground should be black (inherited)
> In the editor the text block back ground shoudl be #EE
> *Actual result (see attachment textBlock-Default foreground-notapplied.png)*
> The text block foreground is #CE7B00 which is default for a string literal
> The text block background is #EE
>  
> *Workaround*
> Forcing the colors to be not inherited works



--
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-4212) Changing font and color for Java Preview feature Text block not applied

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


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

Manikantan Narender Nath updated NETBEANS-4212:
---
Labels: netcat  (was: )

> Changing font and color for Java Preview feature Text block not applied
> ---
>
> Key: NETBEANS-4212
> URL: https://issues.apache.org/jira/browse/NETBEANS-4212
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta3
> Java: 14; OpenJDK 64-Bit Server VM 14+36
> Runtime: OpenJDK Runtime Environment 14+36
> System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)
>Reporter: Manikantan Narender Nath
>Priority: Major
>  Labels: netcat
> Attachments: Text-block-font-colour-not-applied.png
>
>
> test case 
> [https://netbeans-vm.apache.org/synergy/client/app/#/specification/451/v/2]
>  
> Steps to reproduce
>  # Start NetBeans with a clean user dir and Java SE 14
>  # In a Java class type in text block (JEP 355)
>  # Navigate to Options Dialog|Font&Colors
>  # Select Java in langauge
>  # Select Text block  in category
>  # Change Foreground color
>  # Change back ground color
>  # Change Font
>  # Click Apply 
> *Expected Result*
> In editor colors & font are reflected
> *Actual Result*
> The changes have no effect.
>  
> *Workaround*
> Close file and open again
>  



--
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-4213) Default Text block colors are not used in editor

2020-04-21 Thread Manikantan Narender Nath (Jira)
Manikantan Narender Nath created NETBEANS-4213:
--

 Summary: Default Text block colors are not used in editor
 Key: NETBEANS-4213
 URL: https://issues.apache.org/jira/browse/NETBEANS-4213
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Options
Affects Versions: 12.0
 Environment: Product Version: Apache NetBeans IDE 12.0-beta3

Java: 14; OpenJDK 64-Bit Server VM 14+36

Runtime: OpenJDK Runtime Environment 14+36

System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)


Reporter: Manikantan Narender Nath
 Attachments: textBlock-Default foreground-notapplied.png

Steps to reproduce
 # Start Netbeans with Clean user dir and Java Se 14
 # Create a Java application project (maven or Ant)
 # Enter a text block (JEP 355)
 # Open Options Dialog | Fonts & colors
 # Select Java in Language
 # Select Text block in category
 # Verify that the back ground is #EE and foreground is Black+Inherited
*Expected Result*

In the editor The text block in foreground should be black (inherited)

In the editor the text block back ground shoudl be #EE

*Actual result (see attachment textBlock-Default foreground-notapplied.png)*

The text block foreground is #CE7B00 which is default for a string literal
The text block background is #EE

 

*Workaround*

Forcing the colors to be not inherited works



--
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-4212) Changing font and color for Java Preview feature Text block not applied

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


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

Manikantan Narender Nath updated NETBEANS-4212:
---
Description: 
test case 
[https://netbeans-vm.apache.org/synergy/client/app/#/specification/451/v/2]

 

Steps to reproduce
 # Start NetBeans with a clean user dir and Java SE 14
 # In a Java class type in text block (JEP 355)
 # Navigate to Options Dialog|Font&Colors
 # Select Java in langauge
 # Select Text block  in category
 # Change Foreground color
 # Change back ground color
 # Change Font
 # Click Apply 

*Expected Result*

In editor colors & font are reflected

*Actual Result*

The changes have no effect.

 

*Workaround*

Close file and open again

 

  was:
test case 
[https://netbeans-vm.apache.org/synergy/client/app/#/specification/451/v/2]

 

Steps to reproduce
 # Start NetBeans with a clean user dir and Java SE 14
 # In a Java class type in text block (JEP 355)
 # Navigate to Options Dialog|Font&Colors
 # Select Java in langauge
 # Select Text block  in category
 # Change Foreground color
 # Change back ground color
 # Change Font
 # Click Apply + OK

*Expected Result*

In editor colors & font are reflected

*Actual Result*

The changes have no effect.

 


> Changing font and color for Java Preview feature Text block not applied
> ---
>
> Key: NETBEANS-4212
> URL: https://issues.apache.org/jira/browse/NETBEANS-4212
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta3
> Java: 14; OpenJDK 64-Bit Server VM 14+36
> Runtime: OpenJDK Runtime Environment 14+36
> System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)
>Reporter: Manikantan Narender Nath
>Priority: Major
> Attachments: Text-block-font-colour-not-applied.png
>
>
> test case 
> [https://netbeans-vm.apache.org/synergy/client/app/#/specification/451/v/2]
>  
> Steps to reproduce
>  # Start NetBeans with a clean user dir and Java SE 14
>  # In a Java class type in text block (JEP 355)
>  # Navigate to Options Dialog|Font&Colors
>  # Select Java in langauge
>  # Select Text block  in category
>  # Change Foreground color
>  # Change back ground color
>  # Change Font
>  # Click Apply 
> *Expected Result*
> In editor colors & font are reflected
> *Actual Result*
> The changes have no effect.
>  
> *Workaround*
> Close file and open again
>  



--
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-4212) Changing font and color for Java Preview feature Text block not applied

2020-04-21 Thread Manikantan Narender Nath (Jira)
Manikantan Narender Nath created NETBEANS-4212:
--

 Summary: Changing font and color for Java Preview feature Text 
block not applied
 Key: NETBEANS-4212
 URL: https://issues.apache.org/jira/browse/NETBEANS-4212
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Other
Affects Versions: 12.0
 Environment: Product Version: Apache NetBeans IDE 12.0-beta3
Java: 14; OpenJDK 64-Bit Server VM 14+36
Runtime: OpenJDK Runtime Environment 14+36
System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)
Reporter: Manikantan Narender Nath
 Attachments: Text-block-font-colour-not-applied.png

test case 
[https://netbeans-vm.apache.org/synergy/client/app/#/specification/451/v/2]

 

Steps to reproduce
 # Start NetBeans with a clean user dir and Java SE 14
 # In a Java class type in text block (JEP 355)
 # Navigate to Options Dialog|Font&Colors
 # Select Java in langauge
 # Select Text block  in category
 # Change Foreground color
 # Change back ground color
 # Change Font
 # Click Apply + OK

*Expected Result*

In editor colors & font are reflected

*Actual Result*

The changes have no effect.

 



--
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-4211) Exclude Options in Code completion not shown with Short cut CTRL+Enter on Mac

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


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

Manikantan Narender Nath updated NETBEANS-4211:
---
Description: 
This might be an isolated case on MAC OSX. Needs verification on other OSes

Test case 
[https://netbeans-vm.apache.org/synergy/client/app/#/case/2174/suite/2590/v/1]

Steps to reproduce
 # Start NetBeans with a clean user dir
 # Create a new Java application project
 # Open the Main.java
 # type Hash and press CTRL+Space to bring up the code completion dialog
 # Select HashMap from the list using the arrow keys
 # Press CTRL+Enter (for showing the exclusion popup)

*Expected result-*

Exclusion popup is shown alongside the CC dialog near the selected element 
HashMap (attachment Expected-Behaviour-Exclusion.png)

*Actual Result-*

The CC dialog is closed

The Word HashMap is in the editor.

 

*Workaround*

Setting an alternative key combination like CTRL+A works as expected.

 

  was:
This might be an isolated case on MAC OSX. Needs verification on other OSes

Test case 
[https://netbeans-vm.apache.org/synergy/client/app/#/case/2174/suite/2590/v/1]

Steps to reproduce
 # Start NetBeans with a clean user dir
 # Create a new Java application project
 # Open the Main.java
 # type Hash and press CTRL+Space to bring up the code completion dialog
 # Select HashMap from the list using the arrow keys
 # Press CTRL+Enter (for showing the exclusion popup)

*Expected result-*

Exclusion popup is shown alongside the CC dialog near the selected element 
HashMap

*Actual Result-*

The CC dialog is closed

The Word HashMap is in the editor.

 

Setting an alternative key combination like CTRL+A works as expected.

 


> Exclude Options in Code completion not shown with Short cut CTRL+Enter on Mac
> -
>
> Key: NETBEANS-4211
> URL: https://issues.apache.org/jira/browse/NETBEANS-4211
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Code Completion
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta3
> Java: 11.0.6; OpenJDK 64-Bit Server VM 11.0.6+10
> Runtime: OpenJDK Runtime Environment 11.0.6+10
> System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)
>Reporter: Manikantan Narender Nath
>Priority: Major
>  Labels: netcat
> Attachments: Expected-Behavioiur-Exclusion.png
>
>
> This might be an isolated case on MAC OSX. Needs verification on other OSes
> Test case 
> [https://netbeans-vm.apache.org/synergy/client/app/#/case/2174/suite/2590/v/1]
> Steps to reproduce
>  # Start NetBeans with a clean user dir
>  # Create a new Java application project
>  # Open the Main.java
>  # type Hash and press CTRL+Space to bring up the code completion dialog
>  # Select HashMap from the list using the arrow keys
>  # Press CTRL+Enter (for showing the exclusion popup)
> *Expected result-*
> Exclusion popup is shown alongside the CC dialog near the selected element 
> HashMap (attachment Expected-Behaviour-Exclusion.png)
> *Actual Result-*
> The CC dialog is closed
> The Word HashMap is in the editor.
>  
> *Workaround*
> Setting an alternative key combination like CTRL+A works as expected.
>  



--
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-4211) Exclude Options in Code completion not shown with Short cut CTRL+Enter on Mac

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


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

Manikantan Narender Nath updated NETBEANS-4211:
---
Attachment: Expected-Behavioiur-Exclusion.png

> Exclude Options in Code completion not shown with Short cut CTRL+Enter on Mac
> -
>
> Key: NETBEANS-4211
> URL: https://issues.apache.org/jira/browse/NETBEANS-4211
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Code Completion
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta3
> Java: 11.0.6; OpenJDK 64-Bit Server VM 11.0.6+10
> Runtime: OpenJDK Runtime Environment 11.0.6+10
> System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)
>Reporter: Manikantan Narender Nath
>Priority: Major
>  Labels: netcat
> Attachments: Expected-Behavioiur-Exclusion.png
>
>
> This might be an isolated case on MAC OSX. Needs verification on other OSes
> Test case 
> [https://netbeans-vm.apache.org/synergy/client/app/#/case/2174/suite/2590/v/1]
> Steps to reproduce
>  # Start NetBeans with a clean user dir
>  # Create a new Java application project
>  # Open the Main.java
>  # type Hash and press CTRL+Space to bring up the code completion dialog
>  # Select HashMap from the list using the arrow keys
>  # Press CTRL+Enter (for showing the exclusion popup)
> *Expected result-*
> Exclusion popup is shown alongside the CC dialog near the selected element 
> HashMap
> *Actual Result-*
> The CC dialog is closed
> The Word HashMap is in the editor.
>  
> Setting an alternative key combination like CTRL+A works as expected.
>  



--
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-4211) Exclude Options in Code completion not shown with Short cut CTRL+Enter on Mac

2020-04-21 Thread Manikantan Narender Nath (Jira)
Manikantan Narender Nath created NETBEANS-4211:
--

 Summary: Exclude Options in Code completion not shown with Short 
cut CTRL+Enter on Mac
 Key: NETBEANS-4211
 URL: https://issues.apache.org/jira/browse/NETBEANS-4211
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Code Completion
Affects Versions: 12.0
 Environment: Product Version: Apache NetBeans IDE 12.0-beta3
Java: 11.0.6; OpenJDK 64-Bit Server VM 11.0.6+10
Runtime: OpenJDK Runtime Environment 11.0.6+10
System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)
Reporter: Manikantan Narender Nath
 Attachments: Expected-Behavioiur-Exclusion.png

This might be an isolated case on MAC OSX. Needs verification on other OSes

Test case 
[https://netbeans-vm.apache.org/synergy/client/app/#/case/2174/suite/2590/v/1]

Steps to reproduce
 # Start NetBeans with a clean user dir
 # Create a new Java application project
 # Open the Main.java
 # type Hash and press CTRL+Space to bring up the code completion dialog
 # Select HashMap from the list using the arrow keys
 # Press CTRL+Enter (for showing the exclusion popup)

*Expected result-*

Exclusion popup is shown alongside the CC dialog near the selected element 
HashMap

*Actual Result-*

The CC dialog is closed

The Word HashMap is in the editor.

 

Setting an alternative key combination like CTRL+A works as expected.

 



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

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

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



[jira] [Commented] (NETBEANS-4206) Maven Create New Module action uses wrong location

2020-04-21 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4206:
--

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

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

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



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

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

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



[jira] [Created] (NETBEANS-4210) Education

2020-04-21 Thread joseph moore (Jira)
joseph moore created NETBEANS-4210:
--

 Summary: Education
 Key: NETBEANS-4210
 URL: https://issues.apache.org/jira/browse/NETBEANS-4210
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Accessibility
Affects Versions: 11.0
 Environment: https://www.advancedwriters.com/
Reporter: joseph moore
 Fix For: 11.3


Order the Essay Online to Become Straight-A Student

Writing academic papers requires special skills, and students, though learn it 
in all stages of their education, often lack these skills. It would be a pity 
to get the one single low grade for an ordinary essay. If earlier, all you 
could count on was finding a friend with a little better writing skills and 
trying to write this dull paper by themselves with little hope of good results. 
Modern students can easily avoid this nuisance.https://www.advancedwriters.com/



--
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-4086) Gradle sub projects added via groovy script instead of include path directive not shown in project view

2020-04-21 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-4086:
---

Please attach a zipped sample project!

> Gradle sub projects added via groovy script instead of include path directive 
> not shown in project view
> ---
>
> Key: NETBEANS-4086
> URL: https://issues.apache.org/jira/browse/NETBEANS-4086
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta2
> Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> Runtime: OpenJDK Runtime Environment 11.0.2+9
> System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)
>Reporter: Manikantan Narender Nath
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: netcat
> Fix For: 12.0
>
> Attachments: settings.gradle
>
>
> Steps to reproduce
>  # Started with a clean user and cache dir
>  # New Project | java with Gradle | Multi-project build
>  # Provide name "Script-Multi-project"
>  # Provide location /Netcat12/NBprojects
>  # Provide description Sub projects via script
>  # Click Finish
>  # The Project view will show newly create root project as Sub projects via 
> script
>  # Edit settings.gradle (use attachment settings.gradle)
>  # New Project | java with Gradle | Java class library
>  # Provide name lib1
>  # Provide location as /Netcat12/NBprojects/Script-Multi-project
>  # provide other details
>  # Click finish
>  # REpeat steps 9 to 12 for creating another library project lib2
> Expected result
> Expect to see sub projects nodes under Script-Multi-project
> Actual result
> Cannot see the sub projects node
> Files view does not show the newly created projects as gradle projects
>  



--
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-4209) Truffle debugger: some variable values are displayed as DynamicObjectBasic

2020-04-21 Thread Martin Entlicher (Jira)
Martin Entlicher created NETBEANS-4209:
--

 Summary: Truffle debugger: some variable values are displayed as 
DynamicObjectBasic
 Key: NETBEANS-4209
 URL: https://issues.apache.org/jira/browse/NETBEANS-4209
 Project: NetBeans
  Issue Type: Bug
  Components: debugger - Java
Affects Versions: 11.2
Reporter: Martin Entlicher
Assignee: Martin Entlicher


With the new GraalVM 20.1.0 some variable values are displayed as e.g. 
{{com.oracle.truffle.object.DynamicObjectBasic@1e3f86d5}} instead of the proper 
guest language representation.



--
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-3269) Enterprise Application project type broken

2020-04-21 Thread Gaurav Gupta (Jira)


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

Gaurav Gupta commented on NETBEANS-3269:


Although EAR projects are outdated, plenty of customers still using them and 
it's part of Jakarta EE 8: 
[https://jakarta.ee/specifications/platform/8/platform-spec-8.html
] [https://www.eclipse.org/lists/jakarta.ee-community/msg00057.html]

We should either create the maven archetype for EAR, App client, and EJB 
project with Jakarta EE 8 dependency like 
[~javajuneau] did for Maven Web Application 
[https://github.com/juneau001/javaee8-archetype] or remove the "Java EE 8" 
version from the dropdown of these (EAR, App client, and EJB) projects.




 

 

> Enterprise Application project type broken
> --
>
> Key: NETBEANS-3269
> URL: https://issues.apache.org/jira/browse/NETBEANS-3269
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0, 11.1, 11.2
>Reporter: Stephen Parry
>Priority: Major
>  Labels: netcat
> Attachments: 11.0-working.log, 11.1-broken.log
>
>
> 1. Install clean NB 11.1
> 2. Activate all modules
> 3. Tools -> Servers -> Add Server -> Payara Server
> 4. Accept defaults for Payara Server; click I have read; click download -> 
> Payara Server 5.192
> 5. Select domain1 (Linux only, Windows not necc); Accept defaults except user 
> name: admin -> OK
> 6. File -> New Project -> Maven Project -> Enterprise Application
> 7. Specify a name: eartest and valid location -> Next
> 8 Choose Server: Payara Server, Java EE Version: Java EE 7 -> Finish
> Expected outcome:
> BUILD SUCCESS (see attached 11.0-working.log)
> Actual outcome:
> BUILD FAILURE (see attached 11.1-broken.log)



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

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

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



[jira] [Created] (NETBEANS-4208) NPE at TruffleBreakpointsHandler.submitBP(TruffleBreakpointsHandler.java:248

2020-04-21 Thread Martin Entlicher (Jira)
Martin Entlicher created NETBEANS-4208:
--

 Summary: NPE at 
TruffleBreakpointsHandler.submitBP(TruffleBreakpointsHandler.java:248
 Key: NETBEANS-4208
 URL: https://issues.apache.org/jira/browse/NETBEANS-4208
 Project: NetBeans
  Issue Type: Bug
  Components: debugger - Java
Affects Versions: 11.2
Reporter: Martin Entlicher
Assignee: Martin Entlicher


In Java Truffle debugger, following exception occurs occasionally during 
breakpoint submission:
{code:java}
java.lang.NullPointerException
at 
org.netbeans.modules.debugger.jpda.truffle.breakpoints.TruffleBreakpointsHandler.submitBP(TruffleBreakpointsHandler.java:248)
at 
org.netbeans.modules.debugger.jpda.truffle.breakpoints.TruffleBreakpointsHandler.breakpointAdded(TruffleBreakpointsHandler.java:366)
at 
org.netbeans.modules.debugger.jpda.truffle.DebugManagerHandler.breakpointAdded(DebugManagerHandler.java:283)
at 
org.netbeans.modules.debugger.jpda.truffle.TruffleDebugManager.breakpointAdded(TruffleDebugManager.java:336)
[catch] at 
org.netbeans.api.debugger.DebuggerManager.fireBreakpointCreated(DebuggerManager.java:864)
at 
org.netbeans.api.debugger.DebuggerManager.addBreakpoint(DebuggerManager.java:517)
at 
org.netbeans.modules.javascript2.debug.ui.breakpoints.ToggleBreakpointActionProvider.doAction(ToggleBreakpointActionProvider.java:71)
at 
org.netbeans.spi.debugger.ActionsProvider$1.run(ActionsProvider.java:106)
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)
 {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-4084) New Gradle project wizard does not remember last used project directory, always points to default

2020-04-21 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-4084:
---

I need to check this one could be a one-liner, as the dialog already using the 
project default directory, however I think it's not been saved in the Gradle 
Wizard when changed.

> New Gradle project wizard does not remember last used project directory, 
> always points to default
> -
>
> Key: NETBEANS-4084
> URL: https://issues.apache.org/jira/browse/NETBEANS-4084
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Generic Projects UI, projects - Gradle
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta2
> Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> Runtime: OpenJDK Runtime Environment 11.0.2+9
> System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)
>Reporter: Manikantan Narender Nath
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: netcat
> Fix For: 12.0
>
>
> Netcat Test spec: 
> [https://netbeans-vm.apache.org/synergy/client/app/#/case/6336/suite/2527/v/1]
> Steps to reproduce
>  # Start with clean user and cache dir
>  # activate Java Se and Groovy if needed
>  # Install nb-javac if needed
>  # New Project | Java with Gradle| Java Application
>  # In the wizard fill in required details.
>  # Change the project location to something other than the default; example 
> `/NetCat12/NBProjects`
>  # Click Finish
>  # New Project | Java with Gradle| Java Application
> Expected result
>  Project location should have value `/NetCat12/NBProjects`
> Actual result
> Project Location has value `/NetBeansProjects` the default valuee



--
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-4085) New Gradle project wizard allows to create project with same name

2020-04-21 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-4085:
---

The thing is, that Gradle Project wizards are completely lack of validation. As 
far as I judge it would need some development to add that code. I have a work 
in progress thing which would refactor the current Gradle wizards, but I don't 
think that can make it in 12.0.

> New Gradle project wizard allows to create project with same name
> -
>
> Key: NETBEANS-4085
> URL: https://issues.apache.org/jira/browse/NETBEANS-4085
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Generic Projects UI, projects - Gradle
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta2
> Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> Runtime: OpenJDK Runtime Environment 11.0.2+9
> System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)
>Reporter: Manikantan Narender Nath
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: netcat
> Fix For: 12.0
>
>
> Steps to reproduce
>  # Started with clean user dir and cache dir
>  # New Project |Java with Gradle|Java application
>  # Provide the name - `duplicate-project`
>  # Provide a project location; example /Netcat12/NBprojects
>  # Provide Description - Originally created project
>  # Click finish
>  # You will notice in the project explorer the new project node as Originally 
> created project
>  # New Project |Java with Gradle|Java application
>  # Provide name `duplicate-project`
>  # Use the same above project location; example /Netcat12/NBprojects
>  # Provide Description - I am a duplicate
> Expected behaviour
> Error banner describing that the project already exists
> Finish/Next buttons are disabled
> Actual Behaviour
> No error banner
> Finish is enabled
> Clicking Finish over-writes the existing project(directories are retained, 
> but build.gradle, settings.gradle and gradle.properties are over-written)
> In project explorer we see the project node "I am a duplicate"



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

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

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



[jira] [Comment Edited] (NETBEANS-4206) Maven Create New Module action uses wrong location

2020-04-21 Thread Neil C Smith (Jira)


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

Neil C Smith edited comment on NETBEANS-4206 at 4/21/20, 3:46 PM:
--

[~errael] pretty much. Create a POM Project, open parent node, right-click on 
Modules and select Create New Module. Should be inside the parent folder.

As commented on the PR, I think the fix for #2446 is wrong - it's misusing 
PROJECT_PARENT_FOLDER. I think the right fix would have been to store the 
correct value - projectLocationTextField rather than createdFolderTextField 
back in that property?


was (Author: neilcsmith):
[~errael] pretty much. Create a POM Project, open parent node, right-click on 
Modules and select Create New Module. Should be inside the parent folder.

As commented on the PR, I think the fix for #2446 is wrong - it's misusing 
PROJECT_PARENT_FOLDER. I think the right fix would have been to store the 
correct value - projectLocationTextField rather than createdFolderTextField 
back in that property?\{{ }}

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



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

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

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



[jira] [Comment Edited] (NETBEANS-4206) Maven Create New Module action uses wrong location

2020-04-21 Thread Neil C Smith (Jira)


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

Neil C Smith edited comment on NETBEANS-4206 at 4/21/20, 3:46 PM:
--

[~errael] pretty much. Create a POM Project, open parent node, right-click on 
Modules and select Create New Module. Should be inside the parent folder.

As commented on the PR, I think the fix for #2446 is wrong - it's misusing 
PROJECT_PARENT_FOLDER. I think the right fix would have been to store the 
correct value - projectLocationTextField rather than createdFolderTextField 
back in that property?\{{ }}


was (Author: neilcsmith):
[~errael] pretty much. Create a POM Porject, open parent node, right-click on 
Modules and select Create New Module. Should be inside the parent folder.

As commented on the PR, I think the fix for #2446 is wrong - it's misusing 
PROJECT_PARENT_FOLDER. I think the right fix would have been to store the 
correct value - projectLocationTextField rather than createdFolderTextField 
back in that property?{{ }}

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



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

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

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



[jira] [Commented] (NETBEANS-4206) Maven Create New Module action uses wrong location

2020-04-21 Thread Neil C Smith (Jira)


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

Neil C Smith commented on NETBEANS-4206:


[~errael] pretty much. Create a POM Porject, open parent node, right-click on 
Modules and select Create New Module. Should be inside the parent folder.

As commented on the PR, I think the fix for #2446 is wrong - it's misusing 
PROJECT_PARENT_FOLDER. I think the right fix would have been to store the 
correct value - projectLocationTextField rather than createdFolderTextField 
back in that property?{{ }}

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



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

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

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



[jira] [Comment Edited] (NETBEANS-4206) Maven Create New Module action uses wrong location

2020-04-21 Thread Ernie Rael (Jira)


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

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


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


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

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



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

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

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



[jira] [Commented] (NETBEANS-4206) Maven Create New Module action uses wrong location

2020-04-21 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4206:
--

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

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



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

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

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



[jira] [Commented] (NETBEANS-3269) Enterprise Application project type broken

2020-04-21 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3269:
-

Fair enough. [~jgauravgupta], can you investigate further?

> Enterprise Application project type broken
> --
>
> Key: NETBEANS-3269
> URL: https://issues.apache.org/jira/browse/NETBEANS-3269
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0, 11.1, 11.2
>Reporter: Stephen Parry
>Priority: Major
>  Labels: netcat
> Attachments: 11.0-working.log, 11.1-broken.log
>
>
> 1. Install clean NB 11.1
> 2. Activate all modules
> 3. Tools -> Servers -> Add Server -> Payara Server
> 4. Accept defaults for Payara Server; click I have read; click download -> 
> Payara Server 5.192
> 5. Select domain1 (Linux only, Windows not necc); Accept defaults except user 
> name: admin -> OK
> 6. File -> New Project -> Maven Project -> Enterprise Application
> 7. Specify a name: eartest and valid location -> Next
> 8 Choose Server: Payara Server, Java EE Version: Java EE 7 -> Finish
> Expected outcome:
> BUILD SUCCESS (see attached 11.0-working.log)
> Actual outcome:
> BUILD FAILURE (see attached 11.1-broken.log)



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

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

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



[jira] [Commented] (NETBEANS-3269) Enterprise Application project type broken

2020-04-21 Thread Stephen Parry (Jira)


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

Stephen Parry commented on NETBEANS-3269:
-

I disagree - there are still patterns of component sharing and reuse
that EJBs are still the 'standard' way of implementing and EARs the
'standard' way of packaging them. WARs have taken a lot of that
territory, but actually the WAR archetype support is flakey in places
too. E.g. To get an enterprise type persistence unit I was having to
switch from WAR to EJB (can't remember the bug #)



> Enterprise Application project type broken
> --
>
> Key: NETBEANS-3269
> URL: https://issues.apache.org/jira/browse/NETBEANS-3269
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0, 11.1, 11.2
>Reporter: Stephen Parry
>Priority: Major
>  Labels: netcat
> Attachments: 11.0-working.log, 11.1-broken.log
>
>
> 1. Install clean NB 11.1
> 2. Activate all modules
> 3. Tools -> Servers -> Add Server -> Payara Server
> 4. Accept defaults for Payara Server; click I have read; click download -> 
> Payara Server 5.192
> 5. Select domain1 (Linux only, Windows not necc); Accept defaults except user 
> name: admin -> OK
> 6. File -> New Project -> Maven Project -> Enterprise Application
> 7. Specify a name: eartest and valid location -> Next
> 8 Choose Server: Payara Server, Java EE Version: Java EE 7 -> Finish
> Expected outcome:
> BUILD SUCCESS (see attached 11.0-working.log)
> Actual outcome:
> BUILD FAILURE (see attached 11.1-broken.log)



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

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

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



[jira] [Created] (NETBEANS-4207) PHP Built-in web server for multiple projects stopped even if run on a different port

2020-04-21 Thread Czukowski (Jira)
Czukowski created NETBEANS-4207:
---

 Summary: PHP Built-in web server for multiple projects stopped 
even if run on a different port
 Key: NETBEANS-4207
 URL: https://issues.apache.org/jira/browse/NETBEANS-4207
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.0
Reporter: Czukowski


Following the [Create and run another PHP Project with Built-in web 
server|https://netbeans-vm.apache.org/synergy/client/app/#/case/3951/suite/1543/v/1]
 Test case in Synergy, there seems to be a small issue in either the test case 
specification or the functionality, or both:

The specification tells to use all default values for project, meaning the 
built-in server runs on the same port. Running a project does stop the other 
server, but it is possible to run them both using Rerun button in the Output 
window (though only one of them will accept connections).

If different ports are configured, running a project still stops the other one, 
although they could run in parallel. Using the Rerun trick described above it 
can be actually achieved. I think the servers should be normally allowed to run 
in parallel, unless they use the same port.

It also seems that the Rerun trick does not work always, it seems rerunning one 
server may still stop the other server if that other one had not been re-run, 
but launched using 'normal' project run.



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

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

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



[jira] [Assigned] (NETBEANS-4206) Maven Create New Module action uses wrong location

2020-04-21 Thread Neil C Smith (Jira)


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

Neil C Smith reassigned NETBEANS-4206:
--

Assignee: Ernie Rael

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



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

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

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



[jira] [Updated] (NETBEANS-4206) Maven Create New Module action uses wrong location

2020-04-21 Thread Neil C Smith (Jira)


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

Neil C Smith updated NETBEANS-4206:
---
Description: 
The fix for #2446 seems to result in the Create New Module action inside a 
parent Maven project creating the project in the wrong place.

See use of CommonProjectActions.PROJECT_PARENT_FOLDER in 
[https://github.com/apache/netbeans/blob/master/java/maven/src/org/netbeans/modules/maven/nodes/ModulesNode.java#L334]

  was:
The fix for #2446 seems to result in the Create New Module action inside a 
parent Maven project creating the project in the wrong place.

See 
https://github.com/apache/netbeans/blob/master/java/maven/src/org/netbeans/modules/maven/nodes/ModulesNode.java#L334


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



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

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

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



[jira] [Created] (NETBEANS-4206) Maven Create New Module action uses wrong location

2020-04-21 Thread Neil C Smith (Jira)
Neil C Smith created NETBEANS-4206:
--

 Summary: Maven Create New Module action uses wrong location
 Key: NETBEANS-4206
 URL: https://issues.apache.org/jira/browse/NETBEANS-4206
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Maven
Affects Versions: 12.0
Reporter: Neil C Smith
 Fix For: 12.0


The fix for #2446 seems to result in the Create New Module action inside a 
parent Maven project creating the project in the wrong place.

See 
https://github.com/apache/netbeans/blob/master/java/maven/src/org/netbeans/modules/maven/nodes/ModulesNode.java#L334



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

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

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



[jira] [Created] (NETBEANS-4205) Sample PHP app 'TODO List' fails to initialize SQLite database

2020-04-21 Thread Czukowski (Jira)
Czukowski created NETBEANS-4205:
---

 Summary: Sample PHP app 'TODO List' fails to initialize SQLite 
database
 Key: NETBEANS-4205
 URL: https://issues.apache.org/jira/browse/NETBEANS-4205
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.0
 Environment: Windows 10, PHP 7.4
PHP extensions enabled: sqlite3, pdo_sqlite (among other)
Reporter: Czukowski


Not an issue with the IDE, but with the sample content provided with it.

Following the [Create TodoList 
Sample|https://netbeans-vm.apache.org/synergy/client/app/#/suite/1539/v/1] Test 
case in Synergy, when running the application, a database file {{db.sqlite}} is 
initialized with zero length.

Browsing pages involving TODO lists displays error page with the following 
content:
{quote}*SERVER ERROR*
 Internal server error occured.
 More information (should be hidden on production server):
 DB error [HY000, 1]: no such table: todo
{quote}
 



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

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

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



[jira] [Commented] (NETBEANSINFRA-185) Register PP3 UC in Apache NetBeans 12.0

2020-04-21 Thread Neil C Smith (Jira)


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

Neil C Smith commented on NETBEANSINFRA-185:


[~jkovalsky] yes, master is correct, and it'll get automatically built and 
pushed to asf-site branch for publishing.

I've reviewed but haven't merged - go ahead or wait for Antonio or Eric's 
review.

Post-12.0 we might look again at how we handle inbound IDE link redirects - one 
place for managing all is good, keeping managing via main website perhaps less 
so.  Still, wrong time to change that right now.

> Register PP3 UC in Apache NetBeans 12.0
> ---
>
> Key: NETBEANSINFRA-185
> URL: https://issues.apache.org/jira/browse/NETBEANSINFRA-185
> Project: Apache NetBeans Infra
>  Issue Type: Task
>  Components: PluginPortal - infra
>Reporter: Jiří Kovalský
>Assignee: Antonio Vieiro
>Priority: Critical
>
> We need to register update center [1] of new Plugin Portal 3.0 in the Apache 
> NetBeans IDE 12.0 and either remove or rename the old one [2] to Legacy 
> Plugin Portal.
> [1] [https://plugins.netbeans.apache.org/data/12.0/catalog.xml.gz]
> [2] 
> [http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml.gz|http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml]



--
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-4190) Running Scenebuilder I get this error "java.io.IOException: javafx.fxml.LoadException"

2020-04-21 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-4190:
-





The following works for me, if my images are here:

c:/users//Documents/NetbeansProjects/TestURL/src/main/resources/com/mycompany/testurl


> Running Scenebuilder I get this error "java.io.IOException: 
> javafx.fxml.LoadException"
> --
>
> Key: NETBEANS-4190
> URL: https://issues.apache.org/jira/browse/NETBEANS-4190
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10, HP desktop computer w/ 8Gig of ram, AMD 
> processor
>Reporter: Tim Hofheins
>Priority: Major
> Attachments: Consumer.jpg, GroganLogo.jpg, Myprimary.fxml
>
>
> I am writing a JavaFX application. When I try to open Scenebuilder by right 
> clicking my fxml file and choosing Open I get the above error. The 
> Scenebuilder error log says "Caused by: java.lang.IllegalArgumentException: 
> Invalid URL: Invalid URL or resource not found"
> I am running Netbeans 12.0 beta 2 with Maven.
> Here are the step by step instructions.
> 1. Download and install Scenebuilder
> 2. In netbeans choose Tools->Options->Java->JavaFX
> 3. Browse to c:/program files/Scenebuilder and add it
> 4. From File choose New Project
> 5. Choose Java with Maven->FXML JavaFX Maven Archetype (Gluon)
> 6. Press Next
> 7. Name the project TestURL
> 8. Press Finish
> 9. Expand TestURL
> 10. Expand Other Sources
> 11. Expand src/main/resources
> 12. Expand com.mycompany.testurl
> 13. Right click on primary.fxml and choose Edit
> 14. Run Notepad
> 15. Open the Myprimary.fxml file that I attached
> 16. Replace the contents of your Netbeans primary.fxml file with the contents 
> of the Myprimary.fxml file.
> 17. Save the Netbeans primary.fxml file
> 18. Copy the two jpg files I attached to c:/users/ user>/Documents/NetbeansProjects/TestURL/src/main/resources folder.
> 19. Right click on the Netbeans primary.fxml file and choose Open
> 20. The error window comes up



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

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

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



[jira] [Commented] (NETBEANS-4190) Running Scenebuilder I get this error "java.io.IOException: javafx.fxml.LoadException"

2020-04-21 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-4190:
-

For any further questions on this point, please go to the openjfx mailing lists 
and ask them how to refer to images in FXML files.

> Running Scenebuilder I get this error "java.io.IOException: 
> javafx.fxml.LoadException"
> --
>
> Key: NETBEANS-4190
> URL: https://issues.apache.org/jira/browse/NETBEANS-4190
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10, HP desktop computer w/ 8Gig of ram, AMD 
> processor
>Reporter: Tim Hofheins
>Priority: Major
> Attachments: Consumer.jpg, GroganLogo.jpg, Myprimary.fxml
>
>
> I am writing a JavaFX application. When I try to open Scenebuilder by right 
> clicking my fxml file and choosing Open I get the above error. The 
> Scenebuilder error log says "Caused by: java.lang.IllegalArgumentException: 
> Invalid URL: Invalid URL or resource not found"
> I am running Netbeans 12.0 beta 2 with Maven.
> Here are the step by step instructions.
> 1. Download and install Scenebuilder
> 2. In netbeans choose Tools->Options->Java->JavaFX
> 3. Browse to c:/program files/Scenebuilder and add it
> 4. From File choose New Project
> 5. Choose Java with Maven->FXML JavaFX Maven Archetype (Gluon)
> 6. Press Next
> 7. Name the project TestURL
> 8. Press Finish
> 9. Expand TestURL
> 10. Expand Other Sources
> 11. Expand src/main/resources
> 12. Expand com.mycompany.testurl
> 13. Right click on primary.fxml and choose Edit
> 14. Run Notepad
> 15. Open the Myprimary.fxml file that I attached
> 16. Replace the contents of your Netbeans primary.fxml file with the contents 
> of the Myprimary.fxml file.
> 17. Save the Netbeans primary.fxml file
> 18. Copy the two jpg files I attached to c:/users/ user>/Documents/NetbeansProjects/TestURL/src/main/resources folder.
> 19. Right click on the Netbeans primary.fxml file and choose Open
> 20. The error window comes up



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

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

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



[jira] [Closed] (NETBEANS-4190) Running Scenebuilder I get this error "java.io.IOException: javafx.fxml.LoadException"

2020-04-21 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga closed NETBEANS-4190.
---
Resolution: Invalid

> Running Scenebuilder I get this error "java.io.IOException: 
> javafx.fxml.LoadException"
> --
>
> Key: NETBEANS-4190
> URL: https://issues.apache.org/jira/browse/NETBEANS-4190
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10, HP desktop computer w/ 8Gig of ram, AMD 
> processor
>Reporter: Tim Hofheins
>Priority: Major
> Attachments: Consumer.jpg, GroganLogo.jpg, Myprimary.fxml
>
>
> I am writing a JavaFX application. When I try to open Scenebuilder by right 
> clicking my fxml file and choosing Open I get the above error. The 
> Scenebuilder error log says "Caused by: java.lang.IllegalArgumentException: 
> Invalid URL: Invalid URL or resource not found"
> I am running Netbeans 12.0 beta 2 with Maven.
> Here are the step by step instructions.
> 1. Download and install Scenebuilder
> 2. In netbeans choose Tools->Options->Java->JavaFX
> 3. Browse to c:/program files/Scenebuilder and add it
> 4. From File choose New Project
> 5. Choose Java with Maven->FXML JavaFX Maven Archetype (Gluon)
> 6. Press Next
> 7. Name the project TestURL
> 8. Press Finish
> 9. Expand TestURL
> 10. Expand Other Sources
> 11. Expand src/main/resources
> 12. Expand com.mycompany.testurl
> 13. Right click on primary.fxml and choose Edit
> 14. Run Notepad
> 15. Open the Myprimary.fxml file that I attached
> 16. Replace the contents of your Netbeans primary.fxml file with the contents 
> of the Myprimary.fxml file.
> 17. Save the Netbeans primary.fxml file
> 18. Copy the two jpg files I attached to c:/users/ user>/Documents/NetbeansProjects/TestURL/src/main/resources folder.
> 19. Right click on the Netbeans primary.fxml file and choose Open
> 20. The error window comes up



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

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

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



[jira] [Commented] (NETBEANS-4190) Running Scenebuilder I get this error "java.io.IOException: javafx.fxml.LoadException"

2020-04-21 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-4190:
-

And refer to them like this:




Note that this has zero to do with NetBeans. This is about the Scene Builder 
and how to refer to images in FXML files, e.g., when I googled I found this to 
help me:

https://stackoverflow.com/questions/56058047/how-to-correctly-specify-url-for-imageview-in-scenebuilder

> Running Scenebuilder I get this error "java.io.IOException: 
> javafx.fxml.LoadException"
> --
>
> Key: NETBEANS-4190
> URL: https://issues.apache.org/jira/browse/NETBEANS-4190
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10, HP desktop computer w/ 8Gig of ram, AMD 
> processor
>Reporter: Tim Hofheins
>Priority: Major
> Attachments: Consumer.jpg, GroganLogo.jpg, Myprimary.fxml
>
>
> I am writing a JavaFX application. When I try to open Scenebuilder by right 
> clicking my fxml file and choosing Open I get the above error. The 
> Scenebuilder error log says "Caused by: java.lang.IllegalArgumentException: 
> Invalid URL: Invalid URL or resource not found"
> I am running Netbeans 12.0 beta 2 with Maven.
> Here are the step by step instructions.
> 1. Download and install Scenebuilder
> 2. In netbeans choose Tools->Options->Java->JavaFX
> 3. Browse to c:/program files/Scenebuilder and add it
> 4. From File choose New Project
> 5. Choose Java with Maven->FXML JavaFX Maven Archetype (Gluon)
> 6. Press Next
> 7. Name the project TestURL
> 8. Press Finish
> 9. Expand TestURL
> 10. Expand Other Sources
> 11. Expand src/main/resources
> 12. Expand com.mycompany.testurl
> 13. Right click on primary.fxml and choose Edit
> 14. Run Notepad
> 15. Open the Myprimary.fxml file that I attached
> 16. Replace the contents of your Netbeans primary.fxml file with the contents 
> of the Myprimary.fxml file.
> 17. Save the Netbeans primary.fxml file
> 18. Copy the two jpg files I attached to c:/users/ user>/Documents/NetbeansProjects/TestURL/src/main/resources folder.
> 19. Right click on the Netbeans primary.fxml file and choose Open
> 20. The error window comes up



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

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

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



[jira] [Commented] (NETBEANS-4190) Running Scenebuilder I get this error "java.io.IOException: javafx.fxml.LoadException"

2020-04-21 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-4190:
-

Put your images here:

c:/users//Documents/NetbeansProjects/TestURL/src/main/resources/com/mycompany/testurl

> Running Scenebuilder I get this error "java.io.IOException: 
> javafx.fxml.LoadException"
> --
>
> Key: NETBEANS-4190
> URL: https://issues.apache.org/jira/browse/NETBEANS-4190
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10, HP desktop computer w/ 8Gig of ram, AMD 
> processor
>Reporter: Tim Hofheins
>Priority: Major
> Attachments: Consumer.jpg, GroganLogo.jpg, Myprimary.fxml
>
>
> I am writing a JavaFX application. When I try to open Scenebuilder by right 
> clicking my fxml file and choosing Open I get the above error. The 
> Scenebuilder error log says "Caused by: java.lang.IllegalArgumentException: 
> Invalid URL: Invalid URL or resource not found"
> I am running Netbeans 12.0 beta 2 with Maven.
> Here are the step by step instructions.
> 1. Download and install Scenebuilder
> 2. In netbeans choose Tools->Options->Java->JavaFX
> 3. Browse to c:/program files/Scenebuilder and add it
> 4. From File choose New Project
> 5. Choose Java with Maven->FXML JavaFX Maven Archetype (Gluon)
> 6. Press Next
> 7. Name the project TestURL
> 8. Press Finish
> 9. Expand TestURL
> 10. Expand Other Sources
> 11. Expand src/main/resources
> 12. Expand com.mycompany.testurl
> 13. Right click on primary.fxml and choose Edit
> 14. Run Notepad
> 15. Open the Myprimary.fxml file that I attached
> 16. Replace the contents of your Netbeans primary.fxml file with the contents 
> of the Myprimary.fxml file.
> 17. Save the Netbeans primary.fxml file
> 18. Copy the two jpg files I attached to c:/users/ user>/Documents/NetbeansProjects/TestURL/src/main/resources folder.
> 19. Right click on the Netbeans primary.fxml file and choose Open
> 20. The error window comes up



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

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

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



[jira] [Commented] (NETBEANSINFRA-185) Register PP3 UC in Apache NetBeans 12.0

2020-04-21 Thread Jira


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

Jiří Kovalský commented on NETBEANSINFRA-185:
-

Thanks [~neilcsmith] Hopefully master is the correct branch :): 
[https://github.com/apache/netbeans-website/pull/469]

Please review and approve.

> Register PP3 UC in Apache NetBeans 12.0
> ---
>
> Key: NETBEANSINFRA-185
> URL: https://issues.apache.org/jira/browse/NETBEANSINFRA-185
> Project: Apache NetBeans Infra
>  Issue Type: Task
>  Components: PluginPortal - infra
>Reporter: Jiří Kovalský
>Assignee: Antonio Vieiro
>Priority: Critical
>
> We need to register update center [1] of new Plugin Portal 3.0 in the Apache 
> NetBeans IDE 12.0 and either remove or rename the old one [2] to Legacy 
> Plugin Portal.
> [1] [https://plugins.netbeans.apache.org/data/12.0/catalog.xml.gz]
> [2] 
> [http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml.gz|http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml]



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

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

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



[netbeans-website] 01/01: Changing location of Plugin Portal Update Center for NetBeans 12.0

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

jkovalsky pushed a commit to branch jkovalsky/newPPUC
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git

commit 447f4681bc425da30e61883686ae018c25ef2771
Author: Jiří Kovalský <32838335+jkoval...@users.noreply.github.com>
AuthorDate: Tue Apr 21 15:14:38 2020 +0200

Changing location of Plugin Portal Update Center for NetBeans 12.0
---
 netbeans.apache.org/src/content/.htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/netbeans.apache.org/src/content/.htaccess 
b/netbeans.apache.org/src/content/.htaccess
index 5680082..bfbbc9c 100644
--- a/netbeans.apache.org/src/content/.htaccess
+++ b/netbeans.apache.org/src/content/.htaccess
@@ -12,7 +12,7 @@ Redirect 302 /nb/plugins/11.2/ 
http://plugins.netbeans.org/nbpluginportal/update
 Redirect 302 /nb/updates/11.3/ https://netbeans-vm.apache.org/uc/11.3/
 Redirect 302 /nb/plugins/11.3/ 
https://netbeans-vm.apache.org/pluginportal2/updates/11.0/
 Redirect 302 /nb/updates/12.0/ https://netbeans-vm.apache.org/uc/12.0/
-Redirect 302 /nb/plugins/12.0/ 
https://netbeans-vm.apache.org/pluginportal2/updates/11.0/
+Redirect 302 /nb/plugins/12.0/ https://plugins.netbeans.apache.org/data/12.0/
 Redirect 302 /nb/updates/dev/ https://netbeans-vm.apache.org/uc/11.3/
 Redirect 302 /nb/plugins/dev/ 
https://netbeans-vm.apache.org/pluginportal2/updates/11.0/
 Redirect 302 /nb/issues_redirect.html 
https://issues.apache.org/jira/projects/NETBEANS/issues


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

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



[netbeans-website] branch jkovalsky/newPPUC created (now 447f468)

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

jkovalsky pushed a change to branch jkovalsky/newPPUC
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git.


  at 447f468  Changing location of Plugin Portal Update Center for NetBeans 
12.0

This branch includes the following new commits:

 new 447f468  Changing location of Plugin Portal Update Center for NetBeans 
12.0

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



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

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



[netbeans-website] branch jkovalsky/newPPUCLocation created (now 1d3ae86)

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

jkovalsky pushed a change to branch jkovalsky/newPPUCLocation
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git.


  at 1d3ae86  Changing location of Plugin Portal Update Center in NetBeans 
12.0 GA

This branch includes the following new commits:

 new 1d3ae86  Changing location of Plugin Portal Update Center in NetBeans 
12.0 GA

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



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

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



[netbeans-website] 01/01: Changing location of Plugin Portal Update Center in NetBeans 12.0 GA

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

jkovalsky pushed a commit to branch jkovalsky/newPPUCLocation
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git

commit 1d3ae8676ee6926f47dd204a69fef7a65c4ca39b
Author: Jiří Kovalský <32838335+jkoval...@users.noreply.github.com>
AuthorDate: Tue Apr 21 15:06:30 2020 +0200

Changing location of Plugin Portal Update Center in NetBeans 12.0 GA

This fixes https://issues.apache.org/jira/browse/NETBEANSINFRA-185 to get 
rid of the dependency on the legacy Plugin Portal 2.0 hosted on Oracle 
infrastructure.
---
 netbeans.apache.org/src/content/.htaccess | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/netbeans.apache.org/src/content/.htaccess 
b/netbeans.apache.org/src/content/.htaccess
index 5680082..0414ed6 100644
--- a/netbeans.apache.org/src/content/.htaccess
+++ b/netbeans.apache.org/src/content/.htaccess
@@ -12,7 +12,7 @@ Redirect 302 /nb/plugins/11.2/ 
http://plugins.netbeans.org/nbpluginportal/update
 Redirect 302 /nb/updates/11.3/ https://netbeans-vm.apache.org/uc/11.3/
 Redirect 302 /nb/plugins/11.3/ 
https://netbeans-vm.apache.org/pluginportal2/updates/11.0/
 Redirect 302 /nb/updates/12.0/ https://netbeans-vm.apache.org/uc/12.0/
-Redirect 302 /nb/plugins/12.0/ 
https://netbeans-vm.apache.org/pluginportal2/updates/11.0/
+Redirect 302 /nb/plugins/12.0/ https://plugins.netbeans.apache.org/data/12.0/
 Redirect 302 /nb/updates/dev/ https://netbeans-vm.apache.org/uc/11.3/
 Redirect 302 /nb/plugins/dev/ 
https://netbeans-vm.apache.org/pluginportal2/updates/11.0/
 Redirect 302 /nb/issues_redirect.html 
https://issues.apache.org/jira/projects/NETBEANS/issues
@@ -26,4 +26,4 @@ Redirect 301 /download/maven/index.html 
/download/maven/index.cgi
 # ... nor a directory ...
 # RewriteCond "%{REQUEST_FILENAME}" "!-d"
 # ... then redirect (302) to the legacy.netbeans.org server with Oracle era 
content
-# RewriteRule (.*) "https://legacy.netbeans.org/$1"; [L,R=302]
+# RewriteRule (.*) "https://legacy.netbeans.org/"; [L,R=302]


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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] (NETBEANSINFRA-185) Register PP3 UC in Apache NetBeans 12.0

2020-04-21 Thread Neil C Smith (Jira)


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

Neil C Smith commented on NETBEANSINFRA-185:


[~jkovalsky] change this line - 
https://github.com/apache/netbeans-website/blob/master/netbeans.apache.org/src/content/.htaccess#L15

> Register PP3 UC in Apache NetBeans 12.0
> ---
>
> Key: NETBEANSINFRA-185
> URL: https://issues.apache.org/jira/browse/NETBEANSINFRA-185
> Project: Apache NetBeans Infra
>  Issue Type: Task
>  Components: PluginPortal - infra
>Reporter: Jiří Kovalský
>Assignee: Antonio Vieiro
>Priority: Critical
>
> We need to register update center [1] of new Plugin Portal 3.0 in the Apache 
> NetBeans IDE 12.0 and either remove or rename the old one [2] to Legacy 
> Plugin Portal.
> [1] [https://plugins.netbeans.apache.org/data/12.0/catalog.xml.gz]
> [2] 
> [http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml.gz|http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml]



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

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

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



[netbeans] branch master updated: [NETBEANS-4083] Add missing validation in new maven project dialog

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

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


The following commit(s) were added to refs/heads/master by this push:
 new 64d07bc  [NETBEANS-4083] Add missing validation in new maven project 
dialog
 new 4d61753  Merge pull request #2053 from 
errael/ValidationsForMavenProjectCreation
64d07bc is described below

commit 64d07bc1909e495bfe81a34793bfd27b06a8c7e6
Author: Ernie Rael 
AuthorDate: Mon Mar 30 06:47:05 2020 +0100

[NETBEANS-4083] Add missing validation in new maven project dialog
---
 .../modules/maven/newproject/BasicPanelVisual.java   | 20 ++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git 
a/java/maven/src/org/netbeans/modules/maven/newproject/BasicPanelVisual.java 
b/java/maven/src/org/netbeans/modules/maven/newproject/BasicPanelVisual.java
index 01c02fb..0e94626 100644
--- a/java/maven/src/org/netbeans/modules/maven/newproject/BasicPanelVisual.java
+++ b/java/maven/src/org/netbeans/modules/maven/newproject/BasicPanelVisual.java
@@ -118,8 +118,10 @@ public class BasicPanelVisual extends JPanel implements 
DocumentListener, Window
 "ERR_Project_Folder_cannot_be_created=Project Folder cannot be 
created.",
 "ERR_Project_Folder_is_not_valid_path=Project Folder is not a valid 
path.",
 "ERR_Project_Folder_is_UNC=Project Folder cannot be located on UNC 
path.",
+"ERR_Package_ends_in_dot=Package name can not end in '.'.",
 "# {0} - version", "ERR_old_maven=Maven {0} is too old, version 2.0.7 
or newer is needed.",
-"ERR_Project_Folder_exists=Project Folder already exists and is not 
empty."
+"ERR_Project_Folder_exists=Project Folder already exists and is not 
empty.",
+"ERR_Project_Folder_not_directory=Project Folder is not a directory."
 })
 BasicPanelVisual(BasicWizardPanel panel, Archetype arch) {
 this.panel = panel;
@@ -158,7 +160,17 @@ public class BasicPanelVisual extends JPanel implements 
DocumentListener, Window
 vg.add(txtGroupId, MavenValidators.createGroupIdValidators());
 vg.add(txtArtifactId, 
MavenValidators.createArtifactIdValidators());
 vg.add(txtVersion, MavenValidators.createVersionValidators());
-vg.add(txtPackage, StringValidators.JAVA_PACKAGE_NAME);
+vg.add(txtPackage, ValidatorUtils.merge(
+StringValidators.JAVA_PACKAGE_NAME,
+new AbstractValidator(String.class) {
+@Override
+public void validate(Problems problems, String 
compName, String model)
+{
+// MAY_NOT_END_WITH_PERIOD validator broken in NB's
+// version (empty string); so copy current 
version' code.
+if(model != null && !model.isEmpty() && 
model.charAt(model.length() - 1) == '.')
+problems.add(ERR_Package_ends_in_dot());
+}}));
 vg.add(projectNameTextField, ValidatorUtils.merge(
 MavenValidators.createArtifactIdValidators(),
 StringValidators.REQUIRE_VALID_FILENAME
@@ -198,6 +210,10 @@ public class BasicPanelVisual extends JPanel implements 
DocumentListener, Window
 return;
 }
 File destFolder = FileUtil.normalizeFile(new File(new 
File(projectLocationTextField.getText().trim()), 
projectNameTextField.getText().trim()).getAbsoluteFile());
+if(destFolder.exists() && !destFolder.isDirectory()) {
+problems.add(ERR_Project_Folder_not_directory());
+return;
+}
 File[] kids = destFolder.listFiles();
 if (destFolder.exists() && kids != null && kids.length 
> 0) {
 // Folder exists and is not empty


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-3580) Expression Lambdas cannot be debugged

2020-04-21 Thread Akhilesh Singh (Jira)


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

Akhilesh Singh resolved NETBEANS-3580.
--
Resolution: Fixed

> Expression Lambdas cannot be debugged
> -
>
> Key: NETBEANS-3580
> URL: https://issues.apache.org/jira/browse/NETBEANS-3580
> Project: NetBeans
>  Issue Type: Improvement
>  Components: debugger - Java
>Affects Versions: 11.2, 11.3
>Reporter: Jan Lahoda
>Assignee: Akhilesh Singh
>Priority: Critical
>  Labels: debug, lambda, pull-request-available
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Consider this source code:
> {{package org.netbeans.modules.learning.lambda.code.completion;}}
> {{import java.util.Arrays;}}
> {{public class NewClass {}}
> {{    public static void main(String... args) {}}
>  {{    Arrays.stream(new String[] \{"a", "", "b"})}}
>  {{  .filter(s -> !s.isEmpty()) //breakpoint here}}
>  {{  .forEach(System.err::println);}}
>  \{{    }}}
>  {{}}}
>  
> Add a breakpoint at the marked line, and run the code under the debugger. The 
> debugger will stop on the breakpoint for the "filter" method invocation (OK), 
> but it will not stop there for the lambda invocation (bad). So with a code 
> like this, one does not see the lambda parameters, cannot step inside, etc. 
> Workaround is to place the expression on a new line:
> {\{ .filter(s -> }}
>  \{{ !s.isEmpty()) //breakpoint here}}
> But that requires a change to the code just for debugging - and that defies 
> the purpose of debugging (which is to inspect the code *without* changes).
> The IDE is a fully updated Apache NetBeans 11.2, with nb-javac installed 
> running on JDK 13:
> Product Version: Apache NetBeans IDE 11.2
> Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9
> Runtime: OpenJDK Runtime Environment 13.0.1+9
> System: Linux version 4.15.0-72-generic running on amd64; UTF-8; en_US (nb)
> User directory: /tmp/nbuser.lambda.test
> Cache directory: /tmp/nbuser.lambda.test/var/cache



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

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

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



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

2020-04-21 Thread Arunava Sinha (Jira)


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

Arunava Sinha edited comment on NETBEANS-4095 at 4/21/20, 12:01 PM:


It seems issue is intermittent.  I had reproduced the issue earlier but 
currently not able to simulate it. I believe in particular scenario it will 
throw the exception. [~ebakke] , if you idea on how to reproduce it. Please let 
me know.

My env:

NB ( build from Apache:master brach) running in jdk-14 with nb-javac . 

Project Source level 14


was (Author: arusinha):
It seems issue is intermittent.  I had reproduced the issue earlier but 
currently not able to simulate it. I believe in particular scenario it will 
throw the exception. [~ebakke] , if you idea on how to reproduce it. Please let 
me know.

> 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
>Assignee: Arunava Sinha
>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.jav

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

2020-04-21 Thread Arunava Sinha (Jira)


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

Arunava Sinha commented on NETBEANS-4095:
-

It seems issue is intermittent.  I had reproduced the issue earlier but 
currently not able to simulate it. I believe in particular scenario it will 
throw the exception. [~ebakke] , if you idea on how to reproduce it. Please let 
me know.

> 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
>Assignee: Arunava Sinha
>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.Task

[jira] [Commented] (NETBEANSINFRA-185) Register PP3 UC in Apache NetBeans 12.0

2020-04-21 Thread Jira


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

Jiří Kovalský commented on NETBEANSINFRA-185:
-

I have updated the description of this bug accordingly. Now we need someone to 
update the link.

Any taker?

> Register PP3 UC in Apache NetBeans 12.0
> ---
>
> Key: NETBEANSINFRA-185
> URL: https://issues.apache.org/jira/browse/NETBEANSINFRA-185
> Project: Apache NetBeans Infra
>  Issue Type: Task
>  Components: PluginPortal - infra
>Reporter: Jiří Kovalský
>Assignee: Antonio Vieiro
>Priority: Critical
>
> We need to register update center [1] of new Plugin Portal 3.0 in the Apache 
> NetBeans IDE 12.0 and either remove or rename the old one [2] to Legacy 
> Plugin Portal.
> [1] [https://plugins.netbeans.apache.org/data/12.0/catalog.xml.gz]
> [2] 
> [http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml.gz|http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml]



--
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] (NETBEANSINFRA-185) Register PP3 UC in Apache NetBeans 12.0

2020-04-21 Thread Jira


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

Jiří Kovalský updated NETBEANSINFRA-185:

Description: 
We need to register update center [1] of new Plugin Portal 3.0 in the Apache 
NetBeans IDE 12.0 and either remove or rename the old one [2] to Legacy Plugin 
Portal.

[1] [https://plugins.netbeans.apache.org/data/12.0/catalog.xml.gz]

[2] 
[http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml.gz|http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml]

  was:
We need to register update center [1] of new Plugin Portal 3.0 in the Apache 
NetBeans IDE 12.0 and either remove or rename the old one [2] to Legacy Plugin 
Portal.

[1] [http://netbeans-vm.apache.org/pluginportal/data/12.0/catalog.xml.gz]

[2] 
[http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml.gz|http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml]


> Register PP3 UC in Apache NetBeans 12.0
> ---
>
> Key: NETBEANSINFRA-185
> URL: https://issues.apache.org/jira/browse/NETBEANSINFRA-185
> Project: Apache NetBeans Infra
>  Issue Type: Task
>  Components: PluginPortal - infra
>Reporter: Jiří Kovalský
>Assignee: Antonio Vieiro
>Priority: Critical
>
> We need to register update center [1] of new Plugin Portal 3.0 in the Apache 
> NetBeans IDE 12.0 and either remove or rename the old one [2] to Legacy 
> Plugin Portal.
> [1] [https://plugins.netbeans.apache.org/data/12.0/catalog.xml.gz]
> [2] 
> [http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml.gz|http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml]



--
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-58) NB IDE or NB Platform freeze on startup (proxy with Negotiate auth)

2020-04-21 Thread jmborer (Jira)


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

jmborer commented on NETBEANS-58:
-

His Geertjan,

I see indeed that the OpenJDK252 is finally available at Zulu. I'll test it, as 
soon as I get back to the office.

Cheers,

Jean-Marc



> NB IDE or NB Platform freeze on startup (proxy with Negotiate auth)
> ---
>
> Key: NETBEANS-58
> URL: https://issues.apache.org/jira/browse/NETBEANS-58
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Proxy
>Affects Versions: 8.2, 9.0, 11.0
> Environment: Primarily Windows.
>Reporter: phansson
>Priority: Critical
> Attachments: NETBEANS-58-workaround1.diff, 
> image-2018-04-24-15-57-47-592.png, nb-freeze-dump.txt, netbeans.txt
>
>
> When any network operation is performed, such as attempting to contact 
> NetBeans Update Center, the application (IDE or Platform) may freeze. Users 
> will typically experience this on startup. It was reported in old bug tracker 
> as [bug 248308|https://netbeans.org/bugzilla/show_bug.cgi?id=248308].
> The problem arises because of the fix JDK folks applied as a consequence of 
> the reported [JDK-8032832 
> bug|https://bugs.openjdk.java.net/browse/JDK-8032832]. This fix wasn't very 
> clever IMO: it puts a lock on the classloader, thus introducing a range of 
> other problems, one of them being that NetNeans IDE or NetBeans Platform will 
> likely freeze on startup when it attempts a network operation. The fact that 
> their fix made things worse (while no doubt fixing the original issue) has 
> been reported as 
> [JDK-8068184|https://bugs.openjdk.java.net/browse/JDK-8068184].
> h3. WHEN DOES IT HAPPEN?
> As the lock is introduced for authentication of type 'Negotiate' it of course 
> only happens if there's a network proxy on the path which uses this type of 
> authentication. Also known as SPNEGO. This form of authentication is in my 
> experience very common in corporate networks, in particular those that base 
> themselves on the Microsoft stack. But a person on Oracle's own internal 
> network, such as a JDK developer, is most likely not exposed to it. :-)
> There's another condition for it to happen: The JRE runtime must be unable to 
> provide 'credentials' (a Kerberos token) to the network proxy on its own. 
> SPNEGO is really designed to be seamless and promptless. Support for it was 
> added in Java 6. But later on Microsoft tightened the desktop security around 
> obtaining the so-called 'session token' and the JDK folks were never able to 
> work around this (unlike the makers of Chrome, FF, Opera, etc). Therefore, in 
> real-life, SPNEGO in the JRE on Windows is no longer promptless:  it will be 
> forced to ask the user for credentials, thus negating the idea of SPNEGO. It 
> is the prompting which causes the freeze. SPNEGO on Mac OS X and Linux is 
> most likely working just fine and the bug will never be experienced.
> h3. HOW DO I KNOW IF I'M AFFECTED BY EXACTLY THIS BUG?
> This bug in this ticket is characterized by the fact that you'll always be 
> able to find the following in your thread dump:
> {noformat}
>at 
> sun.net.www.protocol.http.NegotiateAuthentication.isSupported(NegotiateAuthentication.java:)
> - locked  (a org.netbeans.ModuleManager$SystemClassLoader)
> {noformat}
> Note that the [Ctrl-Break 
> method|https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr019.html]
>  of obtaining a thread dump is favoured over jstack and other methods.
> h3. WHY DOES IT HAPPEN?
> There will be a lock held on the classloader object when the JRE's registered 
>  Authenticator is invoked. If the Authenticator does work on another thread, 
> that other thread has a need for some classloading and the current thread 
> needs to wait for the result of that thread, then bum!, there's a deadlock 
> between the two threads. This means the lock on the classloader will never be 
> released and it will ultimately affect other threads, such as the AWT 
> dispatch thread (aka Swing EDT) which will then also lock. Then you have what 
> the user experiences as a freeze.
> The NB Platform's own Authenticator, {{NbAuthenticator}}, does exactly what I 
> described and will thus be triggering the deadlock. More precisely it will 
> happen when NbAuthenticator calls Keyring. Does this mean the NbAuthenticator 
> does something wrong?  No, of course it doesn't. The real problem is the lock 
> on the classloader. It is actually virtually impossible to design an 
> Authenticator which doesn't trigger this problem. You cannot predict when 
> classloading is needed. In fact it is very likely to be needed when 
> application is still not "warm", i.e. during startup.
> h3. WORK

[jira] [Commented] (NETBEANS-58) NB IDE or NB Platform freeze on startup (proxy with Negotiate auth)

2020-04-21 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-58:
---

Yes, it has been backported in the April 2020 OpenJDK Update Release.

https://bugs.openjdk.java.net/browse/JDK-8068184

Would be good if those with this problem would verify, on one of these:

OpenJDK 14.0.1
OpenJDK 13.0.3
OpenJDK 11.0.7
OpenJDK 8u252
OpenJDK 7u262

> NB IDE or NB Platform freeze on startup (proxy with Negotiate auth)
> ---
>
> Key: NETBEANS-58
> URL: https://issues.apache.org/jira/browse/NETBEANS-58
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Proxy
>Affects Versions: 8.2, 9.0, 11.0
> Environment: Primarily Windows.
>Reporter: phansson
>Priority: Critical
> Attachments: NETBEANS-58-workaround1.diff, 
> image-2018-04-24-15-57-47-592.png, nb-freeze-dump.txt, netbeans.txt
>
>
> When any network operation is performed, such as attempting to contact 
> NetBeans Update Center, the application (IDE or Platform) may freeze. Users 
> will typically experience this on startup. It was reported in old bug tracker 
> as [bug 248308|https://netbeans.org/bugzilla/show_bug.cgi?id=248308].
> The problem arises because of the fix JDK folks applied as a consequence of 
> the reported [JDK-8032832 
> bug|https://bugs.openjdk.java.net/browse/JDK-8032832]. This fix wasn't very 
> clever IMO: it puts a lock on the classloader, thus introducing a range of 
> other problems, one of them being that NetNeans IDE or NetBeans Platform will 
> likely freeze on startup when it attempts a network operation. The fact that 
> their fix made things worse (while no doubt fixing the original issue) has 
> been reported as 
> [JDK-8068184|https://bugs.openjdk.java.net/browse/JDK-8068184].
> h3. WHEN DOES IT HAPPEN?
> As the lock is introduced for authentication of type 'Negotiate' it of course 
> only happens if there's a network proxy on the path which uses this type of 
> authentication. Also known as SPNEGO. This form of authentication is in my 
> experience very common in corporate networks, in particular those that base 
> themselves on the Microsoft stack. But a person on Oracle's own internal 
> network, such as a JDK developer, is most likely not exposed to it. :-)
> There's another condition for it to happen: The JRE runtime must be unable to 
> provide 'credentials' (a Kerberos token) to the network proxy on its own. 
> SPNEGO is really designed to be seamless and promptless. Support for it was 
> added in Java 6. But later on Microsoft tightened the desktop security around 
> obtaining the so-called 'session token' and the JDK folks were never able to 
> work around this (unlike the makers of Chrome, FF, Opera, etc). Therefore, in 
> real-life, SPNEGO in the JRE on Windows is no longer promptless:  it will be 
> forced to ask the user for credentials, thus negating the idea of SPNEGO. It 
> is the prompting which causes the freeze. SPNEGO on Mac OS X and Linux is 
> most likely working just fine and the bug will never be experienced.
> h3. HOW DO I KNOW IF I'M AFFECTED BY EXACTLY THIS BUG?
> This bug in this ticket is characterized by the fact that you'll always be 
> able to find the following in your thread dump:
> {noformat}
>at 
> sun.net.www.protocol.http.NegotiateAuthentication.isSupported(NegotiateAuthentication.java:)
> - locked  (a org.netbeans.ModuleManager$SystemClassLoader)
> {noformat}
> Note that the [Ctrl-Break 
> method|https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr019.html]
>  of obtaining a thread dump is favoured over jstack and other methods.
> h3. WHY DOES IT HAPPEN?
> There will be a lock held on the classloader object when the JRE's registered 
>  Authenticator is invoked. If the Authenticator does work on another thread, 
> that other thread has a need for some classloading and the current thread 
> needs to wait for the result of that thread, then bum!, there's a deadlock 
> between the two threads. This means the lock on the classloader will never be 
> released and it will ultimately affect other threads, such as the AWT 
> dispatch thread (aka Swing EDT) which will then also lock. Then you have what 
> the user experiences as a freeze.
> The NB Platform's own Authenticator, {{NbAuthenticator}}, does exactly what I 
> described and will thus be triggering the deadlock. More precisely it will 
> happen when NbAuthenticator calls Keyring. Does this mean the NbAuthenticator 
> does something wrong?  No, of course it doesn't. The real problem is the lock 
> on the classloader. It is actually virtually impossible to design an 
> Authenticator which doesn't trigger this problem. You cannot predict when 
>