[jira] [Closed] (NETBEANS-4439) symbolic doesn't open

2020-06-12 Thread Jacques Meirlaen (Jira)


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

Jacques Meirlaen closed NETBEANS-4439.
--
Resolution: Invalid

> symbolic doesn't open
> -
>
> Key: NETBEANS-4439
> URL: https://issues.apache.org/jira/browse/NETBEANS-4439
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Editor
>Affects Versions: 11.1
> Environment: windows 10
>Reporter: Jacques Meirlaen
>Priority: Blocker
>
> I use netbeans for PHP projects.
> The  "Source Files" contains a symbolic link to a folder but this symbolic 
> can't be open. Nothing appears under the folder.



--
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-4439) symbolic doesn't open

2020-06-12 Thread Jacques Meirlaen (Jira)
Jacques Meirlaen created NETBEANS-4439:
--

 Summary: symbolic doesn't open
 Key: NETBEANS-4439
 URL: https://issues.apache.org/jira/browse/NETBEANS-4439
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Editor
Affects Versions: 11.1
 Environment: windows 10
Reporter: Jacques Meirlaen


I use netbeans for PHP projects.

The  "Source Files" contains a symbolic link to a folder but this symbolic 
can't be open. Nothing appears under the folder.



--
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-4337) Code Sniffer - make default standard optional

2020-06-12 Thread Jira


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

Tomáš Procházka resolved NETBEANS-4337.
---
Fix Version/s: 12.1
   Resolution: Fixed

PR was merged.

> Code Sniffer - make default standard optional
> -
>
> Key: NETBEANS-4337
> URL: https://issues.apache.org/jira/browse/NETBEANS-4337
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code Analysis
>Affects Versions: 11.3
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 12.1
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Code Sniffer configuration in Options > PHP > Code Analysis > Code Sniffer 
> requires selecting Default standard even if it is optional parameter.
> Code Sniffer can be run without parameter '--standard' and in that case it is 
> looking for configuration files. See the relevant part of 
> [documentation|https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#using-a-default-configuration-file].
> If user wants to use own configuration, he has to use parameter '--standard' 
> as part of Code Sniffer path in configuration (NETBEANS-3243). Default 
> standard still required.
> Suggested fix is to make Default standard optional.



--
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-4438) New Action Wizard creates .java class file filled with error text

2020-06-12 Thread Ralph Williamson (Jira)
Ralph Williamson created NETBEANS-4438:
--

 Summary: New Action Wizard creates .java class file filled with 
error text
 Key: NETBEANS-4438
 URL: https://issues.apache.org/jira/browse/NETBEANS-4438
 Project: NetBeans
  Issue Type: Bug
  Components: ide - UI
Affects Versions: 12.0
 Environment: Fedora 32. OpenJDK11 or 8, same result with either.
Reporter: Ralph Williamson
 Attachments: 1.png, 2.png, 3.png, 4.png, 5.png, SomeAction.java

Created an ant module project.

I added a new action using the New File menu. Went thru the screens using 
mostly default values (attached screen shots).

Produced a class file (SomeAction.java) with a bunch of strange stuff. Looks 
like error messages.

This is my first time using netbeans. Maybe I am doing something obviously 
wrong.



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

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

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



[netbeans] branch master updated: [NETBEANS-4337] Code Sniffer standard is optional

2020-06-12 Thread junichi11
This is an automated email from the ASF dual-hosted git repository.

junichi11 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 2e7a2e9  [NETBEANS-4337] Code Sniffer standard is optional
 new afd1a95  Merge pull request #2149 from KacerCZ/netbeans-4337
2e7a2e9 is described below

commit 2e7a2e98a2908dbed3897565621073ef263b286f
Author: Tomas Prochazka 
AuthorDate: Wed May 20 22:05:48 2020 +0200

[NETBEANS-4337] Code Sniffer standard is optional

Code Sniffer can be run without parameter '--standard'. In that case it is
looking for configuration file in project root.
---
 .../modules/php/analysis/commands/CodeSniffer.java  | 17 +++--
 .../php/analysis/options/AnalysisOptionsValidator.java  |  2 +-
 .../analysis/ui/CodeSnifferStandardsComboBoxModel.java  |  3 +--
 3 files changed, 5 insertions(+), 17 deletions(-)

diff --git 
a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/commands/CodeSniffer.java
 
b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/commands/CodeSniffer.java
index e18d698..77a487e 100644
--- 
a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/commands/CodeSniffer.java
+++ 
b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/commands/CodeSniffer.java
@@ -137,7 +137,7 @@ public final class CodeSniffer {
 assert file.isValid() : "Invalid file given: " + file;
 try {
 Integer result = 
getExecutable(Bundle.CodeSniffer_analyze(analyzeGroupCounter++), 
findWorkDir(file))
-
.additionalParameters(getParameters(ensureStandard(standard), file, 
noRecursion))
+.additionalParameters(getParameters(standard, file, 
noRecursion))
 .runAndWait(getDescriptor(), "Running code sniffer..."); 
// NOI18N
 if (result == null) {
 return null;
@@ -239,7 +239,8 @@ public final class CodeSniffer {
 Charset encoding = FileEncodingQuery.getEncoding(file);
 List params = new ArrayList<>();
 // NETBEANS-3243 the path of Code Sniffer may have --standard parameter
-if (!codeSnifferPath.contains(STANDARD_PARAM + "=") // NOI18N
+if (StringUtils.hasText(standard)
+&& !codeSnifferPath.contains(STANDARD_PARAM + "=") // NOI18N
 && !codeSnifferPath.contains(STANDARD_PARAM + " ")) { // NOI18N
 // #270987 use --standard
 params.add(String.format(STANDARD_PARAM_FORMAT, standard));
@@ -255,18 +256,6 @@ public final class CodeSniffer {
 return params;
 }
 
-private String ensureStandard(String standard) {
-if (standard != null) {
-return standard;
-}
-List standards = getStandards();
-if (standards == null) {
-// fallback
-return "PEAR"; // NOI18N
-}
-return standards.get(0);
-}
-
 private void addIgnoredFiles(List params, FileObject file) {
 Collection ignoredFiles = 
Queries.getVisibilityQuery(PhpModule.Factory.forFileObject(file)).getCodeAnalysisExcludeFiles();
 if (ignoredFiles.isEmpty()) {
diff --git 
a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/options/AnalysisOptionsValidator.java
 
b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/options/AnalysisOptionsValidator.java
index c920289..45b3790 100644
--- 
a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/options/AnalysisOptionsValidator.java
+++ 
b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/options/AnalysisOptionsValidator.java
@@ -73,7 +73,7 @@ public final class AnalysisOptionsValidator {
 
 
@NbBundle.Messages("AnalysisOptionsValidator.codeSniffer.standard.empty=Valid 
code sniffer standard must be set.")
 public AnalysisOptionsValidator validateCodeSnifferStandard(String 
codeSnifferStandard) {
-if (!StringUtils.hasText(codeSnifferStandard)) {
+if (codeSnifferStandard == null) {
 result.addWarning(new 
ValidationResult.Message("codeSniffer.standard", 
Bundle.AnalysisOptionsValidator_codeSniffer_standard_empty())); // NOI18N
 }
 return this;
diff --git 
a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/ui/CodeSnifferStandardsComboBoxModel.java
 
b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/ui/CodeSnifferStandardsComboBoxModel.java
index 4776b4d..8ae48cf 100644
--- 
a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/ui/CodeSnifferStandardsComboBoxModel.java
+++ 
b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/ui/CodeSnifferStandardsComboBoxModel.java
@@ -107,8 +107,7 @@ public final class CodeSnifferStandardsComboBoxModel 
extends AbstractListModelhttps://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-4437) XML declaration almost invisible on Norway Today theme

2020-06-12 Thread Jira
Fabrício Fonseca created NETBEANS-4437:
--

 Summary: XML declaration almost invisible on Norway Today theme
 Key: NETBEANS-4437
 URL: https://issues.apache.org/jira/browse/NETBEANS-4437
 Project: NetBeans
  Issue Type: Bug
  Components: xml - Text-Edit
Affects Versions: 12.0
 Environment: Ubuntu 20.04 LTS
AdoptOpenJDK 64 bits Hotspot 8
Reporter: Fabrício Fonseca
 Attachments: netbeans.png

The XML declaration markup is almost invisible when using Norway Today color 
theme.

I attached a screenshot showing the issue.



--
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-2986) Relative URL not saved in Project Properties

2020-06-12 Thread Jan Walkotte (Jira)


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

Jan Walkotte commented on NETBEANS-2986:


The bug is still reproducible in Netbeans 12.0. (Analysis see previous comment)

> Relative URL not saved in Project Properties
> 
>
> Key: NETBEANS-2986
> URL: https://issues.apache.org/jira/browse/NETBEANS-2986
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Maven
>Affects Versions: 12.0, 11.1, 11.2, 11.3
> Environment:   Netbeans 11.1
>   Operating System: Debian GNU/Linux 9 (stretch)
>   Kernel: Linux 4.9.0-9-amd64
>   Architecture: x86-64
>Reporter: Dave Hutira
>Priority: Major
> Attachments: Screenshot at 2019-08-14 19-53-53.png, dukesAge.zip
>
>
> Right click on a project in the Projects list, and select Properties. From 
> the Categories list, select Run and enter a Relative URL. Select OK; go back, 
> and the Relative URL is blank.
> A similar or identical issue appears in the 'old' Netbeans Bugzilla system as 
> Bug 146672 and 178650.



--
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-2986) Relative URL not saved in Project Properties

2020-06-12 Thread Jan Walkotte (Jira)


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

Jan Walkotte updated NETBEANS-2986:
---
Affects Version/s: 12.0
   11.2
   11.3

> Relative URL not saved in Project Properties
> 
>
> Key: NETBEANS-2986
> URL: https://issues.apache.org/jira/browse/NETBEANS-2986
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Maven
>Affects Versions: 12.0, 11.1, 11.2, 11.3
> Environment:   Netbeans 11.1
>   Operating System: Debian GNU/Linux 9 (stretch)
>   Kernel: Linux 4.9.0-9-amd64
>   Architecture: x86-64
>Reporter: Dave Hutira
>Priority: Major
> Attachments: Screenshot at 2019-08-14 19-53-53.png, dukesAge.zip
>
>
> Right click on a project in the Projects list, and select Properties. From 
> the Categories list, select Run and enter a Relative URL. Select OK; go back, 
> and the Relative URL is blank.
> A similar or identical issue appears in the 'old' Netbeans Bugzilla system as 
> Bug 146672 and 178650.



--
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-3413) PHPDoc - implicit description inheritance

2020-06-12 Thread Jira


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

Tomáš Procházka resolved NETBEANS-3413.
---
Fix Version/s: 12.1
   Resolution: Implemented

PR was merged.

> PHPDoc - implicit description inheritance
> -
>
> Key: NETBEANS-3413
> URL: https://issues.apache.org/jira/browse/NETBEANS-3413
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 11.2
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
> Fix For: 12.1
>
> Attachments: image-2020-04-02-10-21-00-087.png, 
> image-2020-05-02-19-28-14-866.png
>
>  Time Spent: 3h 50m
>  Remaining Estimate: 0h
>
> Currently NetBeans IDE supports inheritance of docblocks containing 
> @inheritdoc annotation.
> It would be useful if docblocks are inherited even in case when there is no 
> docblock present.
> Example:
> {code:java}
> class Circle {
> /**
>  * Hides circle
>  */
> public function hide() {
> }
> /**
>  * Shows circle
>  */
> public function show() {
> }
> }
> class SpecialCircle extends Circle {
> /**
>  * {@inheritdoc}
>  */
> public function hide() {
> parent::hide();
> }
> public function show() {
> parent::show();
> }
> public function redraw() {
> $this->hide(); // Text "Hides circle" is shown
> $this->show(); // Text "PHPDoc not found" is shown, expected "Shows 
> circle"
> }
> }
> {code}
>  



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

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

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



[jira] [Resolved] (NETBEANS-4338) Code Sniffer - update link to homepage

2020-06-12 Thread Jira


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

Tomáš Procházka resolved NETBEANS-4338.
---
Fix Version/s: 12.1
   Resolution: Implemented

PR was merged.

> Code Sniffer - update link to homepage
> --
>
> Key: NETBEANS-4338
> URL: https://issues.apache.org/jira/browse/NETBEANS-4338
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Code Analysis
>Affects Versions: 11.3
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 12.1
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> Current link to Code Sniffer homepage leads to 
> [https://pear.php.net/package/PHP_CodeSniffer]
> More up-to date link is https://github.com/squizlabs/PHP_CodeSniffer



--
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-4368) Codeception - dialog with test file selection not resized correctly

2020-06-12 Thread Jira


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

Tomáš Procházka resolved NETBEANS-4368.
---
Fix Version/s: 12.1
   Resolution: Fixed

PR was merged.

> Codeception - dialog with test file selection not resized correctly
> ---
>
> Key: NETBEANS-4368
> URL: https://issues.apache.org/jira/browse/NETBEANS-4368
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Codeception
>Affects Versions: 11.3
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 12.1
>
> Attachments: image-2020-05-29-23-47-55-920.png, 
> image-2020-05-29-23-48-10-847.png
>
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Open source PHP file and navigate to test class.
> If more than one file matches then dialog with list of files is opened.
> There are two problems with the dialog:
>  # Dialog resize does not resizes list of files.
>  # Files are not alphabeticaly sorted.



--
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-4339) Mess Detector - allow use of rules from file

2020-06-12 Thread Jira


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

Tomáš Procházka resolved NETBEANS-4339.
---
Fix Version/s: 12.1
   Resolution: Implemented

PR was merged.

> Mess Detector - allow use of rules from file
> 
>
> Key: NETBEANS-4339
> URL: https://issues.apache.org/jira/browse/NETBEANS-4339
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Code Analysis
>Affects Versions: 11.3
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.1
>
>  Time Spent: 8h 20m
>  Remaining Estimate: 0h
>
> Mess Detector allows combination of build-in rules with custom rules in XML. 
> See [documentation|http://phpmd.org/documentation/index.html].
> NetBeans IDE does not allow to set custom rule file in Options > PHP > Code 
> Analysis > Mess Detector.
> At least one build-in rule set now has to be selected in configuration.
> When custom rule file is selected, then no build-in rule would be required.



--
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: Update asm from 7.2 to 8.0.1

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

lkishalmi 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 96e9559  Update asm from 7.2 to 8.0.1
96e9559 is described below

commit 96e9559c2fe233490479cb96a749b3ea5fb98cb2
Author: Jose Contreras 
AuthorDate: Tue Apr 28 18:31:04 2020 -0500

Update asm from 7.2 to 8.0.1
---
 harness/apisupport.harness/build.xml |  4 ++--
 java/lib.jshell.agent/nbproject/project.properties   |  2 +-
 nbbuild/templates/common.xml |  6 +++---
 .../external/{asm-7.2-license.txt => asm-8.0.1-license.txt}  |  4 ++--
 platform/libs.asm/external/binaries-list |  6 +++---
 platform/libs.asm/nbproject/project.properties   |  8 
 platform/libs.asm/nbproject/project.xml  | 12 ++--
 7 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/harness/apisupport.harness/build.xml 
b/harness/apisupport.harness/build.xml
index d97a498..abf7eb4 100644
--- a/harness/apisupport.harness/build.xml
+++ b/harness/apisupport.harness/build.xml
@@ -39,13 +39,13 @@
 
 
 
-FA637EB67EB7628C915D73762B681AE7FF0B9731 
org.ow2.asm:asm:7.2
+3F5199523FB95304B44563F5D56D9F5A07270669 
org.ow2.asm:asm:8.0.1
 
 
 
 
 
-
+
 
 
 
diff --git a/java/lib.jshell.agent/nbproject/project.properties 
b/java/lib.jshell.agent/nbproject/project.properties
index 0020ac6..e8ee891 100644
--- a/java/lib.jshell.agent/nbproject/project.properties
+++ b/java/lib.jshell.agent/nbproject/project.properties
@@ -21,5 +21,5 @@ javac.compilerargs=-Xlint -Xlint:-serial
 
extra.module.files=modules/ext/nb-custom-jshell-probe.jar,modules/ext/nb-mod-jshell-probe.jar
 
jnlp.indirect.jars=modules/ext/nb-custom-jshell-probe.jar,modules/ext/nb-mod-jshell-probe.jar
 
-agentsrc.asm.cp=${libs.asm.dir}/core/asm-7.2.jar
+agentsrc.asm.cp=${libs.asm.dir}/core/asm-8.0.1.jar
 agentsrc.jshell.cp=${nb_all}/java/libs.jshell.compile/external/jshell-9.jar
diff --git a/nbbuild/templates/common.xml b/nbbuild/templates/common.xml
index f9ba6c9..5533eff 100644
--- a/nbbuild/templates/common.xml
+++ b/nbbuild/templates/common.xml
@@ -78,10 +78,10 @@
 
 
 
-
-
+
+
 
-
+
 
 
 
diff --git a/platform/libs.asm/external/asm-7.2-license.txt 
b/platform/libs.asm/external/asm-8.0.1-license.txt
old mode 100755
new mode 100644
similarity index 96%
rename from platform/libs.asm/external/asm-7.2-license.txt
rename to platform/libs.asm/external/asm-8.0.1-license.txt
index 142eee3..16c1579
--- a/platform/libs.asm/external/asm-7.2-license.txt
+++ b/platform/libs.asm/external/asm-8.0.1-license.txt
@@ -1,6 +1,6 @@
 Name: OW2 ASM
-Version: 7.2
-Files: asm-tree-7.2.jar asm-commons-7.2.jar asm-7.2.jar
+Version: 8.0.1
+Files: asm-tree-8.0.1.jar asm-commons-8.0.1.jar asm-8.0.1.jar
 License: BSD-INRIA
 Origin: OW2 Consortium
 URL: 
https://repository.ow2.org/nexus/content/repositories/releases/org/ow2/asm/
diff --git a/platform/libs.asm/external/binaries-list 
b/platform/libs.asm/external/binaries-list
index 93292b0..39f46d5 100755
--- a/platform/libs.asm/external/binaries-list
+++ b/platform/libs.asm/external/binaries-list
@@ -14,6 +14,6 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-FA637EB67EB7628C915D73762B681AE7FF0B9731 org.ow2.asm:asm:7.2
-3A23CC36EDAF8FC5A89CB100182758CCB5991487 org.ow2.asm:asm-tree:7.2
-CA2954E8D92A05BACC28FF465B25C70E0F512497 org.ow2.asm:asm-commons:7.2
+3F5199523FB95304B44563F5D56D9F5A07270669 org.ow2.asm:asm:8.0.1
+DFCAD5ABBCFF36F8BDAD5647FE6F4972E958AD59 org.ow2.asm:asm-tree:8.0.1
+019C7BA355F0737815205518E332A8DC08B417C6 org.ow2.asm:asm-commons:8.0.1
diff --git a/platform/libs.asm/nbproject/project.properties 
b/platform/libs.asm/nbproject/project.properties
index 12899c0..150f2b0 100644
--- a/platform/libs.asm/nbproject/project.properties
+++ b/platform/libs.asm/nbproject/project.properties
@@ -19,7 +19,7 @@ javac.compilerargs=-Xlint -Xlint:-serial
 javac.source=1.8
 module.jar.dir=core
 
-release.external/asm-7.2.jar=core/asm-7.2.jar
-release.external/asm-tree-7.2.jar=core/asm-tree-7.2.jar
-release.external/asm-commons-7.2.jar=core/asm-commons-7.2.jar
-license.file=../external/asm-7.2-license.txt
+release.external/asm-8.0.1.jar=core/asm-8.0.1.jar
+release.external/asm-tree-8.0.1.jar=core/asm-tree-8.0.1.jar
+release.external/asm-commons-8.0.1.jar=core/asm-commons-8.0.1.jar
+license.file=../external/asm-8.0.1-license.txt
diff --git a/platform/libs.asm/nbproject/project.xml 
b/platform/libs.asm/nbproject/project.xml
index 834a713..e0ce859 100644
--- 

[jira] [Updated] (NETBEANS-4435) Impossible to start Payara server after error

2020-06-12 Thread jose luis romero (Jira)


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

jose luis romero updated NETBEANS-4435:
---
Description: 
I was adding some JVM properties to my Payara server when I made a typo, 
instead of hotswap-agent.jar I wrote hotswap-agentt.jar (double t) and I tried 
to start the server from the Services tab so the error occurred
output
{code:java}
Error occurred during initialization of VM
agent library failed to init: instrument
Error opening zip file or JAR manifest missing : 
C:\payara5\glassfish\domains\domain1/lib/ext/hotswap-agentt.jar
{code}

After this the Icon got stuck with the "sand clock", all options (start, debug, 
stop got disabled) and I couldn't try it again, I had to reopen the IDE

  was:
I was adding some JVM properties to my Payara server when I made a typo, 
instead of hotswap-agent.jar I wrote hotswap-agentt.jar (double t) and I tried 
to start the server from the Services tab so the error occurred
output
{code:java}
Error occurred during initialization of VM
agent library failed to init: instrument
Error opening zip file or JAR manifest missing : 
C:\payara5\glassfish\domains\domain1/lib/ext/hotswap-agentt.jar
{code}

After this the Icon got stuck with the "sand clock" and I couldn't try it 
again, I had to reopen the IDE


> Impossible to start Payara server after error
> -
>
> Key: NETBEANS-4435
> URL: https://issues.apache.org/jira/browse/NETBEANS-4435
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
> Environment: w10, jdk1.8
>Reporter: jose luis romero
>Priority: Major
>
> I was adding some JVM properties to my Payara server when I made a typo, 
> instead of hotswap-agent.jar I wrote hotswap-agentt.jar (double t) and I 
> tried to start the server from the Services tab so the error occurred
> output
> {code:java}
> Error occurred during initialization of VM
> agent library failed to init: instrument
> Error opening zip file or JAR manifest missing : 
> C:\payara5\glassfish\domains\domain1/lib/ext/hotswap-agentt.jar
> {code}
> After this the Icon got stuck with the "sand clock", all options (start, 
> debug, stop got disabled) and I couldn't try it again, I had to reopen the IDE



--
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-4435) Impossible to start Payara server after error

2020-06-12 Thread jose luis romero (Jira)
jose luis romero created NETBEANS-4435:
--

 Summary: Impossible to start Payara server after error
 Key: NETBEANS-4435
 URL: https://issues.apache.org/jira/browse/NETBEANS-4435
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.0
 Environment: w10, jdk1.8
Reporter: jose luis romero


I was adding some JVM properties to my Payara server when I made a typo, 
instead of hotswap-agent.jar I wrote hotswap-agentt.jar (double t) and I tried 
to start the server from the Services tab so the error occurred
output
{code:java}
Error occurred during initialization of VM
agent library failed to init: instrument
Error opening zip file or JAR manifest missing : 
C:\payara5\glassfish\domains\domain1/lib/ext/hotswap-agentt.jar
{code}

After this the Icon got stuck with the "sand clock" and I couldn't try it 
again, I had to reopen the IDE



--
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-4434) Code Completion doesn't work when script type attribute value is "module"

2020-06-12 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-4434:
---
Description: 
h2. Steps to reproduce

* Create an HTML file
* Insert the example code
* Run CC in between script tags
* Items for JS are not shown

h2. Example code
{code:html}





{code}

h2. Script attribute
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script


  was:
h2. Steps to reproduce

* Create an HTML file
* Insert the example code
* Run CC in between script tags
* Items for JS are not shown

h2. Example code
{code:html}





{code}



> Code Completion doesn't work when script type attribute value is "module"
> -
>
> Key: NETBEANS-4434
> URL: https://issues.apache.org/jira/browse/NETBEANS-4434
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - HTML Editor
>Affects Versions: 12.0
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>
> h2. Steps to reproduce
> * Create an HTML file
> * Insert the example code
> * Run CC in between script tags
> * Items for JS are not shown
> h2. Example code
> {code:html}
> 
> 
> 
> 
> 
> {code}
> h2. Script attribute
> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script



--
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-4434) Code Completion doesn't work when script type attribute value is "module"

2020-06-12 Thread Junichi Yamamoto (Jira)
Junichi Yamamoto created NETBEANS-4434:
--

 Summary: Code Completion doesn't work when script type attribute 
value is "module"
 Key: NETBEANS-4434
 URL: https://issues.apache.org/jira/browse/NETBEANS-4434
 Project: NetBeans
  Issue Type: Bug
  Components: web - HTML Editor
Affects Versions: 12.0
Reporter: Junichi Yamamoto
Assignee: Junichi Yamamoto


h2. Steps to reproduce

* Create an HTML file
* Insert the example code
* Run CC in between script tags
* Items for JS are not shown

h2. Example code
{code:html}





{code}




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

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

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



[jira] [Reopened] (NETBEANS-3681) Support for script type="module"

2020-06-12 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reopened NETBEANS-3681:


> Support for script type="module"
> 
>
> Key: NETBEANS-3681
> URL: https://issues.apache.org/jira/browse/NETBEANS-3681
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - HTML Editor
>Affects Versions: 11.2
>Reporter: Junichi Yamamoto
>Priority: Major
> Fix For: 11.2
>
> Attachments: nb-script-type-module-error.png
>
>
> Currently, the below code is recognized as an error.
> {code:html}
> 
> 
> 
> {code}
> see: [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Script]
> !nb-script-type-module-error.png!
> Workaround: Uncheck Tools > Options > Editor > Hints > Language: HTML > HTML 
> Validator: Attributes



--
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] [Issue Comment Deleted] (NETBEANS-3681) Support for script type="module"

2020-06-12 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-3681:
---
Comment: was deleted

(was: Maybe, this was fixed. https://github.com/apache/netbeans/pull/1380)

> Support for script type="module"
> 
>
> Key: NETBEANS-3681
> URL: https://issues.apache.org/jira/browse/NETBEANS-3681
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - HTML Editor
>Affects Versions: 11.2
>Reporter: Junichi Yamamoto
>Priority: Major
> Fix For: 11.2
>
> Attachments: nb-script-type-module-error.png
>
>
> Currently, the below code is recognized as an error.
> {code:html}
> 
> 
> 
> {code}
> see: [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Script]
> !nb-script-type-module-error.png!
> Workaround: Uncheck Tools > Options > Editor > Hints > Language: HTML > HTML 
> Validator: Attributes



--
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-3681) Support for script type="module"

2020-06-12 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-3681:
---
Fix Version/s: (was: 11.2)

> Support for script type="module"
> 
>
> Key: NETBEANS-3681
> URL: https://issues.apache.org/jira/browse/NETBEANS-3681
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - HTML Editor
>Affects Versions: 11.2
>Reporter: Junichi Yamamoto
>Priority: Major
> Attachments: nb-script-type-module-error.png
>
>
> Currently, the below code is recognized as an error.
> {code:html}
> 
> 
> 
> {code}
> see: [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Script]
> !nb-script-type-module-error.png!
> Workaround: Uncheck Tools > Options > Editor > Hints > Language: HTML > HTML 
> Validator: Attributes



--
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] [Reopened] (NETBEANS-2333) Add minlength, maxlength to input field

2020-06-12 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reopened NETBEANS-2333:


I'm wrong. It seems that error is shown yet.

> Add minlength, maxlength to input field
> ---
>
> Key: NETBEANS-2333
> URL: https://issues.apache.org/jira/browse/NETBEANS-2333
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - HTML Editor
>Affects Versions: 10.0
> Environment:  Product Version: Apache NetBeans Platform 10.0 
> (Build incubator-netbeans-release-380-on-20181217)
> Java: 10.0.2; OpenJDK 64-Bit Server VM 10.0.2+13-Ubuntu-1ubuntu0.18.04.4
> Runtime: OpenJDK Runtime Environment
>Reporter: Ivan Borisov
>Priority: Major
> Fix For: 11.2
>
> Attachments: Screenshot_20190401_145544.png
>
>
> Receiving error when try to use minlength, maxlength
>  
> {code:java}
>  maxlength="15" required>{code}



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

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

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



[jira] [Commented] (NETBEANS-4426) Fails with 'silent error'

2020-06-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-4426:
-

Yes, Maven and NetBeans work perfectly fine with ServiceLoader. Will you put 
your application with your ServiceLoader problem on GitHub so that we can help 
you?

> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, idiotapp_2.zip, messages.log, 
> messages_build.log, messages_idiot_2.log, messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-2333) Add minlength, maxlength to input field

2020-06-12 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-2333:
---
Fix Version/s: (was: 11.2)

> Add minlength, maxlength to input field
> ---
>
> Key: NETBEANS-2333
> URL: https://issues.apache.org/jira/browse/NETBEANS-2333
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - HTML Editor
>Affects Versions: 10.0
> Environment:  Product Version: Apache NetBeans Platform 10.0 
> (Build incubator-netbeans-release-380-on-20181217)
> Java: 10.0.2; OpenJDK 64-Bit Server VM 10.0.2+13-Ubuntu-1ubuntu0.18.04.4
> Runtime: OpenJDK Runtime Environment
>Reporter: Ivan Borisov
>Priority: Major
> Attachments: Screenshot_20190401_145544.png
>
>
> Receiving error when try to use minlength, maxlength
>  
> {code:java}
>  maxlength="15" required>{code}



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

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

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



[jira] [Commented] (NETBEANS-4426) Fails with 'silent error'

2020-06-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-4426:
-

And what you attached simply runs out of the box.

Can you consider using Maven instead?

> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, idiotapp_2.zip, messages.log, 
> messages_build.log, messages_idiot_2.log, messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Andy Gegg (Jira)


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

Andy Gegg commented on NETBEANS-4426:
-

I already had included the msg - it makes absolutely NO difference, log 
attached.

I set it to package up as a jlink - and that works absolutely fine - compiles, 
builds and the created jar executes as expected (although my real project won't 
compile here).

I wasted a week of my life trying to get Maven to work.  I don't know if it's 
Maven or Maven in NetBeans but it clearly cannot cope with Java Service loader.

> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, idiotapp_2.zip, messages.log, 
> messages_build.log, messages_idiot_2.log, messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-4426:
-

Please, don't attach ZIPs here, check your code into GitHub and reference that 
here.

> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, idiotapp_2.zip, messages.log, 
> messages_build.log, messages_idiot_2.log, messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Andy Gegg (Jira)


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

Andy Gegg updated NETBEANS-4426:

Attachment: messages_idiot_2.log

> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, idiotapp_2.zip, messages.log, 
> messages_build.log, messages_idiot_2.log, messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Andy Gegg (Jira)


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

Andy Gegg updated NETBEANS-4426:

Attachment: idiotapp_2.zip

> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, idiotapp_2.zip, messages.log, 
> messages_build.log, messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-3681) Support for script type="module"

2020-06-12 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto resolved NETBEANS-3681.

Fix Version/s: 11.2
   Resolution: Fixed

> Support for script type="module"
> 
>
> Key: NETBEANS-3681
> URL: https://issues.apache.org/jira/browse/NETBEANS-3681
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - HTML Editor
>Affects Versions: 11.2
>Reporter: Junichi Yamamoto
>Priority: Major
> Fix For: 11.2
>
> Attachments: nb-script-type-module-error.png
>
>
> Currently, the below code is recognized as an error.
> {code:html}
> 
> 
> 
> {code}
> see: [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Script]
> !nb-script-type-module-error.png!
> Workaround: Uncheck Tools > Options > Editor > Hints > Language: HTML > HTML 
> Validator: Attributes



--
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-3681) Support for script type="module"

2020-06-12 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-3681:


Maybe, this was fixed. https://github.com/apache/netbeans/pull/1380

> Support for script type="module"
> 
>
> Key: NETBEANS-3681
> URL: https://issues.apache.org/jira/browse/NETBEANS-3681
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - HTML Editor
>Affects Versions: 11.2
>Reporter: Junichi Yamamoto
>Priority: Major
> Attachments: nb-script-type-module-error.png
>
>
> Currently, the below code is recognized as an error.
> {code:html}
> 
> 
> 
> {code}
> see: [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Script]
> !nb-script-type-module-error.png!
> Workaround: Uncheck Tools > Options > Editor > Hints > Language: HTML > HTML 
> Validator: Attributes



--
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-2333) Add minlength, maxlength to input field

2020-06-12 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-2333:


Maybe, [~matthiasblaesing] fixed this. 
https://github.com/apache/netbeans/pull/1380

> Add minlength, maxlength to input field
> ---
>
> Key: NETBEANS-2333
> URL: https://issues.apache.org/jira/browse/NETBEANS-2333
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - HTML Editor
>Affects Versions: 10.0
> Environment:  Product Version: Apache NetBeans Platform 10.0 
> (Build incubator-netbeans-release-380-on-20181217)
> Java: 10.0.2; OpenJDK 64-Bit Server VM 10.0.2+13-Ubuntu-1ubuntu0.18.04.4
> Runtime: OpenJDK Runtime Environment
>Reporter: Ivan Borisov
>Priority: Major
> Attachments: Screenshot_20190401_145544.png
>
>
> Receiving error when try to use minlength, maxlength
>  
> {code:java}
>  maxlength="15" required>{code}



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

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

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



[jira] [Resolved] (NETBEANS-2333) Add minlength, maxlength to input field

2020-06-12 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto resolved NETBEANS-2333.

Fix Version/s: 11.2
   Resolution: Fixed

> Add minlength, maxlength to input field
> ---
>
> Key: NETBEANS-2333
> URL: https://issues.apache.org/jira/browse/NETBEANS-2333
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - HTML Editor
>Affects Versions: 10.0
> Environment:  Product Version: Apache NetBeans Platform 10.0 
> (Build incubator-netbeans-release-380-on-20181217)
> Java: 10.0.2; OpenJDK 64-Bit Server VM 10.0.2+13-Ubuntu-1ubuntu0.18.04.4
> Runtime: OpenJDK Runtime Environment
>Reporter: Ivan Borisov
>Priority: Major
> Fix For: 11.2
>
> Attachments: Screenshot_20190401_145544.png
>
>
> Receiving error when try to use minlength, maxlength
>  
> {code:java}
>  maxlength="15" required>{code}



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

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

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



[jira] [Commented] (NETBEANS-4426) Fails with 'silent error'

2020-06-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-4426:
-

Just a general note -- it's advisable to use Maven or Gradle rather than 
Ant-based projects, unless you have a specific reason why you need to use 
Ant-based projects. Most modern systems nowadays use Maven or Gradle.

> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, messages.log, messages_build.log, 
> messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga edited comment on NETBEANS-4426 at 6/12/20, 4:25 PM:
---

System.out.println("hello world");

Change that empty constructor to include the above within it and then run your 
application again.



was (Author: geertjanwielenga):
System.out.println("hello world");*

Change that empty constructor to include the above within it and then run your 
application again.


> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, messages.log, messages_build.log, 
> messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga edited comment on NETBEANS-4426 at 6/12/20, 4:25 PM:
---

System.out.println("hello world");*

Change that empty constructor to include the above within it and then run your 
application again.



was (Author: geertjanwielenga):
public static void main(String[] args)  {
   *System.out.println("hello world");*
}

Change that empty constructor to the above and then run your application again.


> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, messages.log, messages_build.log, 
> messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga edited comment on NETBEANS-4426 at 6/12/20, 4:24 PM:
---

public static void main(String[] args)  {
   *System.out.println("hello world");*
}

Change that empty constructor to the above and then run your application again.



was (Author: geertjanwielenga):
public static void main(String[] args)  {

   System.out.println("hello world");

}

Change that empty constructor to the above and then run your application again.


> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, messages.log, messages_build.log, 
> messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga edited comment on NETBEANS-4426 at 6/12/20, 4:24 PM:
---

public static void main(String[] args)  {

   System.out.println("hello world");

}

Change that empty constructor to the above and then run your application again.



was (Author: geertjanwielenga):
public static void main(String[] args)  {

   System.out.println("hello world");

}

Change that empty constructor to the above and then run your application again.


> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, messages.log, messages_build.log, 
> messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga edited comment on NETBEANS-4426 at 6/12/20, 4:23 PM:
---

public static void main(String[] args)  {

   System.out.println("hello world");

}

Change that empty constructor to the above and then run your application again.



was (Author: geertjanwielenga):
public static void main(String[] args) 
{
System.out.println("hello world");
}

Change that empty constructor to the above and then run your application again.


> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, messages.log, messages_build.log, 
> messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga edited comment on NETBEANS-4426 at 6/12/20, 4:22 PM:
---

{{public static void main(String[] args) {
System.out.println("hello world");
}}}

Change that empty constructor to the above and then run your application again.



was (Author: geertjanwielenga):
public static void main(String[] args) {
System.out.println("hello world");
}

Change that empty constructor to the above and then run your application again.


> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, messages.log, messages_build.log, 
> messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga edited comment on NETBEANS-4426 at 6/12/20, 4:22 PM:
---

public static void main(String[] args) 
{
System.out.println("hello world");
}

Change that empty constructor to the above and then run your application again.



was (Author: geertjanwielenga):
public static void main(String[] args) {
System.out.println("hello world");
}

Change that empty constructor to the above and then run your application again.


> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, messages.log, messages_build.log, 
> messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga edited comment on NETBEANS-4426 at 6/12/20, 4:22 PM:
---

public static void main(String[] args) {
System.out.println("hello world");
}

Change that empty constructor to the above and then run your application again.



was (Author: geertjanwielenga):
{{
 public static void main(String[] args) {
System.out.println("hello world");
}
}}

Change that empty constructor to the above and then run your application again.


> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, messages.log, messages_build.log, 
> messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga edited comment on NETBEANS-4426 at 6/12/20, 4:22 PM:
---

{{
 public static void main(String[] args) {
System.out.println("hello world");
}
}}

Change that empty constructor to the above and then run your application again.



was (Author: geertjanwielenga):
{{public static void main(String[] args) {
System.out.println("hello world");
}}}

Change that empty constructor to the above and then run your application again.


> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, messages.log, messages_build.log, 
> messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-4426:
-

public static void main(String[] args) {
System.out.println("hello world");
}

Change that empty constructor to the above and then run your application again.


> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, messages.log, messages_build.log, 
> messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-4426:
-

So you have an empty public static void main constructor. What is supposed to 
happen when you run that application?

> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, messages.log, messages_build.log, 
> messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Andy Gegg (Jira)


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

Andy Gegg commented on NETBEANS-4426:
-

I've tried again, installing NB for the first time on a fresh PC and 
reconstructing my code base.  The attached 'messages_run.log' is the failure.  
It complains about 'java.util.zip.CRC32' which is a class I do not use and is 
supposedly in java.base - this is obviously something NB is causing to be 
called in something called the 'system module path' which I know nothing about.

messages_build is the log from an attempted clean and build which just fails 
with no clue as to why.

I created a minimalist modular project - idiotapp.zip attached - consisting 
literally of one module with a main class in it, the 'silent error' for that is 
in messages.log, attached.

> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, messages.log, messages_build.log, 
> messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Andy Gegg (Jira)


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

Andy Gegg updated NETBEANS-4426:

Attachment: idiotapp.zip

> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: idiotapp.zip, messages.log, messages_build.log, 
> messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-4426:
-

Can you provide the project where the problem occurs (on GitHub) or the steps 
needed to reproduce the problem?

> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: messages.log, messages_build.log, messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Andy Gegg (Jira)


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

Andy Gegg updated NETBEANS-4426:

Attachment: messages_build.log

> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: messages.log, messages_build.log, messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Andy Gegg (Jira)


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

Andy Gegg updated NETBEANS-4426:

Attachment: messages_run.log

> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: messages.log, messages_build.log, messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4426) Fails with 'silent error'

2020-06-12 Thread Andy Gegg (Jira)


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

Andy Gegg updated NETBEANS-4426:

Attachment: messages.log

> Fails with 'silent error'
> -
>
> Key: NETBEANS-4426
> URL: https://issues.apache.org/jira/browse/NETBEANS-4426
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows 10 Home, 1909
>Reporter: Andy Gegg
>Priority: Major
> Attachments: messages.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
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-4433) Cannot install C/C++ plugin on NB12.0

2020-06-12 Thread Yves Roggeman (Jira)
Yves Roggeman created NETBEANS-4433:
---

 Summary: Cannot install C/C++ plugin on NB12.0
 Key: NETBEANS-4433
 URL: https://issues.apache.org/jira/browse/NETBEANS-4433
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.0
Reporter: Yves Roggeman


As suggested on page "Apache NetBeans 12.0 Features", I tried to install C/C++ 
plugin from NetBeans IDE 8.2 Update Center.

This gives an error when trying to automaticaly install "C/C++ Remote 
Development API [org.netbeans.modules.cnd.api.remote/1.29.5.1]".

This was OK with the pevious version NB 11.3.

Please, port C/C++ plugin definitively to NB 12.0 portal !
 



--
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-4432) Find usages of __construct not throrough enough

2020-06-12 Thread Jira


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

Ádám Turcsán updated NETBEANS-4432:
---
Attachment: (was: image-2020-06-12-13-51-26-486.png)

> Find usages of __construct not throrough enough
> ---
>
> Key: NETBEANS-4432
> URL: https://issues.apache.org/jira/browse/NETBEANS-4432
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Code Analysis
>Affects Versions: 12.0
>Reporter: Ádám Turcsán
>Priority: Major
> Attachments: screenshot-1.png
>
>
> If I use the tool "Find usages" on a class constructor, It doesn't find the 
> usages where it is called from the class itself, like {{new self()}}.
> Because self is an instant static bindig (unlike {{static::}} ) It is quite 
> straightforward, which consturct call is this.



--
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-4432) Find usages of __construct not throrough enough

2020-06-12 Thread Jira


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

Ádám Turcsán updated NETBEANS-4432:
---
Attachment: screenshot-1.png

> Find usages of __construct not throrough enough
> ---
>
> Key: NETBEANS-4432
> URL: https://issues.apache.org/jira/browse/NETBEANS-4432
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Code Analysis
>Affects Versions: 12.0
>Reporter: Ádám Turcsán
>Priority: Major
> Attachments: screenshot-1.png
>
>
> If I use the tool "Find usages" on a class constructor, It doesn't find the 
> usages where it is called from the class itself, like {{new self()}}.
> Because self is an instant static bindig (unlike {{static::}} ) It is quite 
> straightforward, which consturct call is this.



--
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-4432) Find usages of __construct not throrough enough

2020-06-12 Thread Jira
Ádám Turcsán created NETBEANS-4432:
--

 Summary: Find usages of __construct not throrough enough
 Key: NETBEANS-4432
 URL: https://issues.apache.org/jira/browse/NETBEANS-4432
 Project: NetBeans
  Issue Type: Improvement
  Components: php - Code Analysis
Affects Versions: 12.0
Reporter: Ádám Turcsán
 Attachments: image-2020-06-12-13-51-26-486.png

If I use the tool "Find usages" on a class constructor, It doesn't find the 
usages where it is called from the class itself, like {{new self()}}.

Because self is an instant static bindig (unlike {{static::}} ) It is quite 
straightforward, which consturct call is this.



--
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-1373) Add class namespace to use block

2020-06-12 Thread Jira


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

Ádám Turcsán commented on NETBEANS-1373:


There's a Tool for that, called "Fix uses...". The default shortcut is 
"CTRL+SHIFT+I".

> Add class namespace to use block
> 
>
> Key: NETBEANS-1373
> URL: https://issues.apache.org/jira/browse/NETBEANS-1373
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Code
>Affects Versions: 10.0
>Reporter: Alexander Romanenko
>Priority: Major
>
> Auto completion always uses FQDN of classes.
> After a short while there are lots of very long namespaced classnames. Many 
> are repetitive. Would be useful to either have autocomplete to put the 
> namespace into use block, or to add refactoring tool to do this.



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

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

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



[netbeans] branch master updated: [NETBEANS-3311] Convert TextBlock to String, Function call parameter fix test case fix (#2172)

2020-06-12 Thread arusinha
This is an automated email from the ASF dual-hosted git repository.

arusinha 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 f1f3b46  [NETBEANS-3311] Convert TextBlock to String, Function call 
parameter fix test case fix (#2172)
f1f3b46 is described below

commit f1f3b46fb0b22a14a83f8e9e2899f3011b497405
Author: Akshay-Gupta-Oracle 
<55184560+akshay-gupta-ora...@users.noreply.github.com>
AuthorDate: Fri Jun 12 09:40:38 2020 +

[NETBEANS-3311] Convert TextBlock to String, Function call parameter fix 
test case fix (#2172)
---
 .../netbeans/modules/java/hints/jdk/ConvertTextBlockToStringTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/java/java.hints/test/unit/src/org/netbeans/modules/java/hints/jdk/ConvertTextBlockToStringTest.java
 
b/java/java.hints/test/unit/src/org/netbeans/modules/java/hints/jdk/ConvertTextBlockToStringTest.java
index 3c61941..a209f8e 100644
--- 
a/java/java.hints/test/unit/src/org/netbeans/modules/java/hints/jdk/ConvertTextBlockToStringTest.java
+++ 
b/java/java.hints/test/unit/src/org/netbeans/modules/java/hints/jdk/ConvertTextBlockToStringTest.java
@@ -387,7 +387,7 @@ public class ConvertTextBlockToStringTest {
 .sourceLevel(SourceVersion.latest().name())
 .options("--enable-preview")
 .run(ConvertTextBlockToString.class)
-.findWarning("3:18-3:21:verifier:" + 
Bundle.ERR_ConvertTextBlockToString())
+.findWarning("4:27-4:30:verifier:" + 
Bundle.ERR_ConvertTextBlockToString())
 .applyFix()
 .assertCompilable()
 .assertOutput("package test;\n"
@@ -419,7 +419,7 @@ public class ConvertTextBlockToStringTest {
 .sourceLevel(SourceVersion.latest().name())
 .options("--enable-preview")
 .run(ConvertTextBlockToString.class)
-.findWarning("3:18-3:21:verifier:" + 
Bundle.ERR_ConvertTextBlockToString())
+.findWarning("2:27-2:30:verifier:" + 
Bundle.ERR_ConvertTextBlockToString())
 .applyFix()
 .assertCompilable()
 .assertOutput("class myClass{\n"


-
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-4062) Unable to import Records from other package

2020-06-12 Thread Arunava Sinha (Jira)


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

Arunava Sinha reassigned NETBEANS-4062:
---

Assignee: Arunava Sinha  (was: ARUNAVA SINHA)

> Unable to import Records from other package
> ---
>
> Key: NETBEANS-4062
> URL: https://issues.apache.org/jira/browse/NETBEANS-4062
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.3
>Reporter: Julian Jupiter
>Assignee: Arunava Sinha
>Priority: Minor
>  Labels: Java14, records
>
> NetBeans can't import records from other package. It instead suggests to 
> create a class.
> It has to be imported manually. Even importing manually does not work 
> smoothly coz after hitting dot, records do not show up but other classes do. 
> There is no choice but to type it in explicitly.
> Steps to reproduce:
>  # Create a record in a package, e.g. `records.Person.java`.
>  # Create main class in another package, e.g. `app.PersonApp.java`.
>  # In `PersonApp`, type in `var person = new Person();`. Using content 
> assist/auto-suggestion does not display Person.
>  # Manually type: `import records.` and using content assist does not display 
> Person. Other classes, if any, do display, though. So, instead of relying on 
> suggestion, just type it explicitly: `import records.Person;`.



--
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-4062) Unable to import Records from other package

2020-06-12 Thread Arvind (Jira)


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

Arvind reassigned NETBEANS-4062:


Assignee: ARUNAVA SINHA

> Unable to import Records from other package
> ---
>
> Key: NETBEANS-4062
> URL: https://issues.apache.org/jira/browse/NETBEANS-4062
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.3
>Reporter: Julian Jupiter
>Assignee: ARUNAVA SINHA
>Priority: Minor
>  Labels: Java14, records
>
> NetBeans can't import records from other package. It instead suggests to 
> create a class.
> It has to be imported manually. Even importing manually does not work 
> smoothly coz after hitting dot, records do not show up but other classes do. 
> There is no choice but to type it in explicitly.
> Steps to reproduce:
>  # Create a record in a package, e.g. `records.Person.java`.
>  # Create main class in another package, e.g. `app.PersonApp.java`.
>  # In `PersonApp`, type in `var person = new Person();`. Using content 
> assist/auto-suggestion does not display Person.
>  # Manually type: `import records.` and using content assist does not display 
> Person. Other classes, if any, do display, though. So, instead of relying on 
> suggestion, just type it explicitly: `import records.Person;`.



--
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-4311) Support for AutoComplete inside Records

2020-06-12 Thread Arunava Sinha (Jira)


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

Arunava Sinha updated NETBEANS-4311:

Labels: Java14 record  (was: )

> Support for AutoComplete inside Records
> ---
>
> Key: NETBEANS-4311
> URL: https://issues.apache.org/jira/browse/NETBEANS-4311
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.3
>Reporter: Arunava Sinha
>Assignee: Arunava Sinha
>Priority: Major
>  Labels: Java14, record
> Fix For: Next
>
>
> Records was introduced in Jdk-14.
> Currently NB doesn't support fully autocomplete inside Record.
> This issue will try to address all auto-complete requirements in Records



--
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-4431) Option to create new file in Java project as record type

2020-06-12 Thread Arunava Sinha (Jira)


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

Arunava Sinha updated NETBEANS-4431:

Labels: Java14 record  (was: )

> Option to create new file in Java project as record type
> 
>
> Key: NETBEANS-4431
> URL: https://issues.apache.org/jira/browse/NETBEANS-4431
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Reporter: Arunava Sinha
>Assignee: Arunava Sinha
>Priority: Major
>  Labels: Java14, record
>
>  
> If we navigate to below option
> File–> new File
> We will get List of all types possible java types(e.g., Interface/class/enum)
> Java Record was introduced in JDK-14, needs option to create new file with 
> record type



--
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-4431) Option to create new file in Java Project as record type

2020-06-12 Thread Arunava Sinha (Jira)


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

Arunava Sinha updated NETBEANS-4431:

Summary: Option to create new file in Java Project as record type  (was: 
Option to create new file as Java Record type)

> Option to create new file in Java Project as record type
> 
>
> Key: NETBEANS-4431
> URL: https://issues.apache.org/jira/browse/NETBEANS-4431
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Reporter: Arunava Sinha
>Assignee: Arunava Sinha
>Priority: Major
>
>  
> If we navigate to below option
> File–> new File
> We will get List of all types possible java types(e.g., Interface/class/enum)
> Java Record was introduced in JDK-14, needs option to create new file with 
> record type



--
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-4431) Option to create new file in Java project as record type

2020-06-12 Thread Arunava Sinha (Jira)


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

Arunava Sinha updated NETBEANS-4431:

Summary: Option to create new file in Java project as record type  (was: 
Option to create new file in Java Project as record type)

> Option to create new file in Java project as record type
> 
>
> Key: NETBEANS-4431
> URL: https://issues.apache.org/jira/browse/NETBEANS-4431
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Reporter: Arunava Sinha
>Assignee: Arunava Sinha
>Priority: Major
>
>  
> If we navigate to below option
> File–> new File
> We will get List of all types possible java types(e.g., Interface/class/enum)
> Java Record was introduced in JDK-14, needs option to create new file with 
> record type



--
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-4431) Option to create new file as Java Record type

2020-06-12 Thread Arunava Sinha (Jira)


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

Arunava Sinha updated NETBEANS-4431:

Summary: Option to create new file as Java Record type  (was: Option to 
create new file as record type)

> Option to create new file as Java Record type
> -
>
> Key: NETBEANS-4431
> URL: https://issues.apache.org/jira/browse/NETBEANS-4431
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Reporter: Arunava Sinha
>Assignee: Arunava Sinha
>Priority: Major
>
>  
> If we navigate to below option
> File–> new File
> We will get List of all types possible java types(e.g., Interface/class/enum)
> Java Record was introduced in JDK-14, needs option to create new file with 
> record type



--
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-4431) Option to create new file as record type

2020-06-12 Thread Arunava Sinha (Jira)


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

Arunava Sinha updated NETBEANS-4431:

Summary: Option to create new file as record type  (was: Option to create 
new file as Record Type)

> Option to create new file as record type
> 
>
> Key: NETBEANS-4431
> URL: https://issues.apache.org/jira/browse/NETBEANS-4431
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Reporter: Arunava Sinha
>Assignee: Arunava Sinha
>Priority: Major
>
>  
> If we navigate to below option
> File–> new File
> We will get List of all types possible java types(e.g., Interface/class/enum)
> Java Record was introduced in JDK-14, needs option to create new file with 
> record type



--
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-4431) Option to create new file as Record Type

2020-06-12 Thread Arunava Sinha (Jira)
Arunava Sinha created NETBEANS-4431:
---

 Summary: Option to create new file as Record Type
 Key: NETBEANS-4431
 URL: https://issues.apache.org/jira/browse/NETBEANS-4431
 Project: NetBeans
  Issue Type: Bug
  Components: java - Editor
Reporter: Arunava Sinha
Assignee: Arunava Sinha


 

If we navigate to below option

File–> new File

We will get List of all types possible java types(e.g., Interface/class/enum)

Java Record was introduced in JDK-14, needs option to create new file with 
record type



--
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-4095) NPE saving Java file with type error in for-each

2020-06-12 Thread Arunava Sinha (Jira)


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

Arunava Sinha commented on NETBEANS-4095:
-

Issue has been fixed in nb-javac , will be available in nb-javac for jdk-14

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

[jira] [Commented] (NETBEANS-4391) Scope is wrong for ClassTree representing record in JDK-14

2020-06-12 Thread Arunava Sinha (Jira)


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

Arunava Sinha commented on NETBEANS-4391:
-

Issue is fixed in nb-javac , will bw available in nb-javac for jdk-14

> Scope is wrong for ClassTree representing record in JDK-14
> --
>
> Key: NETBEANS-4391
> URL: https://issues.apache.org/jira/browse/NETBEANS-4391
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Editor
>Affects Versions: Next
>Reporter: Arunava Sinha
>Assignee: Arunava Sinha
>Priority: Major
>
> This is an issue observed in new RECORD feature that's added
> e.g.
> record Rec( | ) \{ }
> When trying to retrieve the scope inside the record at position marked by '|'.
> Expecting X,Y to be the part of the scope, but the scope doesn't return those 
> elements.
> Maybe there is a change needed in nb-javac :
> jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTrees.java
> Issue is also present in jdk-14 javac and  is already reported there. Fix 
> will be available in jdk-15 release



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

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

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



[netbeans] branch master updated: [NETBEANS-4339] PHP Mess Detector - added option to use custom rule set file

2020-06-12 Thread tmysik
This is an automated email from the ASF dual-hosted git repository.

tmysik 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 f0f6f89  [NETBEANS-4339] PHP Mess Detector - added option to use 
custom rule set file
 new 31908a7  Merge pull request #2160 from 
KacerCZ/netbeans-4339-phpmd-rule-file
f0f6f89 is described below

commit f0f6f899e10adef7d475928da519621261bd18c7
Author: Tomas Prochazka 
AuthorDate: Fri May 29 23:09:31 2020 +0200

[NETBEANS-4339] PHP Mess Detector - added option to use custom rule set file
---
 .../php/analysis/MessDetectorAnalyzerImpl.java |  54 ---
 .../modules/php/analysis/MessDetectorParams.java   |  48 +
 .../php/analysis/commands/MessDetector.java|  37 +--
 .../php/analysis/options/AnalysisOptions.java  |  10 ++
 .../analysis/options/AnalysisOptionsValidator.java |  28 --
 .../options/ValidatorMessDetectorParameter.java|  70 +
 .../ui/MessDetectorRuleSetsListCellRenderer.java   |  45 +
 .../php/analysis/ui/analyzer/Bundle.properties |   2 +
 .../ui/analyzer/MessDetectorCustomizerPanel.form   |  49 --
 .../ui/analyzer/MessDetectorCustomizerPanel.java   |  98 ---
 .../php/analysis/ui/options/Bundle.properties  |   3 +
 .../ui/options/MessDetectorOptionsPanel.form   |  62 +---
 .../ui/options/MessDetectorOptionsPanel.java   | 108 -
 13 files changed, 530 insertions(+), 84 deletions(-)

diff --git 
a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/MessDetectorAnalyzerImpl.java
 
b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/MessDetectorAnalyzerImpl.java
index e5631a0..204272b 100644
--- 
a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/MessDetectorAnalyzerImpl.java
+++ 
b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/MessDetectorAnalyzerImpl.java
@@ -18,6 +18,7 @@
  */
 package org.netbeans.modules.php.analysis;
 
+import java.io.File;
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;
@@ -37,11 +38,13 @@ import 
org.netbeans.modules.php.analysis.ui.analyzer.MessDetectorCustomizerPanel
 import org.netbeans.modules.php.analysis.util.AnalysisUtils;
 import org.netbeans.modules.php.analysis.util.Mappers;
 import org.netbeans.modules.php.api.executable.InvalidPhpExecutableException;
+import org.netbeans.modules.php.api.util.StringUtils;
 import org.netbeans.modules.php.api.validation.ValidationResult;
 import org.netbeans.modules.refactoring.api.Scope;
 import org.netbeans.spi.editor.hints.ErrorDescription;
 import org.netbeans.spi.editor.hints.HintsController;
 import org.openide.filesystems.FileObject;
+import org.openide.filesystems.FileUtil;
 import org.openide.util.NbBundle;
 import org.openide.util.lookup.ServiceProvider;
 
@@ -76,8 +79,8 @@ public class MessDetectorAnalyzerImpl implements Analyzer {
 return Collections.emptyList();
 }
 
-List messDetectorRuleSets = getValidMessDetectorRuleSets();
-if (messDetectorRuleSets == null) {
+MessDetectorParams messDetectorParams = getValidMessDetectorParams();
+if (messDetectorParams == null) {
 
context.reportAnalysisProblem(Bundle.MessDetectorAnalyzerImpl_messDetector_ruleSets_error(),
 Bundle.MessDetectorAnalyzerImpl_messDetector_ruleSets_error_description());
 return Collections.emptyList();
 }
@@ -92,7 +95,7 @@ public class MessDetectorAnalyzerImpl implements Analyzer {
 
 context.start(totalCount);
 try {
-return doAnalyze(scope, messDetector, messDetectorRuleSets, 
fileCount);
+return doAnalyze(scope, messDetector, messDetectorParams, 
fileCount);
 } finally {
 context.finish();
 }
@@ -109,7 +112,8 @@ public class MessDetectorAnalyzerImpl implements Analyzer {
 "MessDetectorAnalyzerImpl.analyze.error=Mess detector analysis error",
 "MessDetectorAnalyzerImpl.analyze.error.description=Error occurred 
during mess detector analysis, review Output window for more information.",
 })
-private Iterable doAnalyze(Scope scope, 
MessDetector messDetector, List messDetectorRuleSets, Map fileCount) {
+private Iterable doAnalyze(Scope scope, 
MessDetector messDetector,
+MessDetectorParams params, Map fileCount) {
 List errors = new ArrayList<>();
 int progress = 0;
 messDetector.startAnalyzeGroup();
@@ -117,7 +121,7 @@ public class MessDetectorAnalyzerImpl implements Analyzer {
 if (cancelled.get()) {
 return Collections.emptyList();
 }
-List results = 
messDetector.analyze(messDetectorRuleSets, root);
+List results = 
messDetector.analyze(params, root);
 if (results == null) {