[netbeans] branch master updated: Assorted language server protocol client improvements
This is an automated email from the ASF dual-hosted git repository. jlahoda pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 39e97b9 Assorted language server protocol client improvements 39e97b9 is described below commit 39e97b900a8d604f3968e07605ee0d7709f37977 Author: Jan Lahoda AuthorDate: Sun Aug 4 20:24:30 2019 +0200 Assorted language server protocol client improvements --- ide/lsp.client/nbproject/project.xml | 55 .../netbeans/modules/lsp/client/LSPBindings.java | 8 +- .../src/org/netbeans/modules/lsp/client/Utils.java | 103 ++ .../lsp/client/bindings/LanguageClientImpl.java| 4 +- .../TextDocumentSyncServerCapabilityHandler.java | 6 +- .../org/netbeans/modules/lsp/client/UtilsTest.java | 157 + 6 files changed, 301 insertions(+), 32 deletions(-) diff --git a/ide/lsp.client/nbproject/project.xml b/ide/lsp.client/nbproject/project.xml index 00ad85f..f897849 100644 --- a/ide/lsp.client/nbproject/project.xml +++ b/ide/lsp.client/nbproject/project.xml @@ -172,6 +172,14 @@ +org.openide.loaders + + + +7.72 + + + org.openide.modules @@ -220,6 +228,53 @@ + + +unit + + org.netbeans.libs.junit4 + + + + org.netbeans.libs.junit5 + + + + org.netbeans.modules.editor + + + + org.netbeans.modules.editor.lib2 + + + + org.netbeans.modules.editor.plain + + + + + org.netbeans.modules.masterfs + + + + org.netbeans.modules.nbjunit + + + + + org.netbeans.modules.projectapi.nb + + + + org.netbeans.modules.settings + + + +org.openide.loaders + + + + org.netbeans.modules.lsp.client.spi diff --git a/ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java b/ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java index a0eb7be..5a4d60a 100644 --- a/ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java +++ b/ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java @@ -38,8 +38,10 @@ import org.eclipse.lsp4j.ClientCapabilities; import org.eclipse.lsp4j.DocumentSymbolCapabilities; import org.eclipse.lsp4j.InitializeParams; import org.eclipse.lsp4j.InitializeResult; +import org.eclipse.lsp4j.ResourceOperationKind; import org.eclipse.lsp4j.TextDocumentClientCapabilities; import org.eclipse.lsp4j.WorkspaceClientCapabilities; +import org.eclipse.lsp4j.WorkspaceEditCapabilities; import org.eclipse.lsp4j.jsonrpc.Launcher; import org.eclipse.lsp4j.launch.LSPLauncher; import org.eclipse.lsp4j.services.LanguageServer; @@ -169,7 +171,11 @@ public class LSPBindings { DocumentSymbolCapabilities dsc = new DocumentSymbolCapabilities(); dsc.setHierarchicalDocumentSymbolSupport(true); tdcc.setDocumentSymbol(dsc); - initParams.setCapabilities(new ClientCapabilities(new WorkspaceClientCapabilities(), tdcc, null)); + WorkspaceClientCapabilities wcc = new WorkspaceClientCapabilities(); + wcc.setWorkspaceEdit(new WorkspaceEditCapabilities()); + wcc.getWorkspaceEdit().setDocumentChanges(true); + wcc.getWorkspaceEdit().setResourceOperations(Arrays.asList(ResourceOperationKind.Create, ResourceOperationKind.Delete, ResourceOperationKind.Rename)); + initParams.setCapabilities(new ClientCapabilities(wcc, tdcc, null)); return server.initialize(initParams).get(); } diff --git a/ide/lsp.client/src/org/netbeans/modules/lsp/client/Utils.java b/ide/lsp.client/src/org/netbeans/modules/lsp/client/Utils.java index b924944..206e97e 100644 --- a/ide/lsp.client/src/org/n
[jira] [Updated] (NETBEANS-2953) NPE after pressing "DTDs and XML Schemas" menu entry
[ https://issues.apache.org/jira/browse/NETBEANS-2953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Graf updated NETBEANS-2953: Description: Following stacktrace occurs every time when trying to open "DTDs and XML Schemas" menu entry: {noformat} java.lang.NullPointerException at java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) at java.base/java.util.Properties.get(Properties.java:1311) at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385) at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880) at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555) at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521) at org.openide.util.NbBundle.getMessage(NbBundle.java:617) at org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382) at org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249) at java.base/java.util.TreeMap.put(TreeMap.java:550) at java.base/java.util.TreeSet.add(TreeSet.java:255) at org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225) at org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183) at org.openide.nodes.Children.callAddNotify(Children.java:550) at org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627) at org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98) at org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149) at org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153) at org.openide.nodes.Children.getNodesCount(Children.java:484) at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234) at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224) at org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301) at java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192) at java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155) at java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620) at java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492) at java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324) at java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607) at java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391) at java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141) at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70) at org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66) at org.openide.util.Mutex.readAccess(Mutex.java:235) at org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83) at org.openide.explorer.view.TreeView$4.run(TreeView.java:831) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70) at org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66) at org.openide.util.Mutex.readAccess(Mutex.java:235) at org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821) at org.openide.explorer.view.TreeView.lookupExplorerManager(TreeView.java:659) at org.openide.explorer.view.TreeView.addNotify(TreeView.java:639) at java.desktop/java.awt.Container.addNotify(Container.java:2800) at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783) at java.desktop/java.awt.Container.addNotify(Container.java:2800) at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783) at org.openide.windows.TopComponent.addNotify(TopComponent.java:256) at java.desktop/java.awt.Container.addNotify(Container.java:2800) at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783) at java.desktop/java.awt.Container.addNotify(Contai
[jira] [Updated] (NETBEANS-2953) NPE after pressing "DTDs and XML Schemas" menu entry
[ https://issues.apache.org/jira/browse/NETBEANS-2953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Graf updated NETBEANS-2953: Environment: Windows 10 OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode) > NPE after pressing "DTDs and XML Schemas" menu entry > > > Key: NETBEANS-2953 > URL: https://issues.apache.org/jira/browse/NETBEANS-2953 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.1 > Environment: Windows 10 > OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode) >Reporter: Benjamin Graf >Priority: Major > > Following stacktrace occurs every time when trying to open "DTDs and XML > Schemas" menu entry: > {noformat} > java.lang.NullPointerException > at > java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) > at java.base/java.util.Properties.get(Properties.java:1311) > at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385) > at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880) > at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555) > at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521) > at org.openide.util.NbBundle.getMessage(NbBundle.java:617) > at > org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382) > at > org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249) > at java.base/java.util.TreeMap.put(TreeMap.java:550) > at java.base/java.util.TreeSet.add(TreeSet.java:255) > at > org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225) > at > org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183) > at org.openide.nodes.Children.callAddNotify(Children.java:550) > at > org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627) > at > org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98) > at > org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149) > at > org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153) > at org.openide.nodes.Children.getNodesCount(Children.java:484) > at > org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234) > at > org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224) > at > org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301) > at > java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192) > at > java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155) > at > java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620) > at > java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492) > at > java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324) > at > java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607) > at > java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391) > at > java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141) > at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98) > at > org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95) > at > org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70) > at > org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66) > at org.openide.util.Mutex.readAccess(Mutex.java:235) > at > org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83) > at org.openide.explorer.view.TreeView$4.run(TreeView.java:831) > at > org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95) > at > org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70) > at > org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66) > at org.openide.util.Mutex.readAccess(Mutex.java:235) > at > org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821) > at > org.openide.explorer.view.TreeView.lookupExplorerManager(TreeView.java:659) > at org.openide.explorer.view.Tree
[jira] [Updated] (NETBEANS-2953) NPE after pressing "DTDs and XML Schemas" menu entry
[ https://issues.apache.org/jira/browse/NETBEANS-2953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Graf updated NETBEANS-2953: Description: Following stacktrace occurs every time when trying to open "DTDs and XML Schemas" menu entry: {noformat} java.lang.NullPointerException at java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) at java.base/java.util.Properties.get(Properties.java:1311) at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385) at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880) at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555) at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521) at org.openide.util.NbBundle.getMessage(NbBundle.java:617) at org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382) at org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249) at java.base/java.util.TreeMap.put(TreeMap.java:550) at java.base/java.util.TreeSet.add(TreeSet.java:255) at org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225) at org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183) at org.openide.nodes.Children.callAddNotify(Children.java:550) at org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627) at org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98) at org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149) at org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153) at org.openide.nodes.Children.getNodesCount(Children.java:484) at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234) at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224) at org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301) at java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192) at java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155) at java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620) at java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492) at java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324) at java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607) at java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391) at java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141) at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70) at org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66) at org.openide.util.Mutex.readAccess(Mutex.java:235) at org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83) at org.openide.explorer.view.TreeView$4.run(TreeView.java:831) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70) at org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66) at org.openide.util.Mutex.readAccess(Mutex.java:235) at org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821) at org.openide.explorer.view.TreeView.lookupExplorerManager(TreeView.java:659) at org.openide.explorer.view.TreeView.addNotify(TreeView.java:639) at java.desktop/java.awt.Container.addNotify(Container.java:2800) at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783) at java.desktop/java.awt.Container.addNotify(Container.java:2800) at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783) at org.openide.windows.TopComponent.addNotify(TopComponent.java:256) at java.desktop/java.awt.Container.addNotify(Container.java:2800) at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783) at java.desktop/java.awt.Container.addNotify(Contai
[jira] [Updated] (NETBEANS-2953) NPE after pressing "DTDs and XML Schemas" menu entry
[ https://issues.apache.org/jira/browse/NETBEANS-2953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Graf updated NETBEANS-2953: Description: Following stacktrace occurs every time when trying to open "DTDs and XML Schemas" menu entry: {noformat} java.lang.NullPointerException at java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) at java.base/java.util.Properties.get(Properties.java:1311) at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385) at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880) at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555) at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521) at org.openide.util.NbBundle.getMessage(NbBundle.java:617) at org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382) at org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249) at java.base/java.util.TreeMap.put(TreeMap.java:550) at java.base/java.util.TreeSet.add(TreeSet.java:255) at org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225) at org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183) at org.openide.nodes.Children.callAddNotify(Children.java:550) at org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627) at org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98) at org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149) at org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153) at org.openide.nodes.Children.getNodesCount(Children.java:484) at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234) at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224) at org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301) at java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192) at java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155) at java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620) at java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492) at java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324) at java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607) at java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391) at java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141) at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70) at org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66) at org.openide.util.Mutex.readAccess(Mutex.java:235) at org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83) at org.openide.explorer.view.TreeView$4.run(TreeView.java:831) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70) at org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66) at org.openide.util.Mutex.readAccess(Mutex.java:235) at org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821) at org.openide.explorer.view.TreeView.lookupExplorerManager(TreeView.java:659) at org.openide.explorer.view.TreeView.addNotify(TreeView.java:639) at java.desktop/java.awt.Container.addNotify(Container.java:2800) at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783) at java.desktop/java.awt.Container.addNotify(Container.java:2800) at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783) at org.openide.windows.TopComponent.addNotify(TopComponent.java:256) at java.desktop/java.awt.Container.addNotify(Container.java:2800) at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783) at java.desktop/java.awt.Container.addNotify(Contai
[jira] [Updated] (NETBEANS-2953) NPE after pressing "DTDs and XML Schemas" menu entry
[ https://issues.apache.org/jira/browse/NETBEANS-2953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Graf updated NETBEANS-2953: Summary: NPE after pressing "DTDs and XML Schemas" menu entry (was: NPE after pressing "DTDs and XML Schema" menu entry) > NPE after pressing "DTDs and XML Schemas" menu entry > > > Key: NETBEANS-2953 > URL: https://issues.apache.org/jira/browse/NETBEANS-2953 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.1 >Reporter: Benjamin Graf >Priority: Major > > Following stacktrace occurs every time when trying to open "DTDs and XML > Schema" menu entry: > {noformat} > java.lang.NullPointerException > at > java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) > at java.base/java.util.Properties.get(Properties.java:1311) > at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385) > at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880) > at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555) > at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521) > at org.openide.util.NbBundle.getMessage(NbBundle.java:617) > at > org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382) > at > org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249) > at java.base/java.util.TreeMap.put(TreeMap.java:550) > at java.base/java.util.TreeSet.add(TreeSet.java:255) > at > org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225) > at > org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183) > at org.openide.nodes.Children.callAddNotify(Children.java:550) > at > org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627) > at > org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98) > at > org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149) > at > org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153) > at org.openide.nodes.Children.getNodesCount(Children.java:484) > at > org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234) > at > org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224) > at > org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301) > at > java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192) > at > java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155) > at > java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620) > at > java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492) > at > java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324) > at > java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607) > at > java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391) > at > java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141) > at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98) > at > org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95) > at > org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70) > at > org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66) > at org.openide.util.Mutex.readAccess(Mutex.java:235) > at > org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83) > at org.openide.explorer.view.TreeView$4.run(TreeView.java:831) > at > org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95) > at > org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70) > at > org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66) > at org.openide.util.Mutex.readAccess(Mutex.java:235) > at > org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821) > at > org.openide.explorer.view.TreeView.lookupExplorerManager(TreeView.java:659) > at org.openide.explorer.view.TreeView.addNotify(TreeView.java:639) > at java.desktop/java.awt.Containe
[jira] [Created] (NETBEANS-2953) NPE after pressing "DTDs and XML Schema" menu entry
Benjamin Graf created NETBEANS-2953: --- Summary: NPE after pressing "DTDs and XML Schema" menu entry Key: NETBEANS-2953 URL: https://issues.apache.org/jira/browse/NETBEANS-2953 Project: NetBeans Issue Type: Bug Affects Versions: 11.1 Reporter: Benjamin Graf Following stacktrace occurs every time when trying to open "DTDs and XML Schema" menu entry: {noformat} java.lang.NullPointerException at java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) at java.base/java.util.Properties.get(Properties.java:1311) at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385) at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880) at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555) at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521) at org.openide.util.NbBundle.getMessage(NbBundle.java:617) at org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382) at org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249) at java.base/java.util.TreeMap.put(TreeMap.java:550) at java.base/java.util.TreeSet.add(TreeSet.java:255) at org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225) at org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183) at org.openide.nodes.Children.callAddNotify(Children.java:550) at org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627) at org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98) at org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149) at org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153) at org.openide.nodes.Children.getNodesCount(Children.java:484) at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234) at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224) at org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301) at java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192) at java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155) at java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620) at java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492) at java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324) at java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607) at java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391) at java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141) at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70) at org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66) at org.openide.util.Mutex.readAccess(Mutex.java:235) at org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83) at org.openide.explorer.view.TreeView$4.run(TreeView.java:831) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70) at org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66) at org.openide.util.Mutex.readAccess(Mutex.java:235) at org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821) at org.openide.explorer.view.TreeView.lookupExplorerManager(TreeView.java:659) at org.openide.explorer.view.TreeView.addNotify(TreeView.java:639) at java.desktop/java.awt.Container.addNotify(Container.java:2800) at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783) at java.desktop/java.awt.Container.addNotify(Container.java:2800) at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783) at org.openide.windows.TopComponent.addNotify(TopComponent.java:256) at java.desktop/java.awt.Container.addNotify(
[jira] [Commented] (NETBEANS-2882) Unrelated Payara icon in toolbar
[ https://issues.apache.org/jira/browse/NETBEANS-2882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899637#comment-16899637 ] Ghader Arkani commented on NETBEANS-2882: - Hi Pete, it worked thank you > Unrelated Payara icon in toolbar > > > Key: NETBEANS-2882 > URL: https://issues.apache.org/jira/browse/NETBEANS-2882 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.1 > Environment: OS: win 10, JDK: 1.8.0_212 >Reporter: Ghader Arkani >Assignee: Gaurav Gupta >Priority: Minor > Attachments: pic.jpg > > > There is a Payara icon in my toolbar and I don't know how to remove it. I > don't use any Payara related project. -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2888) Project Context Path problem for Java Maven Web Application
[ https://issues.apache.org/jira/browse/NETBEANS-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SergeyT updated NETBEANS-2888: -- Description: There is no possibility to save/change the Project property -> Run for Java Maven Web Application: Context Path (see attach) The context path in NB11.1 is always the same as the name of the project and cannot be changed. Environment: JDK 64-Bit Server VM 8 or 11 was: There is no possibility to save/change the Project property -> Run for Java Maven Web Application: Context Path (see attach) The context path in NB11.1 is always the same as the name of the project and cannot be changed. Environment: JDK 64-Bit Server VM 8, 11 > Project Context Path problem for Java Maven Web Application > --- > > Key: NETBEANS-2888 > URL: https://issues.apache.org/jira/browse/NETBEANS-2888 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven, apisupport - Project, javaee - > Maven, javaee - Web Project >Affects Versions: 11.0, 11.1 > Environment: Netbeans 11.1 with Java 8 or 11 (Windows 10 64 bit), > Eclipse GlassFish 5.1 or Payara app server for project app deployment >Reporter: SergeyT >Priority: Blocker > Attachments: ctx_path_webapp.png > > > There is no possibility to save/change the Project property -> Run for Java > Maven Web Application: Context Path (see attach) > The context path in NB11.1 is always the same as the name of the project and > cannot be changed. > > Environment: JDK 64-Bit Server VM 8 or 11 -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2951) There is no way to create glassfish-web.xml
[ https://issues.apache.org/jira/browse/NETBEANS-2951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SergeyT updated NETBEANS-2951: -- Description: There is no way to create glassfish-web.xml file in Maven Web Application project (attach) After creation, this file does not appear in the project tree Environment: JDK 64-Bit Server VM 8 or 11 was: There is no way to create glassfish-web.xml file in Maven Web Application project (attach) After creation, this file does not appear in the project tree Environment: JDK 64-Bit Server VM 8, 11 > There is no way to create glassfish-web.xml > --- > > Key: NETBEANS-2951 > URL: https://issues.apache.org/jira/browse/NETBEANS-2951 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1 >Reporter: SergeyT >Priority: Critical > Attachments: glassfish-web.png > > > There is no way to create glassfish-web.xml file in Maven Web Application > project (attach) > After creation, this file does not appear in the project tree > > Environment: JDK 64-Bit Server VM 8 or 11 -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2951) There is no way to create glassfish-web.xml
[ https://issues.apache.org/jira/browse/NETBEANS-2951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SergeyT updated NETBEANS-2951: -- Description: There is no way to create glassfish-web.xml file in Maven Web Application project (attach) After creation, this file does not appear in the project tree Environment: JDK 64-Bit Server VM 8, 11 was: There is no way to create glassfish-web.xml file in Maven Web Application project (attach) After creation, this file does not appear in the project tree > There is no way to create glassfish-web.xml > --- > > Key: NETBEANS-2951 > URL: https://issues.apache.org/jira/browse/NETBEANS-2951 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1 >Reporter: SergeyT >Priority: Critical > Attachments: glassfish-web.png > > > There is no way to create glassfish-web.xml file in Maven Web Application > project (attach) > After creation, this file does not appear in the project tree > > Environment: JDK 64-Bit Server VM 8, 11 -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2888) Project Context Path problem for Java Maven Web Application
[ https://issues.apache.org/jira/browse/NETBEANS-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SergeyT updated NETBEANS-2888: -- Description: There is no possibility to save/change the Project property -> Run for Java Maven Web Application: Context Path (see attach) The context path in NB11.1 is always the same as the name of the project and cannot be changed. Environment: JDK 64-Bit Server VM 8, 11 was: There is no possibility to save/change the Project property -> Run for Java Maven Web Application: Context Path (see attach) The context path in NB11.1 is always the same as the name of the project and cannot be changed. JDK 64-Bit Server VM 8, 11 > Project Context Path problem for Java Maven Web Application > --- > > Key: NETBEANS-2888 > URL: https://issues.apache.org/jira/browse/NETBEANS-2888 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven, apisupport - Project, javaee - > Maven, javaee - Web Project >Affects Versions: 11.0, 11.1 > Environment: Netbeans 11.1 with Java 8 or 11 (Windows 10 64 bit), > Eclipse GlassFish 5.1 or Payara app server for project app deployment >Reporter: SergeyT >Priority: Blocker > Attachments: ctx_path_webapp.png > > > There is no possibility to save/change the Project property -> Run for Java > Maven Web Application: Context Path (see attach) > The context path in NB11.1 is always the same as the name of the project and > cannot be changed. > > Environment: JDK 64-Bit Server VM 8, 11 -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2888) Project Context Path problem for Java Maven Web Application
[ https://issues.apache.org/jira/browse/NETBEANS-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SergeyT updated NETBEANS-2888: -- Description: There is no possibility to save/change the Project property -> Run for Java Maven Web Application: Context Path (see attach) The context path in NB11.1 is always the same as the name of the project and cannot be changed. JDK 64-Bit Server VM 8, 11 was: There is no possibility to save/change the Project property -> Run for Java Maven Web Application: Context Path (see attach) The context path in NB11.1 is always the same as the name of the project and cannot be changed. > Project Context Path problem for Java Maven Web Application > --- > > Key: NETBEANS-2888 > URL: https://issues.apache.org/jira/browse/NETBEANS-2888 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven, apisupport - Project, javaee - > Maven, javaee - Web Project >Affects Versions: 11.0, 11.1 > Environment: Netbeans 11.1 with Java 8 or 11 (Windows 10 64 bit), > Eclipse GlassFish 5.1 or Payara app server for project app deployment >Reporter: SergeyT >Priority: Blocker > Attachments: ctx_path_webapp.png > > > There is no possibility to save/change the Project property -> Run for Java > Maven Web Application: Context Path (see attach) > The context path in NB11.1 is always the same as the name of the project and > cannot be changed. > > JDK 64-Bit Server VM 8, 11 -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2888) Project Context Path problem for Java Maven Web Application
[ https://issues.apache.org/jira/browse/NETBEANS-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899623#comment-16899623 ] SergeyT commented on NETBEANS-2888: --- Workaround: create glassfish-web.xml, but it seems to me that this is the wrong behavior > Project Context Path problem for Java Maven Web Application > --- > > Key: NETBEANS-2888 > URL: https://issues.apache.org/jira/browse/NETBEANS-2888 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven, apisupport - Project, javaee - > Maven, javaee - Web Project >Affects Versions: 11.0, 11.1 > Environment: Netbeans 11.1 with Java 8 or 11 (Windows 10 64 bit), > Eclipse GlassFish 5.1 or Payara app server for project app deployment >Reporter: SergeyT >Priority: Blocker > Attachments: ctx_path_webapp.png > > > There is no possibility to save/change the Project property -> Run for Java > Maven Web Application: Context Path (see attach) > The context path in NB11.1 is always the same as the name of the project and > cannot be changed. -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2951) There is no way to create glassfish-web.xml
[ https://issues.apache.org/jira/browse/NETBEANS-2951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SergeyT updated NETBEANS-2951: -- Description: There is no way to create glassfish-web.xml file in Maven Web Application project (attach) After creation, this file does not appear in the project tree was: There is no way to create glassfish-web.xml file (attach) After creation, this file does not appear in the project tree > There is no way to create glassfish-web.xml > --- > > Key: NETBEANS-2951 > URL: https://issues.apache.org/jira/browse/NETBEANS-2951 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1 >Reporter: SergeyT >Priority: Critical > Attachments: glassfish-web.png > > > There is no way to create glassfish-web.xml file in Maven Web Application > project (attach) > After creation, this file does not appear in the project tree -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2951) There is no way to create glassfish-web.xml
[ https://issues.apache.org/jira/browse/NETBEANS-2951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899622#comment-16899622 ] SergeyT commented on NETBEANS-2951: --- Works in NB 8.2 and older versions > There is no way to create glassfish-web.xml > --- > > Key: NETBEANS-2951 > URL: https://issues.apache.org/jira/browse/NETBEANS-2951 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1 >Reporter: SergeyT >Priority: Critical > Attachments: glassfish-web.png > > > There is no way to create glassfish-web.xml file (attach) > After creation, this file does not appear in the project tree -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2952) Created Payara Micro Application is generated with weird context root
Vedran created NETBEANS-2952: Summary: Created Payara Micro Application is generated with weird context root Key: NETBEANS-2952 URL: https://issues.apache.org/jira/browse/NETBEANS-2952 Project: NetBeans Issue Type: Improvement Environment: Macosx, OpenJDK 11 Reporter: Vedran Using New Project -> Java With Maven -> Payara Micro Application a project is created with weird context root. *+pom.xml+* {{ }} {{ }} {{ }} {{ fish.payara.maven.plugins}} {{ payara-micro-maven-plugin}} {{ 1.0.5}} {{ }} {{ ${version.payara}}} {{ false}} {{ }} {{ }} {{ --autoBindHttp}} {{ }} {{ }} {{ --deploy}} {{ ${project.build.directory}/${project.build.finalName}}} {{ }} {{ }} {{ {color:#FF}*""*{color}}} {{ }} {{ }} {{ }} {{ }} -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2951) There is no way to create glassfish-web.xml
[ https://issues.apache.org/jira/browse/NETBEANS-2951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SergeyT updated NETBEANS-2951: -- Attachment: glassfish-web.png > There is no way to create glassfish-web.xml > --- > > Key: NETBEANS-2951 > URL: https://issues.apache.org/jira/browse/NETBEANS-2951 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1 >Reporter: SergeyT >Priority: Critical > Attachments: glassfish-web.png > > > There is no way to create glassfish-web.xml file (attach) > After creation, this file does not appear in the project tree -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2951) There is no way to create glassfish-web.xml
[ https://issues.apache.org/jira/browse/NETBEANS-2951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SergeyT updated NETBEANS-2951: -- Description: There is no way to create a file (attach) After creation, this file does not appear in the project > There is no way to create glassfish-web.xml > --- > > Key: NETBEANS-2951 > URL: https://issues.apache.org/jira/browse/NETBEANS-2951 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1 >Reporter: SergeyT >Priority: Critical > > There is no way to create a file (attach) > > After creation, this file does not appear in the project -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2951) There is no way to create glassfish-web.xml
[ https://issues.apache.org/jira/browse/NETBEANS-2951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SergeyT updated NETBEANS-2951: -- Description: There is no way to create glassfish-web.xml file (attach) After creation, this file does not appear in the project tree was: There is no way to create a file (attach) After creation, this file does not appear in the project > There is no way to create glassfish-web.xml > --- > > Key: NETBEANS-2951 > URL: https://issues.apache.org/jira/browse/NETBEANS-2951 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1 >Reporter: SergeyT >Priority: Critical > > There is no way to create glassfish-web.xml file (attach) > After creation, this file does not appear in the project tree -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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-2951) There is no way to create glassfish-web.xml
SergeyT created NETBEANS-2951: - Summary: There is no way to create glassfish-web.xml Key: NETBEANS-2951 URL: https://issues.apache.org/jira/browse/NETBEANS-2951 Project: NetBeans Issue Type: Bug Affects Versions: 11.0, 11.1 Reporter: SergeyT -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2882) Unrelated Payara icon in toolbar
[ https://issues.apache.org/jira/browse/NETBEANS-2882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899601#comment-16899601 ] Pete Whelpton commented on NETBEANS-2882: - Hi Ghader :) Click *View* -> *Toolbars* -> *Customize*. Now drag the *Payara Reload* icon from the top toolbar onto the *Customize Toolbars* dialog that popped up (if you are doing it correctly, your cursor icon will change to a rubbish bin..) The icon will disappear from your toolbar :) > Unrelated Payara icon in toolbar > > > Key: NETBEANS-2882 > URL: https://issues.apache.org/jira/browse/NETBEANS-2882 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.1 > Environment: OS: win 10, JDK: 1.8.0_212 >Reporter: Ghader Arkani >Assignee: Gaurav Gupta >Priority: Minor > Attachments: pic.jpg > > > There is a Payara icon in my toolbar and I don't know how to remove it. I > don't use any Payara related project. -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated: [NETBEANS-2883] Remove link to bits.netbeans.org/maven2 + test
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 3663c1d [NETBEANS-2883] Remove link to bits.netbeans.org/maven2 + test 3663c1d is described below commit 3663c1d818d0c78d817560f6bbd9e0fe4a00942a Author: Eric Barboni AuthorDate: Sun Aug 4 10:49:40 2019 +0200 [NETBEANS-2883] Remove link to bits.netbeans.org/maven2 + test --- .../maven.apisupport/nbproject/project.properties | 2 +- apisupport/maven.apisupport/nbproject/project.xml | 4 + .../maven/apisupport/MavenNbModuleImpl.java| 4 +- .../modules/maven/apisupport/NBMNativeMWI.java | 30 +-- .../maven/apisupport/NbmWizardPanelVisual.java | 1 - .../modules/maven/apisupport/NBMNativeMWITest.java | 222 + 6 files changed, 239 insertions(+), 24 deletions(-) diff --git a/apisupport/maven.apisupport/nbproject/project.properties b/apisupport/maven.apisupport/nbproject/project.properties index 5f7dca0..1f24984 100644 --- a/apisupport/maven.apisupport/nbproject/project.properties +++ b/apisupport/maven.apisupport/nbproject/project.properties @@ -16,7 +16,7 @@ # under the License. is.eager=true -javac.source=1.6 +javac.source=1.8 javac.compilerargs=-Xlint -Xlint:-serial test.config.stableBTD.includes=**/*Test.class diff --git a/apisupport/maven.apisupport/nbproject/project.xml b/apisupport/maven.apisupport/nbproject/project.xml index 3aa21f1..5b1e548 100644 --- a/apisupport/maven.apisupport/nbproject/project.xml +++ b/apisupport/maven.apisupport/nbproject/project.xml @@ -390,6 +390,10 @@ org.netbeans.modules.projectapi.nb + + org.netbeans.modules.xml.xdm + + diff --git a/apisupport/maven.apisupport/src/org/netbeans/modules/maven/apisupport/MavenNbModuleImpl.java b/apisupport/maven.apisupport/src/org/netbeans/modules/maven/apisupport/MavenNbModuleImpl.java index 82d86f6..fea023a 100644 --- a/apisupport/maven.apisupport/src/org/netbeans/modules/maven/apisupport/MavenNbModuleImpl.java +++ b/apisupport/maven.apisupport/src/org/netbeans/modules/maven/apisupport/MavenNbModuleImpl.java @@ -94,7 +94,6 @@ public class MavenNbModuleImpl implements NbModuleProvider { private final RequestProcessor.Task tsk = RP.create(dependencyAdder); -public static final String NETBEANS_REPO_ID = "netbeans"; public static final String MAVEN_CENTRAL = "central"; public static final String APACHE_SNAPSHOT_REPO_ID = "apache.snapshots"; // this repository is not good anymore, dev-SNAPSHOT version are buil on apache snapshot @@ -122,8 +121,7 @@ public class MavenNbModuleImpl implements NbModuleProvider { static List netbeansRepo() { return Arrays.asList( - RepositoryPreferences.getInstance().getRepositoryInfoById(MAVEN_CENTRAL), - RepositoryPreferences.getInstance().getRepositoryInfoById(NETBEANS_REPO_ID)); + RepositoryPreferences.getInstance().getRepositoryInfoById(MAVEN_CENTRAL)); } private File getModuleXmlLocation() { diff --git a/apisupport/maven.apisupport/src/org/netbeans/modules/maven/apisupport/NBMNativeMWI.java b/apisupport/maven.apisupport/src/org/netbeans/modules/maven/apisupport/NBMNativeMWI.java index a9858f5..c3d0ac7 100644 --- a/apisupport/maven.apisupport/src/org/netbeans/modules/maven/apisupport/NBMNativeMWI.java +++ b/apisupport/maven.apisupport/src/org/netbeans/modules/maven/apisupport/NBMNativeMWI.java @@ -162,23 +162,20 @@ final class NBMNativeMWI { //add repository boolean addRepository = true; boolean isSnapshot = NbmWizardIterator.SNAPSHOT_VERSION.equals(netbeansDependencyVersion); -String repoUrl = isSnapshot ? "https://repository.apache.org/content/repositories/snapshots/"; : "http://bits.netbeans.org/nexus/content/groups/netbeans";; -String oldRepoUrl = isSnapshot ? "https://repository.apache.org/content/repositories/snapshots/"; : "http://bits.netbeans.org/maven2";; +String snapshotRepoUrl = "https://repository.apache.org/content/repositories/snapshots/";; if (parent != null) { List repos = parent.getRemoteArtifactRepositories(); if (repos != null) { OUTER : for (ArtifactRepository repo : repos) { -if (repoUrl.equals(repo.getUrl()) || (repoUrl + "/").equals(repo.getUrl()) || -oldRepoUrl.equals(repo.getUrl()) || (oldRepoUrl + "/").equals(repo.getUrl())) +if (snapshot