[jira] [Commented] (NETBEANS-2415) Bring back support for WildFly server

2019-11-07 Thread Joern (Jira)


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

Joern commented on NETBEANS-2415:
-

When nb-javac is installed, refactoring fails (NETBEANS-3257), if uninstalled, 
Wildfly copy static resources on save does not work (NETBEANS-3328). So I have 
to stick to NB11.1 for the moment - probably until  NETBEANS-3257 is resolved. 

> Bring back support for WildFly server
> -
>
> Key: NETBEANS-2415
> URL: https://issues.apache.org/jira/browse/NETBEANS-2415
> Project: NetBeans
>  Issue Type: Wish
>  Components: serverplugins - WildFly
>Affects Versions: 11.0
> Environment: n.a.
>Reporter: Dominik Derwiński
>Assignee: Emmanuel Hugonnet
>Priority: Minor
> Attachments: image-2019-10-02-23-28-48-638.png, 
> image-2019-10-02-23-29-11-140.png
>
>
> NetBeans 8.2 had WildFly server module, which helped greatly in debugging 
> Java EE applications directly from IDE. NetBeans 11.0 does not contain this 
> module, despite boasting to be the first version of Apache NetBeans to offer 
> full support for developing Java EE applications.
> I don't think it would be very hard to bring back WildFly server module 
> (currently it does not complile), because copying files of the module from 
> NetBeans 8.2 into NetBeans 11.0 installation, and recreating userdir is 
> enough to bring back that functionality (so the old module still works, but 
> for how long?).
> The files I have copied (after removing references to localization files) are:
>  * enterprise/config/Modules/org-netbeans-modules-javaee-wildfly.xml
>  * enterprise/modules/org-netbeans-modules-javaee-wildfly.jar
>  * enterprise/update_tracking/org-netbeans-modules-javaee-wildfly.xml
>  



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

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

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



[jira] [Commented] (NETBEANS-3328) Copy Static Resources on Save does not work on 11.2

2019-11-07 Thread Joern (Jira)


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

Joern commented on NETBEANS-3328:
-

Copy static resources seems to depend und nb-javac plugin, which I disabled due 
to NETBEANS-3257. When the updated WIldfly plugin  
([http://plugins.netbeans.org/plugin/76472/wildfly-application-server]) and 
nb-javac is installed, it works. 

> Copy Static Resources on Save does not work on 11.2
> ---
>
> Key: NETBEANS-3328
> URL: https://issues.apache.org/jira/browse/NETBEANS-3328
> Project: NetBeans
>  Issue Type: Bug
>  Components: serverplugins - WildFly
>Affects Versions: 11.2
> Environment: Ubuntu 19.10, openjdk 11.2, WIldfly 17, Wildfly plugin 
> (see NETBEANS-2415)
>Reporter: Joern
>Priority: Major
>
> Changed static content files (e.g. html / xhtml / css / js) should be copied 
> to wildfly wihout redeploy. Works on 11.1, stopped working in 11.2. 
> AutoDeploy on Save (changing a java file) works and then also the changed 
> static content is available. Also a forced  manual redploy works. 



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

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

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



[jira] [Comment Edited] (NETBEANS-3328) Copy Static Resources on Save does not work on 11.2

2019-11-07 Thread Joern (Jira)


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

Joern edited comment on NETBEANS-3328 at 11/8/19 7:25 AM:
--

Copy static resources seems to depend on nb-javac plugin, which I disabled due 
to NETBEANS-3257. When the updated WIldfly plugin  
([http://plugins.netbeans.org/plugin/76472/wildfly-application-server]) and 
nb-javac is installed, it works. 


was (Author: muehlencord):
Copy static resources seems to depend und nb-javac plugin, which I disabled due 
to NETBEANS-3257. When the updated WIldfly plugin  
([http://plugins.netbeans.org/plugin/76472/wildfly-application-server]) and 
nb-javac is installed, it works. 

> Copy Static Resources on Save does not work on 11.2
> ---
>
> Key: NETBEANS-3328
> URL: https://issues.apache.org/jira/browse/NETBEANS-3328
> Project: NetBeans
>  Issue Type: Bug
>  Components: serverplugins - WildFly
>Affects Versions: 11.2
> Environment: Ubuntu 19.10, openjdk 11.2, WIldfly 17, Wildfly plugin 
> (see NETBEANS-2415)
>Reporter: Joern
>Priority: Major
>
> Changed static content files (e.g. html / xhtml / css / js) should be copied 
> to wildfly wihout redeploy. Works on 11.1, stopped working in 11.2. 
> AutoDeploy on Save (changing a java file) works and then also the changed 
> static content is available. Also a forced  manual redploy works. 



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

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

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



svn commit: r36671 - /dev/netbeans/netbeans-html4j/netbeans-html4j-1.7/ /release/netbeans/netbeans-html4j/netbeans-html4j-1.7/

2019-11-07 Thread jtulach
Author: jtulach
Date: Fri Nov  8 04:36:06 2019
New Revision: 36671

Log:
2nd voting candidate for HTML/Java API version 1.7 has been approved

Added:
release/netbeans/netbeans-html4j/netbeans-html4j-1.7/
  - copied from r36531, dev/netbeans/netbeans-html4j/netbeans-html4j-1.7/
release/netbeans/netbeans-html4j/netbeans-html4j-1.7/netbeans-html4j-1.7.zip
  - copied unchanged from r36604, 
dev/netbeans/netbeans-html4j/netbeans-html4j-1.7/netbeans-html4j-1.7.zip

release/netbeans/netbeans-html4j/netbeans-html4j-1.7/netbeans-html4j-1.7.zip.asc
  - copied unchanged from r36604, 
dev/netbeans/netbeans-html4j/netbeans-html4j-1.7/netbeans-html4j-1.7.zip.asc

release/netbeans/netbeans-html4j/netbeans-html4j-1.7/netbeans-html4j-1.7.zip.sha256
  - copied unchanged from r36604, 
dev/netbeans/netbeans-html4j/netbeans-html4j-1.7/netbeans-html4j-1.7.zip.sha256

release/netbeans/netbeans-html4j/netbeans-html4j-1.7/netbeans-html4j-1.7.zip.sha512
  - copied unchanged from r36604, 
dev/netbeans/netbeans-html4j/netbeans-html4j-1.7/netbeans-html4j-1.7.zip.sha512
Removed:
dev/netbeans/netbeans-html4j/netbeans-html4j-1.7/


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

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



[jira] [Assigned] (NETBEANS-3346) Upgrade asm-all jar to asm 7.2

2019-11-07 Thread Jose (Jira)


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

Jose reassigned NETBEANS-3346:
--

Assignee: Jose

> Upgrade asm-all jar to asm 7.2
> --
>
> Key: NETBEANS-3346
> URL: https://issues.apache.org/jira/browse/NETBEANS-3346
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - Platform
>Affects Versions: Next, 11.3
> Environment: Fedora 31 & JDK Zulu 11.0.5
>Reporter: Jose
>Assignee: Jose
>Priority: Minor
>  Labels: pull-request-available
> Attachments: asm-51.log, asm-52.log, asm-72.log
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> I tried to upgrade the asm-all-5.0.1 library to the latest version 7.2 and 
> received a nullPointerException (line 774 of asm-52 & asm-72 files). I 
> already successfully upgrade it to version 5.1 
> (https://issues.apache.org/jira/browse/NETBEANS-3341). 
> After adding logging to the Asm.java file and try every release of the asm 
> library (see [https://asm.ow2.io/versions.html]) and compare their source 
> code I find the change that cause the nullPointerException:
>  
> [https://gitlab.ow2.org/asm/asm/issues/317626]
>  
> This change can be seen in the line 752 of the three files attached, this 
> files are the starting up logs of the application.
> My Asm.java fork:
>  
> [https://github.com/pepness/incubator-netbeans/commit/c886770c0f90546020a24c93362357d3d351bcf5#diff-78005b879fd4d928c74ae21edf93ebafR360]
>  
> Unfortunately I do not know nothing of Java bytecode manipulation nor the asm 
> library to know what to do to upgrade this library.
>  
> My reason to update this library is for bug fixes, better support/code and 
> better performance ([https://asm.ow2.io/performance.html)] .



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3346) Upgrade asm-all jar to asm 7.2

2019-11-07 Thread ASF GitHub Bot (Jira)


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

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

> Upgrade asm-all jar to asm 7.2
> --
>
> Key: NETBEANS-3346
> URL: https://issues.apache.org/jira/browse/NETBEANS-3346
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - Platform
>Affects Versions: Next, 11.3
> Environment: Fedora 31 & JDK Zulu 11.0.5
>Reporter: Jose
>Priority: Minor
>  Labels: pull-request-available
> Attachments: asm-51.log, asm-52.log, asm-72.log
>
>
> I tried to upgrade the asm-all-5.0.1 library to the latest version 7.2 and 
> received a nullPointerException (line 774 of asm-52 & asm-72 files). I 
> already successfully upgrade it to version 5.1 
> (https://issues.apache.org/jira/browse/NETBEANS-3341). 
> After adding logging to the Asm.java file and try every release of the asm 
> library (see [https://asm.ow2.io/versions.html]) and compare their source 
> code I find the change that cause the nullPointerException:
>  
> [https://gitlab.ow2.org/asm/asm/issues/317626]
>  
> This change can be seen in the line 752 of the three files attached, this 
> files are the starting up logs of the application.
> My Asm.java fork:
>  
> [https://github.com/pepness/incubator-netbeans/commit/c886770c0f90546020a24c93362357d3d351bcf5#diff-78005b879fd4d928c74ae21edf93ebafR360]
>  
> Unfortunately I do not know nothing of Java bytecode manipulation nor the asm 
> library to know what to do to upgrade this library.
>  
> My reason to update this library is for bug fixes, better support/code and 
> better performance ([https://asm.ow2.io/performance.html)] .



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

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

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



[jira] [Assigned] (NETBEANS-151) Add link checking to project build or as a subproject

2019-11-07 Thread Daniel De Leon (Jira)


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

Daniel De Leon reassigned NETBEANS-151:
---

Assignee: Daniel De Leon

> Add link checking to project build or as a subproject
> -
>
> Key: NETBEANS-151
> URL: https://issues.apache.org/jira/browse/NETBEANS-151
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>Assignee: Daniel De Leon
>Priority: Major
>




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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3346) Upgrade asm-all jar to asm 7.2

2019-11-07 Thread Jose (Jira)


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

Jose commented on NETBEANS-3346:


Thanks for your help, everything worked after this PR including both asm52 and 
asm72 versions. I closed the ticket NETBEANS-3341.

> Upgrade asm-all jar to asm 7.2
> --
>
> Key: NETBEANS-3346
> URL: https://issues.apache.org/jira/browse/NETBEANS-3346
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - Platform
>Affects Versions: Next, 11.3
> Environment: Fedora 31 & JDK Zulu 11.0.5
>Reporter: Jose
>Priority: Minor
> Attachments: asm-51.log, asm-52.log, asm-72.log
>
>
> I tried to upgrade the asm-all-5.0.1 library to the latest version 7.2 and 
> received a nullPointerException (line 774 of asm-52 & asm-72 files). I 
> already successfully upgrade it to version 5.1 
> (https://issues.apache.org/jira/browse/NETBEANS-3341). 
> After adding logging to the Asm.java file and try every release of the asm 
> library (see [https://asm.ow2.io/versions.html]) and compare their source 
> code I find the change that cause the nullPointerException:
>  
> [https://gitlab.ow2.org/asm/asm/issues/317626]
>  
> This change can be seen in the line 752 of the three files attached, this 
> files are the starting up logs of the application.
> My Asm.java fork:
>  
> [https://github.com/pepness/incubator-netbeans/commit/c886770c0f90546020a24c93362357d3d351bcf5#diff-78005b879fd4d928c74ae21edf93ebafR360]
>  
> Unfortunately I do not know nothing of Java bytecode manipulation nor the asm 
> library to know what to do to upgrade this library.
>  
> My reason to update this library is for bug fixes, better support/code and 
> better performance ([https://asm.ow2.io/performance.html)] .



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

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

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



[jira] [Closed] (NETBEANS-3341) Upgrade asm-all jar

2019-11-07 Thread Jose (Jira)


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

Jose closed NETBEANS-3341.
--
Resolution: Done

The ticket https://issues.apache.org/jira/browse/NETBEANS-3346 will be 
implemented instead.

> Upgrade asm-all jar
> ---
>
> Key: NETBEANS-3341
> URL: https://issues.apache.org/jira/browse/NETBEANS-3341
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - Platform
>Affects Versions: Next, 11.2
>Reporter: Jose
>Assignee: Jose
>Priority: Minor
>  Labels: pull-request-available
>   Original Estimate: 48h
>  Time Spent: 10m
>  Remaining Estimate: 47h 50m
>
> This will update the asm-all-5.0.1.jar to asm-all-5.1.jar



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3341) Upgrade asm-all jar

2019-11-07 Thread Jose (Jira)


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

Jose updated NETBEANS-3341:
---
Affects Version/s: (was: 11.1)
   11.2
   Next

> Upgrade asm-all jar
> ---
>
> Key: NETBEANS-3341
> URL: https://issues.apache.org/jira/browse/NETBEANS-3341
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - Platform
>Affects Versions: Next, 11.2
>Reporter: Jose
>Assignee: Jose
>Priority: Minor
>  Labels: pull-request-available
>   Original Estimate: 48h
>  Time Spent: 10m
>  Remaining Estimate: 47h 50m
>
> This will update the asm-all-5.0.1.jar to asm-all-5.1.jar



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3341) Upgrade asm-all jar

2019-11-07 Thread Jose (Jira)


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

Jose commented on NETBEANS-3341:


I will close this ticket since the ticket  
https://issues.apache.org/jira/browse/NETBEANS-3346 was resolved.

> Upgrade asm-all jar
> ---
>
> Key: NETBEANS-3341
> URL: https://issues.apache.org/jira/browse/NETBEANS-3341
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - Platform
>Affects Versions: 11.1
>Reporter: Jose
>Assignee: Jose
>Priority: Minor
>  Labels: pull-request-available
>   Original Estimate: 48h
>  Time Spent: 10m
>  Remaining Estimate: 47h 50m
>
> This will update the asm-all-5.0.1.jar to asm-all-5.1.jar



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3296) Attaching JavaFX Javadoc and Sources

2019-11-07 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-3296:
---

Well it seems Thomas fixed the javadoc issue for all java project types. That 
will make Gradle projects work as well.

> Attaching JavaFX Javadoc and Sources
> 
>
> Key: NETBEANS-3296
> URL: https://issues.apache.org/jira/browse/NETBEANS-3296
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: OpenJDK 13.0.1 on Ubuntu 16.04.6 LTS
>Reporter: John Neffenger
>Priority: Major
> Attachments: ant-JAVAFX13-classpath.png, ant-JAVAFX13-javadoc.png, 
> ant-JAVAFX13-sources.png, ant-JavaFX13-classpath.png, 
> ant-JavaFXMODS13-classpath.png, ant-cannot-use-elements-1.png, 
> ant-cannot-use-elements-2.png, ant-command-run.png, 
> ant-compile-classpath.png, ant-compile-modulepath.png, 
> ant-completion-fails.png, ant-completion-works-1.png, 
> ant-completion-works-2.png, ant-edit-jar-reference.png, 
> ant-install-nb-javac.png, ant-invalid-javadoc-root.png, 
> ant-javadoc-fails.png, ant-source-fails-1.png, ant-source-fails-2.png, 
> ant-source-works-1.png, ant-source-works-2.png, ant-try-with-resources.png, 
> gradle-completion-fails.png, gradle-completion-works.png, 
> gradle-distribution.png, gradle-javadoc-fails.png, gradle-source-works.png, 
> java-javadoc-works.png, java-platform-javadoc.png, 
> maven-completion-fails.png, maven-dependencies.png, maven-source-fails.png
>
>
> h1. {anchor:attaching-javafx-javadoc-and-sources}Attaching JavaFX Javadoc and 
> Sources
> I have been unable to attach the JavaFX Javadoc and Sources to their modular 
> JAR files without encountering errors in their use by NetBeans. Attaching the 
> Sources allows you to navigate directly to the JavaFX source code of a field 
> or method. Attaching the Javadoc allows you to open an external Web browser 
> directly to the appropriate page of the documentation. These features are two 
> of the main reasons I use an integrated development environment.
> There are several issues encountered in this task, making it easy to lose 
> sight of the bigger picture. This is my attempt to provide that more general 
> context and gather all the related issues into one place.
> h2. {anchor:issues}Issues
> Some of the problems related to using the JavaFX Javadoc and Sources have 
> already been reported:
> * [NETBEANS-236|https://issues.apache.org/jira/browse/NETBEANS-236]: 
> Incorrect brace spacing in try-with-resources
> * [NETBEANS-1396|https://issues.apache.org/jira/browse/NETBEANS-1396]: Maven: 
> Downloaded javadoc / sources not attached to artifact with classifier
> * [NETBEANS-2197|https://issues.apache.org/jira/browse/NETBEANS-2197]: 
> Missing code completion and Javadocs in maven projects with classifier
> * [NETBEANS-2290|https://issues.apache.org/jira/browse/NETBEANS-2290]: 
> nb-javac 1.71 fails to parse JavaFX Sources
> The two issues concerning Maven projects will be fixed by the following pull 
> request (a work in progress):
> * [apache/netbeans#1548|https://github.com/apache/netbeans/pull/1548]: 
> (NETBEANS-1396) Missing code completion and Javadocs in maven projects with 
> classifier
> I created the following issues for the new problems described here:
> * [NETBEANS-3297|https://issues.apache.org/jira/browse/NETBEANS-3297]: 
> "Attach Javadoc" really means "Attach Sources"
> * [NETBEANS-3298|https://issues.apache.org/jira/browse/NETBEANS-3298]: 
> Invalid Javadoc root javafx-sdk-13/doc/javafx.base
> * [NETBEANS-3299|https://issues.apache.org/jira/browse/NETBEANS-3299]: Adding 
> Javadoc and Sources to Global Library fails
> * [NETBEANS-3300|https://issues.apache.org/jira/browse/NETBEANS-3300]: 
> nb-javac 2.0 fails to parse JavaFX Sources
> * [NETBEANS-3301|https://issues.apache.org/jira/browse/NETBEANS-3301]: 
> Modular Ant project fails to run without nb-javac
> * [NETBEANS-3302|https://issues.apache.org/jira/browse/NETBEANS-3302]: 
> Non-modular Gradle project fails to recognize Javadoc
> * [NETBEANS-3303|https://issues.apache.org/jira/browse/NETBEANS-3303]: 
> Modular Gradle project fails to recognize Javadoc and Sources
> There are also related issues for the JavaFX Javadoc and sample NetBeans 
> projects on GitHub:
> * [openjfx/javadoc#6|https://github.com/openjfx/javadoc/issues/6]: Attached 
> Javadoc does not follow Maven convention
> * [openjfx/samples#39|https://github.com/openjfx/samples/issues/39]: 
> IllegalStateException running NetBeans Modular Maven project
> Each issue is listed again at the point where it's encountered below.
> h2. {anchor:projects}Projects
> I use the six sample NetBeans projects described in [Getting Started with 
> JavaFX 13|https://openjfx.io/openjfx-docs/] to explain what goes w

[jira] [Commented] (NETBEANS-3296) Attaching JavaFX Javadoc and Sources

2019-11-07 Thread John Neffenger (Jira)


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

John Neffenger commented on NETBEANS-3296:
--

I did some initial tests of the [pull 
request|https://github.com/apache/netbeans/pull/1548] for NETBEANS-1396 and 
posted my [test 
results|https://github.com/apache/netbeans/pull/1548#issuecomment-551237510] as 
a comment. Can the techniques that Thomas is using to display the Javadoc in 
Maven projects help in Gradle projects, too?


> Attaching JavaFX Javadoc and Sources
> 
>
> Key: NETBEANS-3296
> URL: https://issues.apache.org/jira/browse/NETBEANS-3296
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: OpenJDK 13.0.1 on Ubuntu 16.04.6 LTS
>Reporter: John Neffenger
>Priority: Major
> Attachments: ant-JAVAFX13-classpath.png, ant-JAVAFX13-javadoc.png, 
> ant-JAVAFX13-sources.png, ant-JavaFX13-classpath.png, 
> ant-JavaFXMODS13-classpath.png, ant-cannot-use-elements-1.png, 
> ant-cannot-use-elements-2.png, ant-command-run.png, 
> ant-compile-classpath.png, ant-compile-modulepath.png, 
> ant-completion-fails.png, ant-completion-works-1.png, 
> ant-completion-works-2.png, ant-edit-jar-reference.png, 
> ant-install-nb-javac.png, ant-invalid-javadoc-root.png, 
> ant-javadoc-fails.png, ant-source-fails-1.png, ant-source-fails-2.png, 
> ant-source-works-1.png, ant-source-works-2.png, ant-try-with-resources.png, 
> gradle-completion-fails.png, gradle-completion-works.png, 
> gradle-distribution.png, gradle-javadoc-fails.png, gradle-source-works.png, 
> java-javadoc-works.png, java-platform-javadoc.png, 
> maven-completion-fails.png, maven-dependencies.png, maven-source-fails.png
>
>
> h1. {anchor:attaching-javafx-javadoc-and-sources}Attaching JavaFX Javadoc and 
> Sources
> I have been unable to attach the JavaFX Javadoc and Sources to their modular 
> JAR files without encountering errors in their use by NetBeans. Attaching the 
> Sources allows you to navigate directly to the JavaFX source code of a field 
> or method. Attaching the Javadoc allows you to open an external Web browser 
> directly to the appropriate page of the documentation. These features are two 
> of the main reasons I use an integrated development environment.
> There are several issues encountered in this task, making it easy to lose 
> sight of the bigger picture. This is my attempt to provide that more general 
> context and gather all the related issues into one place.
> h2. {anchor:issues}Issues
> Some of the problems related to using the JavaFX Javadoc and Sources have 
> already been reported:
> * [NETBEANS-236|https://issues.apache.org/jira/browse/NETBEANS-236]: 
> Incorrect brace spacing in try-with-resources
> * [NETBEANS-1396|https://issues.apache.org/jira/browse/NETBEANS-1396]: Maven: 
> Downloaded javadoc / sources not attached to artifact with classifier
> * [NETBEANS-2197|https://issues.apache.org/jira/browse/NETBEANS-2197]: 
> Missing code completion and Javadocs in maven projects with classifier
> * [NETBEANS-2290|https://issues.apache.org/jira/browse/NETBEANS-2290]: 
> nb-javac 1.71 fails to parse JavaFX Sources
> The two issues concerning Maven projects will be fixed by the following pull 
> request (a work in progress):
> * [apache/netbeans#1548|https://github.com/apache/netbeans/pull/1548]: 
> (NETBEANS-1396) Missing code completion and Javadocs in maven projects with 
> classifier
> I created the following issues for the new problems described here:
> * [NETBEANS-3297|https://issues.apache.org/jira/browse/NETBEANS-3297]: 
> "Attach Javadoc" really means "Attach Sources"
> * [NETBEANS-3298|https://issues.apache.org/jira/browse/NETBEANS-3298]: 
> Invalid Javadoc root javafx-sdk-13/doc/javafx.base
> * [NETBEANS-3299|https://issues.apache.org/jira/browse/NETBEANS-3299]: Adding 
> Javadoc and Sources to Global Library fails
> * [NETBEANS-3300|https://issues.apache.org/jira/browse/NETBEANS-3300]: 
> nb-javac 2.0 fails to parse JavaFX Sources
> * [NETBEANS-3301|https://issues.apache.org/jira/browse/NETBEANS-3301]: 
> Modular Ant project fails to run without nb-javac
> * [NETBEANS-3302|https://issues.apache.org/jira/browse/NETBEANS-3302]: 
> Non-modular Gradle project fails to recognize Javadoc
> * [NETBEANS-3303|https://issues.apache.org/jira/browse/NETBEANS-3303]: 
> Modular Gradle project fails to recognize Javadoc and Sources
> There are also related issues for the JavaFX Javadoc and sample NetBeans 
> projects on GitHub:
> * [openjfx/javadoc#6|https://github.com/openjfx/javadoc/issues/6]: Attached 
> Javadoc does not follow Maven convention
> * [openjfx/samples#39|https://github.com/openjfx/samples/issues/39]: 
> IllegalStateException running NetBeans Modular Maven project
> Each issue is listed again at 

[netbeans] branch master updated: Travis, run tests for harness modules

2019-11-07 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

matthiasblaesing 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 4ede016  Travis, run tests for harness modules
4ede016 is described below

commit 4ede016cb3c85b2eb488c7f9903e59b0288d583c
Author: Hector Espert 
AuthorDate: Sat Oct 26 13:22:10 2019 +0200

Travis, run tests for harness modules
---
 .travis.yml | 14 ++
 1 file changed, 14 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 7221a62..e49d59b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -82,6 +82,20 @@ matrix:
 - env: SIGTEST=false COMPILETEST=false LICENSE=false CV=false 
RUN_TESTS_JDK8=false RUN_TESTS_JDK9PLUS=true TEST_JDK_VERSION="--feature 12 
--license GPL" 
TEST_RUN_OPTIONS='-Dtest.run.args=--add-exports=jdk.javadoc/com.sun.tools.javadoc.main=ALL-UNNAMED
 -Dtest.use.jdk.javac=true' TEST_MODULES="java/java.completion" 
OPTS="-Dcluster.config=java -quiet build -Djavac.compilerargs=-nowarn 
-Dbuild.compiler.deprecation=false"
   jdk: openjdk8
   
+- name: Test harness modules
+  jdk: openjdk8
+  env:
+- OPTS="-silent -Dcluster.config=platform 
-Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false 
-Dtest-unit-sys-prop.ignore.random.failures=true -Dvanilla.javac.exists=true"
+  before_script:
+- ant $OPTS clean
+- ant $OPTS build
+  script:
+- OPTS="-quiet -Dcluster.config=platform 
-Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false 
-Dtest-unit-sys-prop.ignore.random.failures=true -Dvanilla.javac.exists=true"
+- ant $OPTS -f harness/o.n.insane test
+- ant $OPTS -f harness/apisupport.harness test
+- ant $OPTS -f harness/nbjunit test
+# - ant $OPTS -f harness/jellytools.platform test
+
 - name: Test platform modules, Batch 1
   jdk: openjdk8
   env:


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3355) SideBarFactory painting offset with large files

2019-11-07 Thread Benedikt Schlagberger (Jira)
Benedikt Schlagberger created NETBEANS-3355:
---

 Summary: SideBarFactory painting offset with large files
 Key: NETBEANS-3355
 URL: https://issues.apache.org/jira/browse/NETBEANS-3355
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.0, 8.2
Reporter: Benedikt Schlagberger
 Attachments: Bildschirmfoto von 2019-11-07 19-34-21.png

When painting in the sidebar using the {{SideBarFactory}}, the painted Graphic 
is offset for large files. To reproduce, create a NetBeans plugin project and 
add the following class:
{code:java}
package com.mycompany.sidebar_test;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import javax.swing.JComponent;
import javax.swing.text.JTextComponent;
import org.netbeans.spi.editor.SideBarFactory;

public class MySidebarFactory implements SideBarFactory {
@Override
public JComponent createSideBar(JTextComponent jtc) {
return new MySidebar();
}

private class MySidebar extends JComponent {
@Override
protected void paintComponent(Graphics g) {
g.setColor(Color.BLUE);
g.fillRect(0, 0, 10, 1000);
}

@Override
public Dimension getPreferredSize() {
Dimension dimension = new Dimension(this.getParent().getSize());
dimension.width = 10;

return dimension;
}
}
}
{code}

Register the {{SideBarFactory}} using the following {{layers.xml}}:
{code:xml}

http://www.netbeans.org/dtds/filesystem-1_2.dtd";>









{code}

Now start the plugin and open a project containing a large file for example the 
[StrBuilder.java|https://raw.githubusercontent.com/apache/commons-lang/master/src/main/java/org/apache/commons/lang3/text/StrBuilder.java]
 from the apache commons lib.

The painting is offset by a large amount as you can see in the attached 
screenshot. When shortening the file and re-opening it, the marker moves, so I 
suppose this is related to the file size.



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

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

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



[jira] [Closed] (NETBEANS-1269) Find usages is very slow in Netbeans 9.0 & 10.0 and it sits a long time at Initializing data and Usages progress bar, in some cases without showing any progress at all

2019-11-07 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi closed NETBEANS-1269.
-

> Find usages is very slow in Netbeans 9.0 & 10.0 and it sits a long time at 
> Initializing data and Usages progress bar, in some cases without showing any 
> progress at all
> ---
>
> Key: NETBEANS-1269
> URL: https://issues.apache.org/jira/browse/NETBEANS-1269
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0, 10.0
> Environment: Netbeans 9.0 based on jdk-10.0.1 on Windows 10 Pro
> Netbeans 10.0 based on OpenJDL11 on Windows 10 Pro
>Reporter: Ciprian Bulboaca
>Priority: Critical
>
> Find usages in Netbeans 9.0 is very slow (compared to Netbeans 8.0.2).
> For example, in our large modular project we have, doing a find usages on any 
> method in any class takes a very long time (4-5 minutes) in Netbeans 9.0. For 
> about half the time, Netbeans 9.0 is just sitting at "Initializing data" and 
> for the other half, it is just sitting at Usages progress bar always showing 
> 0% progress! Then, after a long period of waiting, it just shows the results 
> without even updating the progress bar (or at least you can't tell it is 
> updating the progress bar).
> This all behaves normally under Netbeans 8.0.2 where find usages is showing 
> results right away (as it's scanning) and the whole process takes only a few 
> seconds!
> We've tried bumping up the -J-Xmx setting to 1536m in netbeans.conf and 
> although we see the memory allocated is increasing (in Task Manager), 
> Netbeans 9.0 behaves the same way.
> I'm wondering if anybody else is experiencing this. Is there any workaround 
> for this issue? This affects our day to day work very significantly since we 
> rely on fast 'find usages' operations all the time in our analysis & coding 
> work.



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

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

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



[jira] [Closed] (NETBEANS-2661) find-usages takes a LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

2019-11-07 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi closed NETBEANS-2661.
-

> find-usages takes a 
> LO
> --
>
> Key: NETBEANS-2661
> URL: https://issues.apache.org/jira/browse/NETBEANS-2661
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Linux, JDK 1.8, etc
>Reporter: Shevek
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: PERFORMANCE, Performance, perf, perfomance, performance, 
> performence, pull-request-available
> Fix For: 11.2
>
> Attachments: find-usages-is-totally-unusable-11.1.npss, 
> image-2019-08-15-07-05-38-978.png, netbeans-find-usages.npss
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> OOOng time, like 5 minutes. Please see attached profile.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-519) Bump Eclipse JGit dependency to latest version

2019-11-07 Thread Jira


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

Matthias Bläsing resolved NETBEANS-519.
---
Fix Version/s: 11.3
 Assignee: Matthias Bläsing  (was: Christian Bourque)
   Resolution: Fixed

Update was merged to master.

> Bump Eclipse JGit dependency to latest version
> --
>
> Key: NETBEANS-519
> URL: https://issues.apache.org/jira/browse/NETBEANS-519
> Project: NetBeans
>  Issue Type: Improvement
>  Components: versioncontrol - Git
>Affects Versions: 8.2
>Reporter: Christian Bourque
>Assignee: Matthias Bläsing
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 9.5h
>  Remaining Estimate: 0h
>
> The current JGit dependency bundled with NetBeans 8.2 is 3 years old and 
> missing all the newest Git features! This would also be a good time to remove 
> the old JGit Java 7 NetBeans module...
> This would upgrade the current dependency from version 3.6.2 to 4.11.0.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-1269) Find usages is very slow in Netbeans 9.0 & 10.0 and it sits a long time at Initializing data and Usages progress bar, in some cases without showing any progress at a

2019-11-07 Thread Ciprian Bulboaca (Jira)


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

Ciprian Bulboaca commented on NETBEANS-1269:


I can now confirm the fix done as part of 
https://issues.apache.org/jira/browse/NETBEANS-2661 and released with Netbeans 
11.2 fixed the find usages issues we were having! The fix allows us to finally 
migrate all of our projects to Netbeans 11.2. Thank you!

> Find usages is very slow in Netbeans 9.0 & 10.0 and it sits a long time at 
> Initializing data and Usages progress bar, in some cases without showing any 
> progress at all
> ---
>
> Key: NETBEANS-1269
> URL: https://issues.apache.org/jira/browse/NETBEANS-1269
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0, 10.0
> Environment: Netbeans 9.0 based on jdk-10.0.1 on Windows 10 Pro
> Netbeans 10.0 based on OpenJDL11 on Windows 10 Pro
>Reporter: Ciprian Bulboaca
>Priority: Critical
>
> Find usages in Netbeans 9.0 is very slow (compared to Netbeans 8.0.2).
> For example, in our large modular project we have, doing a find usages on any 
> method in any class takes a very long time (4-5 minutes) in Netbeans 9.0. For 
> about half the time, Netbeans 9.0 is just sitting at "Initializing data" and 
> for the other half, it is just sitting at Usages progress bar always showing 
> 0% progress! Then, after a long period of waiting, it just shows the results 
> without even updating the progress bar (or at least you can't tell it is 
> updating the progress bar).
> This all behaves normally under Netbeans 8.0.2 where find usages is showing 
> results right away (as it's scanning) and the whole process takes only a few 
> seconds!
> We've tried bumping up the -J-Xmx setting to 1536m in netbeans.conf and 
> although we see the memory allocated is increasing (in Task Manager), 
> Netbeans 9.0 behaves the same way.
> I'm wondering if anybody else is experiencing this. Is there any workaround 
> for this issue? This affects our day to day work very significantly since we 
> rely on fast 'find usages' operations all the time in our analysis & coding 
> work.



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

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

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



[jira] [Created] (NETBEANS-3354) Unable to edit a file

2019-11-07 Thread Piotr J Andzel (Jira)
Piotr J Andzel created NETBEANS-3354:


 Summary: Unable to edit a file
 Key: NETBEANS-3354
 URL: https://issues.apache.org/jira/browse/NETBEANS-3354
 Project: NetBeans
  Issue Type: Bug
Reporter: Piotr J Andzel






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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3296) Attaching JavaFX Javadoc and Sources

2019-11-07 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-3296:
---

I do not know what happened with my Gradle last night.  First it started to 
give back partial results on binaries, sources and javadocs, though it listed 
both the platform and the general binaries, which is good. I've requested a 
dependency insight on some dependencies. I do not know if that's related but 
since then Gradle reports back just exacly what is desired the two binaries 
source and javadoc references as well. I'm bit confused now.

I did some changes make the whole process more reliable in either case. I'm 
still testing it.

On the other hand the javadoc packaging seems to be odd. Every javadoc package 
contains the full javadoc of the openjfx project. Testing helloFX the IDE finds 
the javadoc jar, but it looks for the root level for the documentation as: //.html instead of ///.html

 

> Attaching JavaFX Javadoc and Sources
> 
>
> Key: NETBEANS-3296
> URL: https://issues.apache.org/jira/browse/NETBEANS-3296
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: OpenJDK 13.0.1 on Ubuntu 16.04.6 LTS
>Reporter: John Neffenger
>Priority: Major
> Attachments: ant-JAVAFX13-classpath.png, ant-JAVAFX13-javadoc.png, 
> ant-JAVAFX13-sources.png, ant-JavaFX13-classpath.png, 
> ant-JavaFXMODS13-classpath.png, ant-cannot-use-elements-1.png, 
> ant-cannot-use-elements-2.png, ant-command-run.png, 
> ant-compile-classpath.png, ant-compile-modulepath.png, 
> ant-completion-fails.png, ant-completion-works-1.png, 
> ant-completion-works-2.png, ant-edit-jar-reference.png, 
> ant-install-nb-javac.png, ant-invalid-javadoc-root.png, 
> ant-javadoc-fails.png, ant-source-fails-1.png, ant-source-fails-2.png, 
> ant-source-works-1.png, ant-source-works-2.png, ant-try-with-resources.png, 
> gradle-completion-fails.png, gradle-completion-works.png, 
> gradle-distribution.png, gradle-javadoc-fails.png, gradle-source-works.png, 
> java-javadoc-works.png, java-platform-javadoc.png, 
> maven-completion-fails.png, maven-dependencies.png, maven-source-fails.png
>
>
> h1. {anchor:attaching-javafx-javadoc-and-sources}Attaching JavaFX Javadoc and 
> Sources
> I have been unable to attach the JavaFX Javadoc and Sources to their modular 
> JAR files without encountering errors in their use by NetBeans. Attaching the 
> Sources allows you to navigate directly to the JavaFX source code of a field 
> or method. Attaching the Javadoc allows you to open an external Web browser 
> directly to the appropriate page of the documentation. These features are two 
> of the main reasons I use an integrated development environment.
> There are several issues encountered in this task, making it easy to lose 
> sight of the bigger picture. This is my attempt to provide that more general 
> context and gather all the related issues into one place.
> h2. {anchor:issues}Issues
> Some of the problems related to using the JavaFX Javadoc and Sources have 
> already been reported:
> * [NETBEANS-236|https://issues.apache.org/jira/browse/NETBEANS-236]: 
> Incorrect brace spacing in try-with-resources
> * [NETBEANS-1396|https://issues.apache.org/jira/browse/NETBEANS-1396]: Maven: 
> Downloaded javadoc / sources not attached to artifact with classifier
> * [NETBEANS-2197|https://issues.apache.org/jira/browse/NETBEANS-2197]: 
> Missing code completion and Javadocs in maven projects with classifier
> * [NETBEANS-2290|https://issues.apache.org/jira/browse/NETBEANS-2290]: 
> nb-javac 1.71 fails to parse JavaFX Sources
> The two issues concerning Maven projects will be fixed by the following pull 
> request (a work in progress):
> * [apache/netbeans#1548|https://github.com/apache/netbeans/pull/1548]: 
> (NETBEANS-1396) Missing code completion and Javadocs in maven projects with 
> classifier
> I created the following issues for the new problems described here:
> * [NETBEANS-3297|https://issues.apache.org/jira/browse/NETBEANS-3297]: 
> "Attach Javadoc" really means "Attach Sources"
> * [NETBEANS-3298|https://issues.apache.org/jira/browse/NETBEANS-3298]: 
> Invalid Javadoc root javafx-sdk-13/doc/javafx.base
> * [NETBEANS-3299|https://issues.apache.org/jira/browse/NETBEANS-3299]: Adding 
> Javadoc and Sources to Global Library fails
> * [NETBEANS-3300|https://issues.apache.org/jira/browse/NETBEANS-3300]: 
> nb-javac 2.0 fails to parse JavaFX Sources
> * [NETBEANS-3301|https://issues.apache.org/jira/browse/NETBEANS-3301]: 
> Modular Ant project fails to run without nb-javac
> * [NETBEANS-3302|https://issues.apache.org/jira/browse/NETBEANS-3302]: 
> Non-modular Gradle project fails to recognize Javadoc
> * [NETBEANS-3303|https://issues.apache.org/jir

[jira] [Comment Edited] (NETBEANS-2415) Bring back support for WildFly server

2019-11-07 Thread Jira


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

Dominik Derwiński edited comment on NETBEANS-2415 at 11/7/19 4:52 PM:
--

New plugin works in NB 11.2, but has to be downloaded manually, I hope it will 
soon appear in Plugins installer inside IDE. Other than that I'm finally happy. 
I think it won't work in 11.0 or 11.1.


was (Author: morvael):
New plugin works in NB 11.2, bit has to be downloaded manually, I hope it will 
soon appear in Plugins installer insid IDE. Other than that I'm finally happy. 
I think it won't work in 11.0 or 11.1.

> Bring back support for WildFly server
> -
>
> Key: NETBEANS-2415
> URL: https://issues.apache.org/jira/browse/NETBEANS-2415
> Project: NetBeans
>  Issue Type: Wish
>  Components: serverplugins - WildFly
>Affects Versions: 11.0
> Environment: n.a.
>Reporter: Dominik Derwiński
>Assignee: Emmanuel Hugonnet
>Priority: Minor
> Attachments: image-2019-10-02-23-28-48-638.png, 
> image-2019-10-02-23-29-11-140.png
>
>
> NetBeans 8.2 had WildFly server module, which helped greatly in debugging 
> Java EE applications directly from IDE. NetBeans 11.0 does not contain this 
> module, despite boasting to be the first version of Apache NetBeans to offer 
> full support for developing Java EE applications.
> I don't think it would be very hard to bring back WildFly server module 
> (currently it does not complile), because copying files of the module from 
> NetBeans 8.2 into NetBeans 11.0 installation, and recreating userdir is 
> enough to bring back that functionality (so the old module still works, but 
> for how long?).
> The files I have copied (after removing references to localization files) are:
>  * enterprise/config/Modules/org-netbeans-modules-javaee-wildfly.xml
>  * enterprise/modules/org-netbeans-modules-javaee-wildfly.jar
>  * enterprise/update_tracking/org-netbeans-modules-javaee-wildfly.xml
>  



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

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

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



[jira] [Commented] (NETBEANS-2415) Bring back support for WildFly server

2019-11-07 Thread Jira


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

Dominik Derwiński commented on NETBEANS-2415:
-

New plugin works in NB 11.2, bit has to be downloaded manually, I hope it will 
soon appear in Plugins installer insid IDE. Other than that I'm finally happy. 
I think it won't work in 11.0 or 11.1.

> Bring back support for WildFly server
> -
>
> Key: NETBEANS-2415
> URL: https://issues.apache.org/jira/browse/NETBEANS-2415
> Project: NetBeans
>  Issue Type: Wish
>  Components: serverplugins - WildFly
>Affects Versions: 11.0
> Environment: n.a.
>Reporter: Dominik Derwiński
>Assignee: Emmanuel Hugonnet
>Priority: Minor
> Attachments: image-2019-10-02-23-28-48-638.png, 
> image-2019-10-02-23-29-11-140.png
>
>
> NetBeans 8.2 had WildFly server module, which helped greatly in debugging 
> Java EE applications directly from IDE. NetBeans 11.0 does not contain this 
> module, despite boasting to be the first version of Apache NetBeans to offer 
> full support for developing Java EE applications.
> I don't think it would be very hard to bring back WildFly server module 
> (currently it does not complile), because copying files of the module from 
> NetBeans 8.2 into NetBeans 11.0 installation, and recreating userdir is 
> enough to bring back that functionality (so the old module still works, but 
> for how long?).
> The files I have copied (after removing references to localization files) are:
>  * enterprise/config/Modules/org-netbeans-modules-javaee-wildfly.xml
>  * enterprise/modules/org-netbeans-modules-javaee-wildfly.jar
>  * enterprise/update_tracking/org-netbeans-modules-javaee-wildfly.xml
>  



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

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

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



[jira] [Commented] (NETBEANS-3339) "Go to Symbol" does nothing

2019-11-07 Thread Alessandro Polverini (Jira)


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

Alessandro Polverini commented on NETBEANS-3339:


I don't mind as long as I'm able to install the "dark theme", that for the time 
being I was not able to :)

Anyway thanks very much for the suggestion, I will do.

 

For the record, both go to symbol and find usages work correctly on the version 
you linked: 11.2 is just horribly broken and it's totally unusable in its 
current form, IMHO.

They should not have released it.

> "Go to Symbol" does nothing
> ---
>
> Key: NETBEANS-3339
> URL: https://issues.apache.org/jira/browse/NETBEANS-3339
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Navigation
>Affects Versions: 11.2
> Environment: Ubuntu, Netbeans 11.2 over JDK 11
>Reporter: Alessandro Polverini
>Priority: Major
> Fix For: 11.3
>
>
> If I open the Go to Sumbol panel (ctrl+alt+shift+O) and I start entering the 
> name of a symbol I correctly see the filtered one matching, but double 
> clicking one of them or pressing return just closes the window and nothing 
> else happens.



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

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

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



[jira] [Updated] (NETBEANS-3353) Problem with formating code

2019-11-07 Thread Serge Tkach (Jira)


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

Serge Tkach updated NETBEANS-3353:
--
Description: 
NetBeans formating is ugly for files with mixed code.

Example: I have html file with php code (somefile.phtml)

If I select mime html for *.phtml - no php-code syntax highlight.

If I select mime php for *.phtml - is code syntax highlight for php and html, 
but formatting is as for php. But php standarts (4 spaces) is different with 
html-standarts (2 spaces)...

But if I need work with OpenCart - php must be formatted witt 1 tab...

  was:
NetBeans formating is ugly for files with mixed code.

Example: I have html file with php code (somefile.phtml)

If I select mime html for *.phtml - no php-code syntaxix highlith.

If I select mime php for *.phtml - is code syntaxix highlith for php and html, 
but formatting is as for php. But php standarts (4 spaces) is different with 
html-standarts (2 spaces)...

But if I need work with OpenCart - php must be formatted wit 1 tab...


> Problem with formating code
> ---
>
> Key: NETBEANS-3353
> URL: https://issues.apache.org/jira/browse/NETBEANS-3353
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting & Indentation, php - Formatting 
> & Indentation, php - Refactoring
>Affects Versions: 8.2, 9.0, 10.0, 11.1
> Environment: Centos 7, Windows 7
>Reporter: Serge Tkach
>Priority: Major
>  Labels: formatter, formatting, highlight, highlighter, 
> mimetypes, syntax
>
> NetBeans formating is ugly for files with mixed code.
> Example: I have html file with php code (somefile.phtml)
> If I select mime html for *.phtml - no php-code syntax highlight.
> If I select mime php for *.phtml - is code syntax highlight for php and html, 
> but formatting is as for php. But php standarts (4 spaces) is different with 
> html-standarts (2 spaces)...
> But if I need work with OpenCart - php must be formatted witt 1 tab...



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3353) Problem with formating code

2019-11-07 Thread Serge Tkach (Jira)


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

Serge Tkach updated NETBEANS-3353:
--
Labels: formatter formatting highlight highlighter mimetypes syntax  (was: 
formatter formatting mimetypes)

> Problem with formating code
> ---
>
> Key: NETBEANS-3353
> URL: https://issues.apache.org/jira/browse/NETBEANS-3353
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting & Indentation, php - Formatting 
> & Indentation, php - Refactoring
>Affects Versions: 8.2, 9.0, 10.0, 11.1
> Environment: Centos 7, Windows 7
>Reporter: Serge Tkach
>Priority: Major
>  Labels: formatter, formatting, highlight, highlighter, 
> mimetypes, syntax
>
> NetBeans formating is ugly for files with mixed code.
> Example: I have html file with php code (somefile.phtml)
> If I select mime html for *.phtml - no php-code syntaxix highlith.
> If I select mime php for *.phtml - is code syntaxix highlith for php and 
> html, but formatting is as for php. But php standarts (4 spaces) is different 
> with html-standarts (2 spaces)...
> But if I need work with OpenCart - php must be formatted wit 1 tab...



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-2409) Very Slow Operations on Windows

2019-11-07 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-2409 at 11/7/19 12:56 PM:


{quote}Some of the slowness in that file is about DTDs not being found. That’s 
an area you could investigate further.{quote}

would like to. Thx for the info. Can you please be a bit more specific to me, 
what that means? I can't see that there is smth missing from the Info that I 
gave.
I only see this line above the content:
{code}INFO [org.netbeans.core.windows.persistence]: 
[PersistenceManager.getTopComponentForID] Problem when deserializing 
TopComponent for tcID:'JShellEditor'. Reason: null {code}

and when I call this url: http://www.netbeans.org/dtds/sessionsettings-1_0.dtd 
it downloads the file correct.

Your or any other help here to help me to investigate into the problem is 
needed and much appreciated.


was (Author: chrizzly):
{quote}Some of the slowness in that file is about DTDs not being found. That’s 
an area you could investigate further.{quote}

would like to. Thx for the info. Can you please be a bit more specific to me, 
what that means? I can't see that there is smth missing from the Info that I 
gave.
I only see this line above the content:
{code}INFO [org.netbeans.core.windows.persistence]: 
[PersistenceManager.getTopComponentForID] Problem when deserializing 
TopComponent for tcID:'JShellEditor'. Reason: null {code}

Your or any other help here to help me to investigate into the problem is 
needed and much appreciated.

> Very Slow  Operations on Windows
> 
>
> Key: NETBEANS-2409
> URL: https://issues.apache.org/jira/browse/NETBEANS-2409
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0, 11.0
> Environment: Windows
>Reporter: Laszlo Kishalmi
>Priority: Critical
>  Labels: Performance, Windows
> Attachments: Details info.txt, NB11_autocomplete.nps, 
> NB11_getHint.nps, WinFilesystemSlow.png, messages.log
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> What is the best course of action for reporting slowness?  I can’t share my 
> project.
> I’m not certain how to give step-by-step instructions when the problem is 
> basically one step in most cases.  E.g. invoke auto-complete - nothing 
> happens for several seconds.  Invoke rename - dialog doesn’t appear for 
> several seconds.  Find usages - extremely slow > 5 second delay on a private 
> member of a class less than 100 lines.
> In general it seems NB 11 is noticeably slower than NB 8.2. Not good 
> considering slowness was already my #1 complaint about NB 8.2.  I have so far 
> found the benefits of NB outweigh the fact that it is much slower than other 
> IDEs for the same operations, but the slowness of NB 11 is tipping the scale. 
>  I don’t want to switch IDEs, pease don’t interpret this as some sort of 
> threat to do so. I would like to help find the issues in NB.  But I don’t 
> have the bandwidth to debug NB and not being about to share my project makes 
> it difficult to provide helpful reports :-(
> Are others seeing the slowness?
> Find usages, renames, call-hierarchy, auto-complete… things I use all the 
> time, I often have to wait 5 to 10 seconds for a response from the IDE, 
> sometimes more.
> I’ve already deleted user dir and cache and restarted. 
> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-2409) Very Slow Operations on Windows

2019-11-07 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-2409:
--

> Some of the slowness in that file is about DTDs not being found. That’s an 
> area you could investigate further.

would like to. Thx for the info. Can you please be a bit more specific to me, 
what that means? I can't see that there is smth missing from the Info that I 
gave.
I only see this line above the content:
{code}INFO [org.netbeans.core.windows.persistence]: 
[PersistenceManager.getTopComponentForID] Problem when deserializing 
TopComponent for tcID:'JShellEditor'. Reason: null {code}

Your or any other help here to help me to investigate into the problem is 
needed and much appreciated.

> Very Slow  Operations on Windows
> 
>
> Key: NETBEANS-2409
> URL: https://issues.apache.org/jira/browse/NETBEANS-2409
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0, 11.0
> Environment: Windows
>Reporter: Laszlo Kishalmi
>Priority: Critical
>  Labels: Performance, Windows
> Attachments: Details info.txt, NB11_autocomplete.nps, 
> NB11_getHint.nps, WinFilesystemSlow.png, messages.log
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> What is the best course of action for reporting slowness?  I can’t share my 
> project.
> I’m not certain how to give step-by-step instructions when the problem is 
> basically one step in most cases.  E.g. invoke auto-complete - nothing 
> happens for several seconds.  Invoke rename - dialog doesn’t appear for 
> several seconds.  Find usages - extremely slow > 5 second delay on a private 
> member of a class less than 100 lines.
> In general it seems NB 11 is noticeably slower than NB 8.2. Not good 
> considering slowness was already my #1 complaint about NB 8.2.  I have so far 
> found the benefits of NB outweigh the fact that it is much slower than other 
> IDEs for the same operations, but the slowness of NB 11 is tipping the scale. 
>  I don’t want to switch IDEs, pease don’t interpret this as some sort of 
> threat to do so. I would like to help find the issues in NB.  But I don’t 
> have the bandwidth to debug NB and not being about to share my project makes 
> it difficult to provide helpful reports :-(
> Are others seeing the slowness?
> Find usages, renames, call-hierarchy, auto-complete… things I use all the 
> time, I often have to wait 5 to 10 seconds for a response from the IDE, 
> sometimes more.
> I’ve already deleted user dir and cache and restarted. 
> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-2409) Very Slow Operations on Windows

2019-11-07 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-2409 at 11/7/19 12:55 PM:


{quote}Some of the slowness in that file is about DTDs not being found. That’s 
an area you could investigate further.{quote}

would like to. Thx for the info. Can you please be a bit more specific to me, 
what that means? I can't see that there is smth missing from the Info that I 
gave.
I only see this line above the content:
{code}INFO [org.netbeans.core.windows.persistence]: 
[PersistenceManager.getTopComponentForID] Problem when deserializing 
TopComponent for tcID:'JShellEditor'. Reason: null {code}

Your or any other help here to help me to investigate into the problem is 
needed and much appreciated.


was (Author: chrizzly):
> Some of the slowness in that file is about DTDs not being found. That’s an 
> area you could investigate further.

would like to. Thx for the info. Can you please be a bit more specific to me, 
what that means? I can't see that there is smth missing from the Info that I 
gave.
I only see this line above the content:
{code}INFO [org.netbeans.core.windows.persistence]: 
[PersistenceManager.getTopComponentForID] Problem when deserializing 
TopComponent for tcID:'JShellEditor'. Reason: null {code}

Your or any other help here to help me to investigate into the problem is 
needed and much appreciated.

> Very Slow  Operations on Windows
> 
>
> Key: NETBEANS-2409
> URL: https://issues.apache.org/jira/browse/NETBEANS-2409
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0, 11.0
> Environment: Windows
>Reporter: Laszlo Kishalmi
>Priority: Critical
>  Labels: Performance, Windows
> Attachments: Details info.txt, NB11_autocomplete.nps, 
> NB11_getHint.nps, WinFilesystemSlow.png, messages.log
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> What is the best course of action for reporting slowness?  I can’t share my 
> project.
> I’m not certain how to give step-by-step instructions when the problem is 
> basically one step in most cases.  E.g. invoke auto-complete - nothing 
> happens for several seconds.  Invoke rename - dialog doesn’t appear for 
> several seconds.  Find usages - extremely slow > 5 second delay on a private 
> member of a class less than 100 lines.
> In general it seems NB 11 is noticeably slower than NB 8.2. Not good 
> considering slowness was already my #1 complaint about NB 8.2.  I have so far 
> found the benefits of NB outweigh the fact that it is much slower than other 
> IDEs for the same operations, but the slowness of NB 11 is tipping the scale. 
>  I don’t want to switch IDEs, pease don’t interpret this as some sort of 
> threat to do so. I would like to help find the issues in NB.  But I don’t 
> have the bandwidth to debug NB and not being about to share my project makes 
> it difficult to provide helpful reports :-(
> Are others seeing the slowness?
> Find usages, renames, call-hierarchy, auto-complete… things I use all the 
> time, I often have to wait 5 to 10 seconds for a response from the IDE, 
> sometimes more.
> I’ve already deleted user dir and cache and restarted. 
> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3335) NB 11.2 NullPointerException - Enter key doesn't work in editor in certain files

2019-11-07 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3335:
-

The discussion is: "[DISCUSS] Handling release updates".

And, please, all this is not related to this issue, we need to try to be more 
focused.

> NB 11.2 NullPointerException - Enter key doesn't work in editor in certain 
> files
> 
>
> Key: NETBEANS-3335
> URL: https://issues.apache.org/jira/browse/NETBEANS-3335
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - HTML Editor
>Affects Versions: 11.2
> Environment: Windows 10 64-bit, JDK 11.0.1 and 13.0.1 
>Reporter: Michal Koscielny
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> I've just tried NetBeans 11.2 for PHP projects and this version appears to be 
> unusable for PHP due to lots of NPE errors, which in effect prevent the Enter 
> key from working in the editor. It looks like certain code structures trigger 
> the NPE's. So far I've come across them in js and tpl (Smarty) files. And I 
> have a way of reproducing the problem:
>  # Create a new PHP project or open an existing one.
>  # Create a new Smarty .tpl file (or open an existing one).
>  # In the editor paste this code:
> {code:java}
>  href="{url('new')}">{code}
>  # Try pressing Enter anywhere in the editor - an NPE comes up and the Enter 
> key does not work.
> There seem to be more code samples that trigger the error but for now I'm 
> reporting the first one that caught my attention. Here is the error:
> {code:java}
> java.lang.NullPointerExceptionjava.lang.NullPointerException at 
> org.netbeans.lib.html.lexer.HtmlLexer.equals(HtmlLexer.java:1557) at 
> org.netbeans.lib.html.lexer.HtmlLexer.nextToken(HtmlLexer.java:1051) at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>  at 
> org.netbeans.lib.lexer.BatchTokenList.tokenOrEmbeddingImpl(BatchTokenList.java:171)
>  at org.netbeans.lib.lexer.BatchTokenList.tokenCount(BatchTokenList.java:122) 
> at org.netbeans.api.lexer.TokenSequence.moveEnd(TokenSequence.java:607) at 
> org.netbeans.modules.html.editor.lib.ElementsParser.forTokenIndex(ElementsParser.java:106)
>  at 
> org.netbeans.modules.html.editor.lib.api.elements.ElementsIterator.(ElementsIterator.java:63)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.(SyntaxAnalyzer.java:57)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.create(SyntaxAnalyzer.java:53)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndenter.(HtmlIndenter.java:63)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTask.(HtmlIndentTask.java:40)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTaskFactory.createTask(HtmlIndentTaskFactory.java:32)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.createTask(TaskHandler.java:531)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler.addItem(TaskHandler.java:315) 
> at 
> org.netbeans.modules.editor.indent.TaskHandler.collectTasks(TaskHandler.java:133)
>  at 
> org.netbeans.modules.editor.indent.IndentImpl.indentLock(IndentImpl.java:136) 
> at org.netbeans.modules.editor.indent.api.Indent.lock(Indent.java:91) at 
> org.netbeans.editor.BaseKit$InsertBreakAction.actionPerformed(BaseKit.java:1518)
>  at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:322) at 
> java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810)
>  at 
> java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900) 
> at 
> java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2948) 
> at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862) 
> at java.desktop/java.awt.Component.processEvent(Component.java:6413) at 
> java.desktop/java.awt.Container.processEvent(Container.java:2263) at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012) at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at 
> java.desktop/java.awt.Component.dispatchEvent(Component.java:4844) at 
> java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
>  at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
>  at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
>  at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
>  at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)
>  at java.desktop/java.

[jira] [Commented] (NETBEANS-3335) NB 11.2 NullPointerException - Enter key doesn't work in editor in certain files

2019-11-07 Thread Czukowski (Jira)


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

Czukowski commented on NETBEANS-3335:
-

[~GeertjanWielenga] thanks, I've seen a lot of discussion around Gradle, but 
since that keyword was unfamiliar to me (I don't come from Java background), 
I've naturally skipped it. I'll look that discussion up.

> NB 11.2 NullPointerException - Enter key doesn't work in editor in certain 
> files
> 
>
> Key: NETBEANS-3335
> URL: https://issues.apache.org/jira/browse/NETBEANS-3335
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - HTML Editor
>Affects Versions: 11.2
> Environment: Windows 10 64-bit, JDK 11.0.1 and 13.0.1 
>Reporter: Michal Koscielny
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> I've just tried NetBeans 11.2 for PHP projects and this version appears to be 
> unusable for PHP due to lots of NPE errors, which in effect prevent the Enter 
> key from working in the editor. It looks like certain code structures trigger 
> the NPE's. So far I've come across them in js and tpl (Smarty) files. And I 
> have a way of reproducing the problem:
>  # Create a new PHP project or open an existing one.
>  # Create a new Smarty .tpl file (or open an existing one).
>  # In the editor paste this code:
> {code:java}
>  href="{url('new')}">{code}
>  # Try pressing Enter anywhere in the editor - an NPE comes up and the Enter 
> key does not work.
> There seem to be more code samples that trigger the error but for now I'm 
> reporting the first one that caught my attention. Here is the error:
> {code:java}
> java.lang.NullPointerExceptionjava.lang.NullPointerException at 
> org.netbeans.lib.html.lexer.HtmlLexer.equals(HtmlLexer.java:1557) at 
> org.netbeans.lib.html.lexer.HtmlLexer.nextToken(HtmlLexer.java:1051) at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>  at 
> org.netbeans.lib.lexer.BatchTokenList.tokenOrEmbeddingImpl(BatchTokenList.java:171)
>  at org.netbeans.lib.lexer.BatchTokenList.tokenCount(BatchTokenList.java:122) 
> at org.netbeans.api.lexer.TokenSequence.moveEnd(TokenSequence.java:607) at 
> org.netbeans.modules.html.editor.lib.ElementsParser.forTokenIndex(ElementsParser.java:106)
>  at 
> org.netbeans.modules.html.editor.lib.api.elements.ElementsIterator.(ElementsIterator.java:63)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.(SyntaxAnalyzer.java:57)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.create(SyntaxAnalyzer.java:53)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndenter.(HtmlIndenter.java:63)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTask.(HtmlIndentTask.java:40)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTaskFactory.createTask(HtmlIndentTaskFactory.java:32)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.createTask(TaskHandler.java:531)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler.addItem(TaskHandler.java:315) 
> at 
> org.netbeans.modules.editor.indent.TaskHandler.collectTasks(TaskHandler.java:133)
>  at 
> org.netbeans.modules.editor.indent.IndentImpl.indentLock(IndentImpl.java:136) 
> at org.netbeans.modules.editor.indent.api.Indent.lock(Indent.java:91) at 
> org.netbeans.editor.BaseKit$InsertBreakAction.actionPerformed(BaseKit.java:1518)
>  at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:322) at 
> java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810)
>  at 
> java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900) 
> at 
> java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2948) 
> at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862) 
> at java.desktop/java.awt.Component.processEvent(Component.java:6413) at 
> java.desktop/java.awt.Container.processEvent(Container.java:2263) at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012) at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at 
> java.desktop/java.awt.Component.dispatchEvent(Component.java:4844) at 
> java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
>  at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
>  at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
>  at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
>  at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyb

[jira] [Updated] (NETBEANS-3353) Problem with formating code

2019-11-07 Thread Serge Tkach (Jira)


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

Serge Tkach updated NETBEANS-3353:
--
Component/s: php - Refactoring
 php - Formatting & Indentation

> Problem with formating code
> ---
>
> Key: NETBEANS-3353
> URL: https://issues.apache.org/jira/browse/NETBEANS-3353
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Formatting & Indentation, php - Refactoring
>Affects Versions: 8.2, 9.0, 10.0, 11.1
> Environment: Centos 7, Windows 7
>Reporter: Serge Tkach
>Priority: Major
>  Labels: formatter, formatting, mimetypes
>
> NetBeans formating is ugly for files with mixed code.
> Example: I have html file with php code (somefile.phtml)
> If I select mime html for *.phtml - no php-code syntaxix highlith.
> If I select mime php for *.phtml - is code syntaxix highlith for php and 
> html, but formatting is as for php. But php standarts (4 spaces) is different 
> with html-standarts (2 spaces)...
> But if I need work with OpenCart - php must be formatted wit 1 tab...



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3353) Problem with formating code

2019-11-07 Thread Serge Tkach (Jira)


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

Serge Tkach updated NETBEANS-3353:
--
Component/s: editor - Formatting & Indentation

> Problem with formating code
> ---
>
> Key: NETBEANS-3353
> URL: https://issues.apache.org/jira/browse/NETBEANS-3353
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting & Indentation, php - Formatting 
> & Indentation, php - Refactoring
>Affects Versions: 8.2, 9.0, 10.0, 11.1
> Environment: Centos 7, Windows 7
>Reporter: Serge Tkach
>Priority: Major
>  Labels: formatter, formatting, mimetypes
>
> NetBeans formating is ugly for files with mixed code.
> Example: I have html file with php code (somefile.phtml)
> If I select mime html for *.phtml - no php-code syntaxix highlith.
> If I select mime php for *.phtml - is code syntaxix highlith for php and 
> html, but formatting is as for php. But php standarts (4 spaces) is different 
> with html-standarts (2 spaces)...
> But if I need work with OpenCart - php must be formatted wit 1 tab...



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

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

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



[jira] [Closed] (NETBEANS-3350) No suggestion, ctrl+click not working, navigator not populated

2019-11-07 Thread giuseppe sgattoni (Jira)


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

giuseppe sgattoni closed NETBEANS-3350.
---
Resolution: Not A Bug

> No suggestion, ctrl+click not working, navigator not populated
> --
>
> Key: NETBEANS-3350
> URL: https://issues.apache.org/jira/browse/NETBEANS-3350
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10 pro workstation 64 bits on a Intel Xeon 
> E5-1630 with 32Gb memory 
>Reporter: giuseppe sgattoni
>Priority: Major
>
> After fist installation Netbeans 11.2 worked fine but from second usage :
> 1) when opening a java class the navigator is not populated with methods, 
> variabels etc.
> 2) ctrl+click is not opening the source
> 3) when typing the suggestion tooltip opens but shows only the "no 
> suggestion" text
> 4) choosing Navigate->Go to Source on a method does nothing



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

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

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



[jira] [Closed] (NETBEANS-3351) NullPointer opening web project

2019-11-07 Thread Nicola Mazzoni (Jira)


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

Nicola Mazzoni closed NETBEANS-3351.

Fix Version/s: 11.2
   Resolution: Fixed

> NullPointer opening web project
> ---
>
> Key: NETBEANS-3351
> URL: https://issues.apache.org/jira/browse/NETBEANS-3351
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
>Reporter: Nicola Mazzoni
>Priority: Major
> Fix For: 11.2
>
>
> Hello,
> opening a specific web project, NetBeans reports a blocking error and the 
> project does not open. If I use netbeans 11.0 it works regularly
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3351) NullPointer opening web project

2019-11-07 Thread Nicola Mazzoni (Jira)


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

Nicola Mazzoni commented on NETBEANS-3351:
--

Great! It works!

> NullPointer opening web project
> ---
>
> Key: NETBEANS-3351
> URL: https://issues.apache.org/jira/browse/NETBEANS-3351
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
>Reporter: Nicola Mazzoni
>Priority: Major
>
> Hello,
> opening a specific web project, NetBeans reports a blocking error and the 
> project does not open. If I use netbeans 11.0 it works regularly
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3353) Problem with formating code

2019-11-07 Thread Serge Tkach (Jira)


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

Serge Tkach updated NETBEANS-3353:
--
Description: 
NetBeans formating is ugly for files with mixed code.

Example: I have html file with php code (somefile.phtml)

If I select mime html for *.phtml - no php-code syntaxix highlith.

If I select mime php for *.phtml - is code syntaxix highlith for php and html, 
but formatting is as for php. But php standarts (4 spaces) is different with 
html-standarts (2 spaces)...

But if I need work with OpenCart - php must be formatted wit 1 tab...

  was:
NetBeans formating ugly files with mixed code.

Example: I have html file with php code (somefile.phtml)

If I select mime html for *.phtml - no php-code syntaxix highlith.

If I select mime php for *.phtml - is code syntaxix highlith for php and html, 
but formatting is as for php. But php standarts (4 spaces) is different with 
html-standarts (2 spaces)...

But if I need work with OpenCart - php must be formatted wit 1 tab...


> Problem with formating code
> ---
>
> Key: NETBEANS-3353
> URL: https://issues.apache.org/jira/browse/NETBEANS-3353
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2, 9.0, 10.0, 11.1
> Environment: Centos 7, Windows 7
>Reporter: Serge Tkach
>Priority: Major
>  Labels: formatter, formatting, mimetypes
>
> NetBeans formating is ugly for files with mixed code.
> Example: I have html file with php code (somefile.phtml)
> If I select mime html for *.phtml - no php-code syntaxix highlith.
> If I select mime php for *.phtml - is code syntaxix highlith for php and 
> html, but formatting is as for php. But php standarts (4 spaces) is different 
> with html-standarts (2 spaces)...
> But if I need work with OpenCart - php must be formatted wit 1 tab...



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3353) Problem with formating code

2019-11-07 Thread Serge Tkach (Jira)
Serge Tkach created NETBEANS-3353:
-

 Summary: Problem with formating code
 Key: NETBEANS-3353
 URL: https://issues.apache.org/jira/browse/NETBEANS-3353
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.1, 10.0, 9.0, 8.2
 Environment: Centos 7, Windows 7
Reporter: Serge Tkach


NetBeans formating ugly files with mixed code.

Example: I have html file with php code (somefile.phtml)

If I select mime html for *.phtml - no php-code syntaxix highlith.

If I select mime php for *.phtml - is code syntaxix highlith for php and html, 
but formatting is as for php. But php standarts (4 spaces) is different with 
html-standarts (2 spaces)...

But if I need work with OpenCart - php must be formatted wit 1 tab...



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3350) No suggestion, ctrl+click not working, navigator not populated

2019-11-07 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3350:
-

Not wasting time at all. :-) Thanks for using NetBeans and please keep in touch 
(mailing lists at netbeans.apache.org) about anything you like/dislike, etc.

> No suggestion, ctrl+click not working, navigator not populated
> --
>
> Key: NETBEANS-3350
> URL: https://issues.apache.org/jira/browse/NETBEANS-3350
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10 pro workstation 64 bits on a Intel Xeon 
> E5-1630 with 32Gb memory 
>Reporter: giuseppe sgattoni
>Priority: Major
>
> After fist installation Netbeans 11.2 worked fine but from second usage :
> 1) when opening a java class the navigator is not populated with methods, 
> variabels etc.
> 2) ctrl+click is not opening the source
> 3) when typing the suggestion tooltip opens but shows only the "no 
> suggestion" text
> 4) choosing Navigate->Go to Source on a method does nothing



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3350) No suggestion, ctrl+click not working, navigator not populated

2019-11-07 Thread giuseppe sgattoni (Jira)


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

giuseppe sgattoni commented on NETBEANS-3350:
-

Hi,

just did a clean reinstallation, deleted 11.2 dirs from roaming and local; 
installed the nb-javac impl 2.0 but when asked to import the plugins from a 
previous installation i refused.

Now it seems to be working fine.

Sorry for wasting your time

> No suggestion, ctrl+click not working, navigator not populated
> --
>
> Key: NETBEANS-3350
> URL: https://issues.apache.org/jira/browse/NETBEANS-3350
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10 pro workstation 64 bits on a Intel Xeon 
> E5-1630 with 32Gb memory 
>Reporter: giuseppe sgattoni
>Priority: Major
>
> After fist installation Netbeans 11.2 worked fine but from second usage :
> 1) when opening a java class the navigator is not populated with methods, 
> variabels etc.
> 2) ctrl+click is not opening the source
> 3) when typing the suggestion tooltip opens but shows only the "no 
> suggestion" text
> 4) choosing Navigate->Go to Source on a method does nothing



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3351) NullPointer opening web project

2019-11-07 Thread Nicola Mazzoni (Jira)


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

Nicola Mazzoni updated NETBEANS-3351:
-
Description: 
Hello,

opening a specific web project, NetBeans reports a blocking error and the 
project does not open. If I use netbeans 11.0 it works regularly

 

  was:
Hello,

opening a specific web project, NetBeans reports a blocking error and the 
project does not open. The same project opened normally until a few days ago

 


> NullPointer opening web project
> ---
>
> Key: NETBEANS-3351
> URL: https://issues.apache.org/jira/browse/NETBEANS-3351
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
>Reporter: Nicola Mazzoni
>Priority: Major
>
> Hello,
> opening a specific web project, NetBeans reports a blocking error and the 
> project does not open. If I use netbeans 11.0 it works regularly
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3352) ClassNotFoundException: com.sun.source.tree.Tree / DirectiveTree just after startup

2019-11-07 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3352:
-

The first error in the IDE log is about this not being found: 
C:\NetBeans\11.2\modules\ext\javafx-base-13-win.jar. 

Maybe you're reusing some old or corrupt user directory, just guessing, I don't 
know.

Could you restart with a fresh user directory and see if you still have this 
problem?

> ClassNotFoundException: com.sun.source.tree.Tree / DirectiveTree just after 
> startup
> ---
>
> Key: NETBEANS-3352
> URL: https://issues.apache.org/jira/browse/NETBEANS-3352
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10 Enterprise x64 v1809
> OpenJDK 64-Bit Server VM 13.0.1+9; AdoptOpenJDK
>Reporter: Tim Barrett
>Priority: Minor
> Attachments: IDE Log.txt, UI Log.txt
>
>
> Exceptions just after startup:
>  
> {{SEVERE [global]}}
> {{java.lang.ClassNotFoundException: com.sun.source.tree.Tree starting from 
> ModuleCL@6e2409c7[org.netbeans.libs.javacimpl] with possible defining loaders 
> null and declared parents [ModuleCL@583fcdc8[org.netbeans.libs.javacapi]]}}
> {{ at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:203)}}
> {{ at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)}}
> {{Caused: java.lang.NoClassDefFoundError: com/sun/source/tree/Tree}}
> {{ at java.base/java.lang.ClassLoader.defineClass1(Native Method)}}
> {{ at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)}}
> {{ at org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:286)}}
> {{ at org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:234)}}
> {{Caused: java.lang.NoClassDefFoundError: com/sun/source/tree/Tree while 
> loading com.sun.tools.javac.tree.JCTree; see 
> http://wiki.netbeans.org/DevFaqTroubleshootClassNotFound}}
> {{ at org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:238)}}
> {{ at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:162)}}
> {{ at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)}}
> {{ at java.base/java.lang.Class.forName0(Native Method)}}
> {{ at java.base/java.lang.Class.forName(Class.java:333)}}
> {{ at 
> org.netbeans.modules.java.source.NoJavacHelper.hasNbJavac(NoJavacHelper.java:56)}}
> {{ at 
> org.netbeans.modules.java.source.JBrowseModule.lambda$null$2(JBrowseModule.java:94)}}
> {{ at 
> org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1615)}}
> {{ at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)}}
> {{ at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)}}
> {{ at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)}}
> {{ at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)}}
> {{ at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:391)}}
> {{ at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)}}
> {{ at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)}}
> {{ at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)}}
> {{[catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)}}
> {{ at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)}}
> {{ at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)}}
> {{ at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)}}
> {{ at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)}}
> {{ at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)}}
>  
> Followed by:
>  
> {{INFO [org.netbeans.modules.editor.impl.ActionsList]: Can't instantiate 
> object}}
> {{java.lang.ClassNotFoundException: com.sun.source.util.TreePath starting 
> from ModuleCL@3f987385[org.netbeans.modules.java.hints] with possible 
> defining loaders null and declared parents 
> [ModuleCL@5d0bedd9[org.netbeans.modules.java.lexer], 
> ModuleCL@68cbc202[org.netbeans.modules.projectuiapi], 
> ModuleCL@15924010[org.netbeans.modules.editor.mimelookup], 
> ModuleCL@6e2409c7[org.netbeans.libs.javacimpl], 
> org.netbeans.JarClassLoader@7b0e8212, 
> ModuleCL@4415ee1b[org.netbeans.libs.lucene], 
> ModuleCL@45c3c349[org.netbeans.modules.java.platform], 
> ModuleCL@228dd8a2[org.openide.text], 
> ModuleCL@3cf000e6[org.netbeans.spi.editor.hints], 
> ModuleCL@4f420bb2[org.netbeans.api.annotations.common], ...40 more]}}
> {{ at org.netbeans.ProxyC

[jira] [Commented] (NETBEANS-3351) NullPointer opening web project

2019-11-07 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3351:
-

As a workaround, can you restart NetBeans with a fresh userdir and when/if the 
problem happens again, include the messages.log here. The location of the 
userdir is shown in the About box under Help.

> NullPointer opening web project
> ---
>
> Key: NETBEANS-3351
> URL: https://issues.apache.org/jira/browse/NETBEANS-3351
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
>Reporter: Nicola Mazzoni
>Priority: Major
>
> Hello,
> opening a specific web project, NetBeans reports a blocking error and the 
> project does not open. The same project opened normally until a few days ago
>  



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3352) ClassNotFoundException: com.sun.source.tree.Tree / DirectiveTree just after startup

2019-11-07 Thread Tim Barrett (Jira)
Tim Barrett created NETBEANS-3352:
-

 Summary: ClassNotFoundException: com.sun.source.tree.Tree / 
DirectiveTree just after startup
 Key: NETBEANS-3352
 URL: https://issues.apache.org/jira/browse/NETBEANS-3352
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.2
 Environment: Windows 10 Enterprise x64 v1809
OpenJDK 64-Bit Server VM 13.0.1+9; AdoptOpenJDK
Reporter: Tim Barrett
 Attachments: IDE Log.txt, UI Log.txt

Exceptions just after startup:

 

{{SEVERE [global]}}
{{java.lang.ClassNotFoundException: com.sun.source.tree.Tree starting from 
ModuleCL@6e2409c7[org.netbeans.libs.javacimpl] with possible defining loaders 
null and declared parents [ModuleCL@583fcdc8[org.netbeans.libs.javacapi]]}}
{{ at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:203)}}
{{ at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)}}
{{Caused: java.lang.NoClassDefFoundError: com/sun/source/tree/Tree}}
{{ at java.base/java.lang.ClassLoader.defineClass1(Native Method)}}
{{ at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)}}
{{ at org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:286)}}
{{ at org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:234)}}
{{Caused: java.lang.NoClassDefFoundError: com/sun/source/tree/Tree while 
loading com.sun.tools.javac.tree.JCTree; see 
http://wiki.netbeans.org/DevFaqTroubleshootClassNotFound}}
{{ at org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:238)}}
{{ at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:162)}}
{{ at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)}}
{{ at java.base/java.lang.Class.forName0(Native Method)}}
{{ at java.base/java.lang.Class.forName(Class.java:333)}}
{{ at 
org.netbeans.modules.java.source.NoJavacHelper.hasNbJavac(NoJavacHelper.java:56)}}
{{ at 
org.netbeans.modules.java.source.JBrowseModule.lambda$null$2(JBrowseModule.java:94)}}
{{ at 
org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1615)}}
{{ at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)}}
{{ at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)}}
{{ at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)}}
{{ at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)}}
{{ at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:391)}}
{{ at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)}}
{{ at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)}}
{{ at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)}}
{{[catch] at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)}}
{{ at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)}}
{{ at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)}}
{{ at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)}}
{{ at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)}}
{{ at 
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)}}

 

Followed by:

 

{{INFO [org.netbeans.modules.editor.impl.ActionsList]: Can't instantiate 
object}}
{{java.lang.ClassNotFoundException: com.sun.source.util.TreePath starting from 
ModuleCL@3f987385[org.netbeans.modules.java.hints] with possible defining 
loaders null and declared parents 
[ModuleCL@5d0bedd9[org.netbeans.modules.java.lexer], 
ModuleCL@68cbc202[org.netbeans.modules.projectuiapi], 
ModuleCL@15924010[org.netbeans.modules.editor.mimelookup], 
ModuleCL@6e2409c7[org.netbeans.libs.javacimpl], 
org.netbeans.JarClassLoader@7b0e8212, 
ModuleCL@4415ee1b[org.netbeans.libs.lucene], 
ModuleCL@45c3c349[org.netbeans.modules.java.platform], 
ModuleCL@228dd8a2[org.openide.text], 
ModuleCL@3cf000e6[org.netbeans.spi.editor.hints], 
ModuleCL@4f420bb2[org.netbeans.api.annotations.common], ...40 more]}}
{{ at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:203)}}
{{ at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)}}
{{Caused: java.lang.NoClassDefFoundError: com/sun/source/util/TreePath}}
{{ at java.base/java.lang.Class.getDeclaredMethods0(Native Method)}}
{{ at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3167)}}
{{ at java.base/java.lang.Class.getDeclaredMethod(Class.java:2474)}}
{{ at 
org.netbeans.core.startup.layers.BinaryFS$AttrImpl.methodValue(BinaryFS.java:755)}}
{{ at 
org.netbeans.core.startup.layers.BinaryFS$AttrImpl.getType(BinaryFS.java:701)}}
{{ at 
org.netbeans.core.startup.layers.BinaryFS$BFSBase.getAttribute(BinaryFS.java:487)}}
{{ at 
org.openide.filesystems.MultiFileObject.getAttribute(Mu

[jira] [Commented] (NETBEANS-3350) No suggestion, ctrl+click not working, navigator not populated

2019-11-07 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3350:
-

So, you're going to need to provide more info, otherwise no one can do anything 
with this.

Have you installed nb-javac or not, can you provide your messages.log file 
after reproducing this from scratch with a fresh userdir again, the 
messages.log file is in your user directory.

> No suggestion, ctrl+click not working, navigator not populated
> --
>
> Key: NETBEANS-3350
> URL: https://issues.apache.org/jira/browse/NETBEANS-3350
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10 pro workstation 64 bits on a Intel Xeon 
> E5-1630 with 32Gb memory 
>Reporter: giuseppe sgattoni
>Priority: Major
>
> After fist installation Netbeans 11.2 worked fine but from second usage :
> 1) when opening a java class the navigator is not populated with methods, 
> variabels etc.
> 2) ctrl+click is not opening the source
> 3) when typing the suggestion tooltip opens but shows only the "no 
> suggestion" text
> 4) choosing Navigate->Go to Source on a method does nothing



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3351) NullPointer opening web project

2019-11-07 Thread Nicola Mazzoni (Jira)
Nicola Mazzoni created NETBEANS-3351:


 Summary: NullPointer opening web project
 Key: NETBEANS-3351
 URL: https://issues.apache.org/jira/browse/NETBEANS-3351
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.2
Reporter: Nicola Mazzoni


Hello,

opening a specific web project, NetBeans reports a blocking error and the 
project does not open. The same project opened normally until a few days ago

 



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3335) NB 11.2 NullPointerException - Enter key doesn't work in editor in certain files

2019-11-07 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga edited comment on NETBEANS-3335 at 11/7/19 9:50 AM:
--

We're in discussion about exactly that now, and in fact the Gradle plugins have 
been updated in the 11.1 timeframe in exactly that way. You're really going to 
need to join the dev mailing list and participate there, see 
netbeans.apache.org.

Of course fixes can be delivered, we just need to determine how we do voting 
around that and that's what's being discussed on the dev mailing list.


was (Author: geertjanwielenga):
We're in discussion about exactly that now, and in fact the Gradle plugins have 
been updated in the 11.1 timeframe in exactly that way. You're really going to 
need to join the dev mailing list and participate there, see 
netbeans.apache.org.

> NB 11.2 NullPointerException - Enter key doesn't work in editor in certain 
> files
> 
>
> Key: NETBEANS-3335
> URL: https://issues.apache.org/jira/browse/NETBEANS-3335
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - HTML Editor
>Affects Versions: 11.2
> Environment: Windows 10 64-bit, JDK 11.0.1 and 13.0.1 
>Reporter: Michal Koscielny
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> I've just tried NetBeans 11.2 for PHP projects and this version appears to be 
> unusable for PHP due to lots of NPE errors, which in effect prevent the Enter 
> key from working in the editor. It looks like certain code structures trigger 
> the NPE's. So far I've come across them in js and tpl (Smarty) files. And I 
> have a way of reproducing the problem:
>  # Create a new PHP project or open an existing one.
>  # Create a new Smarty .tpl file (or open an existing one).
>  # In the editor paste this code:
> {code:java}
>  href="{url('new')}">{code}
>  # Try pressing Enter anywhere in the editor - an NPE comes up and the Enter 
> key does not work.
> There seem to be more code samples that trigger the error but for now I'm 
> reporting the first one that caught my attention. Here is the error:
> {code:java}
> java.lang.NullPointerExceptionjava.lang.NullPointerException at 
> org.netbeans.lib.html.lexer.HtmlLexer.equals(HtmlLexer.java:1557) at 
> org.netbeans.lib.html.lexer.HtmlLexer.nextToken(HtmlLexer.java:1051) at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>  at 
> org.netbeans.lib.lexer.BatchTokenList.tokenOrEmbeddingImpl(BatchTokenList.java:171)
>  at org.netbeans.lib.lexer.BatchTokenList.tokenCount(BatchTokenList.java:122) 
> at org.netbeans.api.lexer.TokenSequence.moveEnd(TokenSequence.java:607) at 
> org.netbeans.modules.html.editor.lib.ElementsParser.forTokenIndex(ElementsParser.java:106)
>  at 
> org.netbeans.modules.html.editor.lib.api.elements.ElementsIterator.(ElementsIterator.java:63)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.(SyntaxAnalyzer.java:57)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.create(SyntaxAnalyzer.java:53)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndenter.(HtmlIndenter.java:63)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTask.(HtmlIndentTask.java:40)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTaskFactory.createTask(HtmlIndentTaskFactory.java:32)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.createTask(TaskHandler.java:531)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler.addItem(TaskHandler.java:315) 
> at 
> org.netbeans.modules.editor.indent.TaskHandler.collectTasks(TaskHandler.java:133)
>  at 
> org.netbeans.modules.editor.indent.IndentImpl.indentLock(IndentImpl.java:136) 
> at org.netbeans.modules.editor.indent.api.Indent.lock(Indent.java:91) at 
> org.netbeans.editor.BaseKit$InsertBreakAction.actionPerformed(BaseKit.java:1518)
>  at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:322) at 
> java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810)
>  at 
> java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900) 
> at 
> java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2948) 
> at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862) 
> at java.desktop/java.awt.Component.processEvent(Component.java:6413) at 
> java.desktop/java.awt.Container.processEvent(Container.java:2263) at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012) at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at 
> java.desktop/java.awt.Component.dispatchEvent(Component.java:4844) at 
> j

[jira] [Commented] (NETBEANS-3335) NB 11.2 NullPointerException - Enter key doesn't work in editor in certain files

2019-11-07 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3335:
-

We're in discussion about exactly that now, and in fact the Gradle plugins have 
been updated in the 11.1 timeframe in exactly that way. You're really going to 
need to join the dev mailing list and participate there, see 
netbeans.apache.org.

> NB 11.2 NullPointerException - Enter key doesn't work in editor in certain 
> files
> 
>
> Key: NETBEANS-3335
> URL: https://issues.apache.org/jira/browse/NETBEANS-3335
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - HTML Editor
>Affects Versions: 11.2
> Environment: Windows 10 64-bit, JDK 11.0.1 and 13.0.1 
>Reporter: Michal Koscielny
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> I've just tried NetBeans 11.2 for PHP projects and this version appears to be 
> unusable for PHP due to lots of NPE errors, which in effect prevent the Enter 
> key from working in the editor. It looks like certain code structures trigger 
> the NPE's. So far I've come across them in js and tpl (Smarty) files. And I 
> have a way of reproducing the problem:
>  # Create a new PHP project or open an existing one.
>  # Create a new Smarty .tpl file (or open an existing one).
>  # In the editor paste this code:
> {code:java}
>  href="{url('new')}">{code}
>  # Try pressing Enter anywhere in the editor - an NPE comes up and the Enter 
> key does not work.
> There seem to be more code samples that trigger the error but for now I'm 
> reporting the first one that caught my attention. Here is the error:
> {code:java}
> java.lang.NullPointerExceptionjava.lang.NullPointerException at 
> org.netbeans.lib.html.lexer.HtmlLexer.equals(HtmlLexer.java:1557) at 
> org.netbeans.lib.html.lexer.HtmlLexer.nextToken(HtmlLexer.java:1051) at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>  at 
> org.netbeans.lib.lexer.BatchTokenList.tokenOrEmbeddingImpl(BatchTokenList.java:171)
>  at org.netbeans.lib.lexer.BatchTokenList.tokenCount(BatchTokenList.java:122) 
> at org.netbeans.api.lexer.TokenSequence.moveEnd(TokenSequence.java:607) at 
> org.netbeans.modules.html.editor.lib.ElementsParser.forTokenIndex(ElementsParser.java:106)
>  at 
> org.netbeans.modules.html.editor.lib.api.elements.ElementsIterator.(ElementsIterator.java:63)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.(SyntaxAnalyzer.java:57)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.create(SyntaxAnalyzer.java:53)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndenter.(HtmlIndenter.java:63)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTask.(HtmlIndentTask.java:40)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTaskFactory.createTask(HtmlIndentTaskFactory.java:32)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.createTask(TaskHandler.java:531)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler.addItem(TaskHandler.java:315) 
> at 
> org.netbeans.modules.editor.indent.TaskHandler.collectTasks(TaskHandler.java:133)
>  at 
> org.netbeans.modules.editor.indent.IndentImpl.indentLock(IndentImpl.java:136) 
> at org.netbeans.modules.editor.indent.api.Indent.lock(Indent.java:91) at 
> org.netbeans.editor.BaseKit$InsertBreakAction.actionPerformed(BaseKit.java:1518)
>  at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:322) at 
> java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810)
>  at 
> java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900) 
> at 
> java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2948) 
> at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862) 
> at java.desktop/java.awt.Component.processEvent(Component.java:6413) at 
> java.desktop/java.awt.Container.processEvent(Container.java:2263) at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012) at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at 
> java.desktop/java.awt.Component.dispatchEvent(Component.java:4844) at 
> java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
>  at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
>  at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
>  at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
>  at 
> java.desktop/java.awt.Defaul

[jira] [Created] (NETBEANS-3350) No suggestion, ctrl+click not working, navigator not populated

2019-11-07 Thread giuseppe sgattoni (Jira)
giuseppe sgattoni created NETBEANS-3350:
---

 Summary: No suggestion, ctrl+click not working, navigator not 
populated
 Key: NETBEANS-3350
 URL: https://issues.apache.org/jira/browse/NETBEANS-3350
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.2
 Environment: Windows 10 pro workstation 64 bits on a Intel Xeon 
E5-1630 with 32Gb memory 
Reporter: giuseppe sgattoni


After fist installation Netbeans 11.2 worked fine but from second usage :

1) when opening a java class the navigator is not populated with methods, 
variabels etc.

2) ctrl+click is not opening the source

3) when typing the suggestion tooltip opens but shows only the "no suggestion" 
text

4) choosing Navigate->Go to Source on a method does nothing



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3335) NB 11.2 NullPointerException - Enter key doesn't work in editor in certain files

2019-11-07 Thread Czukowski (Jira)


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

Czukowski commented on NETBEANS-3335:
-

Please forgive me my ignorance, I've only started reading dev list fairly 
recently, but I recall there used to be a process of delivering updates of any 
individual NetBeans modules, or so it would seem to me. My guess is that 
currently it's not being used due to that release-voting thing that must be 
done every time. May I ask for a link where I could learn more about it or 
whether there are any plans on bringing it back? Because having an auto updater 
in place would be of a tremendous help in situations just like this, if a fix 
could be easily delivered to the users, not mentioning the much more confidence 
it would give the developers to bring in new features :)

> NB 11.2 NullPointerException - Enter key doesn't work in editor in certain 
> files
> 
>
> Key: NETBEANS-3335
> URL: https://issues.apache.org/jira/browse/NETBEANS-3335
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - HTML Editor
>Affects Versions: 11.2
> Environment: Windows 10 64-bit, JDK 11.0.1 and 13.0.1 
>Reporter: Michal Koscielny
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> I've just tried NetBeans 11.2 for PHP projects and this version appears to be 
> unusable for PHP due to lots of NPE errors, which in effect prevent the Enter 
> key from working in the editor. It looks like certain code structures trigger 
> the NPE's. So far I've come across them in js and tpl (Smarty) files. And I 
> have a way of reproducing the problem:
>  # Create a new PHP project or open an existing one.
>  # Create a new Smarty .tpl file (or open an existing one).
>  # In the editor paste this code:
> {code:java}
>  href="{url('new')}">{code}
>  # Try pressing Enter anywhere in the editor - an NPE comes up and the Enter 
> key does not work.
> There seem to be more code samples that trigger the error but for now I'm 
> reporting the first one that caught my attention. Here is the error:
> {code:java}
> java.lang.NullPointerExceptionjava.lang.NullPointerException at 
> org.netbeans.lib.html.lexer.HtmlLexer.equals(HtmlLexer.java:1557) at 
> org.netbeans.lib.html.lexer.HtmlLexer.nextToken(HtmlLexer.java:1051) at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>  at 
> org.netbeans.lib.lexer.BatchTokenList.tokenOrEmbeddingImpl(BatchTokenList.java:171)
>  at org.netbeans.lib.lexer.BatchTokenList.tokenCount(BatchTokenList.java:122) 
> at org.netbeans.api.lexer.TokenSequence.moveEnd(TokenSequence.java:607) at 
> org.netbeans.modules.html.editor.lib.ElementsParser.forTokenIndex(ElementsParser.java:106)
>  at 
> org.netbeans.modules.html.editor.lib.api.elements.ElementsIterator.(ElementsIterator.java:63)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.(SyntaxAnalyzer.java:57)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.create(SyntaxAnalyzer.java:53)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndenter.(HtmlIndenter.java:63)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTask.(HtmlIndentTask.java:40)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTaskFactory.createTask(HtmlIndentTaskFactory.java:32)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.createTask(TaskHandler.java:531)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler.addItem(TaskHandler.java:315) 
> at 
> org.netbeans.modules.editor.indent.TaskHandler.collectTasks(TaskHandler.java:133)
>  at 
> org.netbeans.modules.editor.indent.IndentImpl.indentLock(IndentImpl.java:136) 
> at org.netbeans.modules.editor.indent.api.Indent.lock(Indent.java:91) at 
> org.netbeans.editor.BaseKit$InsertBreakAction.actionPerformed(BaseKit.java:1518)
>  at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:322) at 
> java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810)
>  at 
> java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900) 
> at 
> java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2948) 
> at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862) 
> at java.desktop/java.awt.Component.processEvent(Component.java:6413) at 
> java.desktop/java.awt.Container.processEvent(Container.java:2263) at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012) at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at 
> java.desktop/java.awt.Component.dispatchEvent(Component.java:4844) at 
> java.desktop/java.awt.KeyboardFocusManager.redispatchEvent

[jira] [Comment Edited] (NETBEANS-3335) NB 11.2 NullPointerException - Enter key doesn't work in editor in certain files

2019-11-07 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto edited comment on NETBEANS-3335 at 11/7/19 9:27 AM:
-

Could you please subscribe to the mailing lists if possible? Information for 
beta versions is announced via the mailing list. e.g. 
([https://lists.apache.org/thread.html/74f3ea06cbe69c9669b30be9b2f41e90101b17acebfd9ecea28e6ca5@%3Cdev.netbeans.apache.org%3E])

As Geertjan wrote, you can run it on windows (e.g. see 
/path/to/netbeans-11.2-beta2-bin/netbeans/bin/netbeans64.exe)

Mailing lists: [https://netbeans.apache.org/community/mailing-lists.html]


was (Author: junichi11):
Could you please subscribe to the mailing lists if possible? Information for 
beta versions is announced via the mailing list. e.g. 
([https://lists.apache.org/thread.html/74f3ea06cbe69c9669b30be9b2f41e90101b17acebfd9ecea28e6ca5@%3Cdev.netbeans.apache.org%3E])

As Geertjan wrote, you can run it on windows (e.g. see 
/path/to/netbeans-11.2-beta2-bin/netbeans/bin/netbeans64.exe)

> NB 11.2 NullPointerException - Enter key doesn't work in editor in certain 
> files
> 
>
> Key: NETBEANS-3335
> URL: https://issues.apache.org/jira/browse/NETBEANS-3335
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - HTML Editor
>Affects Versions: 11.2
> Environment: Windows 10 64-bit, JDK 11.0.1 and 13.0.1 
>Reporter: Michal Koscielny
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> I've just tried NetBeans 11.2 for PHP projects and this version appears to be 
> unusable for PHP due to lots of NPE errors, which in effect prevent the Enter 
> key from working in the editor. It looks like certain code structures trigger 
> the NPE's. So far I've come across them in js and tpl (Smarty) files. And I 
> have a way of reproducing the problem:
>  # Create a new PHP project or open an existing one.
>  # Create a new Smarty .tpl file (or open an existing one).
>  # In the editor paste this code:
> {code:java}
>  href="{url('new')}">{code}
>  # Try pressing Enter anywhere in the editor - an NPE comes up and the Enter 
> key does not work.
> There seem to be more code samples that trigger the error but for now I'm 
> reporting the first one that caught my attention. Here is the error:
> {code:java}
> java.lang.NullPointerExceptionjava.lang.NullPointerException at 
> org.netbeans.lib.html.lexer.HtmlLexer.equals(HtmlLexer.java:1557) at 
> org.netbeans.lib.html.lexer.HtmlLexer.nextToken(HtmlLexer.java:1051) at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>  at 
> org.netbeans.lib.lexer.BatchTokenList.tokenOrEmbeddingImpl(BatchTokenList.java:171)
>  at org.netbeans.lib.lexer.BatchTokenList.tokenCount(BatchTokenList.java:122) 
> at org.netbeans.api.lexer.TokenSequence.moveEnd(TokenSequence.java:607) at 
> org.netbeans.modules.html.editor.lib.ElementsParser.forTokenIndex(ElementsParser.java:106)
>  at 
> org.netbeans.modules.html.editor.lib.api.elements.ElementsIterator.(ElementsIterator.java:63)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.(SyntaxAnalyzer.java:57)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.create(SyntaxAnalyzer.java:53)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndenter.(HtmlIndenter.java:63)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTask.(HtmlIndentTask.java:40)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTaskFactory.createTask(HtmlIndentTaskFactory.java:32)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.createTask(TaskHandler.java:531)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler.addItem(TaskHandler.java:315) 
> at 
> org.netbeans.modules.editor.indent.TaskHandler.collectTasks(TaskHandler.java:133)
>  at 
> org.netbeans.modules.editor.indent.IndentImpl.indentLock(IndentImpl.java:136) 
> at org.netbeans.modules.editor.indent.api.Indent.lock(Indent.java:91) at 
> org.netbeans.editor.BaseKit$InsertBreakAction.actionPerformed(BaseKit.java:1518)
>  at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:322) at 
> java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810)
>  at 
> java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900) 
> at 
> java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2948) 
> at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862) 
> at java.desktop/java.awt.Component.processEvent(Component.java:6413) at 
> java.desktop/java.awt.Container.processEvent(Container.java:2263) at 
> java.desktop/java.awt.Component.dispatch

[jira] [Commented] (NETBEANS-3335) NB 11.2 NullPointerException - Enter key doesn't work in editor in certain files

2019-11-07 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-3335:


Could you please subscribe to the mailing lists if possible? Information for 
beta versions is announced via the mailing list. e.g. 
([https://lists.apache.org/thread.html/74f3ea06cbe69c9669b30be9b2f41e90101b17acebfd9ecea28e6ca5@%3Cdev.netbeans.apache.org%3E])

As Geertjan wrote, you can run it on windows (e.g. see 
/path/to/netbeans-11.2-beta2-bin/netbeans/bin/netbeans64.exe)

> NB 11.2 NullPointerException - Enter key doesn't work in editor in certain 
> files
> 
>
> Key: NETBEANS-3335
> URL: https://issues.apache.org/jira/browse/NETBEANS-3335
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - HTML Editor
>Affects Versions: 11.2
> Environment: Windows 10 64-bit, JDK 11.0.1 and 13.0.1 
>Reporter: Michal Koscielny
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> I've just tried NetBeans 11.2 for PHP projects and this version appears to be 
> unusable for PHP due to lots of NPE errors, which in effect prevent the Enter 
> key from working in the editor. It looks like certain code structures trigger 
> the NPE's. So far I've come across them in js and tpl (Smarty) files. And I 
> have a way of reproducing the problem:
>  # Create a new PHP project or open an existing one.
>  # Create a new Smarty .tpl file (or open an existing one).
>  # In the editor paste this code:
> {code:java}
>  href="{url('new')}">{code}
>  # Try pressing Enter anywhere in the editor - an NPE comes up and the Enter 
> key does not work.
> There seem to be more code samples that trigger the error but for now I'm 
> reporting the first one that caught my attention. Here is the error:
> {code:java}
> java.lang.NullPointerExceptionjava.lang.NullPointerException at 
> org.netbeans.lib.html.lexer.HtmlLexer.equals(HtmlLexer.java:1557) at 
> org.netbeans.lib.html.lexer.HtmlLexer.nextToken(HtmlLexer.java:1051) at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>  at 
> org.netbeans.lib.lexer.BatchTokenList.tokenOrEmbeddingImpl(BatchTokenList.java:171)
>  at org.netbeans.lib.lexer.BatchTokenList.tokenCount(BatchTokenList.java:122) 
> at org.netbeans.api.lexer.TokenSequence.moveEnd(TokenSequence.java:607) at 
> org.netbeans.modules.html.editor.lib.ElementsParser.forTokenIndex(ElementsParser.java:106)
>  at 
> org.netbeans.modules.html.editor.lib.api.elements.ElementsIterator.(ElementsIterator.java:63)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.(SyntaxAnalyzer.java:57)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.create(SyntaxAnalyzer.java:53)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndenter.(HtmlIndenter.java:63)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTask.(HtmlIndentTask.java:40)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTaskFactory.createTask(HtmlIndentTaskFactory.java:32)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.createTask(TaskHandler.java:531)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler.addItem(TaskHandler.java:315) 
> at 
> org.netbeans.modules.editor.indent.TaskHandler.collectTasks(TaskHandler.java:133)
>  at 
> org.netbeans.modules.editor.indent.IndentImpl.indentLock(IndentImpl.java:136) 
> at org.netbeans.modules.editor.indent.api.Indent.lock(Indent.java:91) at 
> org.netbeans.editor.BaseKit$InsertBreakAction.actionPerformed(BaseKit.java:1518)
>  at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:322) at 
> java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810)
>  at 
> java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900) 
> at 
> java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2948) 
> at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862) 
> at java.desktop/java.awt.Component.processEvent(Component.java:6413) at 
> java.desktop/java.awt.Container.processEvent(Container.java:2263) at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012) at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at 
> java.desktop/java.awt.Component.dispatchEvent(Component.java:4844) at 
> java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
>  at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
>  at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
>  at 
> java.desktop

[jira] [Commented] (NETBEANS-3335) NB 11.2 NullPointerException - Enter key doesn't work in editor in certain files

2019-11-07 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-3335:
-

https://builds.apache.org/job/netbeans-linux/

They're right there. Yes, the 'linux' part just means that the build was done 
on Linux, which doesn't mean anything other than that you can run it on 
Windows, Mac OSX, Linux, etc.

> NB 11.2 NullPointerException - Enter key doesn't work in editor in certain 
> files
> 
>
> Key: NETBEANS-3335
> URL: https://issues.apache.org/jira/browse/NETBEANS-3335
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - HTML Editor
>Affects Versions: 11.2
> Environment: Windows 10 64-bit, JDK 11.0.1 and 13.0.1 
>Reporter: Michal Koscielny
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> I've just tried NetBeans 11.2 for PHP projects and this version appears to be 
> unusable for PHP due to lots of NPE errors, which in effect prevent the Enter 
> key from working in the editor. It looks like certain code structures trigger 
> the NPE's. So far I've come across them in js and tpl (Smarty) files. And I 
> have a way of reproducing the problem:
>  # Create a new PHP project or open an existing one.
>  # Create a new Smarty .tpl file (or open an existing one).
>  # In the editor paste this code:
> {code:java}
>  href="{url('new')}">{code}
>  # Try pressing Enter anywhere in the editor - an NPE comes up and the Enter 
> key does not work.
> There seem to be more code samples that trigger the error but for now I'm 
> reporting the first one that caught my attention. Here is the error:
> {code:java}
> java.lang.NullPointerExceptionjava.lang.NullPointerException at 
> org.netbeans.lib.html.lexer.HtmlLexer.equals(HtmlLexer.java:1557) at 
> org.netbeans.lib.html.lexer.HtmlLexer.nextToken(HtmlLexer.java:1051) at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>  at 
> org.netbeans.lib.lexer.BatchTokenList.tokenOrEmbeddingImpl(BatchTokenList.java:171)
>  at org.netbeans.lib.lexer.BatchTokenList.tokenCount(BatchTokenList.java:122) 
> at org.netbeans.api.lexer.TokenSequence.moveEnd(TokenSequence.java:607) at 
> org.netbeans.modules.html.editor.lib.ElementsParser.forTokenIndex(ElementsParser.java:106)
>  at 
> org.netbeans.modules.html.editor.lib.api.elements.ElementsIterator.(ElementsIterator.java:63)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.(SyntaxAnalyzer.java:57)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.create(SyntaxAnalyzer.java:53)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndenter.(HtmlIndenter.java:63)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTask.(HtmlIndentTask.java:40)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTaskFactory.createTask(HtmlIndentTaskFactory.java:32)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.createTask(TaskHandler.java:531)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler.addItem(TaskHandler.java:315) 
> at 
> org.netbeans.modules.editor.indent.TaskHandler.collectTasks(TaskHandler.java:133)
>  at 
> org.netbeans.modules.editor.indent.IndentImpl.indentLock(IndentImpl.java:136) 
> at org.netbeans.modules.editor.indent.api.Indent.lock(Indent.java:91) at 
> org.netbeans.editor.BaseKit$InsertBreakAction.actionPerformed(BaseKit.java:1518)
>  at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:322) at 
> java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810)
>  at 
> java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900) 
> at 
> java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2948) 
> at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862) 
> at java.desktop/java.awt.Component.processEvent(Component.java:6413) at 
> java.desktop/java.awt.Container.processEvent(Container.java:2263) at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012) at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at 
> java.desktop/java.awt.Component.dispatchEvent(Component.java:4844) at 
> java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
>  at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
>  at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
>  at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
>  at 
> java.desktop/java.awt.DefaultKeyboardFocusM

[jira] [Commented] (NETBEANS-3335) NB 11.2 NullPointerException - Enter key doesn't work in editor in certain files

2019-11-07 Thread Michal Koscielny (Jira)


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

Michal Koscielny commented on NETBEANS-3335:


It's a valid point and I was just thinking about beta versions and I think the 
problem is that now it's difficult to find beta builds, at least I'm not able 
to find any windows binaries apart from the final releases. The download page 
points me to https://builds.apache.org/job/netbeans-windows/ but I'm lost there 
as I can't find any downloads. I'm not much into java development and building 
from source is too much for me.

When Netbeans was under the Oracle infrastructure it was organized very well - 
the beta, RC and dev builds were all easily available from the official web 
site and the beta/RC were even advertised on the home page so I could easily 
spot them and install them immediately. Back then I often used dev and beta 
builds - actually, I was using them more often than the final releases because 
I enjoyed using all the new features. Finding bugs was very simple with that 
kind of infrastructure. Now, even when I saw a blog post about new PHP features 
that landed in NB I didn't know how to test them because I was again let to the 
https://builds.apache.org/ site where I couldn't find anything to download.

I admit this is a big problem since bugs like these shouldn't ever leak into 
final releases as they make them effectively unusable. Please consider making 
the pre-release builds more easily available and/or discoverable for normal 
users so that we can use and test them. I don't know if such releases even 
exist in binary form - maybe they do and I simply missed something obvious?

> NB 11.2 NullPointerException - Enter key doesn't work in editor in certain 
> files
> 
>
> Key: NETBEANS-3335
> URL: https://issues.apache.org/jira/browse/NETBEANS-3335
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - HTML Editor
>Affects Versions: 11.2
> Environment: Windows 10 64-bit, JDK 11.0.1 and 13.0.1 
>Reporter: Michal Koscielny
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> I've just tried NetBeans 11.2 for PHP projects and this version appears to be 
> unusable for PHP due to lots of NPE errors, which in effect prevent the Enter 
> key from working in the editor. It looks like certain code structures trigger 
> the NPE's. So far I've come across them in js and tpl (Smarty) files. And I 
> have a way of reproducing the problem:
>  # Create a new PHP project or open an existing one.
>  # Create a new Smarty .tpl file (or open an existing one).
>  # In the editor paste this code:
> {code:java}
>  href="{url('new')}">{code}
>  # Try pressing Enter anywhere in the editor - an NPE comes up and the Enter 
> key does not work.
> There seem to be more code samples that trigger the error but for now I'm 
> reporting the first one that caught my attention. Here is the error:
> {code:java}
> java.lang.NullPointerExceptionjava.lang.NullPointerException at 
> org.netbeans.lib.html.lexer.HtmlLexer.equals(HtmlLexer.java:1557) at 
> org.netbeans.lib.html.lexer.HtmlLexer.nextToken(HtmlLexer.java:1051) at 
> org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191)
>  at 
> org.netbeans.lib.lexer.BatchTokenList.tokenOrEmbeddingImpl(BatchTokenList.java:171)
>  at org.netbeans.lib.lexer.BatchTokenList.tokenCount(BatchTokenList.java:122) 
> at org.netbeans.api.lexer.TokenSequence.moveEnd(TokenSequence.java:607) at 
> org.netbeans.modules.html.editor.lib.ElementsParser.forTokenIndex(ElementsParser.java:106)
>  at 
> org.netbeans.modules.html.editor.lib.api.elements.ElementsIterator.(ElementsIterator.java:63)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.(SyntaxAnalyzer.java:57)
>  at 
> org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzer.create(SyntaxAnalyzer.java:53)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndenter.(HtmlIndenter.java:63)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTask.(HtmlIndentTask.java:40)
>  at 
> org.netbeans.modules.html.editor.indent.HtmlIndentTaskFactory.createTask(HtmlIndentTaskFactory.java:32)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.createTask(TaskHandler.java:531)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler.addItem(TaskHandler.java:315) 
> at 
> org.netbeans.modules.editor.indent.TaskHandler.collectTasks(TaskHandler.java:133)
>  at 
> org.netbeans.modules.editor.indent.IndentImpl.indentLock(IndentImpl.java:136) 
> at org.netbeans.modules.editor.indent.api.Indent.lock(Indent.java:91) at 
> org.netbeans.editor.BaseKit$InsertBreakAction.actionPerformed(Bas

[jira] [Commented] (NETBEANS-3339) "Go to Symbol" does nothing

2019-11-07 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-3339:


[~dusty] If you don't mind about specific versions, you can use a development 
version: 
[https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/lastSuccessfulBuild/artifact/nbbuild/]

> "Go to Symbol" does nothing
> ---
>
> Key: NETBEANS-3339
> URL: https://issues.apache.org/jira/browse/NETBEANS-3339
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Navigation
>Affects Versions: 11.2
> Environment: Ubuntu, Netbeans 11.2 over JDK 11
>Reporter: Alessandro Polverini
>Priority: Major
> Fix For: 11.3
>
>
> If I open the Go to Sumbol panel (ctrl+alt+shift+O) and I start entering the 
> name of a symbol I correctly see the filtered one matching, but double 
> clicking one of them or pressing return just closes the window and nothing 
> else happens.



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

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

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



[jira] [Updated] (NETBEANS-3349) Cannot use Elements.getTypeElement before the TaskEvent.Kind.ENTER finished event.

2019-11-07 Thread Jira


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

Tomáš Poledný updated NETBEANS-3349:

Environment: Windows 10, AdoptOpenJDK 11  (was: Windows 10)

> Cannot use Elements.getTypeElement before the TaskEvent.Kind.ENTER finished 
> event.
> --
>
> Key: NETBEANS-3349
> URL: https://issues.apache.org/jira/browse/NETBEANS-3349
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor, java - Hints
>Affects Versions: 11.2
> Environment: Windows 10, AdoptOpenJDK 11
>Reporter: Tomáš Poledný
>Priority: Critical
>
> Hi,
> I have problem with Java hints from upgrade to Netbeans 11.2. It looks like 
> some problem with nb-javac. It is big problem because I am not able show hint 
> dialog when I press `Alt` + `Enter`.  My OS is Windows 10.
> {noformat}
> java.lang.IllegalStateException: Cannot use Elements.getTypeElement before 
> the TaskEvent.Kind.ENTER finished event.
>   at 
> com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:891)
>   at 
> com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:171)
>   at 
> com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:160)
>   at 
> com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:85)
>   at 
> org.netbeans.modules.java.hints.spiimpl.Hacks.parseFQNType(Hacks.java:150)
>   at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:525)
>   at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeSuggestions(HintsInvoker.java:450)
>   at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:221)
>   at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:193)
>   at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:166)
>   at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:128)
>   at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:114)
>   at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>   at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>   at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> {noformat}



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3349) Cannot use Elements.getTypeElement before the TaskEvent.Kind.ENTER finished event.

2019-11-07 Thread Jira


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

Tomáš Poledný updated NETBEANS-3349:

Environment: Windows 10

> Cannot use Elements.getTypeElement before the TaskEvent.Kind.ENTER finished 
> event.
> --
>
> Key: NETBEANS-3349
> URL: https://issues.apache.org/jira/browse/NETBEANS-3349
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor, java - Hints
>Affects Versions: 11.2
> Environment: Windows 10
>Reporter: Tomáš Poledný
>Priority: Critical
>
> Hi,
> I have problem with Java hints from upgrade to Netbeans 11.2. It looks like 
> some problem with nb-javac. It is big problem because I am not able show hint 
> dialog when I press `Alt` + `Enter`.  My OS is Windows 10.
> {noformat}
> java.lang.IllegalStateException: Cannot use Elements.getTypeElement before 
> the TaskEvent.Kind.ENTER finished event.
>   at 
> com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:891)
>   at 
> com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:171)
>   at 
> com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:160)
>   at 
> com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:85)
>   at 
> org.netbeans.modules.java.hints.spiimpl.Hacks.parseFQNType(Hacks.java:150)
>   at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:525)
>   at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeSuggestions(HintsInvoker.java:450)
>   at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:221)
>   at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:193)
>   at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:166)
>   at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:128)
>   at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:114)
>   at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>   at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>   at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> {noformat}



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-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-3349) Cannot use Elements.getTypeElement before the TaskEvent.Kind.ENTER finished event.

2019-11-07 Thread Jira
Tomáš Poledný created NETBEANS-3349:
---

 Summary: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.
 Key: NETBEANS-3349
 URL: https://issues.apache.org/jira/browse/NETBEANS-3349
 Project: NetBeans
  Issue Type: Bug
  Components: java - Editor, java - Hints
Affects Versions: 11.2
Reporter: Tomáš Poledný


Hi,
I have problem with Java hints from upgrade to Netbeans 11.2. It looks like 
some problem with nb-javac. It is big problem because I am not able show hint 
dialog when I press `Alt` + `Enter`.  My OS is Windows 10.
{noformat}
java.lang.IllegalStateException: Cannot use Elements.getTypeElement before the 
TaskEvent.Kind.ENTER finished event.
at 
com.sun.tools.javac.model.JavacElements.ensureEntered(JavacElements.java:891)
at 
com.sun.tools.javac.model.JavacElements.doGetTypeElement(JavacElements.java:171)
at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:160)
at 
com.sun.tools.javac.model.JavacElements.getTypeElement(JavacElements.java:85)
at 
org.netbeans.modules.java.hints.spiimpl.Hacks.parseFQNType(Hacks.java:150)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:525)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeSuggestions(HintsInvoker.java:450)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:221)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:193)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:166)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:128)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:114)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)
[catch] at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

{noformat}




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

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

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