[jira] [Created] (NETBEANS-4982) Nullpointer exception: org.netbeans.lib.nbjavac.services.NBJavacTrees.getElement
Martin Meeser created NETBEANS-4982: --- Summary: Nullpointer exception: org.netbeans.lib.nbjavac.services.NBJavacTrees.getElement Key: NETBEANS-4982 URL: https://issues.apache.org/jira/browse/NETBEANS-4982 Project: NetBeans Issue Type: Bug Affects Versions: 12.1 Environment: NB 12.1, Ubuntu 20, Java 14 Reporter: Martin Meeser Attachments: nb_ex Gets caught by the IDE, shown as notification. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-4981) NPE when launching VSCode extension on JDK8
[ https://issues.apache.org/jira/browse/NETBEANS-4981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225198#comment-17225198 ] Jaroslav Tulach commented on NETBEANS-4981: --- I've just initiated [PR-2517|https://github.com/apache/netbeans/pull/2517] to address the problem. > NPE when launching VSCode extension on JDK8 > --- > > Key: NETBEANS-4981 > URL: https://issues.apache.org/jira/browse/NETBEANS-4981 > Project: NetBeans > Issue Type: Bug > Components: vscode >Affects Versions: 12.2 >Reporter: Jaroslav Tulach >Assignee: Jan Lahoda >Priority: Major > Fix For: 12.2 > > > When launching 12.2beta3 [VSCode > extension|https://ci-builds.apache.org/job/Netbeans/job/netbeans-vscode/164/] > with JDK8 following error is raised: > {code:java} > Exit code 0[Error - 8:23:34] Server initialization failed. Message: Internal > error. Code: -32603 java.util.concurrent.CompletionException: > java.lang.NullPointerExceptionat > java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) > at > java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) > at > java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:708) > at > java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:687) > at > java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) > at > java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962) > at > org.netbeans.modules.java.lsp.server.protocol.Server$LanguageServerImpl.asyncOpenSelectedProjects(Server.java:210) > at > org.netbeans.modules.java.lsp.server.protocol.Server$LanguageServerImpl.lambda$initialize$1(Server.java:276) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) >at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)Caused > by: java.lang.NullPointerExceptionat > org.netbeans.modules.java.lsp.server.protocol.Server$LanguageServerImpl.showIndexingCompleted(Server.java:219) > at > java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:705) > {code} > This is very likely due to missing {{nbjavac}}. Try: > {code:java} > netbeans/java/java.lsp.server/vscode$ npm run nbcode -- --jdkhome /jdk1.8.0/ > -J-Dnetbeans.logger.console=true > {code} > followed by > {code:java} > netbeans/java/java.lsp.server/vscode$ code --extensionDevelopmentPath=`pwd` > ~/tmp/withcontrol/ > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4981) NPE when launching VSCode extension on JDK8
[ https://issues.apache.org/jira/browse/NETBEANS-4981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jaroslav Tulach updated NETBEANS-4981: -- Description: When launching 12.2beta3 [VSCode extension|https://ci-builds.apache.org/job/Netbeans/job/netbeans-vscode/164/] with JDK8 following error is raised: {code:java} Exit code 0[Error - 8:23:34] Server initialization failed. Message: Internal error. Code: -32603 java.util.concurrent.CompletionException: java.lang.NullPointerExceptionat java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:708)at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:687) at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962) at org.netbeans.modules.java.lsp.server.protocol.Server$LanguageServerImpl.asyncOpenSelectedProjects(Server.java:210) at org.netbeans.modules.java.lsp.server.protocol.Server$LanguageServerImpl.lambda$initialize$1(Server.java:276) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)Caused by: java.lang.NullPointerExceptionat org.netbeans.modules.java.lsp.server.protocol.Server$LanguageServerImpl.showIndexingCompleted(Server.java:219) at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:705) {code} This is very likely due to missing {{nbjavac}}. Try: {code:java} netbeans/java/java.lsp.server/vscode$ npm run nbcode -- --jdkhome /jdk1.8.0/ -J-Dnetbeans.logger.console=true {code} followed by {code:java} netbeans/java/java.lsp.server/vscode$ code --extensionDevelopmentPath=`pwd` ~/tmp/withcontrol/ {code} was: When launching 12.2beta3 [VSCode extension|https://ci-builds.apache.org/job/Netbeans/job/netbeans-vscode/164/] with JDK8 following error is raised: {code:java} Exit code 0[Error - 8:23:34] Server initialization failed. Message: Internal error. Code: -32603 java.util.concurrent.CompletionException: java.lang.NullPointerExceptionat java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:708)at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:687) at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962) at org.netbeans.modules.java.lsp.server.protocol.Server$LanguageServerImpl.asyncOpenSelectedProjects(Server.java:210) at org.netbeans.modules.java.lsp.server.protocol.Server$LanguageServerImpl.lambda$initialize$1(Server.java:276) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)Caused by: java.lang.NullPointerExceptionat org.netbeans.modules.java.lsp.server.protocol.Server$LanguageServerImpl.showIndexingCompleted(Server.java:219) at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:705) {code} This is very likely due to missing {{nbjavac}}. > NPE when launching VSCode extension on JDK8 > --- > > Key: NETBEANS-4981 > URL: https://issues.apache.org/jira/browse/NETBEANS-4981 > Project: NetBeans > Issue Type: Bug > Components: vscode >Affects Versions: 12.2 >Reporter: Jaroslav Tulach >Assignee: Jan Lahoda >Priority: Major > Fix For: 12.2 > > > When launching 12.2beta3 [VSCode > extension|https://ci-builds.apache.org/job/Netbeans/job/netbeans-vscode/164/] > with JDK8 following error is raised: > {code:java} > Exit code 0[Error - 8:23:34] Server initialization failed. Message: Internal > error. Code: -32603 java.util.concurrent.CompletionException: > java.lang.NullPointerExceptionat > java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) > at > java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) > at > java.util.concurrent.CompletableFuture.uniRun(CompletableF
[jira] [Created] (NETBEANS-4981) NPE when launching VSCode extension on JDK8
Jaroslav Tulach created NETBEANS-4981: - Summary: NPE when launching VSCode extension on JDK8 Key: NETBEANS-4981 URL: https://issues.apache.org/jira/browse/NETBEANS-4981 Project: NetBeans Issue Type: Bug Components: vscode Affects Versions: 12.2 Reporter: Jaroslav Tulach Assignee: Jan Lahoda Fix For: 12.2 When launching 12.2beta3 [VSCode extension|https://ci-builds.apache.org/job/Netbeans/job/netbeans-vscode/164/] with JDK8 following error is raised: {code:java} Exit code 0[Error - 8:23:34] Server initialization failed. Message: Internal error. Code: -32603 java.util.concurrent.CompletionException: java.lang.NullPointerExceptionat java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:708)at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:687) at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962) at org.netbeans.modules.java.lsp.server.protocol.Server$LanguageServerImpl.asyncOpenSelectedProjects(Server.java:210) at org.netbeans.modules.java.lsp.server.protocol.Server$LanguageServerImpl.lambda$initialize$1(Server.java:276) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)Caused by: java.lang.NullPointerExceptionat org.netbeans.modules.java.lsp.server.protocol.Server$LanguageServerImpl.showIndexingCompleted(Server.java:219) at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:705) {code} This is very likely due to missing {{nbjavac}}. -- 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-4980) Report Problem
Raul Ferreira da Rocha created NETBEANS-4980: Summary: Report Problem Key: NETBEANS-4980 URL: https://issues.apache.org/jira/browse/NETBEANS-4980 Project: NetBeans Issue Type: Bug Components: java - Beans Affects Versions: 12.1 Environment: Windows 10 PRO Reporter: Raul Ferreira da Rocha 2020-10-09T16:04:03 1602270243746 50 300 19 CPU INFO 8 2020-10-09T16:04:03 1602270243831 51 300 19 SCREEN SIZE 1440 900 1 2020-10-09T16:04:03 1602270243831 52 700 19 IDE_STARTUP 2020-10-09T16:04:04 1602270244583 61 800 19 USG_LOOK_AND_FEEL Windows Windows 2020-10-09T16:04:08 1602270248741 64 800 31 MEMORY 8273977344 2020-10-09T16:04:29 1602270269518 65 400 25 UI_ACTION_BUTTON_PRESS UI_ACTION_BUTTON_PRESS org.openide.awt.Bundle org.openide.awt.Actions$MenuItem[Plugins] org.openide.awt.Actions$MenuItem org.openide.awt.AlwaysEnabledAction[Plu&gins] org.openide.awt.AlwaysEnabledAction Plu&gins 2020-10-09T16:05:26 1602270326149 66 800 66 INDEXING_STARTED INDEXING_STARTED org.netbeans.modules.parsing.impl.indexing.Bundle 0 2020-10-09T16:05:26 1602270326150 67 800 66 INDEXING_FINISHED INDEXING_FINISHED org.netbeans.modules.parsing.impl.indexing.Bundle 0 2020-10-09T16:05:26 1602270326304 71 500 25 LOG_WINDOW_DEACTIVATED LOG_WINDOW_DEACTIVATED org.netbeans.core.ui.warmup.Bundle 2020-11-02T17:51:39 1604350299247 48 300 19 CPU INFO 8 2020-11-02T17:51:39 1604350299294 49 300 19 SCREEN SIZE 1440 900 1 2020-11-02T17:51:39 1604350299294 50 700 19 IDE_STARTUP 2020-11-02T17:51:40 1604350300697 59 800 19 USG_LOOK_AND_FEEL Windows Windows 2020-11-02T17:51:46 160435030 62 800 28 MEMORY 8273977344 2020-11-02T17:58:12 1604350692233 63 500 25 LOG_WINDOW_DEACTIVATED LOG_WINDOW_DEACTIVATED org.netbeans.core.ui.warmup.Bundle 2020-11-02T17:58:13 1604350693966 64 500 56 LOG_WINDOW_ACTIVATED LOG_WINDOW_ACTIVATED org.netbeans.core.ui.warmup.Bundle 27 2020-11-02T17:58:20 1604350700805 65 400 25 UI_ACTION_BUTTON_PRESS UI_ACTION_BUTTON_PRESS org.openide.awt.Bundle org.openide.awt.Actions$MenuItem[Open Project...] org.openide.awt.Actions$MenuItem org.netbeans.modules.project.ui.actions.OpenProject[Open Proj&ect...] org.netbeans.modules.project.ui.actions.OpenProject Open Proj&ect... 2020-11-02T17:59:16 1604350756244 67 700 57 Snapshot statistics 1604350733467 Samples 2178 Average 10.43785202020201 Minimum 1.9695 Maximum 28.5957 Std. deviation 1.2625193351145576 2020-11-02T17:59:22 1604350762481 105 org.netbeans.ui 700 57 UI_ENABLED_MODULES UI_ENABLED_MODULES org.netbeans.modules.uihandler.Bundle org.netbeans.api.annotations.common/1 [1.36] org.netbeans.modules.selenium2.webclient [1.16] org.netbeans.modules.editor.mimelookup.impl/1 [1.41] org.netbeans.modules.spellchecker.dictionary_en [1.31] org.netbeans.modules.project.ant/1 [1.76] org.netbeans.modules.lexer/2 [1.72.0.1] org.eclipse.jgit [5.5.1] org.netbeans.modules.db.sql.editor [1.45.0.30] org.netbeans.modules.versioning.indexingbridge/0 [1.34] org.netbeans.core.ide/1 [1.50] org.netbeans.modules.editor.indent.project/0 [1.31] com.jcraft.jsch [0.1.55] org.netbeans.modules.updatecenters/1 [1.49] org.eclipse.mylyn.commons.core [3.17.0] org.netbeans.modules.css.editor/1 [1.77] org.eclipse.mylyn.commons.xmlrpc [3.17.0] org.netbeans.modules.gsf.testrunner/2 [2.19] org.netbeans.modules.spellchecker.apimodule [1.34] org.netbeans.modules.usersguide/1 [1.57] org.netbeans.modules.mylyn.util [1.45] org.netbeans.modules.selenium2 [1.14] org.netbeans.libs.felix [2.24] org.netbeans.spi.editor.hints/0 [1.51.0.7.55] org.openide.loaders [7.77] org.openide.util.ui [9.17] org.netbeans.modules.uihandler [2.44] org.openide.filesystems.compat8 [9.18] org.netbeans.modules.ide.branding/1 [1.41] org.netbeans.modules.terminal.nb [1.9] org.netbeans.modules.parsing.lucene/2 [2.44.0.1] org.netbeans.swing.plaf [1.51] org.netbeans.spi.tasklist/1 [1.44.0.1] org.netbeans.modules.bugtracking.bridge [1.54] org.openide.execution [9.12] org.netbeans.modules.javascript.v8debug.ui/1 [1.8.0.1] org.netbeans.modules.project.spi.intern.impl [1.12] org.netbeans.modules.xml.xam/1 [1.41.0.1] org.netbeans.core.network [1.21] org.netbeans.api.progress.compat8 [1.56] org.netbeans.modules.progress.ui [1.42] org.netbeans.modules.textmate.lexer/0 [1.8.0.1] org.openide.windows [6.86] org.netbeans.modules.xml.schema.model/1 [1.41.0.1] org.netbeans.modules.docker.ui/0 [1.9] org.netbeans.modules.hudson.ui [1.20] org.netbeans.modules.editor/3
[netbeans-tools] branch master updated: Update "last edited at" timestamp for plugin when plugin -> NB version assignment is updated
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-tools.git The following commit(s) were added to refs/heads/master by this push: new 59c0bc2 Update "last edited at" timestamp for plugin when plugin -> NB version assignment is updated new 5db6098 Merge pull request #35 from matthiasblaesing/pp3-update-edit-date-version-edit 59c0bc2 is described below commit 59c0bc2b2e36c83d582f0673008f1692b6172c8b Author: Matthias Bläsing AuthorDate: Thu Oct 29 22:00:06 2020 +0100 Update "last edited at" timestamp for plugin when plugin -> NB version assignment is updated --- .../Application/src/Application/Controller/PluginVersionController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pp3/module/Application/src/Application/Controller/PluginVersionController.php b/pp3/module/Application/src/Application/Controller/PluginVersionController.php index ae990eb..2b7e135 100644 --- a/pp3/module/Application/src/Application/Controller/PluginVersionController.php +++ b/pp3/module/Application/src/Application/Controller/PluginVersionController.php @@ -93,6 +93,9 @@ class PluginVersionController extends AuthenticatedController { $this->rebuildAllCatalogs(); if ($showFlash) { +$plugin = $pluginVersion->getPlugin(); +$plugin->setLastUpdatedAt(new \DateTime('now')); +$this->_pluginRepository->persist($plugin); $this->flashMessenger()->setNamespace('success')->addMessage('Plugin version updated'); return $this->redirect()->toUrl('./edit?id='.$pluginVersion->getId()); } - 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: Ensure document state is consistent after unnamed is saved.
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 2969adc Ensure document state is consistent after unnamed is saved. 2969adc is described below commit 2969adc83b00f5f3ffcbca9be1e0d69e65b4b47a Author: Svata Dedic AuthorDate: Mon Nov 2 14:02:31 2020 +0100 Ensure document state is consistent after unnamed is saved. --- .../server/protocol/TextDocumentServiceImpl.java | 27 .../java/lsp/server/protocol/ServerTest.java | 74 +++--- 2 files changed, 76 insertions(+), 25 deletions(-) diff --git a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java index f612a1a..530feaf 100644 --- a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java +++ b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java @@ -1014,22 +1014,19 @@ public class TextDocumentServiceImpl implements TextDocumentService, LanguageCli Document doc = ec.getDocument(); // the document may be not opened yet. Clash with in-memory content can happen only if // the doc was opened prior to request reception. -if (doc != null) { -String text = params.getTextDocument().getText(); -try { -// could be faster with CharSequence, but requires a dependency on -// org.netbeans.modules.editor.util -if (!text.contentEquals(doc.getText(0, doc.getLength( { -doc.remove(0, doc.getLength()); -doc.insertString(0, text, null); -} -} catch (BadLocationException ex) { -Exceptions.printStackTrace(ex); -//TODO: include stack trace: -client.logMessage(new MessageParams(MessageType.Error, ex.getMessage())); +String text = params.getTextDocument().getText(); +try { +if (doc == null) { +doc = ec.openDocument(); } -} else { -doc = ec.openDocument(); +if (!text.contentEquals(doc.getText(0, doc.getLength( { +doc.remove(0, doc.getLength()); +doc.insertString(0, text, null); +} +} catch (BadLocationException ex) { +Exceptions.printStackTrace(ex); +//TODO: include stack trace: +client.logMessage(new MessageParams(MessageType.Error, ex.getMessage())); } openedDocuments.put(params.getTextDocument().getUri(), doc); runDiagnoticTasks(params.getTextDocument().getUri()); diff --git a/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java b/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java index 8213c5b..38bccfe 100644 --- a/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java +++ b/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java @@ -45,6 +45,7 @@ import java.util.concurrent.CountDownLatch; import java.util.concurrent.Semaphore; import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; +import javax.swing.text.Document; import javax.swing.text.StyledDocument; import org.eclipse.lsp4j.CodeAction; import org.eclipse.lsp4j.CodeActionContext; @@ -277,6 +278,7 @@ public class ServerTest extends NbTestCase { private class OpenCloseHook { private Semaphore didOpenCompleted = new Semaphore(0); private Semaphore didCloseCompleted = new Semaphore(0); +private Semaphore didChangeCompleted = new Semaphore(0); public void accept(String n, Object params){ switch (n) { @@ -286,10 +288,24 @@ public class ServerTest extends NbTestCase { case "didClose": didCloseCompleted.release(); break; +case "didChange": +didChangeCompleted.release(); +break; } } } +private static final String SAMPLE_CODE = +"public class Test \n" ++ "{ \n" ++ " int i = \"\".hashCode();\n" ++ " public void run() {\n" ++ "this.test(); \n" ++ " }\n\n" ++ " /**Test.*/public void test() {\n" ++ " }\n" ++ "}"; + /**
[netbeans] branch delivery updated: [NETBEANS-4976] Revalidate the breadcrumbs component after changing its dimensions.
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 e79e02a [NETBEANS-4976] Revalidate the breadcrumbs component after changing its dimensions. e79e02a is described below commit e79e02a4c643580edbf869e8d0ad1a48840dc617 Author: Jan Lahoda AuthorDate: Sun Nov 1 07:59:00 2020 +0100 [NETBEANS-4976] Revalidate the breadcrumbs component after changing its dimensions. --- .../src/org/netbeans/modules/lsp/client/bindings/BreadcrumbsImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/BreadcrumbsImpl.java b/ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/BreadcrumbsImpl.java index fe9841c..0e56170 100644 --- a/ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/BreadcrumbsImpl.java +++ b/ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/BreadcrumbsImpl.java @@ -342,11 +342,13 @@ public class BreadcrumbsImpl implements BackgroundTask { r = () -> { setPreferredSize(sidebar.getPreferredSize()); setMaximumSize(sidebar.getMaximumSize()); +revalidate(); }; } else { r = () -> { setPreferredSize(new Dimension(0,0)); setMaximumSize(new Dimension(0,0)); +revalidate(); }; } - 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: Publisher is asf
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 2831a8f Publisher is asf 2831a8f is described below commit 2831a8f829568db16cbb2493b86730866c1e5d0b Author: Jaroslav Tulach AuthorDate: Mon Nov 2 04:09:42 2020 +0100 Publisher is asf --- java/java.lsp.server/vscode/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/java.lsp.server/vscode/package.json b/java/java.lsp.server/vscode/package.json index 7440635..7259f83 100644 --- a/java/java.lsp.server/vscode/package.json +++ b/java/java.lsp.server/vscode/package.json @@ -9,7 +9,7 @@ "type": "git", "url": "https://github.com/apache/netbeans"; }, - "publisher": "jlahoda", + "publisher": "asf", "categories": [], "keywords": [ "multi-root ready" - 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-4967) Doesn't support optional chaining in JS
[ https://issues.apache.org/jira/browse/NETBEANS-4967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17224662#comment-17224662 ] Christian Lenz commented on NETBEANS-4967: -- You can't update your IDE, you need to update the JS Parser from the NetBeans code to get the support for this. So you need to contribute to the core or hope for someone to make it. > Doesn't support optional chaining in JS > --- > > Key: NETBEANS-4967 > URL: https://issues.apache.org/jira/browse/NETBEANS-4967 > Project: NetBeans > Issue Type: New Feature >Affects Versions: 12.1 >Reporter: dj dance >Priority: Major > > It doesn't support optional chaining in JS > > For example, it considers the following as a bug and stop working. > > var k=obj?.prop -- 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-4978) PHP Menu Source->Fix uses break code
Jayce created NETBEANS-4978: --- Summary: PHP Menu Source->Fix uses break code Key: NETBEANS-4978 URL: https://issues.apache.org/jira/browse/NETBEANS-4978 Project: NetBeans Issue Type: Improvement Components: php - Editor Reporter: Jayce Using "Fix Uses" (Source menu) break code by moving "use \Package\To\Use;" before "declare(strict_types=1);" It does not happen if a use line is already present in the source code (at the correct position). declare(strict_types=1); must always be the first line. -- 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-4977) Review TokenAcceptor CSS API
Svatopluk Dedic created NETBEANS-4977: - Summary: Review TokenAcceptor CSS API Key: NETBEANS-4977 URL: https://issues.apache.org/jira/browse/NETBEANS-4977 Project: NetBeans Issue Type: Bug Components: web - CSS Editor Affects Versions: 12.2 Reporter: Svatopluk Dedic Assignee: Svatopluk Dedic Fix For: Next The {{TokenAcceptor}} contains a number of public classes, which probably should never been public: not used outside the package explicitly. The subclasses should be reviewed and possibly restructured so i.e. CSS Visual Editor does not need to case-typecheck for different Number providers etc. Most of the subclasses should be in fact private/final. -- 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