[jira] [Resolved] (NETBEANS-3176) Can not create netbeans module project with maven

2019-09-30 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi resolved NETBEANS-3176.
---
Fix Version/s: 11.2
   Resolution: Fixed

> Can not create netbeans module project with maven
> -
>
> Key: NETBEANS-3176
> URL: https://issues.apache.org/jira/browse/NETBEANS-3176
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven, apisupport - Project
>Affects Versions: 11.1
> Environment: OS: Kubuntu 16.04 x64 kernel 4.4.0-164-generic
> Maven: 3.6.2
> JDK: 12.02 Oracle
>Reporter: Milos Stojkovic
>Priority: Blocker
> Fix For: 11.2
>
>
> When I try to create new Netbeans module Project with Maven, project folder 
> is created but Netbeans shows NPE (bottom right red icon). After this no new 
> projects can be created until Netbeans is restarted. Clicking on the New 
> Project button does nothing.
> Video: https://youtu.be/lE6IVh_LmJI



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-2290) OnePassCompileWorker AssertionError followed by MultiPassCompileWorker NullPointerException

2019-09-30 Thread John Neffenger (Jira)


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

John Neffenger edited comment on NETBEANS-2290 at 9/30/19 11:13 PM:


*Workaround:* Uninstall the _nb-javac Library_ under _Tools > Plugins_.

Neither error occurs after uninstalling the _nb-javac Library_ under _Tools > 
Plugins_. Note that deactivating the _nbjavac_ plug-in was not enough. I had to 
actually uninstall it to get rid of the errors.

[^nbjavac-active-errors.txt] shows the errors when the nb-javac Library is 
installed and active.

[^nbjavac-deactivated-errors.txt] shows the errors when the nb-javac Library is 
installed but deactivated.



was (Author: jgneff):
Neither error occurs after uninstalling the _nb-javac Library_ under _Tools > 
Plugins_. Note that deactivating the _nbjavac_ plug-in was not enough. I had to 
actually uninstall it to get rid of the errors.

[^nbjavac-active-errors.txt] shows the errors when the nb-javac Library is 
installed and active.

[^nbjavac-deactivated-errors.txt] shows the errors when the nb-javac Library is 
installed but deactivated.


> OnePassCompileWorker AssertionError followed by MultiPassCompileWorker 
> NullPointerException
> ---
>
> Key: NETBEANS-2290
> URL: https://issues.apache.org/jira/browse/NETBEANS-2290
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 11.0, 11.1, 11.2
> Environment: OpenJDK 13 on Ubuntu 16.04.6 LTS
>Reporter: John Neffenger
>Priority: Major
> Attachments: messages.txt, nbjavac-active-errors.txt, 
> nbjavac-deactivated-errors.txt, netbeans-exceptions.txt
>
>
> In NetBeans 9.0, 10.0, and 11.0, I get the following two errors every time I 
> open the NetBeans project containing the OpenJFX graphics module 
> (javafx.graphics) the first time after clearing the cache. If I click through 
> the classes that failed to compile when opening the project, I can eventually 
> get NetBean to compile all of them successfully.
> The errors are:
> {code:java}
> java.lang.AssertionError: Analyzer error when processing:
> private LinkedList activeRunLoops
> = new LinkedList()
>     at com.sun.tools.javac.util.Assert.error(Assert.java:162)
> [catch] at org.netbeans.modules.java.source.nbjavac.indexing.
> OnePassCompileWorker.compile(OnePassCompileWorker.java:257) 
> {code}
> immediately followed by:
> {code:java}
> java.lang.NullPointerException at com.sun.tools.javac.comp.
> Modules.setCompilationUnitModules(Modules.java:421)
> [catch] at org.netbeans.modules.java.source.nbjavac.indexing.
> MultiPassCompileWorker.compile(MultiPassCompileWorker.java:204)
> {code}
> The full text of the error and exception are attached below as the file 
> _netbeans-exceptions.txt_.
> This might be the same problem reported for NetBeans 9.0 in [NETBEANS-1142: 
> Exception when scanning 
> projects|https://issues.apache.org/jira/browse/NETBEANS-1142].



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-2290) OnePassCompileWorker AssertionError followed by MultiPassCompileWorker NullPointerException

2019-09-30 Thread John Neffenger (Jira)


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

John Neffenger updated NETBEANS-2290:
-
Description: 
In NetBeans 9.0, 10.0, and 11.0, I get the following two errors every time I 
open the NetBeans project containing the OpenJFX graphics module 
(javafx.graphics) the first time after clearing the cache. If I click through 
the classes that failed to compile when opening the project, I can eventually 
get NetBean to compile all of them successfully.

The errors are:

{code:java}
java.lang.AssertionError: Analyzer error when processing:
private LinkedList activeRunLoops
= new LinkedList()
    at com.sun.tools.javac.util.Assert.error(Assert.java:162)
[catch] at org.netbeans.modules.java.source.nbjavac.indexing.
OnePassCompileWorker.compile(OnePassCompileWorker.java:257) 
{code}

immediately followed by:

{code:java}
java.lang.NullPointerException at com.sun.tools.javac.comp.
Modules.setCompilationUnitModules(Modules.java:421)
[catch] at org.netbeans.modules.java.source.nbjavac.indexing.
MultiPassCompileWorker.compile(MultiPassCompileWorker.java:204)
{code}

The full text of the error and exception are attached below as the file 
_netbeans-exceptions.txt_.

This might be the same problem reported for NetBeans 9.0 in [NETBEANS-1142: 
Exception when scanning 
projects|https://issues.apache.org/jira/browse/NETBEANS-1142].



  was:
In NetBeans 9.0, 10.0, and 11.0, I get the following two errors every time I 
open the NetBeans project containing the OpenJFX graphics module 
(javafx.graphics) the first time after clearing the cache. If I click through 
the classes that failed to compile when opening the project, I can eventually 
get NetBean to compile all of them successfully.

The errors are:

{code:java}
java.lang.AssertionError: Analyzer error when processing:
private LinkedList activeRunLoops
= new LinkedList()
    at com.sun.tools.javac.util.Assert.error(Assert.java:162)
[catch] at org.netbeans.modules.java.source.nbjavac.indexing.
OnePassCompileWorker.compile(OnePassCompileWorker.java:257) 
{code}

immediately followed by:

{code:java}
java.lang.NullPointerException at com.sun.tools.javac.comp.
Modules.setCompilationUnitModules(Modules.java:421)
[catch] at org.netbeans.modules.java.source.nbjavac.indexing.
MultiPassCompileWorker.compile(MultiPassCompileWorker.java:204)
{code}

The full text of the error and exception are attached below as the file 
_netbeans-exceptions.txt_.

This might be the same problem reported for NetBeans 9.0 in [NETBEANS-1142: 
Exception when scanning 
projects|https://issues.apache.org/jira/browse/NETBEANS-1142].



> OnePassCompileWorker AssertionError followed by MultiPassCompileWorker 
> NullPointerException
> ---
>
> Key: NETBEANS-2290
> URL: https://issues.apache.org/jira/browse/NETBEANS-2290
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 11.0, 11.1, 11.2
> Environment: OpenJDK 13 on Ubuntu 16.04.6 LTS
>Reporter: John Neffenger
>Priority: Major
> Attachments: messages.txt, nbjavac-active-errors.txt, 
> nbjavac-deactivated-errors.txt, netbeans-exceptions.txt
>
>
> In NetBeans 9.0, 10.0, and 11.0, I get the following two errors every time I 
> open the NetBeans project containing the OpenJFX graphics module 
> (javafx.graphics) the first time after clearing the cache. If I click through 
> the classes that failed to compile when opening the project, I can eventually 
> get NetBean to compile all of them successfully.
> The errors are:
> {code:java}
> java.lang.AssertionError: Analyzer error when processing:
> private LinkedList activeRunLoops
> = new LinkedList()
>     at com.sun.tools.javac.util.Assert.error(Assert.java:162)
> [catch] at org.netbeans.modules.java.source.nbjavac.indexing.
> OnePassCompileWorker.compile(OnePassCompileWorker.java:257) 
> {code}
> immediately followed by:
> {code:java}
> java.lang.NullPointerException at com.sun.tools.javac.comp.
> Modules.setCompilationUnitModules(Modules.java:421)
> [catch] at org.netbeans.modules.java.source.nbjavac.indexing.
> MultiPassCompileWorker.compile(MultiPassCompileWorker.java:204)
> {code}
> The full text of the error and exception are attached below as the file 
> _netbeans-exceptions.txt_.
> This might be the same problem reported for NetBeans 9.0 in [NETBEANS-1142: 
> Exception when scanning 
> projects|https://issues.apache.org/jira/browse/NETBEANS-1142].



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

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

[jira] [Commented] (NETBEANS-2360) HiDPI scaling not applied automatically on Linux

2019-09-30 Thread Lucio Benfante (Jira)


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

Lucio Benfante commented on NETBEANS-2360:
--

The issue description suggests setting the "GTK_SCALE" variable, but the 
correct variable name is "GDK_SCALE".

I setted it in the netbeans launcher script on LinuxMint and it seems working 
well:
{code:java}
export GDK_SCALE=2{code}

> HiDPI scaling not applied automatically on Linux
> 
>
> Key: NETBEANS-2360
> URL: https://issues.apache.org/jira/browse/NETBEANS-2360
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - LaunchersCLI
>Affects Versions: 11.0
> Environment: Kubuntu 18.03
> Oracle JDK 11.0.2
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI, Linux
> Attachments: kubunt.jpg
>
>
> Running NetBeans 11 on Kubuntu 18.03, GUI text size does not seem to take 
> into account the system's default HiDPI scaling. This was reported in a 
> Twitter thread on https://twitter.com/nicktail/status/1114789604337405952 . 
> Note that Window decorations seem to be the correct size.
> Setting the GTK_SCALE environment variable seems to fix the problem, if I 
> understand the originally reporter correctly. This could probably be done 
> easily from the NetBeans launcher script (netbeans/bin). But it wouldn't fix 
> the problem in multi-monitor setups. We should investigate what could be done 
> to make scaling work properly in multi-monitor setups involving one HiDPI 
> screen and one non-HiDPI screen.
> Before merging a patch to the launcher script, it should be tested on a 
> couple of different Linux environments, using both HiDPI and non-HiDPI 
> screens. Note that the UNIX launcher script is also used on MacOS.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-3186) Maven Dependency Manual Install

2019-09-30 Thread Vano Beridze (Jira)
Vano Beridze created NETBEANS-3186:
--

 Summary: Maven Dependency Manual Install
 Key: NETBEANS-3186
 URL: https://issues.apache.org/jira/browse/NETBEANS-3186
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Maven
Affects Versions: 11.1
Reporter: Vano Beridze


Could not find a way to add maven dependency with the version not in repository.

For instance PrimeFaces 6.2 is in the repository but 6.2.25 is not.

In 8.2 I would change a version, then go to Dependencies in the project tree 
and manually install artifact. In 11.1 if I change version to 6.2.25, it's not 
shown in the project tree



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-2439) Java Frontend Application cannot be activated/created

2019-09-30 Thread Neil C Smith (Jira)


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

Neil C Smith commented on NETBEANS-2439:


[~chrizzly] have you tried enabling Java support while running on Java 8, then 
switching to Java 11?  I think this might be the cause.

> Java Frontend Application cannot be activated/created
> -
>
> Key: NETBEANS-2439
> URL: https://issues.apache.org/jira/browse/NETBEANS-2439
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Project
>Affects Versions: 10.0, 11.0
> Environment: System:
>   Kernel: 4.15.0-47-generic x86_64 bits: 64 
>   Desktop: Cinnamon 4.0.10 Distro: Linux Mint 19.1 Tessa 
> Machine:
>   Type: Laptop System: ASUSTeK product: X45C v: 1.0
>   Mobo: ASUSTeK model: X45C v: 1.0 
> CPU:
>   Dual Core: Intel Core i3-3110M type: MT MCP speed: 1197 MHz 
>   min/max: 1200/2400 MHz 
> Graphics:
>   Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
>   Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
>   resolution: 1366x768~60Hz 
>   OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 18.2.8 
>Reporter: Gergely Turi
>Priority: Major
>  Labels: beginner, usability
> Fix For: 11.1
>
> Attachments: Java Frontend Application.png
>
>
> Java Frontend Application cannot be activated/created.
> New Project -> Java with Maven -> Java Frontend Application -> nothing 
> appears, no buttons for activation or any fields for the creation of a project



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

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

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



[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-09-30 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-3185:
--

Ok, good to know,

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Priority: Major
> Attachments: netbeans-java-frontend.png
>
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
>  skipped because it already exists
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon24.png
>  skipped because it already exists
> --- html4j-maven-plugin:1.6.1:process-js-annotations (js-classes) @ 
> mavenproject4-nb ---
> --- nbm-maven-plugin:3.14.1:manifest 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-09-30 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3185:
-

That is not the point. The project should download the JavaFX required by the 
project. Toni or Jaroslav should be able to help.

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Priority: Major
> Attachments: netbeans-java-frontend.png
>
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
>  skipped because it already exists
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon24.png
>  skipped because it already exists
> --- 

[jira] [Comment Edited] (NETBEANS-3185) Java frontend application doesn't work

2019-09-30 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-3185 at 9/30/19 2:59 PM:
---

And I already know that JavafX is not part of JDK > 9 anymore. But I don't know 
how to fix this problem when using a higher version of the needed JDK.


was (Author: chrizzly):
I know that JavafX is not part of JDK > 9 anymore

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Priority: Major
> Attachments: netbeans-java-frontend.png
>
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
>  skipped because it already exists
> Output file 
> 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-09-30 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-3185:
--

I know that JavafX is not part of JDK > 9 anymore

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Priority: Major
> Attachments: netbeans-java-frontend.png
>
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
>  skipped because it already exists
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon24.png
>  skipped because it already exists
> --- html4j-maven-plugin:1.6.1:process-js-annotations (js-classes) @ 
> mavenproject4-nb ---
> --- 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-09-30 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-3185:
--

Yes and that happens when I use JDK 11.0.2 as managed platform.

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Priority: Major
> Attachments: netbeans-java-frontend.png
>
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
>  skipped because it already exists
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon24.png
>  skipped because it already exists
> --- html4j-maven-plugin:1.6.1:process-js-annotations (js-classes) @ 
> mavenproject4-nb 

[jira] [Updated] (NETBEANS-3185) Java frontend application doesn't work

2019-09-30 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-3185:
-
Description: 
When I create a Java with Maven -> Java Frontend Application and try to run it 
as a NetBeans plugin, it doesn't work. It shows me, that some modules can't be 
enabled. This happens for a project type, that already exists in NetBeans w/o 
having a 3rd-party-plugin installed and a clean install (no user dir, no cache, 
nothing). Just downloaded 11.2 beta 1 and started it fresh.

As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also have 
JDK 1.8 installed just for information.

Steps to reproduce:
* Create a new Project
* Choose "Java with Maven" -> "Java Frontend Application"
* Click on "Download & Activate" on the wizard for the project if needed.
* Wait for nbjavac and javafx downloaded and activate the missing features
* On wizard page "Name and Location" leave everything as it is and click next
* On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
click next
* On next wizard page "Select a template" leave everything as it is and click 
next
* On next wzard page "What will be created?" click finish
* Wait for everything is created and opened and you see the multi module 
project.
* Right click on your multi module project and click on properties
* * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
* * Go to Build -> Compile and choose your Java platform, in my Case it is 
11.0.2 that I added.
* * Go to Configurations and choose a target platform. I tried for ANB 10.0 and 
11.1
* Open the submodule "YourProjectName Client for NetBeans"
* Try to run your submodule "YourProjectName Client for NetBeans" in your 
target platform
* When NetBeans started the modules, you got the message that not all modules 
can be enabled. See the screenshot for this.

Here is the output when I run the submodule
{code}
cd 
C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
 "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
"\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
-Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
-Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
Scanning for projects...


Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT


--- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
---

--- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ mavenproject4-nb 
---
Unpacking 
C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
 to 
C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
 with includes "*/**" and excludes ""

--- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
Nothing to compile - all classes are up to date

--- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
Output file 
C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
 skipped because it already exists
Output file 
C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon24.png
 skipped because it already exists

--- html4j-maven-plugin:1.6.1:process-js-annotations (js-classes) @ 
mavenproject4-nb ---

--- nbm-maven-plugin:3.14.1:manifest (default-manifest) @ mavenproject4-nb ---
NBM Plugin generates manifest
Adding OSGi bundle dependency - com.mycompany:mavenproject4
Adding OSGi bundle dependency - org.netbeans.html:net.java.html.boot
Adding OSGi bundle dependency - com.mycompany:mavenproject4-js

--- maven-resources-plugin:3.0.2:testResources (default-testResources) @ 
mavenproject4-nb ---
Using 'UTF-8' encoding to copy filtered resources.
skip non existing resourceDirectory 
C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\src\test\resources

--- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ 
mavenproject4-nb ---
No sources to compile

--- maven-jar-plugin:2.4:jar (jar) @ mavenproject4-nb ---
Adding existing MANIFEST to archive. Found under: 
C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\META-INF\MANIFEST.MF
Building jar: 
C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\mavenproject4-nb-1.0-SNAPSHOT.jar


[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-09-30 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3185:
-

So, is this the error that you see:

Warning - could not install some modules: JavaFX wrapper - No module providing 
the capability org.openide.modules.jre.JavaFX could be found. 2 further modules 
could not be installed due to the above problems.

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Priority: Major
> Attachments: netbeans-java-frontend.png
>
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed and I build the project with JDK 1.8
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project -> properties and go to sources
> * Make sure that you have chosen 1.8 at "Source/Binary Format" (This is my 
> environment, because I have installed JDK 1.8 to build my plugins for the 
> minimal version as possible)
> * Build your project for your target platform. I tried for ANB 10.0 and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
>  skipped because it already exists
> Output file 
> 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-09-30 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-3185:
--

With this project I saw, that I built with JDK 11. I didn't add JDK 1.8 to the 
new NetBeans 11.2 beta 1 yet, will do that now. So for this test, you need JDK 
11 installed and added it as the target platform.

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Priority: Major
> Attachments: netbeans-java-frontend.png
>
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed and I build the project with JDK 1.8
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project -> properties and go to sources
> * Make sure that you have chosen 1.8 at "Source/Binary Format" (This is my 
> environment, because I have installed JDK 1.8 to build my plugins for the 
> minimal version as possible)
> * Build your project for your target platform. I tried for ANB 10.0 and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
>  skipped because it already exists
> Output file 
> 

[jira] [Closed] (NETBEANS-3184) right-click on PHP class method causes Exception

2019-09-30 Thread Jeremy Dunn (Jira)


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

Jeremy Dunn closed NETBEANS-3184.
-
Resolution: Not A Bug

problems resolved by getting rid of old nb userdir

> right-click on PHP class method causes Exception
> 
>
> Key: NETBEANS-3184
> URL: https://issues.apache.org/jira/browse/NETBEANS-3184
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11
> Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11
> System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\Jeremy\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\Jeremy\AppData\Local\NetBeans\Cache\11.1
> NOTE: I previously had NetBeans 8.2 Patch 2 installed; then I installed 
> Apache Netbeans 11.1.  It appears that the old 8.2u2 version is still somehow 
> active.  Could that be causing the problem??
>Reporter: Jeremy Dunn
>Priority: Major
>
> steps to recreate the problem:
>  * edit any PHP class file
>  * double-click any method name to highlight
>  * right-click on the method to get context-menu
>  * the context-menu is shown , BUT an exception is immediately generated (see 
> below)
>  * choosing "Find Usages" gives message "Cannot refactor here", which looks 
> like the same issues as 
> [https://netbeans.org/bugzilla/show_bug.cgi?id=236693] 
>  
> exception:
> {noformat}
> Annotation: segments.gen f: true r: true w: true
> segments_1 f: true r: true w: true
> _0.cfs f: true r: true w: true
> current thread: Thread[Editor Parsing Loop 
> (netbeans-release-428-on-20190716),1,system](28)threads: 
> Thread[Deadlock Detector,5,IDE Main](39)
>   java.lang.Thread.sleep(Native Method)
>   org.netbeans.modules.deadlock.detector.Detector.run(Detector.java:115)
>   java.lang.Thread.run(Thread.java:748)
> Thread[Finalizer,8,system](3)
>   java.lang.Object.wait(Native Method)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
>   java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)
> Thread[main,5,main](1)
> Thread[RequestProcessor queue manager,5,IDE Main](17)
>   java.lang.Object.wait(Native Method)
>   
> org.openide.util.RequestProcessor$TickTac.obtainFirst(RequestProcessor.java:2257)
>   
> org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2233)
> Thread[Framework Event Dispatcher,5,IDE Main](26)
>   java.lang.Object.wait(Native Method)
>   java.lang.Object.wait(Object.java:502)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
> Thread[Editor Parsing Loop (netbeans-release-428-on-20190716),1,system](28)
>   java.lang.Thread.dumpThreads(Native Method)
>   java.lang.Thread.getAllStackTraces(Thread.java:1610)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.getReader(LuceneIndex.java:968)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.acquireReader(LuceneIndex.java:918)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex.query(LuceneIndex.java:151)
>   
> org.netbeans.modules.parsing.lucene.DocumentIndexImpl.query(DocumentIndexImpl.java:261)
>   
> org.netbeans.modules.parsing.impl.indexing.lucene.LayeredDocumentIndex.query(LayeredDocumentIndex.java:182)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:630)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:590)
>   
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query.execute(QuerySupport.java:590)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport.query(QuerySupport.java:342)
>   
> org.netbeans.modules.php.editor.elements.IndexQueryImpl.search(IndexQueryImpl.java:1676)
>   
> org.netbeans.modules.php.editor.elements.IndexQueryImpl.results(IndexQueryImpl.java:1714)
>   
> 

[jira] [Updated] (NETBEANS-3185) Java frontend application doesn't work

2019-09-30 Thread Christian Lenz (Jira)


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

Christian Lenz updated NETBEANS-3185:
-
Description: 
When I create a Java with Maven -> Java Frontend Application and try to run it 
as a NetBeans plugin, it doesn't work. It shows me, that some modules can't be 
enabled. This happens for a project type, that already exists in NetBeans w/o 
having a 3rd-party-plugin installed and a clean install (no user dir, no cache, 
nothing). Just downloaded 11.2 beta 1 and started it fresh.

As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also have 
JDK 1.8 installed and I build the project with JDK 1.8

Steps to reproduce:
* Create a new Project
* Choose "Java with Maven" -> "Java Frontend Application"
* Click on "Download & Activate" on the wizard for the project if needed.
* Wait for nbjavac and javafx downloaded and activate the missing features
* On wizard page "Name and Location" leave everything as it is and click next
* On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
click next
* On next wizard page "Select a template" leave everything as it is and click 
next
* On next wzard page "What will be created?" click finish
* Wait for everything is created and opened and you see the multi module 
project.
* Right click on your multi module project -> properties and go to sources
* Make sure that you have chosen 1.8 at "Source/Binary Format" (This is my 
environment, because I have installed JDK 1.8 to build my plugins for the 
minimal version as possible)
* Build your project for your target platform. I tried for ANB 10.0 and 11.1
* Open the submodule "YourProjectName Client for NetBeans"
* Try to run your submodule "YourProjectName Client for NetBeans" in your 
target platform
* When NetBeans started the modules, you got the message that not all modules 
can be enabled. See the screenshot for this.

Here is the output when I run the submodule
{code}
cd 
C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
 "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
"\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
-Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
-Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
Scanning for projects...


Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT


--- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
---

--- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ mavenproject4-nb 
---
Unpacking 
C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
 to 
C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
 with includes "*/**" and excludes ""

--- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
Nothing to compile - all classes are up to date

--- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
Output file 
C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
 skipped because it already exists
Output file 
C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon24.png
 skipped because it already exists

--- html4j-maven-plugin:1.6.1:process-js-annotations (js-classes) @ 
mavenproject4-nb ---

--- nbm-maven-plugin:3.14.1:manifest (default-manifest) @ mavenproject4-nb ---
NBM Plugin generates manifest
Adding OSGi bundle dependency - com.mycompany:mavenproject4
Adding OSGi bundle dependency - org.netbeans.html:net.java.html.boot
Adding OSGi bundle dependency - com.mycompany:mavenproject4-js

--- maven-resources-plugin:3.0.2:testResources (default-testResources) @ 
mavenproject4-nb ---
Using 'UTF-8' encoding to copy filtered resources.
skip non existing resourceDirectory 
C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\src\test\resources

--- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ 
mavenproject4-nb ---
No sources to compile

--- maven-jar-plugin:2.4:jar (jar) @ mavenproject4-nb ---
Adding existing MANIFEST to archive. Found under: 
C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\META-INF\MANIFEST.MF
Building jar: 

[jira] [Created] (NETBEANS-3185) Java frontend application doesn't work

2019-09-30 Thread Christian Lenz (Jira)
Christian Lenz created NETBEANS-3185:


 Summary: Java frontend application doesn't work
 Key: NETBEANS-3185
 URL: https://issues.apache.org/jira/browse/NETBEANS-3185
 Project: NetBeans
  Issue Type: Bug
  Components: javafx - Project, platform - HTML4J
Affects Versions: 11.2
 Environment: Product Version: Apache NetBeans IDE 11.2-beta1
Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
Reporter: Christian Lenz
 Attachments: netbeans-java-frontend.png

When I create a Java with Maven -> Java Frontend Application and try to run it 
as a NetBeans plugin, it doesn't work. It shows me, that some modules can't be 
enabled. This happens for a project type, that already exists in NetBeans w/o 
having a 3rd-party-plugin installed and a clean install (no user dir, no cache, 
nothing). Just downloaded 11.2 beta 1 and started it fresh.

As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also have 
JDK 1.8 installed and I build the project with JDK 1.8

Steps to reproduce:
* Create a new Project
* Choose "Java with Maven" -> "Java Frontend Application"
* Click on "Download & Activate" on the wizard for the project if needed.
* Wait for nbjavac and javafx downloaded and activate the missing features
* On wizard page "Name and Location" leave everything as it is and click next
* On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
click next
* On next wizard page "Select a template" leave everything as it is and click 
next
* On next wzard page "What will be created?" click finish
* Wait for everything is created and opened and you see the multi module 
project.
* Right click on your multi module project -> properties and go to sources
* Make sure that you have chosen 1.8 at "Source/Binary Format" (This is my 
environment, because I have installed JDK 1.8 to build my plugins for the 
minimal version as possible)
* Build your project for your target platform. I tried for ANB 10.0 and 11.1
* Try to run your submodule "YourProjectName Client for NetBeans" in your 
target platform
* When NetBeans started the modules, you got the message that not all modules 
can be enabled. See the screenshot for this.

Here is the output when I run the submodule
{code}
cd 
C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
 "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
"\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
-Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
-Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
Scanning for projects...


Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT


--- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
---

--- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ mavenproject4-nb 
---
Unpacking 
C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
 to 
C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
 with includes "*/**" and excludes ""

--- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
Nothing to compile - all classes are up to date

--- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
Output file 
C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
 skipped because it already exists
Output file 
C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon24.png
 skipped because it already exists

--- html4j-maven-plugin:1.6.1:process-js-annotations (js-classes) @ 
mavenproject4-nb ---

--- nbm-maven-plugin:3.14.1:manifest (default-manifest) @ mavenproject4-nb ---
NBM Plugin generates manifest
Adding OSGi bundle dependency - com.mycompany:mavenproject4
Adding OSGi bundle dependency - org.netbeans.html:net.java.html.boot
Adding OSGi bundle dependency - com.mycompany:mavenproject4-js

--- maven-resources-plugin:3.0.2:testResources (default-testResources) @ 
mavenproject4-nb ---
Using 'UTF-8' encoding to copy filtered resources.
skip non existing 

[jira] [Commented] (NETBEANS-3184) right-click on PHP class method causes Exception

2019-09-30 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3184:
-

Hurray, close the issue, and congrats. :-)

> right-click on PHP class method causes Exception
> 
>
> Key: NETBEANS-3184
> URL: https://issues.apache.org/jira/browse/NETBEANS-3184
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11
> Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11
> System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\Jeremy\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\Jeremy\AppData\Local\NetBeans\Cache\11.1
> NOTE: I previously had NetBeans 8.2 Patch 2 installed; then I installed 
> Apache Netbeans 11.1.  It appears that the old 8.2u2 version is still somehow 
> active.  Could that be causing the problem??
>Reporter: Jeremy Dunn
>Priority: Major
>
> steps to recreate the problem:
>  * edit any PHP class file
>  * double-click any method name to highlight
>  * right-click on the method to get context-menu
>  * the context-menu is shown , BUT an exception is immediately generated (see 
> below)
>  * choosing "Find Usages" gives message "Cannot refactor here", which looks 
> like the same issues as 
> [https://netbeans.org/bugzilla/show_bug.cgi?id=236693] 
>  
> exception:
> {noformat}
> Annotation: segments.gen f: true r: true w: true
> segments_1 f: true r: true w: true
> _0.cfs f: true r: true w: true
> current thread: Thread[Editor Parsing Loop 
> (netbeans-release-428-on-20190716),1,system](28)threads: 
> Thread[Deadlock Detector,5,IDE Main](39)
>   java.lang.Thread.sleep(Native Method)
>   org.netbeans.modules.deadlock.detector.Detector.run(Detector.java:115)
>   java.lang.Thread.run(Thread.java:748)
> Thread[Finalizer,8,system](3)
>   java.lang.Object.wait(Native Method)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
>   java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)
> Thread[main,5,main](1)
> Thread[RequestProcessor queue manager,5,IDE Main](17)
>   java.lang.Object.wait(Native Method)
>   
> org.openide.util.RequestProcessor$TickTac.obtainFirst(RequestProcessor.java:2257)
>   
> org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2233)
> Thread[Framework Event Dispatcher,5,IDE Main](26)
>   java.lang.Object.wait(Native Method)
>   java.lang.Object.wait(Object.java:502)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
> Thread[Editor Parsing Loop (netbeans-release-428-on-20190716),1,system](28)
>   java.lang.Thread.dumpThreads(Native Method)
>   java.lang.Thread.getAllStackTraces(Thread.java:1610)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.getReader(LuceneIndex.java:968)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.acquireReader(LuceneIndex.java:918)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex.query(LuceneIndex.java:151)
>   
> org.netbeans.modules.parsing.lucene.DocumentIndexImpl.query(DocumentIndexImpl.java:261)
>   
> org.netbeans.modules.parsing.impl.indexing.lucene.LayeredDocumentIndex.query(LayeredDocumentIndex.java:182)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:630)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:590)
>   
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query.execute(QuerySupport.java:590)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport.query(QuerySupport.java:342)
>   
> org.netbeans.modules.php.editor.elements.IndexQueryImpl.search(IndexQueryImpl.java:1676)
>   
> org.netbeans.modules.php.editor.elements.IndexQueryImpl.results(IndexQueryImpl.java:1714)
>   
> 

[jira] [Commented] (NETBEANS-3184) right-click on PHP class method causes Exception

2019-09-30 Thread Jeremy Dunn (Jira)


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

Jeremy Dunn commented on NETBEANS-3184:
---

[~junichi11] and [~GeertjanWielenga]  - thank you both for your prompt help!

I'm sorry to be ignorant about NB !   

I've done this:
 # renamed the old "nbproject" as nbproject.OLD - even though it is not required
 # renamed the old userdir ( //AppData/Roaming/NetBeans/) as 
NetBeans.OLD
 # reopen NB 11.1
 # recreate my project from existing sources
 # reinstall the PHP and PHP-Enhancements plugins
 # wait for background-scanning of project and dictionary-rebuild to finish
 # try to recreate the problem

after the above steps, the problems reported in this ticket are GONE:
 * no more exceptions when changing files in editor
 * no more exceptions when right-click on methods
 * restored ability to "Find Usages" - works properly

So - it appears that my problems were related to leftover NB 8.2u2 stuff in 
userdir

I have not yet downloaded 11.2b1 because of limited bandwidth - I'll do so 
later and see how it works - but for the moment issues are resolved.

> right-click on PHP class method causes Exception
> 
>
> Key: NETBEANS-3184
> URL: https://issues.apache.org/jira/browse/NETBEANS-3184
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11
> Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11
> System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\Jeremy\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\Jeremy\AppData\Local\NetBeans\Cache\11.1
> NOTE: I previously had NetBeans 8.2 Patch 2 installed; then I installed 
> Apache Netbeans 11.1.  It appears that the old 8.2u2 version is still somehow 
> active.  Could that be causing the problem??
>Reporter: Jeremy Dunn
>Priority: Major
>
> steps to recreate the problem:
>  * edit any PHP class file
>  * double-click any method name to highlight
>  * right-click on the method to get context-menu
>  * the context-menu is shown , BUT an exception is immediately generated (see 
> below)
>  * choosing "Find Usages" gives message "Cannot refactor here", which looks 
> like the same issues as 
> [https://netbeans.org/bugzilla/show_bug.cgi?id=236693] 
>  
> exception:
> {noformat}
> Annotation: segments.gen f: true r: true w: true
> segments_1 f: true r: true w: true
> _0.cfs f: true r: true w: true
> current thread: Thread[Editor Parsing Loop 
> (netbeans-release-428-on-20190716),1,system](28)threads: 
> Thread[Deadlock Detector,5,IDE Main](39)
>   java.lang.Thread.sleep(Native Method)
>   org.netbeans.modules.deadlock.detector.Detector.run(Detector.java:115)
>   java.lang.Thread.run(Thread.java:748)
> Thread[Finalizer,8,system](3)
>   java.lang.Object.wait(Native Method)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
>   java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)
> Thread[main,5,main](1)
> Thread[RequestProcessor queue manager,5,IDE Main](17)
>   java.lang.Object.wait(Native Method)
>   
> org.openide.util.RequestProcessor$TickTac.obtainFirst(RequestProcessor.java:2257)
>   
> org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2233)
> Thread[Framework Event Dispatcher,5,IDE Main](26)
>   java.lang.Object.wait(Native Method)
>   java.lang.Object.wait(Object.java:502)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
> Thread[Editor Parsing Loop (netbeans-release-428-on-20190716),1,system](28)
>   java.lang.Thread.dumpThreads(Native Method)
>   java.lang.Thread.getAllStackTraces(Thread.java:1610)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.getReader(LuceneIndex.java:968)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.acquireReader(LuceneIndex.java:918)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex.query(LuceneIndex.java:151)
>   
> org.netbeans.modules.parsing.lucene.DocumentIndexImpl.query(DocumentIndexImpl.java:261)
>   
> org.netbeans.modules.parsing.impl.indexing.lucene.LayeredDocumentIndex.query(LayeredDocumentIndex.java:182)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:630)
>   
> 

[jira] [Commented] (NETBEANS-3184) right-click on PHP class method causes Exception

2019-09-30 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-3184:


Please write the example code to reproduce it. Please remove not only user 
directory but also the cache directory for 11.1 once.

> right-click on PHP class method causes Exception
> 
>
> Key: NETBEANS-3184
> URL: https://issues.apache.org/jira/browse/NETBEANS-3184
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11
> Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11
> System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\Jeremy\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\Jeremy\AppData\Local\NetBeans\Cache\11.1
> NOTE: I previously had NetBeans 8.2 Patch 2 installed; then I installed 
> Apache Netbeans 11.1.  It appears that the old 8.2u2 version is still somehow 
> active.  Could that be causing the problem??
>Reporter: Jeremy Dunn
>Priority: Major
>
> steps to recreate the problem:
>  * edit any PHP class file
>  * double-click any method name to highlight
>  * right-click on the method to get context-menu
>  * the context-menu is shown , BUT an exception is immediately generated (see 
> below)
>  * choosing "Find Usages" gives message "Cannot refactor here", which looks 
> like the same issues as 
> [https://netbeans.org/bugzilla/show_bug.cgi?id=236693] 
>  
> exception:
> {noformat}
> Annotation: segments.gen f: true r: true w: true
> segments_1 f: true r: true w: true
> _0.cfs f: true r: true w: true
> current thread: Thread[Editor Parsing Loop 
> (netbeans-release-428-on-20190716),1,system](28)threads: 
> Thread[Deadlock Detector,5,IDE Main](39)
>   java.lang.Thread.sleep(Native Method)
>   org.netbeans.modules.deadlock.detector.Detector.run(Detector.java:115)
>   java.lang.Thread.run(Thread.java:748)
> Thread[Finalizer,8,system](3)
>   java.lang.Object.wait(Native Method)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
>   java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)
> Thread[main,5,main](1)
> Thread[RequestProcessor queue manager,5,IDE Main](17)
>   java.lang.Object.wait(Native Method)
>   
> org.openide.util.RequestProcessor$TickTac.obtainFirst(RequestProcessor.java:2257)
>   
> org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2233)
> Thread[Framework Event Dispatcher,5,IDE Main](26)
>   java.lang.Object.wait(Native Method)
>   java.lang.Object.wait(Object.java:502)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
> Thread[Editor Parsing Loop (netbeans-release-428-on-20190716),1,system](28)
>   java.lang.Thread.dumpThreads(Native Method)
>   java.lang.Thread.getAllStackTraces(Thread.java:1610)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.getReader(LuceneIndex.java:968)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.acquireReader(LuceneIndex.java:918)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex.query(LuceneIndex.java:151)
>   
> org.netbeans.modules.parsing.lucene.DocumentIndexImpl.query(DocumentIndexImpl.java:261)
>   
> org.netbeans.modules.parsing.impl.indexing.lucene.LayeredDocumentIndex.query(LayeredDocumentIndex.java:182)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:630)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:590)
>   
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query.execute(QuerySupport.java:590)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport.query(QuerySupport.java:342)
>   
> org.netbeans.modules.php.editor.elements.IndexQueryImpl.search(IndexQueryImpl.java:1676)
>   
> 

[jira] [Commented] (NETBEANS-2439) Java Frontend Application cannot be activated/created

2019-09-30 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-2439:
--

Can confirm it with NetBeans 11.1. I can't reproduce it in NetBeans 11.2 beta 
1. But it was a fresh dir so maybe it could be broken in some special way.

> Java Frontend Application cannot be activated/created
> -
>
> Key: NETBEANS-2439
> URL: https://issues.apache.org/jira/browse/NETBEANS-2439
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Project
>Affects Versions: 10.0, 11.0
> Environment: System:
>   Kernel: 4.15.0-47-generic x86_64 bits: 64 
>   Desktop: Cinnamon 4.0.10 Distro: Linux Mint 19.1 Tessa 
> Machine:
>   Type: Laptop System: ASUSTeK product: X45C v: 1.0
>   Mobo: ASUSTeK model: X45C v: 1.0 
> CPU:
>   Dual Core: Intel Core i3-3110M type: MT MCP speed: 1197 MHz 
>   min/max: 1200/2400 MHz 
> Graphics:
>   Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
>   Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
>   resolution: 1366x768~60Hz 
>   OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 18.2.8 
>Reporter: Gergely Turi
>Priority: Major
>  Labels: beginner, usability
> Fix For: 11.1
>
> Attachments: Java Frontend Application.png
>
>
> Java Frontend Application cannot be activated/created.
> New Project -> Java with Maven -> Java Frontend Application -> nothing 
> appears, no buttons for activation or any fields for the creation of a project



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

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

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



[jira] [Commented] (NETBEANS-3184) right-click on PHP class method causes Exception

2019-09-30 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3184:
-

No, that has nothing at all to do with userdir.

The user directory is the user directory of NetBeans itself, probably/possibly 
you're using an old or corrupted user directory.

http://wiki.netbeans.org/FaqWhatIsUserdir

For 11.1, there aren't small distributions like there were in 8.2, though for 
11.2, those will be available again via the installer. For the moment, just try 
the above -- remove the user directory and restart and see if the problem can 
be reproduced.

> right-click on PHP class method causes Exception
> 
>
> Key: NETBEANS-3184
> URL: https://issues.apache.org/jira/browse/NETBEANS-3184
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11
> Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11
> System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\Jeremy\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\Jeremy\AppData\Local\NetBeans\Cache\11.1
> NOTE: I previously had NetBeans 8.2 Patch 2 installed; then I installed 
> Apache Netbeans 11.1.  It appears that the old 8.2u2 version is still somehow 
> active.  Could that be causing the problem??
>Reporter: Jeremy Dunn
>Priority: Major
>
> steps to recreate the problem:
>  * edit any PHP class file
>  * double-click any method name to highlight
>  * right-click on the method to get context-menu
>  * the context-menu is shown , BUT an exception is immediately generated (see 
> below)
>  * choosing "Find Usages" gives message "Cannot refactor here", which looks 
> like the same issues as 
> [https://netbeans.org/bugzilla/show_bug.cgi?id=236693] 
>  
> exception:
> {noformat}
> Annotation: segments.gen f: true r: true w: true
> segments_1 f: true r: true w: true
> _0.cfs f: true r: true w: true
> current thread: Thread[Editor Parsing Loop 
> (netbeans-release-428-on-20190716),1,system](28)threads: 
> Thread[Deadlock Detector,5,IDE Main](39)
>   java.lang.Thread.sleep(Native Method)
>   org.netbeans.modules.deadlock.detector.Detector.run(Detector.java:115)
>   java.lang.Thread.run(Thread.java:748)
> Thread[Finalizer,8,system](3)
>   java.lang.Object.wait(Native Method)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
>   java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)
> Thread[main,5,main](1)
> Thread[RequestProcessor queue manager,5,IDE Main](17)
>   java.lang.Object.wait(Native Method)
>   
> org.openide.util.RequestProcessor$TickTac.obtainFirst(RequestProcessor.java:2257)
>   
> org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2233)
> Thread[Framework Event Dispatcher,5,IDE Main](26)
>   java.lang.Object.wait(Native Method)
>   java.lang.Object.wait(Object.java:502)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
> Thread[Editor Parsing Loop (netbeans-release-428-on-20190716),1,system](28)
>   java.lang.Thread.dumpThreads(Native Method)
>   java.lang.Thread.getAllStackTraces(Thread.java:1610)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.getReader(LuceneIndex.java:968)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.acquireReader(LuceneIndex.java:918)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex.query(LuceneIndex.java:151)
>   
> org.netbeans.modules.parsing.lucene.DocumentIndexImpl.query(DocumentIndexImpl.java:261)
>   
> org.netbeans.modules.parsing.impl.indexing.lucene.LayeredDocumentIndex.query(LayeredDocumentIndex.java:182)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:630)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:590)
>   
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   
> 

[jira] [Commented] (NETBEANS-3184) right-click on PHP class method causes Exception

2019-09-30 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3184:
-

I doubt that. However, I'd advise starting with a fresh userdir and then when 
the problem happens again upload the log files in the userdir so we can see 
what the problem might be. Advise using 11.2 beta1 instead of 11.1 at this 
point though, see the bit.ly link above.

> right-click on PHP class method causes Exception
> 
>
> Key: NETBEANS-3184
> URL: https://issues.apache.org/jira/browse/NETBEANS-3184
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11
> Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11
> System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\Jeremy\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\Jeremy\AppData\Local\NetBeans\Cache\11.1
> NOTE: I previously had NetBeans 8.2 Patch 2 installed; then I installed 
> Apache Netbeans 11.1.  It appears that the old 8.2u2 version is still somehow 
> active.  Could that be causing the problem??
>Reporter: Jeremy Dunn
>Priority: Major
>
> steps to recreate the problem:
>  * edit any PHP class file
>  * double-click any method name to highlight
>  * right-click on the method to get context-menu
>  * the context-menu is shown , BUT an exception is immediately generated (see 
> below)
>  * choosing "Find Usages" gives message "Cannot refactor here", which looks 
> like the same issues as 
> [https://netbeans.org/bugzilla/show_bug.cgi?id=236693] 
>  
> exception:
> {noformat}
> Annotation: segments.gen f: true r: true w: true
> segments_1 f: true r: true w: true
> _0.cfs f: true r: true w: true
> current thread: Thread[Editor Parsing Loop 
> (netbeans-release-428-on-20190716),1,system](28)threads: 
> Thread[Deadlock Detector,5,IDE Main](39)
>   java.lang.Thread.sleep(Native Method)
>   org.netbeans.modules.deadlock.detector.Detector.run(Detector.java:115)
>   java.lang.Thread.run(Thread.java:748)
> Thread[Finalizer,8,system](3)
>   java.lang.Object.wait(Native Method)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
>   java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)
> Thread[main,5,main](1)
> Thread[RequestProcessor queue manager,5,IDE Main](17)
>   java.lang.Object.wait(Native Method)
>   
> org.openide.util.RequestProcessor$TickTac.obtainFirst(RequestProcessor.java:2257)
>   
> org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2233)
> Thread[Framework Event Dispatcher,5,IDE Main](26)
>   java.lang.Object.wait(Native Method)
>   java.lang.Object.wait(Object.java:502)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
> Thread[Editor Parsing Loop (netbeans-release-428-on-20190716),1,system](28)
>   java.lang.Thread.dumpThreads(Native Method)
>   java.lang.Thread.getAllStackTraces(Thread.java:1610)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.getReader(LuceneIndex.java:968)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.acquireReader(LuceneIndex.java:918)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex.query(LuceneIndex.java:151)
>   
> org.netbeans.modules.parsing.lucene.DocumentIndexImpl.query(DocumentIndexImpl.java:261)
>   
> org.netbeans.modules.parsing.impl.indexing.lucene.LayeredDocumentIndex.query(LayeredDocumentIndex.java:182)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:630)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:590)
>   
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query.execute(QuerySupport.java:590)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport.query(QuerySupport.java:342)
>   
> 

[jira] [Commented] (NETBEANS-3184) right-click on PHP class method causes Exception

2019-09-30 Thread Jeremy Dunn (Jira)


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

Jeremy Dunn commented on NETBEANS-3184:
---

actually, I'm getting this error very frequently, even when not choosing a 
context-menu.  For instance, if I have three files open in the editor, and 
click a tab to view a different file, I get a similar exception in the Editor 
Parsing Loop thread.

please also note the comment under "Environment", that it appears I have old NB 
8.2u2 installed:  Even though the older version is no longer installed on my 
machine, the NB 11.1 environment is detecting it. 

> right-click on PHP class method causes Exception
> 
>
> Key: NETBEANS-3184
> URL: https://issues.apache.org/jira/browse/NETBEANS-3184
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11
> Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11
> System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\Jeremy\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\Jeremy\AppData\Local\NetBeans\Cache\11.1
> NOTE: I previously had NetBeans 8.2 Patch 2 installed; then I installed 
> Apache Netbeans 11.1.  It appears that the old 8.2u2 version is still somehow 
> active.  Could that be causing the problem??
>Reporter: Jeremy Dunn
>Priority: Major
>
> steps to recreate the problem:
>  * edit any PHP class file
>  * double-click any method name to highlight
>  * right-click on the method to get context-menu
>  * the context-menu is shown , BUT an exception is immediately generated (see 
> below)
>  * choosing "Find Usages" gives message "Cannot refactor here", which looks 
> like the same issues as 
> [https://netbeans.org/bugzilla/show_bug.cgi?id=236693] 
>  
> exception:
> {noformat}
> Annotation: segments.gen f: true r: true w: true
> segments_1 f: true r: true w: true
> _0.cfs f: true r: true w: true
> current thread: Thread[Editor Parsing Loop 
> (netbeans-release-428-on-20190716),1,system](28)threads: 
> Thread[Deadlock Detector,5,IDE Main](39)
>   java.lang.Thread.sleep(Native Method)
>   org.netbeans.modules.deadlock.detector.Detector.run(Detector.java:115)
>   java.lang.Thread.run(Thread.java:748)
> Thread[Finalizer,8,system](3)
>   java.lang.Object.wait(Native Method)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
>   java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)
> Thread[main,5,main](1)
> Thread[RequestProcessor queue manager,5,IDE Main](17)
>   java.lang.Object.wait(Native Method)
>   
> org.openide.util.RequestProcessor$TickTac.obtainFirst(RequestProcessor.java:2257)
>   
> org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2233)
> Thread[Framework Event Dispatcher,5,IDE Main](26)
>   java.lang.Object.wait(Native Method)
>   java.lang.Object.wait(Object.java:502)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
> Thread[Editor Parsing Loop (netbeans-release-428-on-20190716),1,system](28)
>   java.lang.Thread.dumpThreads(Native Method)
>   java.lang.Thread.getAllStackTraces(Thread.java:1610)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.getReader(LuceneIndex.java:968)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.acquireReader(LuceneIndex.java:918)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex.query(LuceneIndex.java:151)
>   
> org.netbeans.modules.parsing.lucene.DocumentIndexImpl.query(DocumentIndexImpl.java:261)
>   
> org.netbeans.modules.parsing.impl.indexing.lucene.LayeredDocumentIndex.query(LayeredDocumentIndex.java:182)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:630)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:590)
>   
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   
> 

[jira] [Commented] (NETBEANS-3184) right-click on PHP class method causes Exception

2019-09-30 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3184:
-

Can you try to reproduce with 11.2 beta1?

bit.ly/apache-netbeans-11-2-beta-1

> right-click on PHP class method causes Exception
> 
>
> Key: NETBEANS-3184
> URL: https://issues.apache.org/jira/browse/NETBEANS-3184
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11
> Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11
> System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\Jeremy\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\Jeremy\AppData\Local\NetBeans\Cache\11.1
> NOTE: I previously had NetBeans 8.2 Patch 2 installed; then I installed 
> Apache Netbeans 11.1.  It appears that the old 8.2u2 version is still somehow 
> active.  Could that be causing the problem??
>Reporter: Jeremy Dunn
>Priority: Major
>
> steps to recreate the problem:
>  * edit any PHP class file
>  * double-click any method name to highlight
>  * right-click on the method to get context-menu
>  * the context-menu is shown , BUT an exception is immediately generated (see 
> below)
>  * choosing "Find Usages" gives message "Cannot refactor here", which looks 
> like the same issues as 
> [https://netbeans.org/bugzilla/show_bug.cgi?id=236693] 
>  
> exception:
> {noformat}
> Annotation: segments.gen f: true r: true w: true
> segments_1 f: true r: true w: true
> _0.cfs f: true r: true w: true
> current thread: Thread[Editor Parsing Loop 
> (netbeans-release-428-on-20190716),1,system](28)threads: 
> Thread[Deadlock Detector,5,IDE Main](39)
>   java.lang.Thread.sleep(Native Method)
>   org.netbeans.modules.deadlock.detector.Detector.run(Detector.java:115)
>   java.lang.Thread.run(Thread.java:748)
> Thread[Finalizer,8,system](3)
>   java.lang.Object.wait(Native Method)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
>   java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)
> Thread[main,5,main](1)
> Thread[RequestProcessor queue manager,5,IDE Main](17)
>   java.lang.Object.wait(Native Method)
>   
> org.openide.util.RequestProcessor$TickTac.obtainFirst(RequestProcessor.java:2257)
>   
> org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2233)
> Thread[Framework Event Dispatcher,5,IDE Main](26)
>   java.lang.Object.wait(Native Method)
>   java.lang.Object.wait(Object.java:502)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
> Thread[Editor Parsing Loop (netbeans-release-428-on-20190716),1,system](28)
>   java.lang.Thread.dumpThreads(Native Method)
>   java.lang.Thread.getAllStackTraces(Thread.java:1610)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.getReader(LuceneIndex.java:968)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.acquireReader(LuceneIndex.java:918)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex.query(LuceneIndex.java:151)
>   
> org.netbeans.modules.parsing.lucene.DocumentIndexImpl.query(DocumentIndexImpl.java:261)
>   
> org.netbeans.modules.parsing.impl.indexing.lucene.LayeredDocumentIndex.query(LayeredDocumentIndex.java:182)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:630)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:590)
>   
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query.execute(QuerySupport.java:590)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport.query(QuerySupport.java:342)
>   
> org.netbeans.modules.php.editor.elements.IndexQueryImpl.search(IndexQueryImpl.java:1676)
>   
> org.netbeans.modules.php.editor.elements.IndexQueryImpl.results(IndexQueryImpl.java:1714)
>   
> 

[jira] [Created] (NETBEANS-3184) right-click on PHP class method causes Exception

2019-09-30 Thread Jeremy Dunn (Jira)
Jeremy Dunn created NETBEANS-3184:
-

 Summary: right-click on PHP class method causes Exception
 Key: NETBEANS-3184
 URL: https://issues.apache.org/jira/browse/NETBEANS-3184
 Project: NetBeans
  Issue Type: Bug
  Components: php - Code
Affects Versions: 11.1
 Environment: Product Version: Apache NetBeans IDE 11.1
Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11
Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11
System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\Jeremy\AppData\Roaming\NetBeans\11.1
Cache directory: C:\Users\Jeremy\AppData\Local\NetBeans\Cache\11.1

NOTE: I previously had NetBeans 8.2 Patch 2 installed; then I installed Apache 
Netbeans 11.1.  It appears that the old 8.2u2 version is still somehow active.  
Could that be causing the problem??
Reporter: Jeremy Dunn


steps to recreate the problem:
 * edit any PHP class file
 * double-click any method name to highlight
 * right-click on the method to get context-menu
 * the context-menu is shown , BUT an exception is immediately generated (see 
below)
 * choosing "Find Usages" gives message "Cannot refactor here", which looks 
like the same issues as [https://netbeans.org/bugzilla/show_bug.cgi?id=236693] 

 

exception:
{noformat}
Annotation: segments.gen f: true r: true w: true
segments_1 f: true r: true w: true
_0.cfs f: true r: true w: true
current thread: Thread[Editor Parsing Loop 
(netbeans-release-428-on-20190716),1,system](28)threads: 
Thread[Deadlock Detector,5,IDE Main](39)
java.lang.Thread.sleep(Native Method)
org.netbeans.modules.deadlock.detector.Detector.run(Detector.java:115)
java.lang.Thread.run(Thread.java:748)
Thread[Finalizer,8,system](3)
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)
Thread[main,5,main](1)
Thread[RequestProcessor queue manager,5,IDE Main](17)
java.lang.Object.wait(Native Method)

org.openide.util.RequestProcessor$TickTac.obtainFirst(RequestProcessor.java:2257)

org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2233)
Thread[Framework Event Dispatcher,5,IDE Main](26)
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:502)

org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)

org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
Thread[Editor Parsing Loop (netbeans-release-428-on-20190716),1,system](28)
java.lang.Thread.dumpThreads(Native Method)
java.lang.Thread.getAllStackTraces(Thread.java:1610)

org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.getReader(LuceneIndex.java:968)

org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.acquireReader(LuceneIndex.java:918)

org.netbeans.modules.parsing.lucene.LuceneIndex.query(LuceneIndex.java:151)

org.netbeans.modules.parsing.lucene.DocumentIndexImpl.query(DocumentIndexImpl.java:261)

org.netbeans.modules.parsing.impl.indexing.lucene.LayeredDocumentIndex.query(LayeredDocumentIndex.java:182)

org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:630)

org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:590)

org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)

org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)

org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)

org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)

org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query.execute(QuerySupport.java:590)

org.netbeans.modules.parsing.spi.indexing.support.QuerySupport.query(QuerySupport.java:342)

org.netbeans.modules.php.editor.elements.IndexQueryImpl.search(IndexQueryImpl.java:1676)

org.netbeans.modules.php.editor.elements.IndexQueryImpl.results(IndexQueryImpl.java:1714)

org.netbeans.modules.php.editor.elements.IndexQueryImpl.getMethods(IndexQueryImpl.java:456)

org.netbeans.modules.php.editor.model.impl.OccurenceBuilder.buildMethods(OccurenceBuilder.java:880)

org.netbeans.modules.php.editor.model.impl.OccurenceBuilder.build(OccurenceBuilder.java:729)

org.netbeans.modules.php.editor.model.impl.OccurenceBuilder.build(OccurenceBuilder.java:2200)


[jira] [Commented] (NETBEANS-3182) Netbeans 11.2 beta test can not see right jdk version

2019-09-30 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3182:
-

In your NetBeans installation directory, go to etc/netbeans.conf and set the 
JDK there.

> Netbeans 11.2 beta test can not see  right jdk version
> --
>
> Key: NETBEANS-3182
> URL: https://issues.apache.org/jira/browse/NETBEANS-3182
> Project: NetBeans
>  Issue Type: Bug
>Reporter: şahin gülci
>Priority: Major
> Attachments: netbeans-issue.PNG
>
>
> When I try to open Netbeans 11.2 beta ıt says jdk should above 1.8 but on 
> command line version is 1.8.
> I have old jdk versions for old projects, Netbeans should use from path I 
> believe.
> I have attached screenshot 



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

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

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



[jira] [Commented] (NETBEANS-3183) Netbeans 11.1 I can not add old jdk from java platform manager

2019-09-30 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3183:
-

Can you try and reproduce in 11.2 beta? See bit.ly/apache-netbeans-11-2-beta-1

> Netbeans 11.1 I can not add old jdk from java platform manager 
> ---
>
> Key: NETBEANS-3183
> URL: https://issues.apache.org/jira/browse/NETBEANS-3183
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
>Reporter: şahin gülci
>Priority: Major
> Attachments: netbeans-old-jdk-can-not-choose.PNG
>
>
> For my old project that use jdk 1.6, I can not add jdk 1.6 from Java Platform 
> Manager 
>  Error : Cannot detect and install the selected platform. The java or javac 
> may not be executable.
> attached screenshot



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

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

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



[jira] [Updated] (NETBEANS-2914) Fix imports not working properly

2019-09-30 Thread Neil C Smith (Jira)


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

Neil C Smith updated NETBEANS-2914:
---
Fix Version/s: 11.2

> Fix imports not working properly
> 
>
> Key: NETBEANS-2914
> URL: https://issues.apache.org/jira/browse/NETBEANS-2914
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.1
>Reporter: Eduard Catala
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.2
>
> Attachments: Captura de pantalla de 2019-07-29 18-55-06.png, 
> image-2019-09-23-13-33-45-220.png
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Steps to reproduce:
> Create a simple project (maven)
> Include a dependency:
> {\{ }}
>  {{   io.reactivex.rxjava2}}
>  {{   rxjava}}
>  {{   2.2.10}}
>  \{{ }}
>  
> Create a main method:
>  
> {{public class Main {}}
>  {{   public static void main(String[] args) {}}
>  {{     Single s;}}
>  {{   }}}
>  {{}}}
>  
> Fix imports (works)
> Fix imports twice: The fix imports dialog is shown with incorrect import 
> proposal (view attached screenshot).
>  
> Having the option "fix imports on save" is a nigthmare!
>  
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-2914) Fix imports not working properly

2019-09-30 Thread Neil C Smith (Jira)


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

Neil C Smith resolved NETBEANS-2914.

Resolution: Fixed

> Fix imports not working properly
> 
>
> Key: NETBEANS-2914
> URL: https://issues.apache.org/jira/browse/NETBEANS-2914
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.1
>Reporter: Eduard Catala
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.2
>
> Attachments: Captura de pantalla de 2019-07-29 18-55-06.png, 
> image-2019-09-23-13-33-45-220.png
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Steps to reproduce:
> Create a simple project (maven)
> Include a dependency:
> {\{ }}
>  {{   io.reactivex.rxjava2}}
>  {{   rxjava}}
>  {{   2.2.10}}
>  \{{ }}
>  
> Create a main method:
>  
> {{public class Main {}}
>  {{   public static void main(String[] args) {}}
>  {{     Single s;}}
>  {{   }}}
>  {{}}}
>  
> Fix imports (works)
> Fix imports twice: The fix imports dialog is shown with incorrect import 
> proposal (view attached screenshot).
>  
> Having the option "fix imports on save" is a nigthmare!
>  
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-3106) Ant based Groovy projects should set javahome for groovyc ant task

2019-09-30 Thread Neil C Smith (Jira)


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

Neil C Smith updated NETBEANS-3106:
---
Fix Version/s: 11.2

> Ant based Groovy projects should set javahome for groovyc ant task
> --
>
> Key: NETBEANS-3106
> URL: https://issues.apache.org/jira/browse/NETBEANS-3106
> Project: NetBeans
>  Issue Type: Improvement
>  Components: groovy - Code
>Affects Versions: 11.1
>Reporter: Benjamin Graf
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.2
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Generation of ant based build script "groovy-build.xml" does not set javahome 
> property of groovyc task description. Therefore, the default JDK running the 
> whole IDE is used for compilation which might differ to the JDK wished to be 
> used and configured in project settings.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-3106) Ant based Groovy projects should set javahome for groovyc ant task

2019-09-30 Thread Neil C Smith (Jira)


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

Neil C Smith resolved NETBEANS-3106.

Resolution: Fixed

> Ant based Groovy projects should set javahome for groovyc ant task
> --
>
> Key: NETBEANS-3106
> URL: https://issues.apache.org/jira/browse/NETBEANS-3106
> Project: NetBeans
>  Issue Type: Improvement
>  Components: groovy - Code
>Affects Versions: 11.1
>Reporter: Benjamin Graf
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Generation of ant based build script "groovy-build.xml" does not set javahome 
> property of groovyc task description. Therefore, the default JDK running the 
> whole IDE is used for compilation which might differ to the JDK wished to be 
> used and configured in project settings.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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 geertjanw-patch-5 deleted (was ec05931)

2019-09-30 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

neilcsmith pushed a change to branch geertjanw-patch-5
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


 was ec05931  [NETBEANS-3175] Removed JavaFX Maven application, replace 
with Gluon

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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 (6c3e8d1 -> 205f94a)

2019-09-30 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

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


from 6c3e8d1  Merge pull request #1533 from ebarboni/buildimprovement
 add ec05931  [NETBEANS-3175] Removed JavaFX Maven application, replace 
with Gluon
 new 205f94a  Merge pull request #1535 from apache/geertjanw-patch-5

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.


Summary of changes:
 .../modules/maven/newproject/MavenWizardIterator.java  | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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] 01/01: Merge pull request #1535 from apache/geertjanw-patch-5

2019-09-30 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

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

commit 205f94a81cafde8795d371ea6119c368734defee
Merge: 6c3e8d1 ec05931
Author: Neil C Smith 
AuthorDate: Mon Sep 30 11:38:11 2019 +0100

Merge pull request #1535 from apache/geertjanw-patch-5

[NETBEANS-3175] Removed JavaFX Maven application, replace with Gluon

 .../modules/maven/newproject/MavenWizardIterator.java  | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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: fix build order for git properties + json correction

2019-09-30 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

neilcsmith 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 76bf6c3  fix build order for git properties + json correction
 new 6c3e8d1  Merge pull request #1533 from ebarboni/buildimprovement
76bf6c3 is described below

commit 76bf6c3e321f7e6b45cab6e6b73419f903132605
Author: Eric Barboni 
AuthorDate: Fri Sep 27 11:00:08 2019 +0200

fix build order for git properties + json correction
---
 .../antsrc/org/netbeans/nbbuild/ReleaseJsonProperties.java| 10 +++---
 nbbuild/build.xml | 11 +--
 2 files changed, 8 insertions(+), 13 deletions(-)

diff --git a/nbbuild/antsrc/org/netbeans/nbbuild/ReleaseJsonProperties.java 
b/nbbuild/antsrc/org/netbeans/nbbuild/ReleaseJsonProperties.java
index 31bbf68..d144b9a 100644
--- a/nbbuild/antsrc/org/netbeans/nbbuild/ReleaseJsonProperties.java
+++ b/nbbuild/antsrc/org/netbeans/nbbuild/ReleaseJsonProperties.java
@@ -117,7 +117,7 @@ public class ReleaseJsonProperties extends Task {
 // sort all information
 Collections.sort(ri);
 // build a sorted xml
-
+
 for (ReleaseInfo releaseInfo : ri) {
 log(releaseInfo.toString());
 for (Object milestone : releaseInfo.milestones) {
@@ -191,7 +191,7 @@ public class ReleaseJsonProperties extends Task {
 throw new BuildException("Properties File for release cannot be 
created");
 }
 
-log("Writing releasinfo file " + xmlFile );
+log("Writing releasinfo file " + xmlFile);
 
 xmlFile.getParentFile().mkdirs();
 try (OutputStream config = new FileOutputStream(xmlFile)) {
@@ -385,11 +385,7 @@ public class ReleaseJsonProperties extends Task {
 }
 
 private void setVersion(String version) {
-if (version.equals("-")) {
-this.version = "dev";
-} else {
-this.version = version;
-}
+this.version = version;
 }
 
 private void setApidocurl(String apidocurl) {
diff --git a/nbbuild/build.xml b/nbbuild/build.xml
index a8b68cf..0606ae0 100644
--- a/nbbuild/build.xml
+++ b/nbbuild/build.xml
@@ -116,13 +116,13 @@
 
 
 
-
-
-
-
 
 
 
+
+
+
+
 
 
 
@@ -139,13 +139,12 @@
 
 
 
-
   
   
 
   
   
-  
+  
   
   
   


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3106] Add javahome property to groovyc task

2019-09-30 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

neilcsmith 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 192d969  [NETBEANS-3106] Add javahome property to groovyc task
 new 6e4d083  Merge pull request #1513 from graben/NETBEANS-3106
192d969 is described below

commit 192d969bfaaa707b3674d014dd062cc2374d71c0
Author: Benjamin Graf 
AuthorDate: Tue Sep 17 18:17:03 2019 +0200

[NETBEANS-3106] Add javahome property to groovyc task
---
 .../netbeans/modules/groovy/antproject/resources/groovy-build-ejb.xsl| 1 +
 .../netbeans/modules/groovy/antproject/resources/groovy-build-j2se.xsl   | 1 +
 .../netbeans/modules/groovy/antproject/resources/groovy-build-web.xsl| 1 +
 3 files changed, 3 insertions(+)

diff --git 
a/groovy/groovy.antproject/src/org/netbeans/modules/groovy/antproject/resources/groovy-build-ejb.xsl
 
b/groovy/groovy.antproject/src/org/netbeans/modules/groovy/antproject/resources/groovy-build-ejb.xsl
index 717ac97..086acca 100644
--- 
a/groovy/groovy.antproject/src/org/netbeans/modules/groovy/antproject/resources/groovy-build-ejb.xsl
+++ 
b/groovy/groovy.antproject/src/org/netbeans/modules/groovy/antproject/resources/groovy-build-ejb.xsl
@@ -94,6 +94,7 @@
 
 
 
+${platform.home}
 @{srcdir}
 @{sourcepath}
 @{destdir}
diff --git 
a/groovy/groovy.antproject/src/org/netbeans/modules/groovy/antproject/resources/groovy-build-j2se.xsl
 
b/groovy/groovy.antproject/src/org/netbeans/modules/groovy/antproject/resources/groovy-build-j2se.xsl
index 161b596..a87ffb3 100644
--- 
a/groovy/groovy.antproject/src/org/netbeans/modules/groovy/antproject/resources/groovy-build-j2se.xsl
+++ 
b/groovy/groovy.antproject/src/org/netbeans/modules/groovy/antproject/resources/groovy-build-j2se.xsl
@@ -106,6 +106,7 @@
 
 
 
+${platform.home}
 @{srcdir}
 @{sourcepath}
 @{destdir}
diff --git 
a/groovy/groovy.antproject/src/org/netbeans/modules/groovy/antproject/resources/groovy-build-web.xsl
 
b/groovy/groovy.antproject/src/org/netbeans/modules/groovy/antproject/resources/groovy-build-web.xsl
index cb1265b..0ce3609 100644
--- 
a/groovy/groovy.antproject/src/org/netbeans/modules/groovy/antproject/resources/groovy-build-web.xsl
+++ 
b/groovy/groovy.antproject/src/org/netbeans/modules/groovy/antproject/resources/groovy-build-web.xsl
@@ -94,6 +94,7 @@
 
 
 
+${platform.home}
 @{srcdir}
 @{sourcepath}
 @{destdir}


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-2914]: Elements.getPackageElement works better/safer when a ModuleSymbol is given.

2019-09-30 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

neilcsmith 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 4f05b9a  [NETBEANS-2914]: Elements.getPackageElement works 
better/safer when a ModuleSymbol is given.
 new 779a798  Merge pull request #1529 from jlahoda/NETBEANS-2914
4f05b9a is described below

commit 4f05b9a12d90b018f8f7e40d786dcebc85be8da0
Author: Jan Lahoda 
AuthorDate: Tue Sep 24 08:06:45 2019 +0200

[NETBEANS-2914]: Elements.getPackageElement works better/safer when a 
ModuleSymbol is given.
---
 .../java/editor/imports/ComputeImports.java|   5 +-
 .../java/editor/imports/ComputeImportsTest.java| 197 +
 2 files changed, 170 insertions(+), 32 deletions(-)

diff --git 
a/java/java.editor/src/org/netbeans/modules/java/editor/imports/ComputeImports.java
 
b/java/java.editor/src/org/netbeans/modules/java/editor/imports/ComputeImports.java
index d0ec54a..03891c3 100644
--- 
a/java/java.editor/src/org/netbeans/modules/java/editor/imports/ComputeImports.java
+++ 
b/java/java.editor/src/org/netbeans/modules/java/editor/imports/ComputeImports.java
@@ -630,7 +630,10 @@ public final class ComputeImports {
 if (type != null && type.getKind() == TypeKind.PACKAGE) {
 //does the package really exists?
 String s = ((PackageElement) 
el).getQualifiedName().toString();
-if (info.getElements().getPackageElement(s) == null) {
+Element thisPack = info.getTrees().getElement(new 
TreePath(info.getCompilationUnit()));
+ModuleElement module = thisPack != null ? 
info.getElements().getModuleOf(thisPack) : null;
+PackageElement pack = module != null ? 
info.getElements().getPackageElement(module, s) : 
info.getElements().getPackageElement(s);
+if (pack == null) {
 //probably situation like:
 //Map.Entry e;
 //where Map is not imported
diff --git 
a/java/java.editor/test/unit/src/org/netbeans/modules/java/editor/imports/ComputeImportsTest.java
 
b/java/java.editor/test/unit/src/org/netbeans/modules/java/editor/imports/ComputeImportsTest.java
index b68de31..423a066 100644
--- 
a/java/java.editor/test/unit/src/org/netbeans/modules/java/editor/imports/ComputeImportsTest.java
+++ 
b/java/java.editor/test/unit/src/org/netbeans/modules/java/editor/imports/ComputeImportsTest.java
@@ -18,9 +18,20 @@
  */
 package org.netbeans.modules.java.editor.imports;
 
+import java.io.BufferedInputStream;
 import java.io.File;
+import java.io.FileInputStream;
 import java.io.FilenameFilter;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.OutputStream;
+import java.io.OutputStreamWriter;
 import java.io.PrintStream;
+import java.io.Reader;
+import java.io.StringWriter;
+import java.io.Writer;
+import java.nio.charset.StandardCharsets;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collections;
@@ -30,6 +41,7 @@ import java.util.LinkedList;
 import java.util.List;
 import java.util.Map;
 import java.util.Set;
+import java.util.regex.Pattern;
 import javax.lang.model.element.Element;
 import javax.lang.model.element.ElementKind;
 import javax.lang.model.element.ExecutableElement;
@@ -82,6 +94,11 @@ public class ComputeImportsTest extends NbTestCase {
 "com.sun.xml.internal.ws.policy.privateutil.PolicyUtils.Collections"
 }));
 
+private static final List IGNORE_PATTERNS = 
Collections.unmodifiableList(Arrays.asList(
+Pattern.compile("jdk\\..*\\.internal\\..*"),
+Pattern.compile("org\\.graalvm\\..*")
+));
+
 private FileObject testSource;
 private JavaSource js;
 private CompilationInfo info;
@@ -217,7 +234,61 @@ public class ComputeImportsTest extends NbTestCase {
 doTest("TestNotImportFieldAsClass");
 }
 
-private void prepareTest(String capitalizedName, String sourceLevel) 
throws Exception {
+public void testJIRA2914a() throws Exception {
+doTest("test/Test",
+   "11",
+   Arrays.asList(
+   new FileData("test/Test.java",
+"package test;\n" +
+"import io.test.IO;\n" +
+"public class Test {\n" +
+"IO i1;\n" +
+"io.test.IO i2;\n" +
+"}\n"),
+   new FileData("io/test/IO.java",
+"package io.test;\n" +
+"public class IO {\n" +
+"public static IO io() { return null; }\n" 
+
+

[netbeans] branch master updated: Make newer snapcraft happy adding parse-info tag.

2019-09-30 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

neilcsmith 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 b9a74ba  Make newer snapcraft happy adding parse-info tag.
 new d289969  Merge pull request #1531 from lkishalmi/Snapcraft_update
b9a74ba is described below

commit b9a74babfb6f269910fd4654e9e5a749d10b0f4b
Author: Laszlo Kishalmi 
AuthorDate: Tue Sep 24 13:49:30 2019 -0700

Make newer snapcraft happy adding parse-info tag.
---
 nbbuild/packaging/netbeans_snap/snap/snapcraft.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nbbuild/packaging/netbeans_snap/snap/snapcraft.yaml 
b/nbbuild/packaging/netbeans_snap/snap/snapcraft.yaml
index 52328d2..d79f0bb 100644
--- a/nbbuild/packaging/netbeans_snap/snap/snapcraft.yaml
+++ b/nbbuild/packaging/netbeans_snap/snap/snapcraft.yaml
@@ -40,6 +40,7 @@ parts:
 override-pull: |
   snapcraftctl pull
   snapcraftctl set-version "${VERSION}"
+parse-info: []
   
   build:
 build-attributes: [ no-patchelf ]


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: 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-3164) JDK 13 preview feature not working correctly in 11.2beta1

2019-09-30 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3164:
-

Yes, we’re fixing nb-javac to contain some new methods introduced in this area 
in JDK 13, which is why when you don’t use nb-javac and run NetBeans 11.2 beta1 
itself in JDK 13, this problem does not occur.

> JDK 13 preview feature not working correctly in 11.2beta1
> -
>
> Key: NETBEANS-3164
> URL: https://issues.apache.org/jira/browse/NETBEANS-3164
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13+33, mixed mode, sharing)
> Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11
> Runtime: OpenJDK Runtime Environment 11.0.4+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\grafbe\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\grafbe\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Benjamin Graf
>Assignee: ARUNAVA SINHA
>Priority: Major
> Attachments: image-2019-09-25-20-13-45-510.png
>
>
> Try to build a simple ant based project with a multiline String.
> !image-2019-09-25-20-13-45-510.png|width=500!
>  
> Reproduce:
>  * Install beta1 from zip with fresh profile
>  * Install latest nb-javac 1.7
>  * Create new ant based Java project
>  * Add multiline String and enable preview via hint (--enable-preview)



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

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

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