[jira] [Closed] (NETBEANS-4938) Missing sources & co. after creating Gradle Frontend App in 12.2-beta2
[ https://issues.apache.org/jira/browse/NETBEANS-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jaroslav Tulach closed NETBEANS-4938. - I've just created new Java Frontend Application project with commit {color:#00}cee80c2704dac3e35f71e5cefea67916a7ff7dc2{color} and the result is great: !image-2020-10-27-05-52-46-561.png! Sources are visible, there are no errors, configurations are present. Thank you. The only missing piece (compared to Maven) is the "Web Pages" node, but that's not a bug report, but a feature request for some future version of NetBeans. > Missing sources & co. after creating Gradle Frontend App in 12.2-beta2 > -- > > Key: NETBEANS-4938 > URL: https://issues.apache.org/jira/browse/NETBEANS-4938 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 12.2 >Reporter: Jaroslav Tulach >Assignee: Laszlo Kishalmi >Priority: Major > Labels: pull-request-available > Fix For: 12.2 > > Time Spent: 1.5h > Remaining Estimate: 0h > > I am trying to test > "New Project/Java with Gradle/Java Frontend Application" > on 12.2-beta2 of > {code:java} > bin/netbeans --userdir emptyud --jdkhome /jdk-11 > {code} > the project is generated, but it only shows a single node "Build Scripts". > Why? > Next step. Run "Build" from popup menu: "BUILD SUCCESSFUL". But still just a > single node "Build Scripts". > Invoked "Reload Project". Now there are three nodes: "Configurations" (no > children), "Build Scripts" and "Sub Projects" (no children). > Subsequent "Reaload Project" - shows "Sub Projects" children. Finally! > Opening the ":desktop" and ":web" projects seems to work OK. Just > "DesktopMain" class contains an error (cannot find "Demo" class). The same > for "BrowserMain" class. Giving up and restarting. > After the errors in "DesktopMain" and "BrowserMain" are gone. Moreover I can > also see the source packages for the main project (this time, it may not be > fully reliable). > Creating another "New Project/Java with Gradle/Java Frontend Application" > seems to exhibit the same behavior. E.g. only project with "Builds > Scripts"... then two reload project actions - sub projects visible. But still > no sources... > -- 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-4955) Add Firefox Developer edition & Nightly to list preconfigured browsers
[ https://issues.apache.org/jira/browse/NETBEANS-4955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-4955: - Labels: beginner pull-request-available (was: beginner) > Add Firefox Developer edition & Nightly to list preconfigured browsers > -- > > Key: NETBEANS-4955 > URL: https://issues.apache.org/jira/browse/NETBEANS-4955 > Project: NetBeans > Issue Type: Improvement > Components: ide - UI >Affects Versions: 12.2 >Reporter: Vítězslav Dvořák >Priority: Trivial > Labels: beginner, pull-request-available > Attachments: netbeans-browser-select.png, > netbeans-web-browser-manager-nightly+webdev.png > > Original Estimate: 1h > Time Spent: 10m > Remaining Estimate: 50m > > Please add to netbeans preconfigured current Firefox browsers: > > > > > > > > !image-2020-10-27-01-48-57-179.png! > > -- 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-4955) Add Firefox Developer edition & Nightly to list preconfigured browsers
[ https://issues.apache.org/jira/browse/NETBEANS-4955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vítězslav Dvořák updated NETBEANS-4955: --- Attachment: netbeans-browser-select.png > Add Firefox Developer edition & Nightly to list preconfigured browsers > -- > > Key: NETBEANS-4955 > URL: https://issues.apache.org/jira/browse/NETBEANS-4955 > Project: NetBeans > Issue Type: Improvement > Components: ide - UI >Affects Versions: 12.2 >Reporter: Vítězslav Dvořák >Priority: Trivial > Labels: beginner > Attachments: netbeans-browser-select.png, > netbeans-web-browser-manager-nightly+webdev.png > > Original Estimate: 1h > Remaining Estimate: 1h > > Please add to netbeans preconfigured current Firefox browsers: > > > > !image-2020-10-27-01-48-57-179.png! > > -- 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-4955) Add Firefox Developer edition & Nightly to list preconfigured browsers
[ https://issues.apache.org/jira/browse/NETBEANS-4955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vítězslav Dvořák updated NETBEANS-4955: --- Description: Please add to netbeans preconfigured current Firefox browsers: !image-2020-10-27-01-48-57-179.png! was: Please add to netbeans preconfigured current Firefox browsers: !image-2020-10-27-01-48-57-179.png! > Add Firefox Developer edition & Nightly to list preconfigured browsers > -- > > Key: NETBEANS-4955 > URL: https://issues.apache.org/jira/browse/NETBEANS-4955 > Project: NetBeans > Issue Type: Improvement > Components: ide - UI >Affects Versions: 12.2 >Reporter: Vítězslav Dvořák >Priority: Trivial > Labels: beginner > Attachments: netbeans-browser-select.png, > netbeans-web-browser-manager-nightly+webdev.png > > Original Estimate: 1h > Remaining Estimate: 1h > > Please add to netbeans preconfigured current Firefox browsers: > > > > > > > > !image-2020-10-27-01-48-57-179.png! > > -- 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-4955) Add Firefox Developer edition & Nightly to list preconfigured browsers
[ https://issues.apache.org/jira/browse/NETBEANS-4955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vítězslav Dvořák updated NETBEANS-4955: --- Attachment: (was: image-2020-10-27-01-48-57-179.png) > Add Firefox Developer edition & Nightly to list preconfigured browsers > -- > > Key: NETBEANS-4955 > URL: https://issues.apache.org/jira/browse/NETBEANS-4955 > Project: NetBeans > Issue Type: Improvement > Components: ide - UI >Affects Versions: 12.2 >Reporter: Vítězslav Dvořák >Priority: Trivial > Labels: beginner > Attachments: netbeans-web-browser-manager-nightly+webdev.png > > Original Estimate: 1h > Remaining Estimate: 1h > > Please add to netbeans preconfigured current Firefox browsers: > > > > !image-2020-10-27-01-48-57-179.png! > > -- 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-4955) Add Firefox Developer edition & Nightly to list preconfigured browsers
[ https://issues.apache.org/jira/browse/NETBEANS-4955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vítězslav Dvořák updated NETBEANS-4955: --- Description: Please add to netbeans preconfigured current Firefox browsers: !image-2020-10-27-01-48-57-179.png! was: Please add to netbeans preconfigured current Firefox browsers: !image-2020-10-27-01-48-57-179.png! > Add Firefox Developer edition & Nightly to list preconfigured browsers > -- > > Key: NETBEANS-4955 > URL: https://issues.apache.org/jira/browse/NETBEANS-4955 > Project: NetBeans > Issue Type: Improvement > Components: ide - UI >Affects Versions: 12.2 >Reporter: Vítězslav Dvořák >Priority: Trivial > Labels: beginner > Attachments: netbeans-web-browser-manager-nightly+webdev.png > > Original Estimate: 1h > Remaining Estimate: 1h > > Please add to netbeans preconfigured current Firefox browsers: > > > > !image-2020-10-27-01-48-57-179.png! > > -- 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-4955) Add Firefox Developer edition & Nightly to list preconfigured browsers
Vítězslav Dvořák created NETBEANS-4955: -- Summary: Add Firefox Developer edition & Nightly to list preconfigured browsers Key: NETBEANS-4955 URL: https://issues.apache.org/jira/browse/NETBEANS-4955 Project: NetBeans Issue Type: Improvement Components: ide - UI Affects Versions: 12.2 Reporter: Vítězslav Dvořák Attachments: image-2020-10-27-01-48-57-179.png, netbeans-web-browser-manager-nightly+webdev.png Please add to netbeans preconfigured current Firefox browsers: !image-2020-10-27-01-47-46-180.png! !image-2020-10-27-01-48-57-179.png! -- 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-4955) Add Firefox Developer edition & Nightly to list preconfigured browsers
[ https://issues.apache.org/jira/browse/NETBEANS-4955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vítězslav Dvořák updated NETBEANS-4955: --- Description: Please add to netbeans preconfigured current Firefox browsers: !image-2020-10-27-01-48-57-179.png! was: Please add to netbeans preconfigured current Firefox browsers: !image-2020-10-27-01-47-46-180.png! !image-2020-10-27-01-48-57-179.png! > Add Firefox Developer edition & Nightly to list preconfigured browsers > -- > > Key: NETBEANS-4955 > URL: https://issues.apache.org/jira/browse/NETBEANS-4955 > Project: NetBeans > Issue Type: Improvement > Components: ide - UI >Affects Versions: 12.2 >Reporter: Vítězslav Dvořák >Priority: Trivial > Labels: beginner > Attachments: image-2020-10-27-01-48-57-179.png, > netbeans-web-browser-manager-nightly+webdev.png > > Original Estimate: 1h > Remaining Estimate: 1h > > Please add to netbeans preconfigured current Firefox browsers: > !image-2020-10-27-01-48-57-179.png! > > -- 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-4954) my laptop is slow
kany created NETBEANS-4954: -- Summary: my laptop is slow Key: NETBEANS-4954 URL: https://issues.apache.org/jira/browse/NETBEANS-4954 Project: NetBeans Issue Type: Bug Reporter: kany my laptop is very slow i can't use netbean -- 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 delivery updated: Infrastructure to display simple confirmations/questions in LSP client. (#2493)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a commit to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/delivery by this push: new cee80c2 Infrastructure to display simple confirmations/questions in LSP client. (#2493) cee80c2 is described below commit cee80c2704dac3e35f71e5cefea67916a7ff7dc2 Author: Svatopluk Dedic AuthorDate: Mon Oct 26 23:45:51 2020 +0100 Infrastructure to display simple confirmations/questions in LSP client. (#2493) * Added A11Y properties to the panel. * Infrastructure to display simple confirmations/questions in LSP client. * Only translate html-starting content. * Leftover cleanup. --- .../modules/gradle/execute/TrustProjectPanel.java | 6 +- .../modules/project/ui/problems/Bundle.properties | 2 +- .../nbcode/integration/nbproject/project.xml | 8 + .../nbcode/integration/LspDialogDisplayer.java | 31 ++ java/java.lsp.server/nbproject/project.xml | 8 + .../modules/java/lsp/server/LspServerUtils.java| 91 ++ .../lsp/server/protocol/NbCodeLanguageClient.java | 4 + .../modules/java/lsp/server/protocol/Server.java | 229 +++ .../lsp/server/protocol/WorkspaceUIContext.java| 9 +- .../lsp/server/ui/AbstractDialogDisplayer.java | 68 + .../lsp/server/ui/NotifyDescriptorAdapter.java | 325 + .../modules/java/lsp/server/ui/UIContext.java | 39 ++- .../lsp/server/ui/AbstractDialogDisplayerTest.java | 156 ++ 13 files changed, 910 insertions(+), 66 deletions(-) diff --git a/extide/gradle/src/org/netbeans/modules/gradle/execute/TrustProjectPanel.java b/extide/gradle/src/org/netbeans/modules/gradle/execute/TrustProjectPanel.java index e4bbfcf..910a70c 100644 --- a/extide/gradle/src/org/netbeans/modules/gradle/execute/TrustProjectPanel.java +++ b/extide/gradle/src/org/netbeans/modules/gradle/execute/TrustProjectPanel.java @@ -42,19 +42,23 @@ public class TrustProjectPanel extends javax.swing.JPanel { + " allows arbitrary code execution.", "TrustProjectPanel.INFO_UNKNOWN=NetBeans is about to invoke a Gradle build process." + " Executing Gradle can be potentially un-safe as it" -+ " allows arbitrary code execution." ++ " allows arbitrary code execution.", +"ProjectTrustDlg.TITLE=Not a Trusted Project" }) public TrustProjectPanel(Project project) { initComponents(); ProjectInformation info = project != null ? project.getLookup().lookup(ProjectInformation.class) : null; + getAccessibleContext().setAccessibleName(Bundle.ProjectTrustDlg_TITLE()); if (project == null) { cbTrustProject.setEnabled(false); cbTrustProject.setVisible(false); } if (info == null) { lbTrustMessage.setText(Bundle.TrustProjectPanel_INFO_UNKNOWN()); + getAccessibleContext().setAccessibleDescription(Bundle.TrustProjectPanel_INFO_UNKNOWN()); } else { lbTrustMessage.setText(Bundle.TrustProjectPanel_INFO(info.getDisplayName())); + getAccessibleContext().setAccessibleDescription(Bundle.TrustProjectPanel_INFO(info.getDisplayName())); } } diff --git a/ide/projectui/src/org/netbeans/modules/project/ui/problems/Bundle.properties b/ide/projectui/src/org/netbeans/modules/project/ui/problems/Bundle.properties index d022650..f9d5d34 100644 --- a/ide/projectui/src/org/netbeans/modules/project/ui/problems/Bundle.properties +++ b/ide/projectui/src/org/netbeans/modules/project/ui/problems/Bundle.properties @@ -20,7 +20,7 @@ ACSN_BrokenReferencesAlertPanel_notAgain=Do not show this message again ACSD_BrokenReferencesAlertPanel_notAgain=N/A MSG_Broken_References=One or more project resources could not be found.Right-click the project in the Projects window and chooseResolve Project Problems to find the missing resources. ACSN_BrokenReferencesAlertPanel=Broken Project Panel -ACSD_BrokenReferencesAlertPanel=N/A +ACSD_BrokenReferencesAlertPanel=The project contains broken references or other problems. FMT_ProblemInProject={1} (in {0}) LBL_BrokenLinksCustomizer_List=Project : diff --git a/java/java.lsp.server/nbcode/integration/nbproject/project.xml b/java/java.lsp.server/nbcode/integration/nbproject/project.xml index ff60f27..3a36d95 100644 --- a/java/java.lsp.server/nbcode/integration/nbproject/project.xml +++ b/java/java.lsp.server/nbcode/integration/nbproject/project.xml @@ -51,6 +51,14 @@ +org.openide.dialogs + + + +7.52 + + + org.openide.util.lookup
[netbeans] branch delivery updated (d492b87 -> dd7e74b)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a change to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git. from d492b87 Merge pull request #2494 from JaroslavTulach/jtulach/NbCodeUserdir add dd7e74b [NETBEANS-3789] Fix missing configuration nodes. No new revisions were added by this update. Summary of changes: extide/gradle/arch.xml | 9 +- .../gradle/tooling/NbProjectInfoBuilder.groovy | 1 + .../src/test/data/simple-with-tests/build.gradle | 40 ++-- .../settings.gradle} | 0 .../src/build.gradle => simple/settings.gradle}| 0 .../build.gradle => unresolvable/settings.gradle} | 0 .../modules/gradle/GradleModuleFileCache21.java| 254 + .../modules/gradle/GradleProjectCache.java | 7 +- .../gradle/api/GradleBaseProjectBuilder.java | 31 ++- .../modules/gradle/cache/ProjectInfoDiskCache.java | 9 +- .../modules/gradle/nodes/ConfigurationsNode.java | 3 +- 11 files changed, 323 insertions(+), 31 deletions(-) copy extide/gradle/netbeans-gradle-tooling/src/test/data/{multi/app/src/build.gradle => simple-with-tests/settings.gradle} (100%) copy extide/gradle/netbeans-gradle-tooling/src/test/data/{multi/app/src/build.gradle => simple/settings.gradle} (100%) copy extide/gradle/netbeans-gradle-tooling/src/test/data/{multi/app/src/build.gradle => unresolvable/settings.gradle} (100%) create mode 100644 extide/gradle/src/org/netbeans/modules/gradle/GradleModuleFileCache21.java - 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 delivery updated (d492b87 -> dd7e74b)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a change to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git. from d492b87 Merge pull request #2494 from JaroslavTulach/jtulach/NbCodeUserdir add dd7e74b [NETBEANS-3789] Fix missing configuration nodes. No new revisions were added by this update. Summary of changes: extide/gradle/arch.xml | 9 +- .../gradle/tooling/NbProjectInfoBuilder.groovy | 1 + .../src/test/data/simple-with-tests/build.gradle | 40 ++-- .../settings.gradle} | 0 .../src/build.gradle => simple/settings.gradle}| 0 .../build.gradle => unresolvable/settings.gradle} | 0 .../modules/gradle/GradleModuleFileCache21.java| 254 + .../modules/gradle/GradleProjectCache.java | 7 +- .../gradle/api/GradleBaseProjectBuilder.java | 31 ++- .../modules/gradle/cache/ProjectInfoDiskCache.java | 9 +- .../modules/gradle/nodes/ConfigurationsNode.java | 3 +- 11 files changed, 323 insertions(+), 31 deletions(-) copy extide/gradle/netbeans-gradle-tooling/src/test/data/{multi/app/src/build.gradle => simple-with-tests/settings.gradle} (100%) copy extide/gradle/netbeans-gradle-tooling/src/test/data/{multi/app/src/build.gradle => simple/settings.gradle} (100%) copy extide/gradle/netbeans-gradle-tooling/src/test/data/{multi/app/src/build.gradle => unresolvable/settings.gradle} (100%) create mode 100644 extide/gradle/src/org/netbeans/modules/gradle/GradleModuleFileCache21.java - 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-4953) Can't open path like \\wsl$\Ubuntu\home\
[ https://issues.apache.org/jira/browse/NETBEANS-4953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergio updated NETBEANS-4953: - Labels: netb (was: ) > Can't open path like \\wsl$\Ubuntu\home\ > > > Key: NETBEANS-4953 > URL: https://issues.apache.org/jira/browse/NETBEANS-4953 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Windows 10 Home Netbeans 12.1 >Reporter: Sergio >Priority: Critical > Labels: netb > > I got error when try create/open a project that located on > \\wsl$\Ubuntu\home\ ... > --- > java.net.URISyntaxException: Illegal character in hostname at index 10: > file://wsl$/Ubuntu/home//Projects/java.net.URISyntaxException: Illegal > character in hostname at index 10: file://wsl$/Ubuntu/home//Projects/ at > java.net.URI$Parser.fail(URI.java:2848) at > java.net.URI$Parser.parseHostname(URI.java:3387) at > java.net.URI$Parser.parseServer(URI.java:3236) at > java.net.URI$Parser.parseAuthority(URI.java:3155) at > java.net.URI$Parser.parseHierarchical(URI.java:3097) at > java.net.URI$Parser.parse(URI.java:3053) at java.net.URI.(URI.java:673) > at java.net.URI.(URI.java:774) at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:111)Caused: > java.lang.Error at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:113) > at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:105) > at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.fileToURL(FileBasedURLMapper.java:87) > at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.getURL(FileBasedURLMapper.java:50) > at > org.netbeans.modules.masterfs.MasterURLMapper.getURL(MasterURLMapper.java:44) > at org.openide.filesystems.URLMapper.findURL(URLMapper.java:115) at > org.openide.filesystems.FileObject.toURL(FileObject.java:1216) at > org.openide.filesystems.FileObject.toURI(FileObject.java:1227) at > org.netbeans.modules.cpplite.project.CPPLiteProject.getRootPreferences(CPPLiteProject.java:57) > at > org.netbeans.modules.cpplite.project.CPPLiteProject.access$200(CPPLiteProject.java:44) > at > org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject2(CPPLiteProject.java:138) > at > org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject(CPPLiteProject.java:147) > at > org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.loadProject(CPPLiteProject.java:152) > at > org.netbeans.modules.projectapi.nb.NbProjectManager.createProject(NbProjectManager.java:376) > at > org.netbeans.modules.projectapi.nb.NbProjectManager.access$300(NbProjectManager.java:69) > at > org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:289) > at > org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:218) > at > org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188) > at org.openide.util.Mutex.readAccess(Mutex.java:225) at > org.netbeans.modules.projectapi.nb.NbProjectManager.findProject(NbProjectManager.java:218) > at > org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:142) > at > org.netbeans.spi.project.support.ant.SourcesHelper.remarkExternalRoots(SourcesHelper.java:847) > at > org.netbeans.spi.project.support.ant.SourcesHelper.registerExternalRoots(SourcesHelper.java:818) > at > org.netbeans.spi.project.support.ant.SourcesHelper.registerExternalRoots(SourcesHelper.java:759) > at > org.netbeans.modules.php.project.PhpSources.initSources(PhpSources.java:119) > at org.netbeans.modules.php.project.PhpSources.access$100(PhpSources.java:45) > at org.netbeans.modules.php.project.PhpSources$1.run(PhpSources.java:93) at > org.netbeans.modules.php.project.PhpSources$1.run(PhpSources.java:82) at > org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188) > at org.openide.util.Mutex.readAccess(Mutex.java:193) at > org.netbeans.modules.php.project.PhpSources.getSourceGroups(PhpSources.java:82) > at > org.netbeans.modules.versioning.core.ProjectMenuItem.getRootFilesForProjectNodes(ProjectMenuItem.java:193) > at > org.netbeans.modules.versioning.core.ProjectMenuItem.createItems(ProjectMenuItem.java:74) > at > org.netbeans.modules.versioning.core.ProjectMenuItem.access$200(ProjectMenuItem.java:51) > at > org.netbeans.modules.versioning.core.ProjectMenuItem$DynamicDummyItem.getMenuPresenters(ProjectMenuItem.java:177) > at > org.netbeans.modules.openide.awt.DefaultAWTBridge.convertComponents(DefaultAWTBridge.java:100) > at org.openide.util.Utilities.actionsToPopup(Utilities.java:1714) at >
[jira] [Updated] (NETBEANS-4953) Can't open path like \\wsl$\Ubuntu\home\
[ https://issues.apache.org/jira/browse/NETBEANS-4953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergio updated NETBEANS-4953: - Labels: (was: netb) > Can't open path like \\wsl$\Ubuntu\home\ > > > Key: NETBEANS-4953 > URL: https://issues.apache.org/jira/browse/NETBEANS-4953 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Windows 10 Home Netbeans 12.1 >Reporter: Sergio >Priority: Critical > > I got error when try create/open a project that located on > \\wsl$\Ubuntu\home\ ... > --- > java.net.URISyntaxException: Illegal character in hostname at index 10: > file://wsl$/Ubuntu/home//Projects/java.net.URISyntaxException: Illegal > character in hostname at index 10: file://wsl$/Ubuntu/home//Projects/ at > java.net.URI$Parser.fail(URI.java:2848) at > java.net.URI$Parser.parseHostname(URI.java:3387) at > java.net.URI$Parser.parseServer(URI.java:3236) at > java.net.URI$Parser.parseAuthority(URI.java:3155) at > java.net.URI$Parser.parseHierarchical(URI.java:3097) at > java.net.URI$Parser.parse(URI.java:3053) at java.net.URI.(URI.java:673) > at java.net.URI.(URI.java:774) at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:111)Caused: > java.lang.Error at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:113) > at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:105) > at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.fileToURL(FileBasedURLMapper.java:87) > at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.getURL(FileBasedURLMapper.java:50) > at > org.netbeans.modules.masterfs.MasterURLMapper.getURL(MasterURLMapper.java:44) > at org.openide.filesystems.URLMapper.findURL(URLMapper.java:115) at > org.openide.filesystems.FileObject.toURL(FileObject.java:1216) at > org.openide.filesystems.FileObject.toURI(FileObject.java:1227) at > org.netbeans.modules.cpplite.project.CPPLiteProject.getRootPreferences(CPPLiteProject.java:57) > at > org.netbeans.modules.cpplite.project.CPPLiteProject.access$200(CPPLiteProject.java:44) > at > org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject2(CPPLiteProject.java:138) > at > org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject(CPPLiteProject.java:147) > at > org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.loadProject(CPPLiteProject.java:152) > at > org.netbeans.modules.projectapi.nb.NbProjectManager.createProject(NbProjectManager.java:376) > at > org.netbeans.modules.projectapi.nb.NbProjectManager.access$300(NbProjectManager.java:69) > at > org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:289) > at > org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:218) > at > org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188) > at org.openide.util.Mutex.readAccess(Mutex.java:225) at > org.netbeans.modules.projectapi.nb.NbProjectManager.findProject(NbProjectManager.java:218) > at > org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:142) > at > org.netbeans.spi.project.support.ant.SourcesHelper.remarkExternalRoots(SourcesHelper.java:847) > at > org.netbeans.spi.project.support.ant.SourcesHelper.registerExternalRoots(SourcesHelper.java:818) > at > org.netbeans.spi.project.support.ant.SourcesHelper.registerExternalRoots(SourcesHelper.java:759) > at > org.netbeans.modules.php.project.PhpSources.initSources(PhpSources.java:119) > at org.netbeans.modules.php.project.PhpSources.access$100(PhpSources.java:45) > at org.netbeans.modules.php.project.PhpSources$1.run(PhpSources.java:93) at > org.netbeans.modules.php.project.PhpSources$1.run(PhpSources.java:82) at > org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188) > at org.openide.util.Mutex.readAccess(Mutex.java:193) at > org.netbeans.modules.php.project.PhpSources.getSourceGroups(PhpSources.java:82) > at > org.netbeans.modules.versioning.core.ProjectMenuItem.getRootFilesForProjectNodes(ProjectMenuItem.java:193) > at > org.netbeans.modules.versioning.core.ProjectMenuItem.createItems(ProjectMenuItem.java:74) > at > org.netbeans.modules.versioning.core.ProjectMenuItem.access$200(ProjectMenuItem.java:51) > at > org.netbeans.modules.versioning.core.ProjectMenuItem$DynamicDummyItem.getMenuPresenters(ProjectMenuItem.java:177) > at > org.netbeans.modules.openide.awt.DefaultAWTBridge.convertComponents(DefaultAWTBridge.java:100) > at org.openide.util.Utilities.actionsToPopup(Utilities.java:1714) at >
[jira] [Updated] (NETBEANS-4953) Can't open path like \\wsl$\Ubuntu\home\
[ https://issues.apache.org/jira/browse/NETBEANS-4953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergio updated NETBEANS-4953: - Priority: Critical (was: Major) > Can't open path like \\wsl$\Ubuntu\home\ > > > Key: NETBEANS-4953 > URL: https://issues.apache.org/jira/browse/NETBEANS-4953 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Windows 10 Home Netbeans 12.1 >Reporter: Sergio >Priority: Critical > > I got error when try create/open a project that located on > \\wsl$\Ubuntu\home\ ... > --- > java.net.URISyntaxException: Illegal character in hostname at index 10: > file://wsl$/Ubuntu/home//Projects/java.net.URISyntaxException: Illegal > character in hostname at index 10: file://wsl$/Ubuntu/home//Projects/ at > java.net.URI$Parser.fail(URI.java:2848) at > java.net.URI$Parser.parseHostname(URI.java:3387) at > java.net.URI$Parser.parseServer(URI.java:3236) at > java.net.URI$Parser.parseAuthority(URI.java:3155) at > java.net.URI$Parser.parseHierarchical(URI.java:3097) at > java.net.URI$Parser.parse(URI.java:3053) at java.net.URI.(URI.java:673) > at java.net.URI.(URI.java:774) at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:111)Caused: > java.lang.Error at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:113) > at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:105) > at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.fileToURL(FileBasedURLMapper.java:87) > at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.getURL(FileBasedURLMapper.java:50) > at > org.netbeans.modules.masterfs.MasterURLMapper.getURL(MasterURLMapper.java:44) > at org.openide.filesystems.URLMapper.findURL(URLMapper.java:115) at > org.openide.filesystems.FileObject.toURL(FileObject.java:1216) at > org.openide.filesystems.FileObject.toURI(FileObject.java:1227) at > org.netbeans.modules.cpplite.project.CPPLiteProject.getRootPreferences(CPPLiteProject.java:57) > at > org.netbeans.modules.cpplite.project.CPPLiteProject.access$200(CPPLiteProject.java:44) > at > org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject2(CPPLiteProject.java:138) > at > org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject(CPPLiteProject.java:147) > at > org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.loadProject(CPPLiteProject.java:152) > at > org.netbeans.modules.projectapi.nb.NbProjectManager.createProject(NbProjectManager.java:376) > at > org.netbeans.modules.projectapi.nb.NbProjectManager.access$300(NbProjectManager.java:69) > at > org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:289) > at > org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:218) > at > org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188) > at org.openide.util.Mutex.readAccess(Mutex.java:225) at > org.netbeans.modules.projectapi.nb.NbProjectManager.findProject(NbProjectManager.java:218) > at > org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:142) > at > org.netbeans.spi.project.support.ant.SourcesHelper.remarkExternalRoots(SourcesHelper.java:847) > at > org.netbeans.spi.project.support.ant.SourcesHelper.registerExternalRoots(SourcesHelper.java:818) > at > org.netbeans.spi.project.support.ant.SourcesHelper.registerExternalRoots(SourcesHelper.java:759) > at > org.netbeans.modules.php.project.PhpSources.initSources(PhpSources.java:119) > at org.netbeans.modules.php.project.PhpSources.access$100(PhpSources.java:45) > at org.netbeans.modules.php.project.PhpSources$1.run(PhpSources.java:93) at > org.netbeans.modules.php.project.PhpSources$1.run(PhpSources.java:82) at > org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188) > at org.openide.util.Mutex.readAccess(Mutex.java:193) at > org.netbeans.modules.php.project.PhpSources.getSourceGroups(PhpSources.java:82) > at > org.netbeans.modules.versioning.core.ProjectMenuItem.getRootFilesForProjectNodes(ProjectMenuItem.java:193) > at > org.netbeans.modules.versioning.core.ProjectMenuItem.createItems(ProjectMenuItem.java:74) > at > org.netbeans.modules.versioning.core.ProjectMenuItem.access$200(ProjectMenuItem.java:51) > at > org.netbeans.modules.versioning.core.ProjectMenuItem$DynamicDummyItem.getMenuPresenters(ProjectMenuItem.java:177) > at > org.netbeans.modules.openide.awt.DefaultAWTBridge.convertComponents(DefaultAWTBridge.java:100) > at org.openide.util.Utilities.actionsToPopup(Utilities.java:1714) at >
[jira] [Updated] (NETBEANS-4953) Can't open path like \\wsl$\Ubuntu\home\
[ https://issues.apache.org/jira/browse/NETBEANS-4953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergio updated NETBEANS-4953: - Affects Version/s: 12.1 > Can't open path like \\wsl$\Ubuntu\home\ > > > Key: NETBEANS-4953 > URL: https://issues.apache.org/jira/browse/NETBEANS-4953 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1 > Environment: Windows 10 Home Netbeans 12.1 >Reporter: Sergio >Priority: Major > > I got error when try create/open a project that located on > \\wsl$\Ubuntu\home\ ... > --- > java.net.URISyntaxException: Illegal character in hostname at index 10: > file://wsl$/Ubuntu/home//Projects/java.net.URISyntaxException: Illegal > character in hostname at index 10: file://wsl$/Ubuntu/home//Projects/ at > java.net.URI$Parser.fail(URI.java:2848) at > java.net.URI$Parser.parseHostname(URI.java:3387) at > java.net.URI$Parser.parseServer(URI.java:3236) at > java.net.URI$Parser.parseAuthority(URI.java:3155) at > java.net.URI$Parser.parseHierarchical(URI.java:3097) at > java.net.URI$Parser.parse(URI.java:3053) at java.net.URI.(URI.java:673) > at java.net.URI.(URI.java:774) at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:111)Caused: > java.lang.Error at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:113) > at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:105) > at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.fileToURL(FileBasedURLMapper.java:87) > at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.getURL(FileBasedURLMapper.java:50) > at > org.netbeans.modules.masterfs.MasterURLMapper.getURL(MasterURLMapper.java:44) > at org.openide.filesystems.URLMapper.findURL(URLMapper.java:115) at > org.openide.filesystems.FileObject.toURL(FileObject.java:1216) at > org.openide.filesystems.FileObject.toURI(FileObject.java:1227) at > org.netbeans.modules.cpplite.project.CPPLiteProject.getRootPreferences(CPPLiteProject.java:57) > at > org.netbeans.modules.cpplite.project.CPPLiteProject.access$200(CPPLiteProject.java:44) > at > org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject2(CPPLiteProject.java:138) > at > org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject(CPPLiteProject.java:147) > at > org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.loadProject(CPPLiteProject.java:152) > at > org.netbeans.modules.projectapi.nb.NbProjectManager.createProject(NbProjectManager.java:376) > at > org.netbeans.modules.projectapi.nb.NbProjectManager.access$300(NbProjectManager.java:69) > at > org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:289) > at > org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:218) > at > org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188) > at org.openide.util.Mutex.readAccess(Mutex.java:225) at > org.netbeans.modules.projectapi.nb.NbProjectManager.findProject(NbProjectManager.java:218) > at > org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:142) > at > org.netbeans.spi.project.support.ant.SourcesHelper.remarkExternalRoots(SourcesHelper.java:847) > at > org.netbeans.spi.project.support.ant.SourcesHelper.registerExternalRoots(SourcesHelper.java:818) > at > org.netbeans.spi.project.support.ant.SourcesHelper.registerExternalRoots(SourcesHelper.java:759) > at > org.netbeans.modules.php.project.PhpSources.initSources(PhpSources.java:119) > at org.netbeans.modules.php.project.PhpSources.access$100(PhpSources.java:45) > at org.netbeans.modules.php.project.PhpSources$1.run(PhpSources.java:93) at > org.netbeans.modules.php.project.PhpSources$1.run(PhpSources.java:82) at > org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188) > at org.openide.util.Mutex.readAccess(Mutex.java:193) at > org.netbeans.modules.php.project.PhpSources.getSourceGroups(PhpSources.java:82) > at > org.netbeans.modules.versioning.core.ProjectMenuItem.getRootFilesForProjectNodes(ProjectMenuItem.java:193) > at > org.netbeans.modules.versioning.core.ProjectMenuItem.createItems(ProjectMenuItem.java:74) > at > org.netbeans.modules.versioning.core.ProjectMenuItem.access$200(ProjectMenuItem.java:51) > at > org.netbeans.modules.versioning.core.ProjectMenuItem$DynamicDummyItem.getMenuPresenters(ProjectMenuItem.java:177) > at > org.netbeans.modules.openide.awt.DefaultAWTBridge.convertComponents(DefaultAWTBridge.java:100) > at org.openide.util.Utilities.actionsToPopup(Utilities.java:1714) at >
[jira] [Updated] (NETBEANS-4953) Can't open path like \\wsl$\Ubuntu\home\
[ https://issues.apache.org/jira/browse/NETBEANS-4953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergio updated NETBEANS-4953: - Environment: Windows 10 Home Netbeans 12.1 (was: Windows 10) > Can't open path like \\wsl$\Ubuntu\home\ > > > Key: NETBEANS-4953 > URL: https://issues.apache.org/jira/browse/NETBEANS-4953 > Project: NetBeans > Issue Type: Bug > Environment: Windows 10 Home Netbeans 12.1 >Reporter: Sergio >Priority: Major > > I got error when try create/open a project that located on > \\wsl$\Ubuntu\home\ ... > --- > java.net.URISyntaxException: Illegal character in hostname at index 10: > file://wsl$/Ubuntu/home//Projects/java.net.URISyntaxException: Illegal > character in hostname at index 10: file://wsl$/Ubuntu/home//Projects/ at > java.net.URI$Parser.fail(URI.java:2848) at > java.net.URI$Parser.parseHostname(URI.java:3387) at > java.net.URI$Parser.parseServer(URI.java:3236) at > java.net.URI$Parser.parseAuthority(URI.java:3155) at > java.net.URI$Parser.parseHierarchical(URI.java:3097) at > java.net.URI$Parser.parse(URI.java:3053) at java.net.URI.(URI.java:673) > at java.net.URI.(URI.java:774) at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:111)Caused: > java.lang.Error at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:113) > at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:105) > at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.fileToURL(FileBasedURLMapper.java:87) > at > org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.getURL(FileBasedURLMapper.java:50) > at > org.netbeans.modules.masterfs.MasterURLMapper.getURL(MasterURLMapper.java:44) > at org.openide.filesystems.URLMapper.findURL(URLMapper.java:115) at > org.openide.filesystems.FileObject.toURL(FileObject.java:1216) at > org.openide.filesystems.FileObject.toURI(FileObject.java:1227) at > org.netbeans.modules.cpplite.project.CPPLiteProject.getRootPreferences(CPPLiteProject.java:57) > at > org.netbeans.modules.cpplite.project.CPPLiteProject.access$200(CPPLiteProject.java:44) > at > org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject2(CPPLiteProject.java:138) > at > org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject(CPPLiteProject.java:147) > at > org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.loadProject(CPPLiteProject.java:152) > at > org.netbeans.modules.projectapi.nb.NbProjectManager.createProject(NbProjectManager.java:376) > at > org.netbeans.modules.projectapi.nb.NbProjectManager.access$300(NbProjectManager.java:69) > at > org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:289) > at > org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:218) > at > org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188) > at org.openide.util.Mutex.readAccess(Mutex.java:225) at > org.netbeans.modules.projectapi.nb.NbProjectManager.findProject(NbProjectManager.java:218) > at > org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:142) > at > org.netbeans.spi.project.support.ant.SourcesHelper.remarkExternalRoots(SourcesHelper.java:847) > at > org.netbeans.spi.project.support.ant.SourcesHelper.registerExternalRoots(SourcesHelper.java:818) > at > org.netbeans.spi.project.support.ant.SourcesHelper.registerExternalRoots(SourcesHelper.java:759) > at > org.netbeans.modules.php.project.PhpSources.initSources(PhpSources.java:119) > at org.netbeans.modules.php.project.PhpSources.access$100(PhpSources.java:45) > at org.netbeans.modules.php.project.PhpSources$1.run(PhpSources.java:93) at > org.netbeans.modules.php.project.PhpSources$1.run(PhpSources.java:82) at > org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188) > at org.openide.util.Mutex.readAccess(Mutex.java:193) at > org.netbeans.modules.php.project.PhpSources.getSourceGroups(PhpSources.java:82) > at > org.netbeans.modules.versioning.core.ProjectMenuItem.getRootFilesForProjectNodes(ProjectMenuItem.java:193) > at > org.netbeans.modules.versioning.core.ProjectMenuItem.createItems(ProjectMenuItem.java:74) > at > org.netbeans.modules.versioning.core.ProjectMenuItem.access$200(ProjectMenuItem.java:51) > at > org.netbeans.modules.versioning.core.ProjectMenuItem$DynamicDummyItem.getMenuPresenters(ProjectMenuItem.java:177) > at > org.netbeans.modules.openide.awt.DefaultAWTBridge.convertComponents(DefaultAWTBridge.java:100) > at org.openide.util.Utilities.actionsToPopup(Utilities.java:1714) at >
[jira] [Created] (NETBEANS-4953) Error. Can't open path like \\wsl$\Ubuntu\home\
Sergio created NETBEANS-4953: Summary: Error. Can't open path like \\wsl$\Ubuntu\home\ Key: NETBEANS-4953 URL: https://issues.apache.org/jira/browse/NETBEANS-4953 Project: NetBeans Issue Type: Bug Environment: Windows 10 Reporter: Sergio I got error when try create/open a project that located on \\wsl$\Ubuntu\home\ ... --- java.net.URISyntaxException: Illegal character in hostname at index 10: file://wsl$/Ubuntu/home//Projects/java.net.URISyntaxException: Illegal character in hostname at index 10: file://wsl$/Ubuntu/home//Projects/ at java.net.URI$Parser.fail(URI.java:2848) at java.net.URI$Parser.parseHostname(URI.java:3387) at java.net.URI$Parser.parseServer(URI.java:3236) at java.net.URI$Parser.parseAuthority(URI.java:3155) at java.net.URI$Parser.parseHierarchical(URI.java:3097) at java.net.URI$Parser.parse(URI.java:3053) at java.net.URI.(URI.java:673) at java.net.URI.(URI.java:774) at org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:111)Caused: java.lang.Error at org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:113) at org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:105) at org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.fileToURL(FileBasedURLMapper.java:87) at org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.getURL(FileBasedURLMapper.java:50) at org.netbeans.modules.masterfs.MasterURLMapper.getURL(MasterURLMapper.java:44) at org.openide.filesystems.URLMapper.findURL(URLMapper.java:115) at org.openide.filesystems.FileObject.toURL(FileObject.java:1216) at org.openide.filesystems.FileObject.toURI(FileObject.java:1227) at org.netbeans.modules.cpplite.project.CPPLiteProject.getRootPreferences(CPPLiteProject.java:57) at org.netbeans.modules.cpplite.project.CPPLiteProject.access$200(CPPLiteProject.java:44) at org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject2(CPPLiteProject.java:138) at org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject(CPPLiteProject.java:147) at org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.loadProject(CPPLiteProject.java:152) at org.netbeans.modules.projectapi.nb.NbProjectManager.createProject(NbProjectManager.java:376) at org.netbeans.modules.projectapi.nb.NbProjectManager.access$300(NbProjectManager.java:69) at org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:289) at org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:218) at org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188) at org.openide.util.Mutex.readAccess(Mutex.java:225) at org.netbeans.modules.projectapi.nb.NbProjectManager.findProject(NbProjectManager.java:218) at org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:142) at org.netbeans.spi.project.support.ant.SourcesHelper.remarkExternalRoots(SourcesHelper.java:847) at org.netbeans.spi.project.support.ant.SourcesHelper.registerExternalRoots(SourcesHelper.java:818) at org.netbeans.spi.project.support.ant.SourcesHelper.registerExternalRoots(SourcesHelper.java:759) at org.netbeans.modules.php.project.PhpSources.initSources(PhpSources.java:119) at org.netbeans.modules.php.project.PhpSources.access$100(PhpSources.java:45) at org.netbeans.modules.php.project.PhpSources$1.run(PhpSources.java:93) at org.netbeans.modules.php.project.PhpSources$1.run(PhpSources.java:82) at org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188) at org.openide.util.Mutex.readAccess(Mutex.java:193) at org.netbeans.modules.php.project.PhpSources.getSourceGroups(PhpSources.java:82) at org.netbeans.modules.versioning.core.ProjectMenuItem.getRootFilesForProjectNodes(ProjectMenuItem.java:193) at org.netbeans.modules.versioning.core.ProjectMenuItem.createItems(ProjectMenuItem.java:74) at org.netbeans.modules.versioning.core.ProjectMenuItem.access$200(ProjectMenuItem.java:51) at org.netbeans.modules.versioning.core.ProjectMenuItem$DynamicDummyItem.getMenuPresenters(ProjectMenuItem.java:177) at org.netbeans.modules.openide.awt.DefaultAWTBridge.convertComponents(DefaultAWTBridge.java:100) at org.openide.util.Utilities.actionsToPopup(Utilities.java:1714) at org.openide.util.Utilities.actionsToPopup(Utilities.java:1790) at org.openide.explorer.view.TreeView.createPopup(TreeView.java:1017) at org.openide.explorer.view.TreeView$PopupAdapter.showPopup(TreeView.java:1514) at org.openide.awt.MouseUtils$PopupMouseAdapter.maybePopup(MouseUtils.java:168) at org.openide.awt.MouseUtils$PopupMouseAdapter.mouseReleased(MouseUtils.java:163) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290) at
[jira] [Comment Edited] (NETBEANS-430) "Invalid or deleted file", "Absent Code attribute" exceptions during Java editing and app/test running
[ https://issues.apache.org/jira/browse/NETBEANS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17220983#comment-17220983 ] Eirik Bakke edited comment on NETBEANS-430 at 10/26/20, 8:39 PM: - Still encountered this error on NetBeans 12.1 with the IDE running on Java 15.0.1 and a maven-based multi-module NetBeans Platform project compiling and running on JDK 11.0.9, with nbjavac installed and Compile-on-Save enabled. {noformat} java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file com/ultorg/datamodel/proptypes/ViewPropertyTypes$2 at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017) at org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:287) at org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:246) at org.netbeans.ProxyClassLoader.doFindClass(ProxyClassLoader.java:174) at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:125) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) at com.ultorg.datamodel.view.CProp.(CProp.java:45) at com.ultorg.datamodel.query.Queries.(Queries.java:69) at com.ultorg.project.result.ViewResultProvider.(ViewResultProvider.java:93) at com.ultorg.project.installer.Installer.performWarmupTasks(Installer.java:139) at com.ultorg.project.installer.Installer.lambda$restored$3(Installer.java:121) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event$1AWTWorker.run(NbMutexEventProvider.java:133) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [catch] at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) {noformat} This exception occurred after the following sequence of actions 1) Clean build of entire multi-module project. 2) Run application; no error. Exit application. 3) Edit a single Java file in the project. This triggers Compile-on-Save. The edited file was _not_ the class mentioned in the exception above (ViewPropertyTypes). In fact, the edited file was in a different module. 4) Run the application again. 5) The exception above occurs. was (Author: ebakke): Still encountered this error on NetBeans 12.1 with the IDE running on Java 15.0.1 and a maven-based multi-module NetBeans Platform project compiling and running on JDK 11.0.9, with nbjavac installed and Compile-on-Save enabled. {noformat} java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file com/ultorg/datamodel/proptypes/ViewPropertyTypes$2 at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017) at org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:287) at org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:246) at org.netbeans.ProxyClassLoader.doFindClass(ProxyClassLoader.java:174) at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:125) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) at com.ultorg.datamodel.view.CProp.(CProp.java:45) at com.ultorg.datamodel.query.Queries.(Queries.java:69) at com.ultorg.project.result.ViewResultProvider.(ViewResultProvider.java:93) at com.ultorg.project.installer.Installer.performWarmupTasks(Installer.java:139) at com.ultorg.project.installer.Installer.lambda$restored$3(Installer.java:121) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event$1AWTWorker.run(NbMutexEventProvider.java:133) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303) at
[jira] [Comment Edited] (NETBEANS-430) "Invalid or deleted file", "Absent Code attribute" exceptions during Java editing and app/test running
[ https://issues.apache.org/jira/browse/NETBEANS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17220983#comment-17220983 ] Eirik Bakke edited comment on NETBEANS-430 at 10/26/20, 8:36 PM: - Still encountered this error on NetBeans 12.1 with the IDE running on Java 15.0.1 and a maven-based multi-module NetBeans Platform project compiling and running on JDK 11.0.9, with nbjavac installed and Compile-on-Save enabled. {noformat} java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file com/ultorg/datamodel/proptypes/ViewPropertyTypes$2 at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017) at org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:287) at org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:246) at org.netbeans.ProxyClassLoader.doFindClass(ProxyClassLoader.java:174) at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:125) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) at com.ultorg.datamodel.view.CProp.(CProp.java:45) at com.ultorg.datamodel.query.Queries.(Queries.java:69) at com.ultorg.project.result.ViewResultProvider.(ViewResultProvider.java:93) at com.ultorg.project.installer.Installer.performWarmupTasks(Installer.java:139) at com.ultorg.project.installer.Installer.lambda$restored$3(Installer.java:121) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event$1AWTWorker.run(NbMutexEventProvider.java:133) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [catch] at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) {noformat} This exception occurred after a clean build of the entire project was made, and a single Java file (not the class mentioned in the exception) was changed, triggering CoS, and the application run. was (Author: ebakke): Still encountered this error on NetBeans 12.1 with the IDE running on Java 15.0.1 and a maven-based multi-module NetBeans Platform project compiling and running on JDK 11.0.9, with nbjavac installed and Compile-on-Save enabled. {noformat} java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file com/ultorg/datamodel/proptypes/ViewPropertyTypes$2 at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017) at org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:287) at org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:246) at org.netbeans.ProxyClassLoader.doFindClass(ProxyClassLoader.java:174) at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:125) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) at com.ultorg.datamodel.view.CProp.(CProp.java:45) at com.ultorg.datamodel.query.Queries.(Queries.java:69) at com.ultorg.project.result.ViewResultProvider.(ViewResultProvider.java:93) at com.ultorg.project.installer.Installer.performWarmupTasks(Installer.java:139) at com.ultorg.project.installer.Installer.lambda$restored$3(Installer.java:121) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event$1AWTWorker.run(NbMutexEventProvider.java:133) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at
[jira] [Commented] (NETBEANS-430) "Invalid or deleted file", "Absent Code attribute" exceptions during Java editing and app/test running
[ https://issues.apache.org/jira/browse/NETBEANS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17220983#comment-17220983 ] Eirik Bakke commented on NETBEANS-430: -- Still encountered this error on NetBeans 12.1 with the IDE running on Java 15.0.1 and a maven-based multi-module NetBeans Platform project compiling and running on JDK 11.0.9, with nbjavac installed and Compile-on-Save enabled. {noformat} java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file com/ultorg/datamodel/proptypes/ViewPropertyTypes$2 at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017) at org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:287) at org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:246) at org.netbeans.ProxyClassLoader.doFindClass(ProxyClassLoader.java:174) at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:125) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) at com.ultorg.datamodel.view.CProp.(CProp.java:45) at com.ultorg.datamodel.query.Queries.(Queries.java:69) at com.ultorg.project.result.ViewResultProvider.(ViewResultProvider.java:93) at com.ultorg.project.installer.Installer.performWarmupTasks(Installer.java:139) at com.ultorg.project.installer.Installer.lambda$restored$3(Installer.java:121) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event$1AWTWorker.run(NbMutexEventProvider.java:133) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [catch] at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) {noformat} > "Invalid or deleted file", "Absent Code attribute" exceptions during Java > editing and app/test running > -- > > Key: NETBEANS-430 > URL: https://issues.apache.org/jira/browse/NETBEANS-430 > Project: NetBeans > Issue Type: Bug > Components: guibuilder - Code, java - Classfile, java - Source, > projects - Maven >Affects Versions: 9.0 > Environment: Apache NetBeans IDE Dev (Build > incubator-netbeans-release-205-on-20180202), OpenJDK 64-Bit Server VM > 9.0.4.1+11, Mac OS X version 10.9.5 >Reporter: Eirik Bakke >Priority: Major > Attachments: Class Files causing Trouble.zip, parseerror.txt > > > While editing Java sources in a maven-based multi-module NetBeans Platform > application on NetBeans 9.0 beta, the following IDE exception happens at > irregular intervals, while editing unrelated files in a different module: > {noformat} > ALL [null]: An error occurred during parsing of > '/var/folders/38/g_r_gdts0wx49_kbz5sjfj30gn/T/vcs-1518825448194/vcs-1519673427266/FilterPanel.java'. > Please report a bug against java/source and attach dump file > '/Users/ebakke/Library/Application > Support/NetBeans/dev/var/log/FilterPanel_8.dump'. > {noformat} > See the attached text file for the complete log dump and stack trace (can't > attach the ".dump" file as it contains source code). The source file in > question, FilterPanel.java, is generated in part by the Matisse GUI builder > (so there's also a FilterPanel.form file). I've also got maven > Compile-on-Save enabled. > At other times, occasionally when running the same NetBeans Platform-based > application, the application itself throws the following exception, > mentioning the same file: > {noformat} > java.lang.ClassFormatError: Absent Code attribute in method that is not > native or abstract in class file com/somepackage/project/filter/FilterPanel$2 > {noformat} > See again the attached text file
[jira] [Created] (NETBEANS-4952) Error in NB 12.2 beta 2
Victor Pineda created NETBEANS-4952: --- Summary: Error in NB 12.2 beta 2 Key: NETBEANS-4952 URL: https://issues.apache.org/jira/browse/NETBEANS-4952 Project: NetBeans Issue Type: Bug Affects Versions: 12.2 Environment: Product Version: Apache NetBeans IDE 12.2-beta2 Java: 15.0.1; OpenJDK 64-Bit Server VM 15.0.1+9 Runtime: OpenJDK Runtime Environment 15.0.1+9 System: Windows 10 version 10.0 running on amd64; UTF-8; en_US (nb) Reporter: Victor Pineda This error is happening in NetBeans. Not sure why or when, but I'm working with a WebApp java.lang.NullPointerException: Cannot invoke "org.netbeans.api.lexer.TokenSequence.index()" because "this.ts" is nulljava.lang.NullPointerException: Cannot invoke "org.netbeans.api.lexer.TokenSequence.index()" because "this.ts" is null at org.netbeans.modules.java.editor.base.semantic.TokenList.index(TokenList.java:364) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitExpressionStatement(SemanticHighlighterBase.java:740) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitExpressionStatement(SemanticHighlighterBase.java:280) at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1555) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:250) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1074) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90) at com.sun.source.util.TreeScanner.visitMethod(TreeScanner.java:208) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethod(SemanticHighlighterBase.java:789) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethod(SemanticHighlighterBase.java:280) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:940) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitClass(SemanticHighlighterBase.java:944) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitClass(SemanticHighlighterBase.java:280) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:846) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitCompilationUnit(SemanticHighlighterBase.java:561) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitCompilationUnit(SemanticHighlighterBase.java:280) at
[jira] [Updated] (NETBEANS-4949) Problem after saving cloned editor
[ https://issues.apache.org/jira/browse/NETBEANS-4949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Quadratica updated NETBEANS-4949: - Description: When i need to work on different functions in the same file, or in any case i have to work on different sections of the same file, i use clone function (see image below on attachments files section). The problem is that when i save the file, after the 3a/4th time i save, all the cloned editor line up on the same line of code, they move by themselves! Therefore every cloned edtior is automatically placed in the same function, but in doing so i lose all utility of using a cloned editor. This make me lose a lot of time! ;/ was: When i need to work on different functions in the same file, or in any case i have to work on different sections of the same file, i use clone function. The problem is that when i save the file, after the 3a/4th time i save, all the cloned editor line up on the same line of code, they move by themselves! Therefore every cloned edtior is automatically placed in the same function, but in doing so i lose all utility of using a cloned editor. This make me lose a lot of time! ;/ > Problem after saving cloned editor > -- > > Key: NETBEANS-4949 > URL: https://issues.apache.org/jira/browse/NETBEANS-4949 > Project: NetBeans > Issue Type: Bug > Components: cnd - Editor >Affects Versions: 11.3 > Environment: - Ubuntu Ubuntu 20.04.1 LTS > - Java: 13.0.3; OpenJDK 64-Bit Server VM 13.0.3+3-Ubuntu-1ubuntu2 >Reporter: Quadratica >Assignee: Quadratica >Priority: Minor > Fix For: 12.0, 11.3, 12.1 > > Attachments: netbeans_cloned_editor_bug.png > > > When i need to work on different functions in the same file, or in any case i > have to work on different sections of the same file, i use clone function > (see image below on attachments files section). > The problem is that when i save the file, after the 3a/4th time i save, all > the cloned editor line up on the same line of code, they move by themselves! > Therefore every cloned edtior is automatically placed in the same function, > but in doing so i lose all utility of using a cloned editor. > This make me lose a lot of time! ;/ -- 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-4950) Issue when Build Maven Web App Project
Victor Pineda created NETBEANS-4950: --- Summary: Issue when Build Maven Web App Project Key: NETBEANS-4950 URL: https://issues.apache.org/jira/browse/NETBEANS-4950 Project: NetBeans Issue Type: Bug Components: javaee - Maven Affects Versions: 12.2 Environment: Product Version: Apache NetBeans IDE 12.2-beta2 Java: 15.0.1; OpenJDK 64-Bit Server VM 15.0.1+9 Runtime: OpenJDK Runtime Environment 15.0.1+9 System: Windows 10 version 10.0 running on amd64; UTF-8; en_US (nb) Project is using JAVA=jdk8u252-b09 MAVEN=apache-maven-3.6.3 Reporter: Victor Pineda I'm getting the following errors during project building. These kind of error are in a loop, generating multiple times same errors. java.lang.NullPointerException: Cannot invoke "com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors.iterator()" because "this.discoveredProcs" is nulljava.lang.NullPointerException: Cannot invoke "com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors.iterator()" because "this.discoveredProcs" is null at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:914) at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2500(JavacProcessingEnvironment.java:113) at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1298) at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1380) at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1350) at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1240) at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:404) at com.sun.tools.javac.api.JavacTaskImpl.enterTrees(JavacTaskImpl.java:451)[catch] at org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:204) 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 org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5038) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6095) at
[jira] [Updated] (NETBEANS-4949) Problem after saving cloned editor
[ https://issues.apache.org/jira/browse/NETBEANS-4949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Quadratica updated NETBEANS-4949: - Attachment: (was: bug_netbeans.png) > Problem after saving cloned editor > -- > > Key: NETBEANS-4949 > URL: https://issues.apache.org/jira/browse/NETBEANS-4949 > Project: NetBeans > Issue Type: Bug > Components: cnd - Editor >Affects Versions: 11.3 > Environment: - Ubuntu Ubuntu 20.04.1 LTS > - Java: 13.0.3; OpenJDK 64-Bit Server VM 13.0.3+3-Ubuntu-1ubuntu2 >Reporter: Quadratica >Assignee: Quadratica >Priority: Minor > Fix For: 12.0, 11.3, 12.1 > > > When i need to work on different functions in the same file, or in any case i > have to work on different sections of the same file, i use clone function. > The problem is that when i save the file, after the 3a/4th time i save, all > the cloned editor line up on the same line of code, they move by themselves! > Therefore every cloned edtior is automatically placed in the same function, > but in doing so i lose all utility of using a cloned editor. > This make me lose a lot of time! ;/ -- 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-4949) Problem after saving cloned editor
[ https://issues.apache.org/jira/browse/NETBEANS-4949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Quadratica updated NETBEANS-4949: - Attachment: bug_netbeans.png > Problem after saving cloned editor > -- > > Key: NETBEANS-4949 > URL: https://issues.apache.org/jira/browse/NETBEANS-4949 > Project: NetBeans > Issue Type: Bug > Components: cnd - Editor >Affects Versions: 11.3 > Environment: - Ubuntu Ubuntu 20.04.1 LTS > - Java: 13.0.3; OpenJDK 64-Bit Server VM 13.0.3+3-Ubuntu-1ubuntu2 >Reporter: Quadratica >Assignee: Quadratica >Priority: Minor > Fix For: 12.0, 11.3, 12.1 > > Attachments: bug_netbeans.png > > > When i need to work on different functions in the same file, or in any case i > have to work on different sections of the same file, i use clone function. > The problem is that when i save the file, after the 3a/4th time i save, all > the cloned editor line up on the same line of code, they move by themselves! > Therefore every cloned edtior is automatically placed in the same function, > but in doing so i lose all utility of using a cloned editor. > This make me lose a lot of time! ;/ -- 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-4949) Problem after saving cloned editor
[ https://issues.apache.org/jira/browse/NETBEANS-4949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Quadratica updated NETBEANS-4949: - Attachment: bug_netbeans.png > Problem after saving cloned editor > -- > > Key: NETBEANS-4949 > URL: https://issues.apache.org/jira/browse/NETBEANS-4949 > Project: NetBeans > Issue Type: Bug > Components: cnd - Editor >Affects Versions: 11.3 > Environment: - Ubuntu Ubuntu 20.04.1 LTS > - Java: 13.0.3; OpenJDK 64-Bit Server VM 13.0.3+3-Ubuntu-1ubuntu2 >Reporter: Quadratica >Assignee: Quadratica >Priority: Minor > Fix For: 12.0, 11.3, 12.1 > > > When i need to work on different functions in the same file, or in any case i > have to work on different sections of the same file, i use clone function. > The problem is that when i save the file, after the 3a/4th time i save, all > the cloned editor line up on the same line of code, they move by themselves! > Therefore every cloned edtior is automatically placed in the same function, > but in doing so i lose all utility of using a cloned editor. > This make me lose a lot of time! ;/ -- 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-4949) Problem after saving cloned editor
[ https://issues.apache.org/jira/browse/NETBEANS-4949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Quadratica updated NETBEANS-4949: - Attachment: (was: bug_netbeans.png) > Problem after saving cloned editor > -- > > Key: NETBEANS-4949 > URL: https://issues.apache.org/jira/browse/NETBEANS-4949 > Project: NetBeans > Issue Type: Bug > Components: cnd - Editor >Affects Versions: 11.3 > Environment: - Ubuntu Ubuntu 20.04.1 LTS > - Java: 13.0.3; OpenJDK 64-Bit Server VM 13.0.3+3-Ubuntu-1ubuntu2 >Reporter: Quadratica >Assignee: Quadratica >Priority: Minor > Fix For: 12.0, 11.3, 12.1 > > > When i need to work on different functions in the same file, or in any case i > have to work on different sections of the same file, i use clone function. > The problem is that when i save the file, after the 3a/4th time i save, all > the cloned editor line up on the same line of code, they move by themselves! > Therefore every cloned edtior is automatically placed in the same function, > but in doing so i lose all utility of using a cloned editor. > This make me lose a lot of time! ;/ -- 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-4949) Problem after saving cloned editor
Quadratica created NETBEANS-4949: Summary: Problem after saving cloned editor Key: NETBEANS-4949 URL: https://issues.apache.org/jira/browse/NETBEANS-4949 Project: NetBeans Issue Type: Bug Components: cnd - Editor Affects Versions: 11.3 Environment: - Ubuntu Ubuntu 20.04.1 LTS - Java: 13.0.3; OpenJDK 64-Bit Server VM 13.0.3+3-Ubuntu-1ubuntu2 Reporter: Quadratica Assignee: Quadratica Fix For: 12.1, 11.3, 12.0 When i need to work on different functions in the same file, or in any case i have to work on different sections of the same file, i use clone function. The problem is that when i save the file, after the 3a/4th time i save, all the cloned editor line up on the same line of code, they move by themselves! Therefore every cloned edtior is automatically placed in the same function, but in doing so i lose all utility of using a cloned editor. This make me lose a lot of time! ;/ -- 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 delivery updated: Properly specify --userdir when lauching the nbcode launcher
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/delivery by this push: new 319f506 Properly specify --userdir when lauching the nbcode launcher new d492b87 Merge pull request #2494 from JaroslavTulach/jtulach/NbCodeUserdir 319f506 is described below commit 319f5064be57a5c8ce7d00480de066aa0c7edb81 Author: Jaroslav Tulach AuthorDate: Mon Oct 26 17:10:09 2020 +0100 Properly specify --userdir when lauching the nbcode launcher --- java/java.lsp.server/vscode/src/nbcode.ts | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/java/java.lsp.server/vscode/src/nbcode.ts b/java/java.lsp.server/vscode/src/nbcode.ts index dc85e63..72efc4d 100644 --- a/java/java.lsp.server/vscode/src/nbcode.ts +++ b/java/java.lsp.server/vscode/src/nbcode.ts @@ -59,9 +59,11 @@ export function launch( } let clusterPath = info.clusters.join(path.delimiter); -let ideArgs: string[] = []; +let ideArgs: string[] = [ +'--userdir', userDir +]; if (info.jdkHome) { -ideArgs = ['--jdkhome', info.jdkHome as string]; +ideArgs.push('--jdkhome', info.jdkHome as string); } if (info.verbose) { ideArgs.push('-J-Dnetbeans.logger.console=true'); @@ -86,7 +88,8 @@ if (typeof process === 'object' && process.argv0 === 'node') { } let clusters = fs.readdirSync(nbcode).filter(c => c !== 'bin' && c !== 'etc').map(c => path.join(nbcode, c)); let args = process.argv.slice(2); -let globalStorage = path.join(os.homedir(), '.config', 'Code', 'User', 'globalStorage', 'jlahoda.apache-netbeans-java'); +let json = JSON.parse("" + fs.readFileSync(path.join(extension, 'package.json'))); +let globalStorage = path.join(os.homedir(), '.config', 'Code', 'User', 'globalStorage', json.publisher + '.' + json.name); let info = { clusters : clusters, extensionPath: extension, - 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 delivery updated: Properly specify --userdir when lauching the nbcode launcher
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/delivery by this push: new 319f506 Properly specify --userdir when lauching the nbcode launcher new d492b87 Merge pull request #2494 from JaroslavTulach/jtulach/NbCodeUserdir 319f506 is described below commit 319f5064be57a5c8ce7d00480de066aa0c7edb81 Author: Jaroslav Tulach AuthorDate: Mon Oct 26 17:10:09 2020 +0100 Properly specify --userdir when lauching the nbcode launcher --- java/java.lsp.server/vscode/src/nbcode.ts | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/java/java.lsp.server/vscode/src/nbcode.ts b/java/java.lsp.server/vscode/src/nbcode.ts index dc85e63..72efc4d 100644 --- a/java/java.lsp.server/vscode/src/nbcode.ts +++ b/java/java.lsp.server/vscode/src/nbcode.ts @@ -59,9 +59,11 @@ export function launch( } let clusterPath = info.clusters.join(path.delimiter); -let ideArgs: string[] = []; +let ideArgs: string[] = [ +'--userdir', userDir +]; if (info.jdkHome) { -ideArgs = ['--jdkhome', info.jdkHome as string]; +ideArgs.push('--jdkhome', info.jdkHome as string); } if (info.verbose) { ideArgs.push('-J-Dnetbeans.logger.console=true'); @@ -86,7 +88,8 @@ if (typeof process === 'object' && process.argv0 === 'node') { } let clusters = fs.readdirSync(nbcode).filter(c => c !== 'bin' && c !== 'etc').map(c => path.join(nbcode, c)); let args = process.argv.slice(2); -let globalStorage = path.join(os.homedir(), '.config', 'Code', 'User', 'globalStorage', 'jlahoda.apache-netbeans-java'); +let json = JSON.parse("" + fs.readFileSync(path.join(extension, 'package.json'))); +let globalStorage = path.join(os.homedir(), '.config', 'Code', 'User', 'globalStorage', json.publisher + '.' + json.name); let info = { clusters : clusters, extensionPath: extension, - 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 delivery updated: Properly specify --userdir when lauching the nbcode launcher
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/delivery by this push: new 319f506 Properly specify --userdir when lauching the nbcode launcher new d492b87 Merge pull request #2494 from JaroslavTulach/jtulach/NbCodeUserdir 319f506 is described below commit 319f5064be57a5c8ce7d00480de066aa0c7edb81 Author: Jaroslav Tulach AuthorDate: Mon Oct 26 17:10:09 2020 +0100 Properly specify --userdir when lauching the nbcode launcher --- java/java.lsp.server/vscode/src/nbcode.ts | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/java/java.lsp.server/vscode/src/nbcode.ts b/java/java.lsp.server/vscode/src/nbcode.ts index dc85e63..72efc4d 100644 --- a/java/java.lsp.server/vscode/src/nbcode.ts +++ b/java/java.lsp.server/vscode/src/nbcode.ts @@ -59,9 +59,11 @@ export function launch( } let clusterPath = info.clusters.join(path.delimiter); -let ideArgs: string[] = []; +let ideArgs: string[] = [ +'--userdir', userDir +]; if (info.jdkHome) { -ideArgs = ['--jdkhome', info.jdkHome as string]; +ideArgs.push('--jdkhome', info.jdkHome as string); } if (info.verbose) { ideArgs.push('-J-Dnetbeans.logger.console=true'); @@ -86,7 +88,8 @@ if (typeof process === 'object' && process.argv0 === 'node') { } let clusters = fs.readdirSync(nbcode).filter(c => c !== 'bin' && c !== 'etc').map(c => path.join(nbcode, c)); let args = process.argv.slice(2); -let globalStorage = path.join(os.homedir(), '.config', 'Code', 'User', 'globalStorage', 'jlahoda.apache-netbeans-java'); +let json = JSON.parse("" + fs.readFileSync(path.join(extension, 'package.json'))); +let globalStorage = path.join(os.homedir(), '.config', 'Code', 'User', 'globalStorage', json.publisher + '.' + json.name); let info = { clusters : clusters, extensionPath: extension, - 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 delivery updated: Properly specify --userdir when lauching the nbcode launcher
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/delivery by this push: new 319f506 Properly specify --userdir when lauching the nbcode launcher new d492b87 Merge pull request #2494 from JaroslavTulach/jtulach/NbCodeUserdir 319f506 is described below commit 319f5064be57a5c8ce7d00480de066aa0c7edb81 Author: Jaroslav Tulach AuthorDate: Mon Oct 26 17:10:09 2020 +0100 Properly specify --userdir when lauching the nbcode launcher --- java/java.lsp.server/vscode/src/nbcode.ts | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/java/java.lsp.server/vscode/src/nbcode.ts b/java/java.lsp.server/vscode/src/nbcode.ts index dc85e63..72efc4d 100644 --- a/java/java.lsp.server/vscode/src/nbcode.ts +++ b/java/java.lsp.server/vscode/src/nbcode.ts @@ -59,9 +59,11 @@ export function launch( } let clusterPath = info.clusters.join(path.delimiter); -let ideArgs: string[] = []; +let ideArgs: string[] = [ +'--userdir', userDir +]; if (info.jdkHome) { -ideArgs = ['--jdkhome', info.jdkHome as string]; +ideArgs.push('--jdkhome', info.jdkHome as string); } if (info.verbose) { ideArgs.push('-J-Dnetbeans.logger.console=true'); @@ -86,7 +88,8 @@ if (typeof process === 'object' && process.argv0 === 'node') { } let clusters = fs.readdirSync(nbcode).filter(c => c !== 'bin' && c !== 'etc').map(c => path.join(nbcode, c)); let args = process.argv.slice(2); -let globalStorage = path.join(os.homedir(), '.config', 'Code', 'User', 'globalStorage', 'jlahoda.apache-netbeans-java'); +let json = JSON.parse("" + fs.readFileSync(path.join(extension, 'package.json'))); +let globalStorage = path.join(os.homedir(), '.config', 'Code', 'User', 'globalStorage', json.publisher + '.' + json.name); let info = { clusters : clusters, extensionPath: extension, - 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 delivery updated: Properly specify --userdir when lauching the nbcode launcher
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/delivery by this push: new 319f506 Properly specify --userdir when lauching the nbcode launcher new d492b87 Merge pull request #2494 from JaroslavTulach/jtulach/NbCodeUserdir 319f506 is described below commit 319f5064be57a5c8ce7d00480de066aa0c7edb81 Author: Jaroslav Tulach AuthorDate: Mon Oct 26 17:10:09 2020 +0100 Properly specify --userdir when lauching the nbcode launcher --- java/java.lsp.server/vscode/src/nbcode.ts | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/java/java.lsp.server/vscode/src/nbcode.ts b/java/java.lsp.server/vscode/src/nbcode.ts index dc85e63..72efc4d 100644 --- a/java/java.lsp.server/vscode/src/nbcode.ts +++ b/java/java.lsp.server/vscode/src/nbcode.ts @@ -59,9 +59,11 @@ export function launch( } let clusterPath = info.clusters.join(path.delimiter); -let ideArgs: string[] = []; +let ideArgs: string[] = [ +'--userdir', userDir +]; if (info.jdkHome) { -ideArgs = ['--jdkhome', info.jdkHome as string]; +ideArgs.push('--jdkhome', info.jdkHome as string); } if (info.verbose) { ideArgs.push('-J-Dnetbeans.logger.console=true'); @@ -86,7 +88,8 @@ if (typeof process === 'object' && process.argv0 === 'node') { } let clusters = fs.readdirSync(nbcode).filter(c => c !== 'bin' && c !== 'etc').map(c => path.join(nbcode, c)); let args = process.argv.slice(2); -let globalStorage = path.join(os.homedir(), '.config', 'Code', 'User', 'globalStorage', 'jlahoda.apache-netbeans-java'); +let json = JSON.parse("" + fs.readFileSync(path.join(extension, 'package.json'))); +let globalStorage = path.join(os.homedir(), '.config', 'Code', 'User', 'globalStorage', json.publisher + '.' + json.name); let info = { clusters : clusters, extensionPath: extension, - 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-4140) Form design errors can't be fixed
[ https://issues.apache.org/jira/browse/NETBEANS-4140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom reopened NETBEANS-4140: --- this isn't resolved. i have been dragging and dropping to make a basic GUI, and it will not compile due to this "org.jdesktop.layout" error !image-2020-10-26-14-09-01-020.png! > Form design errors can't be fixed > - > > Key: NETBEANS-4140 > URL: https://issues.apache.org/jira/browse/NETBEANS-4140 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Project >Affects Versions: 11.0 >Reporter: Ian Martin James Berry >Priority: Minor > Attachments: InternationalizeDemo_Code_Problems.JPG, > InternationalizeDemo_Open_Project_Problems.JPG, > InternationalizeDemo_Resolve_Project_Problems.JPG, > InternationalizeDemo_Resolve_Project_Problems2.JPG, > InternationalizeDemo_Resolve_Upgrade_Binaries.JPG, > InternationalizeDemo_Resolved_Problems.JPG > > > I assume that the Form Design source-code generator has been changed since > Netbeans 8 because loading a sample project creates import errors saying > "org.jdesktop.layout" components can't be found. > These errors occur within the generated code section that cannot be fixed > manually - I have tried adding the JAR file to the Library and import_ing the > components but they appear as unused even though they are in the editable > part of the same source file. > The project comes from the Internationalization Tutorial > [https://netbeans.org/kb/docs/java/gui-automatic-i18n.html] > and the zip is from > [https://netbeans.org/files/documents/4/770/InternationalizeDemo.zip] > I also need to report the errors with this file as a documentation issue, I'm > just not sure how or where to do that so ... if you could pass this on > -- 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 delivery updated: Avoid confusion by disabling code lenses for running, debugging and testing
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/delivery by this push: new 521d95a Avoid confusion by disabling code lenses for running, debugging and testing new 4e4688c Merge pull request #2492 from JaroslavTulach/jtulach/AvoidConflicts 521d95a is described below commit 521d95aef9a4470ba60bcf0ddd9501229cd8f135 Author: Jaroslav Tulach AuthorDate: Mon Oct 26 08:15:22 2020 +0100 Avoid confusion by disabling code lenses for running, debugging and testing --- java/java.lsp.server/vscode/README.md| 7 +++ java/java.lsp.server/vscode/package.json | 18 ++ java/java.lsp.server/vscode/src/extension.ts | 23 ++- 3 files changed, 35 insertions(+), 13 deletions(-) diff --git a/java/java.lsp.server/vscode/README.md b/java/java.lsp.server/vscode/README.md index 4fe8a19..50ca1f0 100644 --- a/java/java.lsp.server/vscode/README.md +++ b/java/java.lsp.server/vscode/README.md @@ -104,3 +104,10 @@ following locations: - current system path As soon as one of the settings is changed, the NbCode Java part is restarted. + +## Conflicts with other Java Extensions + +Apache NetBeans Language Server extension isn't the only Java supporting +extension. To avoid duplicated code completion and other misleading clashes +the extension disables certain functionality known to cause problems. This +behavior can be disabled by setting `netbeans.conflict.check` setting to `false`. diff --git a/java/java.lsp.server/vscode/package.json b/java/java.lsp.server/vscode/package.json index 834d915..7440635 100644 --- a/java/java.lsp.server/vscode/package.json +++ b/java/java.lsp.server/vscode/package.json @@ -36,10 +36,20 @@ "default": null, "description": "Specifies JDK for the Apache NetBeans Language Server" }, -"netbeans.verbose": { -"type": "boolean", -"default": false, -"description": "Enables verbose messages from the Apache NetBeans Language Server" + "netbeans.verbose": { + "type": "boolean", + "default": false, + "description": "Enables verbose messages from the Apache NetBeans Language Server" + }, + "netbeans.conflict.check" : { + "type" : "boolean", + "default" : true, + "description": "Avoid conflicts with other Java extensions" + }, +"java.test.editor.enableShortcuts": { +"type": "boolean", +"default": false, +"description": "Enable Run/Debug test in editor" } } }, diff --git a/java/java.lsp.server/vscode/src/extension.ts b/java/java.lsp.server/vscode/src/extension.ts index 0f146b2..da0e8fc 100644 --- a/java/java.lsp.server/vscode/src/extension.ts +++ b/java/java.lsp.server/vscode/src/extension.ts @@ -103,15 +103,20 @@ function findJDK(onChange: (path : string | null) => void): void { export function activate(context: ExtensionContext) { let log = vscode.window.createOutputChannel("Apache NetBeans Language Server"); -let e = vscode.extensions.getExtension('redhat.java'); -log.appendLine(`workspace ${workspace.name}`); -if (e && workspace.name) { -vscode.window.showInformationMessage(`redhat.java found at ${e.extensionPath} - Suppressing some services to not clash with Apache NetBeans Language Server.`); -workspace.getConfiguration().update('java.completion.enabled', false, false).then(() => { -vscode.window.showInformationMessage('Disabling redhat.java code completion. Usage of only one Java extension is recommended.'); -}, (reason) => { -vscode.window.showInformationMessage('Disabling redhat.java code completion failed ' + reason); -}); +let conf = workspace.getConfiguration(); +if (conf.get("netbeans.conflict.check")) { +let e = vscode.extensions.getExtension('redhat.java'); +function disablingFailed(reason: any) { +log.appendLine('Disabling some services failed ' + reason); +} +if (e && workspace.name) { +vscode.window.showInformationMessage(`redhat.java found at ${e.extensionPath} - Suppressing some services to
[netbeans] branch delivery updated: Avoid confusion by disabling code lenses for running, debugging and testing
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/delivery by this push: new 521d95a Avoid confusion by disabling code lenses for running, debugging and testing new 4e4688c Merge pull request #2492 from JaroslavTulach/jtulach/AvoidConflicts 521d95a is described below commit 521d95aef9a4470ba60bcf0ddd9501229cd8f135 Author: Jaroslav Tulach AuthorDate: Mon Oct 26 08:15:22 2020 +0100 Avoid confusion by disabling code lenses for running, debugging and testing --- java/java.lsp.server/vscode/README.md| 7 +++ java/java.lsp.server/vscode/package.json | 18 ++ java/java.lsp.server/vscode/src/extension.ts | 23 ++- 3 files changed, 35 insertions(+), 13 deletions(-) diff --git a/java/java.lsp.server/vscode/README.md b/java/java.lsp.server/vscode/README.md index 4fe8a19..50ca1f0 100644 --- a/java/java.lsp.server/vscode/README.md +++ b/java/java.lsp.server/vscode/README.md @@ -104,3 +104,10 @@ following locations: - current system path As soon as one of the settings is changed, the NbCode Java part is restarted. + +## Conflicts with other Java Extensions + +Apache NetBeans Language Server extension isn't the only Java supporting +extension. To avoid duplicated code completion and other misleading clashes +the extension disables certain functionality known to cause problems. This +behavior can be disabled by setting `netbeans.conflict.check` setting to `false`. diff --git a/java/java.lsp.server/vscode/package.json b/java/java.lsp.server/vscode/package.json index 834d915..7440635 100644 --- a/java/java.lsp.server/vscode/package.json +++ b/java/java.lsp.server/vscode/package.json @@ -36,10 +36,20 @@ "default": null, "description": "Specifies JDK for the Apache NetBeans Language Server" }, -"netbeans.verbose": { -"type": "boolean", -"default": false, -"description": "Enables verbose messages from the Apache NetBeans Language Server" + "netbeans.verbose": { + "type": "boolean", + "default": false, + "description": "Enables verbose messages from the Apache NetBeans Language Server" + }, + "netbeans.conflict.check" : { + "type" : "boolean", + "default" : true, + "description": "Avoid conflicts with other Java extensions" + }, +"java.test.editor.enableShortcuts": { +"type": "boolean", +"default": false, +"description": "Enable Run/Debug test in editor" } } }, diff --git a/java/java.lsp.server/vscode/src/extension.ts b/java/java.lsp.server/vscode/src/extension.ts index 0f146b2..da0e8fc 100644 --- a/java/java.lsp.server/vscode/src/extension.ts +++ b/java/java.lsp.server/vscode/src/extension.ts @@ -103,15 +103,20 @@ function findJDK(onChange: (path : string | null) => void): void { export function activate(context: ExtensionContext) { let log = vscode.window.createOutputChannel("Apache NetBeans Language Server"); -let e = vscode.extensions.getExtension('redhat.java'); -log.appendLine(`workspace ${workspace.name}`); -if (e && workspace.name) { -vscode.window.showInformationMessage(`redhat.java found at ${e.extensionPath} - Suppressing some services to not clash with Apache NetBeans Language Server.`); -workspace.getConfiguration().update('java.completion.enabled', false, false).then(() => { -vscode.window.showInformationMessage('Disabling redhat.java code completion. Usage of only one Java extension is recommended.'); -}, (reason) => { -vscode.window.showInformationMessage('Disabling redhat.java code completion failed ' + reason); -}); +let conf = workspace.getConfiguration(); +if (conf.get("netbeans.conflict.check")) { +let e = vscode.extensions.getExtension('redhat.java'); +function disablingFailed(reason: any) { +log.appendLine('Disabling some services failed ' + reason); +} +if (e && workspace.name) { +vscode.window.showInformationMessage(`redhat.java found at ${e.extensionPath} - Suppressing some services to
[jira] [Created] (NETBEANS-4948) Check for newest plugins not working
Eric VILLARD created NETBEANS-4948: -- Summary: Check for newest plugins not working Key: NETBEANS-4948 URL: https://issues.apache.org/jira/browse/NETBEANS-4948 Project: NetBeans Issue Type: Bug Components: platform - Plugin Manager, updatecenters - Pluginportal Affects Versions: 11.2, 12.1 Environment: Ubuntu 16.04 LTS and 20.04 LTS NetBeans installed with the installer or using snap JAVA 1.8 to 15 Reporter: Eric VILLARD Attachments: connection-test.png, netbeans-available-plugins.png, netbeans-plugins.png, netbeans-updates.png, on-apache-available-plugins.png The available plugin list is not refreshed after checking for newest ones. *Step to reproduce* # Open NetBeans # Go to _Tools > Plugins > Available Plugins_ # Click on _Check for Newest_ *Actual result* The plugin list is unchanged (currently 34 plugins on NB 12.1). Some plugins are missing ie. _NetBeans Case Converter_ _([https://plugins.netbeans.apache.org/catalogue/?id=50)]_ on NB 12.1 Some new plugin versions are not available, ie _NetBeans Case Converter_ version is still 0.1.1 on NB 11.2 *Expected result* The plugin list is refreshed and should contain the same number of **plugins as on the NetBeans Plugin Portal for a given version. ie. _NetBeans Case Converter_ should be listed on NB 12.1 and its latest version should be available on NB 11.2 The NetBeans Plugin Portal Catalogs [https://netbeans.apache.org/nb/plugins/11.2/catalog.xml.gz] and [https://netbeans.apache.org/nb/plugins/12.1/catalog.xml.gz] seem to be not up to date. -- 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-4947) Deadlock detected
Òscar Pérez created NETBEANS-4947: - Summary: Deadlock detected Key: NETBEANS-4947 URL: https://issues.apache.org/jira/browse/NETBEANS-4947 Project: NetBeans Issue Type: Bug Components: ide - UI, java - Editor Affects Versions: 12.0 Environment: Ubuntu Linux 20.04.1. XFCE desktop environment. Reporter: Òscar Pérez Attachments: deadlock6226950595781164196.txt, ide.log I tried to open a file and Netbeans entered a Deadlock. Logs are attached. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists