[jira] [Created] (NETBEANS-6248) Removing parameter when re-running the goals doesn't have any effect
Vlasta Ramik created NETBEANS-6248: -- Summary: Removing parameter when re-running the goals doesn't have any effect Key: NETBEANS-6248 URL: https://issues.apache.org/jira/browse/NETBEANS-6248 Project: NetBeans Issue Type: Bug Environment: maven, java Reporter: Vlasta Ramik In maven project when you run build of some module and then when you use "Re-run with different parameters button" and then you remove one of the parameters (if there were none, just add some and try again) the removed parameter is still used in the build. So it basically means that once you have a parameter there it's not possible to re-run the build without it. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6236) Netbeans 12.5 Background scanning repeatedly throws exceptions and never finishes
[ https://issues.apache.org/jira/browse/NETBEANS-6236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Rosser updated NETBEANS-6236: - Summary: Netbeans 12.5 Background scanning repeatedly throws exceptions and never finishes (was: Netbeans 12.3 Background scanning repeatedly throws exceptions and never finishes) > Netbeans 12.5 Background scanning repeatedly throws exceptions and never > finishes > - > > Key: NETBEANS-6236 > URL: https://issues.apache.org/jira/browse/NETBEANS-6236 > Project: NetBeans > Issue Type: Bug > Environment: Linux VM >Reporter: Tim Rosser >Priority: Major > Attachments: netbeans_exception.txt > > > As per summary -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6246) error al iniciar netbeans 12 en OS 10.12
Miguel Angel Manzano Portillo created NETBEANS-6246: --- Summary: error al iniciar netbeans 12 en OS 10.12 Key: NETBEANS-6246 URL: https://issues.apache.org/jira/browse/NETBEANS-6246 Project: NetBeans Issue Type: Bug Affects Versions: 12.4 Reporter: Miguel Angel Manzano Portillo -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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: Switch to FlatLaf Light as default look and feel / editor profile for IDE.
This is an automated email from the ASF dual-hosted git repository. neilcsmith pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 4e4518d Switch to FlatLaf Light as default look and feel / editor profile for IDE. new 1aea549 Merge pull request #3332 from neilcsmith-net/flatlaf-default 4e4518d is described below commit 4e4518dcca3304716dc5b28a107d7791aa3353b6 Author: Neil C Smith AuthorDate: Thu Nov 25 10:28:55 2021 + Switch to FlatLaf Light as default look and feel / editor profile for IDE. --- nb/ide.branding/build.xml | 6 ++ .../src/org/netbeans/swing/plaf/Bundle_nb.properties | 18 ++ .../src/org/netbeans/modules/ide/branding/layer.xml| 6 +- 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/nb/ide.branding/build.xml b/nb/ide.branding/build.xml index 18d73ed..29cd0a8 100644 --- a/nb/ide.branding/build.xml +++ b/nb/ide.branding/build.xml @@ -110,5 +110,11 @@ Contributor(s): Vincent Brabant, Maxym Mykhalchuk + + + + diff --git a/nb/ide.branding/o.n.swing.plaf/src/org/netbeans/swing/plaf/Bundle_nb.properties b/nb/ide.branding/o.n.swing.plaf/src/org/netbeans/swing/plaf/Bundle_nb.properties new file mode 100644 index 000..81cdafb --- /dev/null +++ b/nb/ide.branding/o.n.swing.plaf/src/org/netbeans/swing/plaf/Bundle_nb.properties @@ -0,0 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +LookAndFeelClassName=com.formdev.flatlaf.FlatLightLaf diff --git a/nb/ide.branding/src/org/netbeans/modules/ide/branding/layer.xml b/nb/ide.branding/src/org/netbeans/modules/ide/branding/layer.xml index ad79f70..2db80dd 100644 --- a/nb/ide.branding/src/org/netbeans/modules/ide/branding/layer.xml +++ b/nb/ide.branding/src/org/netbeans/modules/ide/branding/layer.xml @@ -33,4 +33,8 @@ - \ No newline at end of file + + + + + - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Closed] (NETBEANS-6245) MySQL driver does not work out of the box
[ https://issues.apache.org/jira/browse/NETBEANS-6245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Svatopluk Dedic closed NETBEANS-6245. - Resolution: Won't Fix Does not work, but we cannot distribute GPLv2 binary either. Closing. > MySQL driver does not work out of the box > - > > Key: NETBEANS-6245 > URL: https://issues.apache.org/jira/browse/NETBEANS-6245 > Project: NetBeans > Issue Type: Bug > Components: db - MySQL >Affects Versions: 12.6 >Reporter: Svatopluk Dedic >Assignee: Svatopluk Dedic >Priority: Critical > Labels: pull-request-available > Attachments: connect-error.png > > Time Spent: 50m > Remaining Estimate: 0h > > The db.mysql module provides an entry for MySQL driver, but an attempt to > connect to a database will result an error (see the attached screenshot). > The JDBC driver is not shipped with the module (although it IS specified in > `external/binaries-list`) and the driver's URL is not supplied in mysql > regitration. In fact, the mysql.xml is provided by a generic DB drivers > module, but not the MySQL specific one. > The error printed to the log is > {code:java} > java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver > at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471) > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588) > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) > at java.base/java.lang.Class.forName0(Native Method) > at java.base/java.lang.Class.forName(Class.java:398) > at > org.netbeans.modules.db.explorer.DbDriverManager.getDriver(DbDriverManager.java:205) > Caused: java.sql.SQLException: Unable to find a suitable driver > at > org.netbeans.modules.db.explorer.DbDriverManager.createDriverNotFoundException(DbDriverManager.java:279) > at > org.netbeans.modules.db.explorer.DbDriverManager.getDriver(DbDriverManager.java:207) > at > org.netbeans.modules.db.explorer.DbDriverManager.getDriverInternal(DbDriverManager.java:241) > at > org.netbeans.modules.db.explorer.DbDriverManager.getConnection(DbDriverManager.java:98) > at > org.netbeans.modules.db.explorer.DatabaseConnection.doConnect(DatabaseConnection.java:898) > at > org.netbeans.modules.db.explorer.DatabaseConnection.access$200(DatabaseConnection.java:78) > [catch] at > org.netbeans.modules.db.explorer.DatabaseConnection$3.run(DatabaseConnection.java:963) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > INFO [org.netbeans.modules.db.mysql.impl.ConnectManager]: > org.netbeans.api.db.explorer.DatabaseException: Unable to load JDBC > Drivercom.mysql.cj.jdbc.Driver > {code} > > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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: Remove jruby related YAML parser libs
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 29b50ea Remove jruby related YAML parser libs 29b50ea is described below commit 29b50ea4ab6aad8d5105f7bb0e07baf2afc397b8 Author: Laszlo Kishalmi AuthorDate: Fri Nov 26 15:10:12 2021 -0800 Remove jruby related YAML parser libs --- ide/libs.bytelist/build.xml| 24 - ide/libs.bytelist/external/binaries-list | 17 - .../external/bytelist-1.0.15-license.txt | 95 --- ide/libs.bytelist/manifest.mf | 4 - .../nbproject/org-netbeans-libs-bytelist.sig | 141 ide/libs.bytelist/nbproject/project.properties | 20 - ide/libs.bytelist/nbproject/project.xml| 55 -- .../org/netbeans/libs/bytelist/Bundle.properties | 22 - ide/libs.jvyamlb/build.xml | 24 - ide/libs.jvyamlb/external/binaries-list| 17 - .../external/jvyamlb-0.2.6-license.txt | 26 - ide/libs.jvyamlb/manifest.mf | 4 - .../nbproject/org-netbeans-libs-jvyamlb.sig| 773 - ide/libs.jvyamlb/nbproject/project.properties | 21 - ide/libs.jvyamlb/nbproject/project.xml | 66 -- .../org/netbeans/libs/jvyamlb/Bundle.properties| 22 - nbbuild/cluster.properties | 2 - 17 files changed, 1333 deletions(-) diff --git a/ide/libs.bytelist/build.xml b/ide/libs.bytelist/build.xml deleted file mode 100644 index 4125b64..000 --- a/ide/libs.bytelist/build.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - diff --git a/ide/libs.bytelist/external/binaries-list b/ide/libs.bytelist/external/binaries-list deleted file mode 100644 index e3ec14a..000 --- a/ide/libs.bytelist/external/binaries-list +++ /dev/null @@ -1,17 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -80294E59315B314D57782DC37F983AE5B29C2E4C org.jruby.extras:bytelist:1.0.15 \ No newline at end of file diff --git a/ide/libs.bytelist/external/bytelist-1.0.15-license.txt b/ide/libs.bytelist/external/bytelist-1.0.15-license.txt deleted file mode 100644 index ac9148d..000 --- a/ide/libs.bytelist/external/bytelist-1.0.15-license.txt +++ /dev/null @@ -1,95 +0,0 @@ -Name: Bytelist -Version: 1.0.15 -Description: The ByteList library from JRuby. -License: EPL-v10 -Origin: https://github.com/jruby/bytelist -Comment: This library was wrongly reported in Maven as released under the MIT license. Version 1.0.15 is licensed under the GPL 3, LGPL 3 or EPL 1.0 see: https://github.com/jruby/bytelist/commit/9a0d9de4d21f6fc4342f946166d43cf3bf8b798a or https://github.com/jruby/bytelist/blob/bytelist-1.0.15/src/org/jruby/util/ByteList.java - - -Eclipse Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - -a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and - -b) in the case of each subsequent Contributor: - -i) changes to the Program, and - -ii) additions to the Program; - -where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents" mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance
[netbeans] annotated tag 12.6 updated (9cacf1f -> d93a984)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a change to annotated tag 12.6 in repository https://gitbox.apache.org/repos/asf/netbeans.git. *** WARNING: tag 12.6 was modified! *** from 9cacf1f (commit) to d93a984 (tag) tagging 9cacf1fd305b775b176576c8b633b10b73524861 (commit) replaces 12.6-rc2 by Laszlo Kishalmi on Mon Nov 29 09:30:00 2021 -0800 - Log - Apache NetBeans 12.6 --- No new revisions were added by this update. Summary of changes: - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Closed] (NETBEANS-3579) Code completion not working inside block lambdas
[ https://issues.apache.org/jira/browse/NETBEANS-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bien closed NETBEANS-3579. -- Fix Version/s: 12.3 Resolution: Fixed > Code completion not working inside block lambdas > > > Key: NETBEANS-3579 > URL: https://issues.apache.org/jira/browse/NETBEANS-3579 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.0, 11.2 >Reporter: Jan Lahoda >Assignee: Akhilesh Singh >Priority: Critical > Fix For: 12.3 > > Attachments: 3579.png, RE Defect #3579 Status Findings.msg, RE > Defect #3579 Status Findings.msg, Screenshot (346).png > > > Consider the following code ('|' should not be part of the code, and > represents where the caret should be placed): > {{package org.netbeans.modules.learning.lambda.code.completion;}} > {{import java.util.Collection;}} > {{public class NewClass {}} > {{ public int compute(Collection c) {}} > {{ return c.stream().map(s -> {s.|)}} > {{ }}} > {{}}} > Invoking the code completion at the marked place ('|') yields not results > whatsoever for me. That is apparently wrong - there should be results for a > variable of type String. > > The IDE is a fully updated Apache NetBeans 11.2, with nb-javac installed > running on JDK 13: > Product Version: Apache NetBeans IDE 11.2 > Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9 > Runtime: OpenJDK Runtime Environment 13.0.1+9 > System: Linux version 4.15.0-72-generic running on amd64; UTF-8; en_US (nb) > User directory: /tmp/nbuser.lambda.test > Cache directory: /tmp/nbuser.lambda.test/var/cache -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-4456) No sample code ans NPE when accessing java wrapping format options
[ https://issues.apache.org/jira/browse/NETBEANS-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17450602#comment-17450602 ] Michael Bien commented on NETBEANS-4456: if you don't use nb-javac you have to use a recent JDK so that NetBeans can use an up2date javac. The main reason why nb-javac exists is to provide a new javac to old JDKs. please try again with JDK 17 and NB 12.6 which should be released soon. Or if you would like to stay on an older JDK, consider using nb-javac. > No sample code ans NPE when accessing java wrapping format options > -- > > Key: NETBEANS-4456 > URL: https://issues.apache.org/jira/browse/NETBEANS-4456 > Project: NetBeans > Issue Type: Bug > Components: editor - Options >Affects Versions: 12.0 > Environment: AdoptJDK 11 > Ubuntu 20.04 > no javac >Reporter: Ghislain G. >Priority: Critical > Labels: bug > Attachments: image-2020-06-16-15-33-16-088.png > > > No preview code is displayed and a {{NullPointerException}} is thrown when > navigating to Options / Editor / Formatting / Java / Wrapping. > > I use OpenJdk 11 on Ubuntu 20.04 and did not have _javac_ installed. > > !image-2020-06-16-15-33-16-088.png|width=530,height=473! > {noformat} > java.lang.NullPointerException > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:586) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:2919) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:396) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1258) > at > jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:600) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.handleSwitch(Reformatter.java:2870) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:2771) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:396) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSwitch.accept(JCTree.java:1229) > at > jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:600) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:1967) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:396) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032) > at > jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:600) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:1540) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:396) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:898) > at > jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:600) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:1046) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:396) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808) > at > jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:600) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:647) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:396) > at > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:591) > at > jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56) > at > org.netbeans.modules.java.source.save.Reformatter$Pretty.reformat(Reformatter.java:539) > at > org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:119) > at > org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:106) > at > org.netbeans.modules.java.ui.CategorySupport$2.run(CategorySupport.java:280) > at >
[jira] [Commented] (NETBEANS-6167) Find box controls not working
[ https://issues.apache.org/jira/browse/NETBEANS-6167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17450591#comment-17450591 ] Michael Bien commented on NETBEANS-6167: do you see any exceptions in the IDE log? If yes please attach .netbeans/12.5/var/log/messages.log to this issue. could you try to change the theme in _options -> appearance -> look_ and feel to FlatLaf and check if it is still a problem? This might be an issue with the system look and feel. > Find box controls not working > - > > Key: NETBEANS-6167 > URL: https://issues.apache.org/jira/browse/NETBEANS-6167 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.5 > Environment: Windows 11 > *Product Version:* Apache NetBeans IDE 12.5 > *Java:* 17.0.1; Java HotSpot(TM) 64-Bit Server VM 17.0.1+12-LTS-39 > *Runtime:* Java(TM) SE Runtime Environment 17.0.1+12-LTS-39 > *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) > *User directory:* C:\Users\\AppData\Roaming\NetBeans\12.5 > *Cache directory:* C:\Users\\AppData\Local\NetBeans\Cache\12.5 > Notice that the NB generated info above says "Windows 10" although Windows > says: > Edition Windows 11 Pro > Version 21H2 > Installed on 10/30/2021 > OS build 22000.258 > Experience Windows Feature Experience Pack 1000.22000.258.0 > >Reporter: Thomas Kirby >Priority: Critical > > Open any text file, Type Ctrl+F to open Find box. Case, whole word and regex > buttons do not work. There is no response to clicking/tapping the buttons, > nor using the keyboard shortcuts Alt+C, Alt+O and Alt+G. > The failure is on a Dell Inspiron 7786 laptop, on which NB worked normally > previously. The same NB 12.5 on a Windows 10 desktop works as expected. On > the laptop, > Also, Ctrl+Shift+F keymap was cleared, and had to be restored manually. > The failure was noticed immediately after installing the Windows 11 update on > a laptop. Probably unrelated, though, rolling back to Windows 10 had no > effect on the problem. > Importing the exported keymap file from the working machine did not solve the > problem. > While not a show-stopper, this severely impedes the normal workflow. > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6239) PHPStan rule level 9
[ https://issues.apache.org/jira/browse/NETBEANS-6239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tomáš Procházka resolved NETBEANS-6239. --- Fix Version/s: 13 Resolution: Implemented PR was merged. > PHPStan rule level 9 > > > Key: NETBEANS-6239 > URL: https://issues.apache.org/jira/browse/NETBEANS-6239 > Project: NetBeans > Issue Type: Improvement > Components: php - Code Analysis >Reporter: Tomáš Procházka >Assignee: Tomáš Procházka >Priority: Minor > Labels: pull-request-available > Fix For: 13 > > Time Spent: 20m > Remaining Estimate: 0h > > PHPStan 1.0 added rule level 9. > https://phpstan.org/blog/phpstan-1-0-released#level-9 -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Closed] (NETBEANS-3952) Netbeans 11.3 test windows takes null pointer exception when using gradle wrapper
[ https://issues.apache.org/jira/browse/NETBEANS-3952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bien closed NETBEANS-3952. -- Resolution: Fixed thanks for confirming. closing. > Netbeans 11.3 test windows takes null pointer exception when using gradle > wrapper > - > > Key: NETBEANS-3952 > URL: https://issues.apache.org/jira/browse/NETBEANS-3952 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 12.0, 11.3 > Environment: Linux interceptor 5.3.0-24-generic #26-Ubuntu SMP Thu > Nov 14 01:33:18 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux >Reporter: Andrea Paternesi >Priority: Critical > Attachments: errorTestWindow.txt > > > java.lang.NullPointerException > at > org.netbeans.modules.gradle.test.GradleTestProgressListener.processTestOutput(GradleTestProgressListener.java:142) > at > org.netbeans.modules.gradle.test.GradleTestProgressListener.statusChanged(GradleTestProgressListener.java:80) > at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) > at > org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) > at > org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:42) > at > org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:231) > at > org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:150) > at > org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:141) > at > org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:37) > at > org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) > at com.sun.proxy.$Proxy55.statusChanged(Unknown Source) > at > org.gradle.tooling.internal.consumer.parameters.BuildProgressListenerAdapter.broadcastTestOutputEvent(BuildProgressListenerAdapter.java:291) > at > org.gradle.tooling.internal.consumer.parameters.BuildProgressListenerAdapter.broadcastInternalProgressEvent(BuildProgressListenerAdapter.java:254) > at > org.gradle.tooling.internal.consumer.parameters.BuildProgressListenerAdapter.doBroadcast(BuildProgressListenerAdapter.java:213) > at > org.gradle.tooling.internal.consumer.parameters.BuildProgressListenerAdapter.onEvent(BuildProgressListenerAdapter.java:203) > at > org.gradle.tooling.internal.consumer.parameters.FailsafeBuildProgressListenerAdapter.onEvent(FailsafeBuildProgressListenerAdapter.java:39) > at > org.gradle.tooling.internal.consumer.parameters.FailsafeBuildProgressListenerAdapter.onEvent(FailsafeBuildProgressListenerAdapter.java:39) > at > org.gradle.tooling.internal.provider.ProviderConnection$BuildProgressListenerInvokingBuildEventConsumer.dispatch(ProviderConnection.java:313) > at > org.gradle.launcher.daemon.client.DaemonClient.monitorBuild(DaemonClient.java:222) > at > org.gradle.launcher.daemon.client.DaemonClient.executeBuild(DaemonClient.java:180) > at > org.gradle.launcher.daemon.client.DaemonClient.execute(DaemonClient.java:143) > at > org.gradle.launcher.daemon.client.DaemonClient.execute(DaemonClient.java:94) > at > org.gradle.tooling.internal.provider.DaemonBuildActionExecuter.execute(DaemonBuildActionExecuter.java:51) > at > org.gradle.tooling.internal.provider.DaemonBuildActionExecuter.execute(DaemonBuildActionExecuter.java:35) > at > org.gradle.tooling.internal.provider.LoggingBridgingBuildActionExecuter.execute(LoggingBridgingBuildActionExecuter.java:60) > at > org.gradle.tooling.internal.provider.LoggingBridgingBuildActionExecuter.execute(LoggingBridgingBuildActionExecuter.java:38) > at > org.gradle.tooling.internal.provider.ProviderConnection.run(ProviderConnection.java:193) > at > org.gradle.tooling.internal.provider.ProviderConnection.run(ProviderConnection.java:136) > at > org.gradle.tooling.internal.provider.DefaultConnection.getModel(DefaultConnection.java:203) > at > org.gradle.tooling.internal.consumer.connection.CancellableModelBuilderBackedModelProducer.produceModel(CancellableModelBuilderBackedModelProducer.java:54) > at > org.gradle.tooling.internal.consumer.connection.PluginClasspathInjectionSupportedCheckModelProducer.produceModel(PluginClasspathInjectionSupportedCheckModelProducer.java:38) > at > org.gradle.tooling.internal.consumer.connection.AbstractConsumerConnection.run(AbstractConsumerConnection.java:62) > at >
[jira] [Commented] (NETBEANS-5884) Jackpot doesn't work on JDK 17
[ https://issues.apache.org/jira/browse/NETBEANS-5884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17450573#comment-17450573 ] Jaroslav Tulach commented on NETBEANS-5884: --- OracleLabs tried to use new version of Jackpot, but had to revert it: [https://github.com/graalvm/mx/commit/d5c508e] this is the error: {code:java} java.lang.NoSuchMethodException: com.sun.tools.javac.comp.Enter.unenter(com.sun.tools.javac.tree.JCTree$JCCompilationUnit, com.sun.tools.javac.tree.JCTree) at java.base/java.lang.Class.getDeclaredMethod(Class.java:2475) at org.netbeans.api.java.source.TreeUtilities.unenter(TreeUtilities.java:927) at org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:916) at org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:845) at org.netbeans.modules.java.hints.declarative.DeclarativeHintsParser$1.run(DeclarativeHintsParser.java:502) at org.netbeans.modules.java.hints.declarative.DeclarativeHintsParser$1.run(DeclarativeHintsParser.java:477) at org.netbeans.modules.java.source.parsing.MimeTask.run(MimeTask.java:60) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:357) at org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:340) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:311) at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:431) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423) at org.netbeans.modules.java.hints.declarative.DeclarativeHintsParser.resolve(DeclarativeHintsParser.java:477) at org.netbeans.modules.java.hints.declarative.DeclarativeHintsParser.access$000(DeclarativeHintsParser.java:83) at org.netbeans.modules.java.hints.declarative.DeclarativeHintsParser$Impl.parseCondition(DeclarativeHintsParser.java:311) at org.netbeans.modules.java.hints.declarative.DeclarativeHintsParser$Impl.parseConditions(DeclarativeHintsParser.java:258) at org.netbeans.modules.java.hints.declarative.DeclarativeHintsParser$Impl.parseRule(DeclarativeHintsParser.java:215) at org.netbeans.modules.java.hints.declarative.DeclarativeHintsParser$Impl.parseInput(DeclarativeHintsParser.java:184) at org.netbeans.modules.java.hints.declarative.DeclarativeHintsParser$Impl.access$200(DeclarativeHintsParser.java:90) at org.netbeans.modules.java.hints.declarative.DeclarativeHintsParser.parse(DeclarativeHintsParser.java:395) at org.netbeans.modules.java.hints.declarative.DeclarativeHintRegistry.parseHints(DeclarativeHintRegistry.java:263) at org.netbeans.modules.java.hints.declarative.DeclarativeHintRegistry.parseHintFile(DeclarativeHintRegistry.java:239) at org.netbeans.modules.java.hints.declarative.DeclarativeHintRegistry.readHints(DeclarativeHintRegistry.java:128) at org.netbeans.modules.java.hints.declarative.DeclarativeHintRegistry.computeHints(DeclarativeHintRegistry.java:111) at org.netbeans.modules.java.hints.spiimpl.RulesManagerImpl.readHints(RulesManagerImpl.java:139) at org.netbeans.modules.jackpot30.cmdline.Main.readHints(Main.java:801) at org.netbeans.modules.jackpot30.cmdline.Main.handleGroup(Main.java:460) at org.netbeans.modules.jackpot30.cmdline.Main.compile(Main.java:340) at org.netbeans.modules.jackpot30.cmdline.Main.main(Main.java:136) {code} > Jackpot doesn't work on JDK 17 > -- > > Key: NETBEANS-5884 > URL: https://issues.apache.org/jira/browse/NETBEANS-5884 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler >Affects Versions: 12.3 >Reporter: Jaroslav Tulach >Assignee: Jan Lahoda >Priority: Major > > {code:java} > java.lang.NoSuchMethodError: 'void > com.sun.tools.javac.util.Log.(com.sun.tools.javac.util.Context, >
[netbeans] branch master updated: Micronaut data finder methods code completion (#3333)
This is an automated email from the ASF dual-hosted git repository. dbalek 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 c73b134 Micronaut data finder methods code completion (#) c73b134 is described below commit c73b134cf520288a4ee5101885fb4039253ec496 Author: Dusan Balek AuthorDate: Mon Nov 29 16:48:37 2021 +0100 Micronaut data finder methods code completion (#) --- enterprise/micronaut/nbproject/project.xml | 11 +- .../MicronautConfigCompletionCollector.java| 4 +- .../completion/MicronautConfigCompletionItem.java | 329 .../MicronautConfigCompletionProvider.java | 162 +++- .../MicronautDataCompletionCollector.java | 53 +++ .../MicronautDataCompletionProvider.java | 103 + .../completion/MicronautDataCompletionTask.java| 434 + .../newproject/MicronautProjectWizardIterator.java | 8 +- .../refactor/MicronautRefactoringFactory.java | 4 +- ide/editor.completion/apichanges.xml | 15 + ide/editor.completion/nbproject/project.properties | 2 +- .../CompletionSupportSpiPackageAccessor.java | 41 ++ .../editor/completion/SimpleCompletionItem.java| 172 .../completion/support/CompletionUtilities.java| 228 ++- java/java.lsp.server/vscode/src/extension.ts | 2 +- 15 files changed, 1222 insertions(+), 346 deletions(-) diff --git a/enterprise/micronaut/nbproject/project.xml b/enterprise/micronaut/nbproject/project.xml index b307a94..61dc5d8 100644 --- a/enterprise/micronaut/nbproject/project.xml +++ b/enterprise/micronaut/nbproject/project.xml @@ -117,7 +117,7 @@ 1 -1.56 +1.60 @@ -165,6 +165,15 @@ + org.netbeans.modules.java.lexer + + + +1 +1.50 + + + org.netbeans.modules.java.project diff --git a/enterprise/micronaut/src/org/netbeans/modules/micronaut/completion/MicronautConfigCompletionCollector.java b/enterprise/micronaut/src/org/netbeans/modules/micronaut/completion/MicronautConfigCompletionCollector.java index 8a96082..06d40ba 100644 --- a/enterprise/micronaut/src/org/netbeans/modules/micronaut/completion/MicronautConfigCompletionCollector.java +++ b/enterprise/micronaut/src/org/netbeans/modules/micronaut/completion/MicronautConfigCompletionCollector.java @@ -77,7 +77,7 @@ public class MicronautConfigCompletionCollector implements CompletionCollector { ArrayUtilities.appendSpaces(insertText, indentLevelSize); } } -return CompletionCollector.newBuilder(propName).kind(Completion.Kind.Property).sortText(String.format("%4d%s", 10, propName)) +return CompletionCollector.newBuilder(propName).kind(Completion.Kind.Property).sortText(String.format("%04d%s", 10, propName)) .insertText(insertText.toString()).insertTextFormat(insertTextFormat).build(); } @@ -112,7 +112,7 @@ public class MicronautConfigCompletionCollector implements CompletionCollector { } } CompletionCollector.Builder builder = CompletionCollector.newBuilder(property.getId()).kind(Completion.Kind.Property) -.sortText(String.format("%4d%s", property.isDeprecated() ? 30 : 20, property.getId())).insertText(insertText.toString()) +.sortText(String.format("%04d%s", property.isDeprecated() ? 30 : 20, property.getId())).insertText(insertText.toString()) .insertTextFormat(insertTextFormat).documentation(new MicronautConfigDocumentation(property).getText()); if (property.isDeprecated()) { builder.addTag(Completion.Tag.Deprecated); diff --git a/enterprise/micronaut/src/org/netbeans/modules/micronaut/completion/MicronautConfigCompletionItem.java b/enterprise/micronaut/src/org/netbeans/modules/micronaut/completion/MicronautConfigCompletionItem.java deleted file mode 100644 index 1a4e71d..000 --- a/enterprise/micronaut/src/org/netbeans/modules/micronaut/completion/MicronautConfigCompletionItem.java +++ /dev/null @@ -1,329 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF)
svn commit: r51129 - /dev/netbeans/netbeans-installers/12.6/ /release/netbeans/netbeans-installers/ /release/netbeans/netbeans-installers/12.6/
Author: neilcsmith Date: Mon Nov 29 14:50:47 2021 New Revision: 51129 Log: Apache NetBeans 12.6 Linux installer Added: release/netbeans/netbeans-installers/ release/netbeans/netbeans-installers/12.6/ release/netbeans/netbeans-installers/12.6/Apache-NetBeans-12.6-bin-linux-x64.sh - copied unchanged from r51128, dev/netbeans/netbeans-installers/12.6/Apache-NetBeans-12.6-bin-linux-x64.sh release/netbeans/netbeans-installers/12.6/Apache-NetBeans-12.6-bin-linux-x64.sh.asc - copied unchanged from r51128, dev/netbeans/netbeans-installers/12.6/Apache-NetBeans-12.6-bin-linux-x64.sh.asc release/netbeans/netbeans-installers/12.6/Apache-NetBeans-12.6-bin-linux-x64.sh.sha512 - copied unchanged from r51128, dev/netbeans/netbeans-installers/12.6/Apache-NetBeans-12.6-bin-linux-x64.sh.sha512 Removed: dev/netbeans/netbeans-installers/12.6/Apache-NetBeans-12.6-bin-linux-x64.sh dev/netbeans/netbeans-installers/12.6/Apache-NetBeans-12.6-bin-linux-x64.sh.asc dev/netbeans/netbeans-installers/12.6/Apache-NetBeans-12.6-bin-linux-x64.sh.sha512 - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
svn commit: r51128 - /dev/netbeans/netbeans-platform/12.6/ /dev/netbeans/netbeans/12.6/ /release/netbeans/netbeans-platform/12.6/ /release/netbeans/netbeans/12.6/
Author: neilcsmith Date: Mon Nov 29 14:45:52 2021 New Revision: 51128 Log: Apache NetBeans 12.6 Added: release/netbeans/netbeans-platform/12.6/ - copied from r51127, dev/netbeans/netbeans-platform/12.6/ release/netbeans/netbeans/12.6/ - copied from r51127, dev/netbeans/netbeans/12.6/ Removed: dev/netbeans/netbeans-platform/12.6/ dev/netbeans/netbeans/12.6/ - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
svn commit: r51127 - /dev/netbeans/netbeans-vscode-ext/12.6.0/ /release/netbeans/netbeans-vscode-ext/12.6.0/
Author: jtulach Date: Mon Nov 29 14:35:38 2021 New Revision: 51127 Log: Moving Apache NetBeans VSCode Extension bits from the staging area Added: release/netbeans/netbeans-vscode-ext/12.6.0/ - copied from r51048, dev/netbeans/netbeans-vscode-ext/12.6.0/ Removed: dev/netbeans/netbeans-vscode-ext/12.6.0/ - 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-6245) MySQL driver does not work out of the box
[ https://issues.apache.org/jira/browse/NETBEANS-6245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-6245: - Labels: pull-request-available (was: ) > MySQL driver does not work out of the box > - > > Key: NETBEANS-6245 > URL: https://issues.apache.org/jira/browse/NETBEANS-6245 > Project: NetBeans > Issue Type: Bug > Components: db - MySQL >Affects Versions: 12.6 >Reporter: Svatopluk Dedic >Assignee: Svatopluk Dedic >Priority: Critical > Labels: pull-request-available > Attachments: connect-error.png > > Time Spent: 10m > Remaining Estimate: 0h > > The db.mysql module provides an entry for MySQL driver, but an attempt to > connect to a database will result an error (see the attached screenshot). > The JDBC driver is not shipped with the module (although it IS specified in > `external/binaries-list`) and the driver's URL is not supplied in mysql > regitration. In fact, the mysql.xml is provided by a generic DB drivers > module, but not the MySQL specific one. > The error printed to the log is > {code:java} > java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver > at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471) > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588) > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) > at java.base/java.lang.Class.forName0(Native Method) > at java.base/java.lang.Class.forName(Class.java:398) > at > org.netbeans.modules.db.explorer.DbDriverManager.getDriver(DbDriverManager.java:205) > Caused: java.sql.SQLException: Unable to find a suitable driver > at > org.netbeans.modules.db.explorer.DbDriverManager.createDriverNotFoundException(DbDriverManager.java:279) > at > org.netbeans.modules.db.explorer.DbDriverManager.getDriver(DbDriverManager.java:207) > at > org.netbeans.modules.db.explorer.DbDriverManager.getDriverInternal(DbDriverManager.java:241) > at > org.netbeans.modules.db.explorer.DbDriverManager.getConnection(DbDriverManager.java:98) > at > org.netbeans.modules.db.explorer.DatabaseConnection.doConnect(DatabaseConnection.java:898) > at > org.netbeans.modules.db.explorer.DatabaseConnection.access$200(DatabaseConnection.java:78) > [catch] at > org.netbeans.modules.db.explorer.DatabaseConnection$3.run(DatabaseConnection.java:963) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > INFO [org.netbeans.modules.db.mysql.impl.ConnectManager]: > org.netbeans.api.db.explorer.DatabaseException: Unable to load JDBC > Drivercom.mysql.cj.jdbc.Driver > {code} > > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6245) MySQL driver does not work out of the box
[ https://issues.apache.org/jira/browse/NETBEANS-6245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Svatopluk Dedic updated NETBEANS-6245: -- Attachment: connect-error.png > MySQL driver does not work out of the box > - > > Key: NETBEANS-6245 > URL: https://issues.apache.org/jira/browse/NETBEANS-6245 > Project: NetBeans > Issue Type: Bug > Components: db - MySQL >Affects Versions: 12.6 >Reporter: Svatopluk Dedic >Assignee: Svatopluk Dedic >Priority: Critical > Attachments: connect-error.png > > > The db.mysql module provides an entry for MySQL driver, but an attempt to > connect to a database will result an error (see the attached screenshot). > The JDBC driver is not shipped with the module (although it IS specified in > `external/binaries-list`) and the driver's URL is not supplied in mysql > regitration. In fact, the mysql.xml is provided by a generic DB drivers > module, but not the MySQL specific one. > The error printed to the log is > {code:java} > java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver > at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471) > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588) > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) > at java.base/java.lang.Class.forName0(Native Method) > at java.base/java.lang.Class.forName(Class.java:398) > at > org.netbeans.modules.db.explorer.DbDriverManager.getDriver(DbDriverManager.java:205) > Caused: java.sql.SQLException: Unable to find a suitable driver > at > org.netbeans.modules.db.explorer.DbDriverManager.createDriverNotFoundException(DbDriverManager.java:279) > at > org.netbeans.modules.db.explorer.DbDriverManager.getDriver(DbDriverManager.java:207) > at > org.netbeans.modules.db.explorer.DbDriverManager.getDriverInternal(DbDriverManager.java:241) > at > org.netbeans.modules.db.explorer.DbDriverManager.getConnection(DbDriverManager.java:98) > at > org.netbeans.modules.db.explorer.DatabaseConnection.doConnect(DatabaseConnection.java:898) > at > org.netbeans.modules.db.explorer.DatabaseConnection.access$200(DatabaseConnection.java:78) > [catch] at > org.netbeans.modules.db.explorer.DatabaseConnection$3.run(DatabaseConnection.java:963) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > INFO [org.netbeans.modules.db.mysql.impl.ConnectManager]: > org.netbeans.api.db.explorer.DatabaseException: Unable to load JDBC > Drivercom.mysql.cj.jdbc.Driver > {code} > > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6245) MySQL driver does not work out of the box
Svatopluk Dedic created NETBEANS-6245: - Summary: MySQL driver does not work out of the box Key: NETBEANS-6245 URL: https://issues.apache.org/jira/browse/NETBEANS-6245 Project: NetBeans Issue Type: Bug Components: db - MySQL Affects Versions: 12.6 Reporter: Svatopluk Dedic Assignee: Svatopluk Dedic The db.mysql module provides an entry for MySQL driver, but an attempt to connect to a database will result an error (see the attached screenshot). The JDBC driver is not shipped with the module (although it IS specified in `external/binaries-list`) and the driver's URL is not supplied in mysql regitration. In fact, the mysql.xml is provided by a generic DB drivers module, but not the MySQL specific one. The error printed to the log is {code:java} java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:398) at org.netbeans.modules.db.explorer.DbDriverManager.getDriver(DbDriverManager.java:205) Caused: java.sql.SQLException: Unable to find a suitable driver at org.netbeans.modules.db.explorer.DbDriverManager.createDriverNotFoundException(DbDriverManager.java:279) at org.netbeans.modules.db.explorer.DbDriverManager.getDriver(DbDriverManager.java:207) at org.netbeans.modules.db.explorer.DbDriverManager.getDriverInternal(DbDriverManager.java:241) at org.netbeans.modules.db.explorer.DbDriverManager.getConnection(DbDriverManager.java:98) at org.netbeans.modules.db.explorer.DatabaseConnection.doConnect(DatabaseConnection.java:898) at org.netbeans.modules.db.explorer.DatabaseConnection.access$200(DatabaseConnection.java:78) [catch] at org.netbeans.modules.db.explorer.DatabaseConnection$3.run(DatabaseConnection.java:963) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) INFO [org.netbeans.modules.db.mysql.impl.ConnectManager]: org.netbeans.api.db.explorer.DatabaseException: Unable to load JDBC Drivercom.mysql.cj.jdbc.Driver {code} -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6241) SwitchToRuleSwitch Hint not working with Pattern Matching Switch
[ https://issues.apache.org/jira/browse/NETBEANS-6241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandeep Mishra updated NETBEANS-6241: - Description: With the given code : {code:java} static void testSwitchStatements(Integer i) { switch (i) { case 1, 2 : System.out.println("1"); break; case 3 : System.out.println("3"); break; case Integer i : System.out.println(i); break; } } {code} We get the hint to covert to rule switch. The output of the hint does not convert the binding pattern to rule switch case. {code:java} static void testSwitchStatements(Integer i) { switch (i) { case 1, 2 -> System.out.println("1"); case 3 -> System.out.println("3"); case Integer i : System.out.println(i); break; } } {code} When running the hint on a switch expression : {code:java} switch (p) { case (Integer i && (i > 10)): return (String) o1; default : return (String) o2; }{code} The output is multiple default statements. {code:java} return (String) (switch (p) { default -> o1; default -> o2; }); {code} was: With the given code : {code:java} static void testSwitchStatements(Integer i) { switch (i) { case 1, 2 : System.out.println("1"); break; case 3 : System.out.println("3"); break; case Integer i : System.out.println(i); break; } } {code} we get the hint to covert to rule switch. The output of the hint does not convert the binding pattern to rule switch case. {code:java} static void testSwitchStatements(Integer i) { switch (i) { case 1, 2 -> System.out.println("1"); case 3 -> System.out.println("3"); case Integer i : System.out.println(i); break; } } {code} When running the hint on a switch expression : {code:java} switch (p) { case (Integer i && (i > 10)): return (String) o1; default : return (String) o2; }{code} The output is multiple default statements. {code:java} return (String) (switch (p) { default -> o1; default -> o2; }); {code} > SwitchToRuleSwitch Hint not working with Pattern Matching Switch > - > > Key: NETBEANS-6241 > URL: https://issues.apache.org/jira/browse/NETBEANS-6241 > Project: NetBeans > Issue Type: Bug > Components: java - Hints >Affects Versions: 12.5 >Reporter: Sandeep Mishra >Assignee: Sandeep Mishra >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > With the given code : > {code:java} > static void testSwitchStatements(Integer i) { > switch (i) { > case 1, 2 : System.out.println("1"); break; > case 3 : System.out.println("3"); break; > case Integer i : System.out.println(i); > break; > } > } > {code} > We get the hint to covert to rule switch. The output of the hint does not > convert the binding pattern to rule switch case. > {code:java} > static void testSwitchStatements(Integer i) { > switch (i) { > case 1, 2 -> System.out.println("1"); > case 3 -> System.out.println("3"); > case Integer i : System.out.println(i); > break; > } > } > {code} > > When running the hint on a switch expression : > {code:java} > switch (p) { > case (Integer i && (i > 10)): > return (String) o1; > default : > return (String) o2; > }{code} > The output is multiple default statements. > {code:java} > return (String) (switch (p) { > default -> o1; > default -> o2; > }); {code} -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6241) SwitchToRuleSwitch Hint not working with Pattern Matching Switch
[ https://issues.apache.org/jira/browse/NETBEANS-6241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandeep Mishra updated NETBEANS-6241: - Description: With the given code : {code:java} static void testSwitchStatements(Integer i) { switch (i) { case 1, 2 : System.out.println("1"); break; case 3 : System.out.println("3"); break; case Integer i : System.out.println(i); break; } } {code} we get the hint to covert to rule switch. The output of the hint does not convert the binding pattern to rule switch case. {code:java} static void testSwitchStatements(Integer i) { switch (i) { case 1, 2 -> System.out.println("1"); case 3 -> System.out.println("3"); case Integer i : System.out.println(i); break; } } {code} When running the hint on a switch expression : {code:java} switch (p) { case (Integer i && (i > 10)): return (String) o1; default : return (String) o2; }{code} The output is multiple default statements. {code:java} return (String) (switch (p) { default -> o1; default -> o2; }); {code} was: With the given code : {code:java} static void testSwitchStatements(Integer i) { switch (i) { case 1, 2 : System.out.println("1"); break; case 3 : System.out.println("3"); break; case Integer i : System.out.println(i); break; } } {code} we get the hint to covert to rule switch. The output of the hint does not convert the binding pattern to rule switch case. {code:java} static void testSwitchStatements(Integer i) { switch (i) { case 1, 2 -> System.out.println("1"); case 3 -> System.out.println("3"); case Integer i : System.out.println(i); break; } } {code} > SwitchToRuleSwitch Hint not working with Pattern Matching Switch > - > > Key: NETBEANS-6241 > URL: https://issues.apache.org/jira/browse/NETBEANS-6241 > Project: NetBeans > Issue Type: Bug > Components: java - Hints >Affects Versions: 12.5 >Reporter: Sandeep Mishra >Assignee: Sandeep Mishra >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > With the given code : > {code:java} > static void testSwitchStatements(Integer i) { > switch (i) { > case 1, 2 : System.out.println("1"); break; > case 3 : System.out.println("3"); break; > case Integer i : System.out.println(i); > break; > } > } > {code} > > > we get the hint to covert to rule switch. The output of the hint does not > convert the binding pattern to rule switch case. > {code:java} > static void testSwitchStatements(Integer i) { > switch (i) { > case 1, 2 -> System.out.println("1"); > case 3 -> System.out.println("3"); > case Integer i : System.out.println(i); > break; > } > } > {code} > > When running the hint on a switch expression : > {code:java} > switch (p) { > case (Integer i && (i > 10)): > return (String) o1; > default : > return (String) o2; > }{code} > The output is multiple default statements. > {code:java} > return (String) (switch (p) { > default -> o1; > default -> o2; > }); {code} -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6242) report Issue is missing from help menu
[ https://issues.apache.org/jira/browse/NETBEANS-6242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heinz Schweitzer updated NETBEANS-6242: --- Attachment: image-2021-11-29-09-43-36-937.png Description: The itme 'report issue' in the Help menu is missing. In 12.3 it is still there !image-2021-11-29-09-43-36-937.png! was:The itme 'report issue' in the Help menu is missing. In 12.3 it is still there > report Issue is missing from help menu > -- > > Key: NETBEANS-6242 > URL: https://issues.apache.org/jira/browse/NETBEANS-6242 > Project: NetBeans > Issue Type: Bug > Components: ide - UI >Affects Versions: 12.5 >Reporter: Heinz Schweitzer >Priority: Critical > Attachments: image-2021-11-29-09-43-36-937.png > > > The itme 'report issue' in the Help menu is missing. In 12.3 it is still there > > !image-2021-11-29-09-43-36-937.png! -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6244) StackOverflowError while indexing project
[ https://issues.apache.org/jira/browse/NETBEANS-6244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Svatopluk Dedic reassigned NETBEANS-6244: - Assignee: Jan Lahoda > StackOverflowError while indexing project > - > > Key: NETBEANS-6244 > URL: https://issues.apache.org/jira/browse/NETBEANS-6244 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 12.6 >Reporter: Svatopluk Dedic >Assignee: Jan Lahoda >Priority: Major > > During indexing of projects I've noticed a StackTraceError printed to the > log. I don't know what file causes that. > The relevant stacktrace part is: > > {code:java} > at > com.sun.tools.javac.api.JavacTrees$Copier.visitVariable(JavacTrees.java:1177) > at > org.netbeans.lib.nbjavac.services.NBJavacTrees$2.visitVariable(NBJavacTrees.java:75) > at > com.sun.tools.javac.api.JavacTrees$Copier.visitVariable(JavacTrees.java:1177) > at > org.netbeans.lib.nbjavac.services.NBJavacTrees$2.visitVariable(NBJavacTrees.java:75) > at > com.sun.tools.javac.api.JavacTrees$Copier.visitVariable(JavacTrees.java:1177) > at > org.netbeans.lib.nbjavac.services.NBJavacTrees$2.visitVariable(NBJavacTrees.java:75) > at > com.sun.tools.javac.api.JavacTrees$Copier.visitVariable(JavacTrees.java:1177) > [catch] at > org.netbeans.lib.nbjavac.services.NBJavacTrees$2.visitVariable(NBJavacTrees.java:75) > Caused: java.lang.reflect.InvocationTargetException > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > [catch] at > org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:315) > at > org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:794) > at > org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:562) > at > org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:282) > at > org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:227) > at > org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:192) > at > org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:165) > at > org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:127) > at > org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:113) > {code} > > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6244) StackOverflowError while indexing project
Svatopluk Dedic created NETBEANS-6244: - Summary: StackOverflowError while indexing project Key: NETBEANS-6244 URL: https://issues.apache.org/jira/browse/NETBEANS-6244 Project: NetBeans Issue Type: Bug Components: java - Source Affects Versions: 12.6 Reporter: Svatopluk Dedic During indexing of projects I've noticed a StackTraceError printed to the log. I don't know what file causes that. The relevant stacktrace part is: {code:java} at com.sun.tools.javac.api.JavacTrees$Copier.visitVariable(JavacTrees.java:1177) at org.netbeans.lib.nbjavac.services.NBJavacTrees$2.visitVariable(NBJavacTrees.java:75) at com.sun.tools.javac.api.JavacTrees$Copier.visitVariable(JavacTrees.java:1177) at org.netbeans.lib.nbjavac.services.NBJavacTrees$2.visitVariable(NBJavacTrees.java:75) at com.sun.tools.javac.api.JavacTrees$Copier.visitVariable(JavacTrees.java:1177) at org.netbeans.lib.nbjavac.services.NBJavacTrees$2.visitVariable(NBJavacTrees.java:75) at com.sun.tools.javac.api.JavacTrees$Copier.visitVariable(JavacTrees.java:1177) [catch] at org.netbeans.lib.nbjavac.services.NBJavacTrees$2.visitVariable(NBJavacTrees.java:75) Caused: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) [catch] at org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:315) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:794) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:562) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:282) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:227) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:192) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:165) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:127) at org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:113) {code} -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6243) can not create a file with, or rename a file to filename 'aux.js' or 'aux.php'
[ https://issues.apache.org/jira/browse/NETBEANS-6243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heinz Schweitzer updated NETBEANS-6243: --- Summary: can not create a file with, or rename a file to filename 'aux.js' or 'aux.php' (was: can not create a fiel with, or rename a file with filename to 'aux.js' or 'aux.php') > can not create a file with, or rename a file to filename 'aux.js' or > 'aux.php' > - > > Key: NETBEANS-6243 > URL: https://issues.apache.org/jira/browse/NETBEANS-6243 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.5 >Reporter: Heinz Schweitzer >Priority: Major > Attachments: image-2021-11-29-09-40-24-836.png > > > See below: > > !image-2021-11-29-09-40-24-836.png! -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6243) can not create a fiel with, or rename a file with filename to 'aux.js' or 'aux.php'
Heinz Schweitzer created NETBEANS-6243: -- Summary: can not create a fiel with, or rename a file with filename to 'aux.js' or 'aux.php' Key: NETBEANS-6243 URL: https://issues.apache.org/jira/browse/NETBEANS-6243 Project: NetBeans Issue Type: Bug Affects Versions: 12.5 Reporter: Heinz Schweitzer Attachments: image-2021-11-29-09-40-24-836.png See below: !image-2021-11-29-09-40-24-836.png! -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6242) report Issue is missing from help menu
Heinz Schweitzer created NETBEANS-6242: -- Summary: report Issue is missing from help menu Key: NETBEANS-6242 URL: https://issues.apache.org/jira/browse/NETBEANS-6242 Project: NetBeans Issue Type: Bug Components: ide - UI Affects Versions: 12.5 Reporter: Heinz Schweitzer The itme 'report issue' in the Help menu is missing. In 12.3 it is still there -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6117) StackOverflowError when creating Gradle Java EE Web Application.
[ https://issues.apache.org/jira/browse/NETBEANS-6117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Svatopluk Dedic updated NETBEANS-6117: -- Component/s: projects - Gradle > StackOverflowError when creating Gradle Java EE Web Application. > > > Key: NETBEANS-6117 > URL: https://issues.apache.org/jira/browse/NETBEANS-6117 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle, projects - Gradle Java EE >Affects Versions: 12.5 > Environment: Microsoft Windows 10 Enterprise LTSC 2019 (1809) > OpenJDK Runtime Environment 11.0.12+7 >Reporter: Fox MCCLOUD >Assignee: Laszlo Kishalmi >Priority: Major > Labels: ee, gradle > Attachments: ide-log.log > > > When creating a new Gradle Web Application project with GlassFish 6.1.0, a > background error happens after clicking the 'Finish' button (after server > selection). > Selected server is GlassFish 6.1.0 with Jakarta EE 9. > The exception log is attached. > Tested on both Eclipse Temurin (OpenJDK) 11 and IBM Semeru Runtime (OpenJ9) > 11. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-5330) java.lang.StackOverflowErrorjava.lang.StackOverflowError
[ https://issues.apache.org/jira/browse/NETBEANS-5330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Svatopluk Dedic resolved NETBEANS-5330. --- Resolution: Duplicate > java.lang.StackOverflowErrorjava.lang.StackOverflowError > > > Key: NETBEANS-5330 > URL: https://issues.apache.org/jira/browse/NETBEANS-5330 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.0, 12.2 >Reporter: Pavel Pagurets >Priority: Major > > java.lang.StackOverflowErrorjava.lang.StackOverflowError at > java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at > java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242) at > java.io.File.exists(File.java:819) at > org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:217) at > org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:241) at > org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:602) > at > org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:554) > at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:359) at > org.apache.lucene.index.IndexReader.indexExists(IndexReader.java:1099) at > org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.exists(LuceneIndex.java:783) > at > org.netbeans.modules.parsing.lucene.LuceneIndex._doStore(LuceneIndex.java:411) > at > org.netbeans.modules.parsing.lucene.LuceneIndex.txStore(LuceneIndex.java:386) > at > org.netbeans.modules.parsing.lucene.DocumentIndexImpl.storeImpl(DocumentIndexImpl.java:196) > at > org.netbeans.modules.parsing.lucene.DocumentIndexImpl.store(DocumentIndexImpl.java:171) > at > org.netbeans.modules.parsing.lucene.DocumentIndexImpl.addDocument(DocumentIndexImpl.java:108) > at > org.netbeans.modules.parsing.impl.indexing.lucene.LayeredDocumentIndex.addDocument(LayeredDocumentIndex.java:71) > at > org.netbeans.modules.parsing.spi.indexing.support.IndexingSupport.addDocument(IndexingSupport.java:136) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:222) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at >
[jira] [Resolved] (NETBEANS-2312) Stackoverflow crash while indexing project
[ https://issues.apache.org/jira/browse/NETBEANS-2312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Svatopluk Dedic resolved NETBEANS-2312. --- Resolution: Duplicate > Stackoverflow crash while indexing project > -- > > Key: NETBEANS-2312 > URL: https://issues.apache.org/jira/browse/NETBEANS-2312 > Project: NetBeans > Issue Type: Bug >Affects Versions: 10.0 >Reporter: Stefan >Priority: Major > > > {code:java} > WARNING [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater] > java.lang.StackOverflowError > at java.base/java.util.WeakHashMap.getTable(WeakHashMap.java:350) > at java.base/java.util.WeakHashMap.get(WeakHashMap.java:398) > at > org.openide.util.lookup.MetaInfServicesLookup.beforeLookup(MetaInfServicesLookup.java:121) > at org.openide.util.lookup.AbstractLookup.lookupItem(AbstractLookup.java:402) > at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:396) > at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:197) > at > org.netbeans.modules.javascript2.model.JsElementImpl.isInternalFile(JsElementImpl.java:194) > at > org.netbeans.modules.javascript2.model.JsElementImpl.isPlatform(JsElementImpl.java:188) > at > org.netbeans.modules.javascript2.model.api.IndexedElement$Flag.getFlag(IndexedElement.java:387) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.createDocument(JsIndexer.java:121) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:221) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > // ... > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > [catch] at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > {code} > I received this right after importing a new project, together with a > NullPointerException when trying to update the repository: > {code:java} > WARNING [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater] > java.lang.NullPointerException > at > org.netbeans.modules.javascript2.model.JsObjectImpl.addAssignment(JsObjectImpl.java:272) > at > org.netbeans.modules.javascript2.nodejs.editor.model.NodeJsObjectInterceptor.interceptGlobal(NodeJsObjectInterceptor.java:73) > at > org.netbeans.modules.javascript2.model.api.Model.getModelVisitor(Model.java:179) > at > org.netbeans.modules.javascript2.model.api.Model.getGlobalObject(Model.java:468) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.index(JsIndexer.java:96) > at > org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:225) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) > at > org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:223) > [catch] at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3209) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) > at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) > at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862) > 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 >
[jira] [Resolved] (NETBEANS-4186) Stackoverflow error during scanning of projects
[ https://issues.apache.org/jira/browse/NETBEANS-4186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Svatopluk Dedic resolved NETBEANS-4186. --- Resolution: Duplicate > Stackoverflow error during scanning of projects > --- > > Key: NETBEANS-4186 > URL: https://issues.apache.org/jira/browse/NETBEANS-4186 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.0 > Environment: Windows 10, OpenJDK 13, NetBeans 12.0-beta3 >Reporter: Thomas Kellerer >Priority: Minor > > I have cleared the "cache" subdirectory of my userdir, to force reindexing. > The background scanning completed and it seems to have worked. However the > problem reported showed the following exception > {noformat} > java.lang.StackOverflowError > at java.base/java.util.WeakHashMap.getTable(WeakHashMap.java:350) > at java.base/java.util.WeakHashMap.get(WeakHashMap.java:398) > at > org.openide.util.lookup.MetaInfServicesLookup.beforeLookup(MetaInfServicesLookup.java:121) > at > org.openide.util.lookup.AbstractLookup.lookupItem(AbstractLookup.java:402) > at > org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:396) > at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:197) > at > org.netbeans.modules.javascript2.model.JsElementImpl.isInternalFile(JsElementImpl.java:194) > at > org.netbeans.modules.javascript2.model.JsElementImpl.isPlatform(JsElementImpl.java:188) > at > org.netbeans.modules.javascript2.model.api.IndexedElement$Flag.getFlag(IndexedElement.java:387) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.createDocument(JsIndexer.java:121) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:221) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at >