[jira] [Created] (NETBEANS-5880) Exception notifications: org.netbeans.modules.parsing.spi.ParseException

2021-07-26 Thread Martin (Jira)
Martin created NETBEANS-5880:


 Summary: Exception notifications: 
org.netbeans.modules.parsing.spi.ParseException
 Key: NETBEANS-5880
 URL: https://issues.apache.org/jira/browse/NETBEANS-5880
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.4
 Environment: ubuntu budgie 21

openjdk 16

gradle 7
Reporter: Martin
 Attachments: ex1.txt

Notifications window shows warning.

 I think caused when using "show all usages"

 

org.netbeans.modules.parsing.spi.ParseException: The file Fake.java in 
MemoryFileSystem is not owned by provided classpaths,

 

Exception is attached



--
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-5881) Exception notification: java.util.ConcurrentModificationException (2)

2021-07-26 Thread Martin (Jira)
Martin created NETBEANS-5881:


 Summary: Exception notification: 
java.util.ConcurrentModificationException (2)
 Key: NETBEANS-5881
 URL: https://issues.apache.org/jira/browse/NETBEANS-5881
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.4
 Environment: Ubuntu Budgie 21

openjdk 16

gradle 7
Reporter: Martin
 Attachments: ex2.txt

Notifications Window shows exception:

 

java.util.ConcurrentModificationException: Caller uses obsolete token sequence 
which is no longer valid. Underlying token hierarchy has been modified by 
insertion or removal or a custom language embedding was 
created.TS.modCount=181, tokenList.modCount()=182, rootModCount=182
Please report a bug against a module that calls lexer's code e.g. java, php 
etc. but not the lexer module itself.
 at org.netbeans.api.lexer.TokenSequence.checkValid(TokenSequence.java:784)
 at org.netbeans.api.lexer.TokenSequence.moveIndex(TokenSequence.java:568)
 at 
org.netbeans.modules.java.editor.base.semantic.TokenList.resetToIndex(TokenList.jav



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

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

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



[netbeans] branch master updated: Jakarta EE 9 GlassFish 6 Support (#2902)

2021-07-26 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new ca39b72  Jakarta EE 9 GlassFish 6 Support (#2902)
ca39b72 is described below

commit ca39b72572c3efe9e0340664f8f107d392ad2605
Author: Josh Juneau 
AuthorDate: Mon Jul 26 08:45:44 2021 -0500

Jakarta EE 9 GlassFish 6 Support (#2902)

* Jakarta EE 9 GlassFish 6 Support
* Repair GlassfishWizardProvider createJakartaEe91 method and 
jakartaee9-doc-api.jar
---
 .../org-netbeans-modules-glassfish-common.sig  |  4 +-
 .../modules/glassfish/common/Bundle.properties |  1 +
 .../common/GlassfishInstanceProvider.java  |  2 +
 .../modules/glassfish/common/ServerDetails.java| 19 +-
 .../common/registration/AutomaticRegistration.java |  3 +
 .../glassfish/common/wizards/Bundle.properties |  5 +-
 .../common/wizards/GlassfishWizardProvider.java|  7 +++
 .../modules/glassfish/spi/ServerUtilities.java |  6 ++
 .../api/config/GlassfishConfiguration.java |  5 +-
 .../javaee/AbstractHk2ConfigurationFactory.java|  9 ++-
 .../modules/glassfish/javaee/Bundle.properties |  2 +
 .../glassfish/javaee/Hk2DeploymentFactory.java | 18 ++
 .../glassfish/javaee/Hk2JavaEEPlatformFactory.java | 15 -
 .../glassfish/javaee/Hk2OptionalFactory.java   |  6 ++
 .../netbeans/modules/glassfish/javaee/layer.xml| 71 --
 .../modules/glassfish/javaee/nbdepjakartaee91.xml  | 54 
 .../org-netbeans-modules-glassfish-tooling.sig |  3 +-
 .../glassfish/tooling/data/GlassFishVersion.java   | 11 +++-
 .../server/config/ConfigBuilderProvider.java   | 18 --
 .../tooling/server/config/GlassFishV6.xml  |  2 +-
 .../{GlassFishV6.xml => GlassFishV6_1_0.xml}   |  6 +-
 .../tooling/server/config/JavaEEProfile.java   |  2 +-
 .../modules/j2ee/deployment/impl/layer.xml |  1 +
 .../modules/maven/j2ee/JavaEEMavenTestBase.java|  1 +
 .../modules/web/jsf/JSFFrameworkProvider.java  |  2 +-
 25 files changed, 244 insertions(+), 29 deletions(-)

diff --git 
a/enterprise/glassfish.common/nbproject/org-netbeans-modules-glassfish-common.sig
 
b/enterprise/glassfish.common/nbproject/org-netbeans-modules-glassfish-common.sig
index f46bf2c..1bdfa38 100644
--- 
a/enterprise/glassfish.common/nbproject/org-netbeans-modules-glassfish-common.sig
+++ 
b/enterprise/glassfish.common/nbproject/org-netbeans-modules-glassfish-common.sig
@@ -1390,9 +1390,10 @@ CLSS public final 
org.netbeans.modules.glassfish.common.GlassfishInstanceProvide
 fld public final static java.lang.String EE6WC_DEPLOYER_FRAGMENT = 
"deployer:gfv3ee6wc"
 fld public final static java.lang.String EE6_DEPLOYER_FRAGMENT = 
"deployer:gfv3ee6"
 fld public final static java.lang.String EE8_DEPLOYER_FRAGMENT = 
"deployer:gfv5ee8"
-fld public final static java.lang.String GLASSFISH_AUTOREGISTERED_INSTANCE = 
"glassfish_autoregistered_instance"
 fld public final static java.lang.String JAKARTAEE8_DEPLOYER_FRAGMENT = 
"deployer:gfv510ee8"
 fld public final static java.lang.String JAKARTAEE9_DEPLOYER_FRAGMENT = 
"deployer:gfv6ee9"
+fld public final static java.lang.String JAKARTAEE91_DEPLOYER_FRAGMENT = 
"deployer:gfv610ee9"
+fld public final static java.lang.String GLASSFISH_AUTOREGISTERED_INSTANCE = 
"glassfish_autoregistered_instance"
 fld public final static java.lang.String PRELUDE_DEPLOYER_FRAGMENT = 
"deployer:gfv3"
 fld public final static java.util.Set activeRegistrationSet
 fld public static java.lang.String EE6WC_DEFAULT_NAME
@@ -2224,6 +2225,7 @@ meth public static 
org.netbeans.modules.glassfish.spi.ServerUtilities getEe7Util
 meth public static org.netbeans.modules.glassfish.spi.ServerUtilities 
getEe8Utilities()
 meth public static org.netbeans.modules.glassfish.spi.ServerUtilities 
getJakartaEe8Utilities()
 meth public static org.netbeans.modules.glassfish.spi.ServerUtilities 
getJakartaEe9Utilities()
+meth public static org.netbeans.modules.glassfish.spi.ServerUtilities 
getJakartaEe91Utilities()
 meth public static org.openide.WizardDescriptor$InstantiatingIterator 
getInstantiatingIterator()
 supr java.lang.Object
 hfds gip,gwp
diff --git 
a/enterprise/glassfish.common/src/org/netbeans/modules/glassfish/common/Bundle.properties
 
b/enterprise/glassfish.common/src/org/netbeans/modules/glassfish/common/Bundle.properties
index 1f47980..95652be 100644
--- 
a/enterprise/glassfish.common/src/org/netbeans/modules/glassfish/common/Bundle.properties
+++ 
b/enterprise/glassfish.common/src/org/netbeans/modules/glassfish/common/Bundle.properties
@@ -159,6 +159,7 @@ STR_50_SERVER_NAME=GlassFish Server 5.0
 STR_501_SERVER_NAME=GlassFish Server 5.0.1
 STR_510_SERVER_NAME=GlassFish Server 5.1.0
 STR_6_SERVER_NAME=GlassFish Server 6
+STR_610_SERVER_NAME=GlassFish Server 6.1
 
 # CommonServerSupport.java
 MSG_FLAKEY

[jira] [Commented] (NETBEANS-5863) "Test results" spuriously clears tests during run, and shows success despite failure

2021-07-26 Thread Eirik Bakke (Jira)


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

Eirik Bakke commented on NETBEANS-5863:
---

[~asbachb] I hadn't noticed anything about the status bar when reporting this 
bug. If you see new problems, feel free to report them!

(Thanks again [~dbalek] for the quick fix to this bug!)

> "Test results" spuriously clears tests during run, and shows success despite 
> failure
> 
>
> Key: NETBEANS-5863
> URL: https://issues.apache.org/jira/browse/NETBEANS-5863
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit, utilities - Test Runner
>Affects Versions: 12.4
> Environment: NetBeans 12.4 on 64-bit Windows 10 on OpenJDK 11.0.11.
>Reporter: Eirik Bakke
>Assignee: Dusan Balek
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.5
>
> Attachments: Failure became success!.png, Test results dropped.png
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> In NetBeans 12.4, test results displayed in the "Test results" pane will get 
> randomly cleared while the tests are running. The final output thus ends up 
> not including all tests that were run. See the attached series of 
> screenshots. Sometimes the "Test results" pane will end up showing a green 
> bar with "Tests passed: 100.00 %" even when there were test failures.
> My application's test suite is JUnit in a maven-based NetBeans module running 
> maven-surefire-plugin version 3.0.0-M4. Using an older version of the 
> surefire plugin (2.18.1, which I previously used to avoid NETBEANS-458 ) did 
> not solve the problem.
> This problem occurs on NetBeans 12.4, but not on NetBeans 12.1. I verified 
> this by running my application's test suite  on both NetBeans versions, 
> without changing surefire versions or anything else.



--
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-5781) Priming gradle build does not honor the gradle version set in Options/Java/Gradle

2021-07-26 Thread Alex lewis (Jira)


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

Alex lewis commented on NETBEANS-5781:
--

I'm experiencing the same issue as per the Description. Related to this, the 
"Prefer to use Gradle Wrapper that Comes with the Project" does not have an 
affect on the version of Gradle Netbeans uses when opening/loading the project.

> Priming gradle build does not honor the gradle version set in 
> Options/Java/Gradle
> -
>
> Key: NETBEANS-5781
> URL: https://issues.apache.org/jira/browse/NETBEANS-5781
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.4
> Environment: Ubuntu 20.04, AdoptOpenjdk 16.0.1, Netbeans 12.4.  JDK 
> and Netbeans were installed by downloads, not by the Ubuntu package manager.
>  
>Reporter: Guntram Blohm
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: gradle, version
> Attachments: Screenshot_2021-06-15_11-31-49.png
>
>
> When opening a gradle project, Netbeans does not honor the gradle version set 
> in Tools/Options/Java/Gradle, instead, it seems to always use gradle 7.0.0.
> I have an older project that uses deprecated features, so it needs gradle 
> 4.10.2 to load. Even when I set "Use Standard Gradle Version" to "4.10.2", 
> Netbeans uses gradle 7 to load the project, decides it can't, and makes the 
> project unusable. Pressing the "hammer" button (F11) to build the project 
> correctly uses Gradle 4.10.2 and builds the project.
> Attached screenshot shows, after "reload project", how Netbeans uses Gradle 
> 7.0 even with gradle 4.10.2 selected in Options.
>  



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

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

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



[jira] [Commented] (NETBEANS-2231) JSP Debug File does nothing

2021-07-26 Thread Roberto Cisternino (Jira)


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

Roberto Cisternino commented on NETBEANS-2231:
--

The 12.4 version do not let to toggle a breakpoint in a jsp... what's happen ?  
These are basic functionalities...

> JSP Debug File does nothing
> ---
>
> Key: NETBEANS-2231
> URL: https://issues.apache.org/jira/browse/NETBEANS-2231
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - JSP
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-389-on-20190226)
> Java: 1.8.0_202; OpenJDK 64-Bit Server VM 25.202-b08
> Runtime: OpenJDK Runtime Environment 1.8.0_202-b08
>Reporter: Vano Beridze
>Priority: Major
>
> 1. Create simple web project with JSP file in it and run it on Tomcat 9
> 2. Set breakpoint in JSP file.
> 3. Press Debug | Debug File
> Nothing 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] [Commented] (NETBEANS-2523) Netbeans 64-bit creates invalid nomodify value in windows registry for years

2021-07-26 Thread Joseph Szabo (Jira)


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

Joseph Szabo commented on NETBEANS-2523:


Yes, I confirm this isn't fixed in Apache NetBeans IDE version 12.4.  Even 
searching the registry under the Uninstall key for "Netbeans" seems to break 
with this corrupt NoModify registry value.  My current fix is:

reg add 
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\nbi-nb-all-12.4.0.0.210514
 /f /v NoModify /d 1 /t reg_dword

 

> Netbeans 64-bit creates invalid nomodify value in windows registry for years
> 
>
> Key: NETBEANS-2523
> URL: https://issues.apache.org/jira/browse/NETBEANS-2523
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Joseph Szabo
>Assignee: Lars Bruun-Hansen
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2020-01-04 22_13_24-Registry Editor.png, 2021-01-03 
> 08_22_56-Registry Editor.png
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> See [https://netbeans.org/bugzilla/show_bug.cgi?id=251538]
> Netbeans 64 bit installer creates a 64 bit integer in what is supposed to be 
> a 32 bit dword in the registry, which becomes an invalid value.
>  
> Windows Registry Editor Version 5.00
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\nbi-nb-base-8.2.0.0.201609300101]
>  "NoModify"=hex(4):01,00,00,00,00,00,00,00
>  
> Netbeans prevents powershell from listing registry uninstall keys in windows:
> {noformat}
> get-itemproperty hklm:\software\microsoft\windows\currentversion\uninstall*
> ...
> get-itemproperty : Specified cast is not valid.
>  At line:1 char:1
>  + get-itemproperty hklm:\software\microsoft\windows\currentversion\unin ...
>  + ~
>  + CategoryInfo : NotSpecified: ( [Get-ItemProperty], InvalidCastException
>  + FullyQualifiedErrorId : 
> System.InvalidCastException,Microsoft.PowerShell.Commands.GetItemPropertyCommand
> {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] [Comment Edited] (NETBEANS-2231) JSP Debug File does nothing

2021-07-26 Thread Roberto Cisternino (Jira)


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

Roberto Cisternino edited comment on NETBEANS-2231 at 7/27/21, 6:16 AM:


The 12.4 version do not let to toggle a breakpoint in a jsp if it is part of a 
web fragment (e.g a separate jar with the web-fragment.xml descriptor.

A web fragment allow to develop a web app in a modular way, but JSPs should be 
always debuggable, not only those part of the WAR module.


was (Author: cistox):
The 12.4 version do not let to toggle a breakpoint in a jsp... what's happen ?  
These are basic functionalities...

> JSP Debug File does nothing
> ---
>
> Key: NETBEANS-2231
> URL: https://issues.apache.org/jira/browse/NETBEANS-2231
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - JSP
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-389-on-20190226)
> Java: 1.8.0_202; OpenJDK 64-Bit Server VM 25.202-b08
> Runtime: OpenJDK Runtime Environment 1.8.0_202-b08
>Reporter: Vano Beridze
>Priority: Major
>
> 1. Create simple web project with JSP file in it and run it on Tomcat 9
> 2. Set breakpoint in JSP file.
> 3. Press Debug | Debug File
> Nothing 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