[jira] [Updated] (NETBEANS-5887) SecurityException:setContextClassLoader when remote debug
[ https://issues.apache.org/jira/browse/NETBEANS-5887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Entlicher updated NETBEANS-5887: --- Fix Version/s: (was: 12.6) 12.5 > SecurityException:setContextClassLoader when remote debug > - > > Key: NETBEANS-5887 > URL: https://issues.apache.org/jira/browse/NETBEANS-5887 > Project: NetBeans > Issue Type: Bug > Components: lsp >Affects Versions: 12.4 >Reporter: Martin Entlicher >Assignee: Martin Entlicher >Priority: Major > Labels: pull-request-available > Fix For: 12.5 > > Time Spent: 40m > Remaining Estimate: 0h > > During remote debugging, {{SecurityException: setContextClassLoader}} is > thrown: > {code} > java.lang.SecurityException: setContextClassLoader > at > java.util.concurrent.ForkJoinWorkerThread$InnocuousForkJoinWorkerThread.setContextClassLoader(ForkJoinWorkerThread.java:252) > at > com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:1048) > at > com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:949) > 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:1405) > 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:413) > at > com.sun.tools.javac.api.JavacTrees.getAttrContext(JavacTrees.java:915) > at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:833) > at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:172) > at > org.netbeans.api.java.source.TreeUtilities.scopeFor(TreeUtilities.java:791) > at > org.netbeans.modules.debugger.jpda.projects.PreferredCCParser$ParseExpressionTask.run(PreferredCCParser.java:592) > at > org.netbeans.modules.debugger.jpda.projects.PreferredCCParser$ParseExpressionTask$2.call(PreferredCCParser.java:564) > at > org.netbeans.modules.debugger.jpda.projects.PreferredCCParser$ParseExpressionTask$2.call(PreferredCCParser.java:561) > at > org.netbeans.modules.debugger.jpda.projects.PreferredCCParser.runGuarded(PreferredCCParser.java:747) > at > org.netbeans.modules.debugger.jpda.projects.PreferredCCParser.access$500(PreferredCCParser.java:84) > [catch] at > org.netbeans.modules.debugger.jpda.projects.PreferredCCParser$ParseExpressionTask.parse(PreferredCCParser.java:561) > at > org.netbeans.modules.debugger.jpda.projects.PreferredCCParser.interpretOrCompileCode(PreferredCCParser.java:439) > at > org.netbeans.modules.debugger.jpda.projects.EditorContextSupport.interpretOrCompileCode(EditorContextSupport.java:1436) > at > org.netbeans.modules.debugger.jpda.projectsui.EditorContextImpl.interpretOrCompileCode(EditorContextImpl.java:825) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.netbeans.modules.debugger.jpda.EditorContextBridge.interpretOrCompileCode(EditorContextBridge.java:111) > at > org.netbeans.modules.debugger.jpda.expr.TreeEvaluator.evaluate(TreeEvaluator.java:182) > at > org.netbeans.modules.debugger.jpda.JavaEvaluator.evaluateIn(JavaEvaluator.java:147) > at > org.netbeans.modules.debugger.jpda.JavaEvaluator.evaluate(JavaEvaluator.java:95) > at > org.netbeans.modules.debugger.jpda.expr.EvaluatorExpression.evaluate(EvaluatorExpression.java:53) > at > org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateGeneric(JPDADebuggerImpl.java:962) > at > org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluate(JPDADebuggerImpl.java:347) > at > org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluate(JPDADebuggerImpl.java:311) > at > org.netbeans.modules.java.lsp.server.debugging.NbProtocolServer.evaluateJPDA(NbProtocolServer.java:467) > at > org.netbeans.modules.java.lsp.server.debugging.NbProtocolServer.lambda$evaluate$1(NbProtocolServer.java:455) > at >
[jira] [Commented] (NETBEANS-4540) SyntaxException for specific grammar
[ https://issues.apache.org/jira/browse/NETBEANS-4540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17398274#comment-17398274 ] Matthias Bläsing commented on NETBEANS-4540: [~chrizzly] do you mean, that you need a newer packaging of https://github.com/eclipse/tm4e? 0.4.1 is the last release of that package, but I can see if I can apply the changes I did for pack1 also for master. > SyntaxException for specific grammar > > > Key: NETBEANS-4540 > URL: https://issues.apache.org/jira/browse/NETBEANS-4540 > Project: NetBeans > Issue Type: Bug > Components: textmate-lexer >Affects Versions: 12.0, 12.4 > Environment: Product Version: Apache NetBeans IDE 12.0 > Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS > System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) > User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.0 > Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.0 >Reporter: Christian Lenz >Assignee: Jan Lahoda >Priority: Major > Attachments: example.jl, example.tex > > > When I use this grammar file: > https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/LaTeX.tmLanguage.json > for tex files, I got an SyntaxException fot the attached file (example.tex) > {code} > org.joni.exception.SyntaxException: premature end of char-class > at org.joni.ScannerSupport.newSyntaxException(ScannerSupport.java:166) > at org.joni.Parser.parseCharClass(Parser.java:342) > at org.joni.Parser.parseCharClass(Parser.java:318) > at org.joni.Parser.parseExp(Parser.java:892) > at org.joni.Parser.parseBranch(Parser.java:1116) > at org.joni.Parser.parseSubExp(Parser.java:1133) > at org.joni.Parser.parseRegexp(Parser.java:1166) > at org.joni.Parser.parse(Parser.java:65) > at org.joni.Analyser.compile(Analyser.java:80) > at org.joni.Regex.(Regex.java:159) > at org.joni.Regex.(Regex.java:136) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigRegExp.(OnigRegExp.java:49) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigSearcher.(OnigSearcher.java:29) > at > org.eclipse.tm4e.core.internal.oniguruma.OnigScanner.(OnigScanner.java:24) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList.createOnigScanner(RegExpSourceList.java:132) > at > org.eclipse.tm4e.core.internal.rule.RegExpSourceList.compile(RegExpSourceList.java:86) > at > org.eclipse.tm4e.core.internal.rule.BeginEndRule.compile(BeginEndRule.java:77) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRule(LineTokenizer.java:276) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.matchRuleOrInjections(LineTokenizer.java:299) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scanNext(LineTokenizer.java:110) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer.scan(LineTokenizer.java:97) > at > org.eclipse.tm4e.core.internal.grammar.LineTokenizer._tokenizeString(LineTokenizer.java:537) > at > org.eclipse.tm4e.core.internal.grammar.Grammar._tokenize(Grammar.java:239) > at > org.eclipse.tm4e.core.internal.grammar.Grammar.tokenizeLine(Grammar.java:191) > at > org.netbeans.modules.textmate.lexer.TextmateLexer.nextToken(TextmateLexer.java:75) > at > org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:191) > at > org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:170) > at > org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbedding(IncTokenList.java:165) > at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:463) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$TSInfo.moveNextToken(SyntaxHighlighting.java:779) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveTheSequence(SyntaxHighlighting.java:476) > at > org.netbeans.modules.textmate.lexer.SyntaxHighlighting$HSImpl.moveNext(SyntaxHighlighting.java:405) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:600) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.updateMergeVars(DirectMergeContainer.java:337) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.nextMerge(DirectMergeContainer.java:303) > at > org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.moveNext(DirectMergeContainer.java:234) > at > org.netbeans.modules.editor.lib2.highlighting.HighlightsReader.readUntil(HighlightsReader.java:59) > at >
[jira] [Created] (NETBEANS-5920) org.netbeans.api.java.source.TreeUtilities$5 does not implement method 'abstract java.lang.Object visitSwitchExpression(com.sun.source.tree.SwitchExpressionTree, java.
Austin Stephens created NETBEANS-5920: - Summary: org.netbeans.api.java.source.TreeUtilities$5 does not implement method 'abstract java.lang.Object visitSwitchExpression(com.sun.source.tree.SwitchExpressionTree, java.lang.Object)' of interface com.sun.source.tree.TreeVisitor Key: NETBEANS-5920 URL: https://issues.apache.org/jira/browse/NETBEANS-5920 Project: NetBeans Issue Type: Bug Components: java - Refactoring Affects Versions: 12.4 Reporter: Austin Stephens Error from the refactoring dialog: {noformat} Module Java Refactoring threw java.lang.AbstractMethodError: Receiver class org.netbeans.api.java.source.TreeUtilities$5 does not define or inherit an implementation of the resolved method 'abstract java.lang.Object visitSwitchExpression(com.sun.source.tree.SwitchExpressionTree, java.lang.Object)' of interface com.sun.source.tree.TreeVisitor.. Please report a bug against Java Refactoring module and attach your var/log/messages.log.{noformat} All you need to do to break this is to try to refactor->move this method to another class {code:java} private int moveMe(){ String s = "foo"; int num = switch(s){ case "foo" -> 0; case "bar" -> 1; default -> -1; }; return num; } {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5913) 12.5 beta1 freezes
[ https://issues.apache.org/jira/browse/NETBEANS-5913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17398159#comment-17398159 ] Chris Wareham commented on NETBEANS-5913: - Switched from Debian's OpenJDK 11 to Azul JDK 11, and still experienced a freeze, on this occasion the last user interaction was saving an edit to a JSP. A new thread dump and log file is attached. > 12.5 beta1 freezes > -- > > Key: NETBEANS-5913 > URL: https://issues.apache.org/jira/browse/NETBEANS-5913 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.5 > Environment: Product Version: Apache NetBeans IDE 12.5-beta1 > Java: 11.0.12; OpenJDK 64-Bit Server VM 11.0.12+7-post-Debian-2 > Runtime: OpenJDK Runtime Environment 11.0.12+7-post-Debian-2 > System: Linux version 5.10.0-8-amd64 running on amd64; UTF-8; en_GB (nb) > User directory: /home/chris/.netbeans/12.5-beta1 > Cache directory: /home/chris/.cache/netbeans/12.5-beta1 >Reporter: Chris Wareham >Assignee: Jan Lahoda >Priority: Major > Attachments: netbeans-12.5-beta1-azul-messages.log, > netbeans-12.5-beta1-azul-thread-dump.txt, netbeans-12.5-beta1-messages.log, > netbeans-12.5-beta1-thread-dump.txt > > > I'm getting occasional freezes. It can be after a few minutes or a few hours, > and there doesn't seem to be any specific user interaction that causes it. A > thread dump and log file is 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
[jira] [Updated] (NETBEANS-5913) 12.5 beta1 freezes
[ https://issues.apache.org/jira/browse/NETBEANS-5913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Wareham updated NETBEANS-5913: Attachment: netbeans-12.5-beta1-azul-thread-dump.txt netbeans-12.5-beta1-azul-messages.log > 12.5 beta1 freezes > -- > > Key: NETBEANS-5913 > URL: https://issues.apache.org/jira/browse/NETBEANS-5913 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.5 > Environment: Product Version: Apache NetBeans IDE 12.5-beta1 > Java: 11.0.12; OpenJDK 64-Bit Server VM 11.0.12+7-post-Debian-2 > Runtime: OpenJDK Runtime Environment 11.0.12+7-post-Debian-2 > System: Linux version 5.10.0-8-amd64 running on amd64; UTF-8; en_GB (nb) > User directory: /home/chris/.netbeans/12.5-beta1 > Cache directory: /home/chris/.cache/netbeans/12.5-beta1 >Reporter: Chris Wareham >Assignee: Jan Lahoda >Priority: Major > Attachments: netbeans-12.5-beta1-azul-messages.log, > netbeans-12.5-beta1-azul-thread-dump.txt, netbeans-12.5-beta1-messages.log, > netbeans-12.5-beta1-thread-dump.txt > > > I'm getting occasional freezes. It can be after a few minutes or a few hours, > and there doesn't seem to be any specific user interaction that causes it. A > thread dump and log file is 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
[jira] [Updated] (NETBEANS-5906) Navigator for Gradle Tasks broken
[ https://issues.apache.org/jira/browse/NETBEANS-5906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-5906: - Labels: pull-request-available (was: ) > Navigator for Gradle Tasks broken > - > > Key: NETBEANS-5906 > URL: https://issues.apache.org/jira/browse/NETBEANS-5906 > Project: NetBeans > Issue Type: Bug >Affects Versions: Next, 12.5 > Environment: win10amd64 > adoptjdk16.0.22+7 > gradle 7.1.1 >Reporter: michael anderl >Assignee: Svatopluk Dedic >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > Click in Navigator to run a gradle task wont do anything. > In master and 12.5-beta1 this is broken. Nothing happens in the output > window. > Works with the same settings in 12.4. > Clean, Build, Run from the icons do fine. > > -- 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-5906) Navigator for Gradle Tasks broken
[ https://issues.apache.org/jira/browse/NETBEANS-5906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17398071#comment-17398071 ] Svatopluk Dedic commented on NETBEANS-5906: --- I identified the cause: gradle's ***ActionProviderImpl* started to check if an action is enabled - this was never done before for *custom actions*, which are not contributed by any *GradleActionsProvider*. When I attempted to write tests for this bugfix, I've identified NETBEANS-5919 that prevented me from writing the test. > Navigator for Gradle Tasks broken > - > > Key: NETBEANS-5906 > URL: https://issues.apache.org/jira/browse/NETBEANS-5906 > Project: NetBeans > Issue Type: Bug >Affects Versions: Next, 12.5 > Environment: win10amd64 > adoptjdk16.0.22+7 > gradle 7.1.1 >Reporter: michael anderl >Assignee: Svatopluk Dedic >Priority: Major > > Click in Navigator to run a gradle task wont do anything. > In master and 12.5-beta1 this is broken. Nothing happens in the output > window. > Works with the same settings in 12.4. > Clean, Build, Run from the icons do fine. > > -- 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-5919) ActionProvider.getSupportedActions does not list custom actions
Svatopluk Dedic created NETBEANS-5919: - Summary: ActionProvider.getSupportedActions does not list custom actions Key: NETBEANS-5919 URL: https://issues.apache.org/jira/browse/NETBEANS-5919 Project: NetBeans Issue Type: Bug Components: projects - Gradle Affects Versions: 12.4 Reporter: Svatopluk Dedic Assignee: Svatopluk Dedic Fix For: 12.5 This may be not a big deal, but customized actions should be listed as supported... discovered during investigation of NETBEANS-5918. The same issue was already identified & fixed in Maven as part of NETBEANS-5690, so Gradle should be +- consistent. -- 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-5918) Gradle project cistomizer does not show newly created custom action
Svatopluk Dedic created NETBEANS-5918: - Summary: Gradle project cistomizer does not show newly created custom action Key: NETBEANS-5918 URL: https://issues.apache.org/jira/browse/NETBEANS-5918 Project: NetBeans Issue Type: Bug Components: projects - Gradle Affects Versions: 12.4 Reporter: Svatopluk Dedic Assignee: Svatopluk Dedic Fix For: 12.5 To reproduce: * create a new Gradle project. * *gradle.properties* must not be present * open project customizer * override a standard action, or add a custom one build.properties is created. But when the project customizer opens again, the customized action is not there. This lasts until IDE restart. -- 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 (6f1ac1b -> 1f5b1a5)
This is an automated email from the ASF dual-hosted git repository. skygo pushed a change to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 6f1ac1b Merge pull request #3094 from neilcsmith-net/php-html-completion new 0728145 Backporting #3083 to 12.5 delivery branch new a4e9dd8 Enabling continuous mode with instant reload in the browser new 8485aab Important to open index HTML page when the project is created new 799eb0c Generate FXBeanInfo by annotation processor new 1f5b1a5 Merge pull request #3095 from JaroslavTulach/jtulach/Update125ToGradle70 The 5783 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../htmlui/resources/desktop_build.gradle.fmk | 6 +++--- .../htmlui/resources/gradle-wrapper.properties.fmk | 25 -- .../gradle/htmlui/resources/gradle.properties.fmk | 4 ++-- .../modules/gradle/htmlui/resources/layer.xml | 8 +-- .../gradle/htmlui/resources/root_build.gradle.fmk | 22 +-- .../gradle/htmlui/resources/src_main_java_Demo.fmk | 23 ++-- .../gradle/htmlui/resources/web_build.gradle.fmk | 9 +--- 7 files changed, 24 insertions(+), 73 deletions(-) delete mode 100644 java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/gradle-wrapper.properties.fmk - 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: Stop PHP from invoking autocompletion for all keystrokes inside embedded HTML.
This is an automated email from the ASF dual-hosted git repository. skygo 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 c122621 Stop PHP from invoking autocompletion for all keystrokes inside embedded HTML. new 6f1ac1b Merge pull request #3094 from neilcsmith-net/php-html-completion c122621 is described below commit c1226219bed9b104549e56ee257b941564cace09 Author: Neil C Smith AuthorDate: Fri Aug 6 17:35:36 2021 +0100 Stop PHP from invoking autocompletion for all keystrokes inside embedded HTML. Changing from QueryType.ALL_COMPLETION to QueryType.NONE for embedded HTML tokens stops the PHP code completion overriding the HTML one. --- .../org/netbeans/modules/php/editor/completion/PHPCodeCompletion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/php.editor/src/org/netbeans/modules/php/editor/completion/PHPCodeCompletion.java b/php/php.editor/src/org/netbeans/modules/php/editor/completion/PHPCodeCompletion.java index ec0f079..1c24d79 100644 --- a/php/php.editor/src/org/netbeans/modules/php/editor/completion/PHPCodeCompletion.java +++ b/php/php.editor/src/org/netbeans/modules/php/editor/completion/PHPCodeCompletion.java @@ -2166,7 +2166,7 @@ public class PHPCodeCompletion implements CodeCompletionHandler2 { Token t = ts.token(); if (t != null) { if (t.id() == PHPTokenId.T_INLINE_HTML) { -return QueryType.ALL_COMPLETION; +return QueryType.NONE; } else { if (AUTOPOPUP_STOP_CHARS.contains(Character.valueOf(lastChar))) { return QueryType.STOP; - 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: Use RequestProcessor to fix SecurityException:setContextClassLoader.
This is an automated email from the ASF dual-hosted git repository. skygo 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 e98ed28 Use RequestProcessor to fix SecurityException:setContextClassLoader. new 60ec83b Merge pull request #3097 from entlicher/NETBEANS-5887_12.5 e98ed28 is described below commit e98ed2845984c46083949dbf58511ad2938a6952 Author: Martin Entlicher AuthorDate: Fri Jul 30 18:12:19 2021 +0200 Use RequestProcessor to fix SecurityException:setContextClassLoader. --- .../modules/java/lsp/server/debugging/NbProtocolServer.java| 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/NbProtocolServer.java b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/NbProtocolServer.java index 5f14324..5f9581b 100644 --- a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/NbProtocolServer.java +++ b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/NbProtocolServer.java @@ -28,6 +28,7 @@ import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; +import java.util.Objects; import java.util.concurrent.CompletableFuture; import java.util.concurrent.Future; @@ -88,6 +89,7 @@ import org.netbeans.modules.nativeimage.api.debug.NIDebugger; import org.netbeans.modules.nativeimage.api.debug.NIVariable; import org.netbeans.spi.debugger.ui.DebuggingView.DVFrame; import org.netbeans.spi.debugger.ui.DebuggingView.DVThread; +import org.openide.util.RequestProcessor; /** * @@ -101,6 +103,7 @@ public final class NbProtocolServer implements IDebugProtocolServer, LspSession. private final NbDisconnectRequestHandler disconnectRequestHandler = new NbDisconnectRequestHandler(); private final NbBreakpointsRequestHandler breakpointsRequestHandler = new NbBreakpointsRequestHandler(); private final NbVariablesRequestHandler variablesRequestHandler = new NbVariablesRequestHandler(); +private final RequestProcessor evaluationRP = new RequestProcessor(NbProtocolServer.class.getName(), 3); private boolean initialized = false; private Future runningServer; @@ -458,7 +461,7 @@ public final class NbProtocolServer implements IDebugProtocolServer, LspSession. evaluateNative(niDebugger, expression, threadId, response); } return response; -}); +}, evaluationRP); } private void evaluateJPDA(JPDADebugger debugger, String expression, int threadId, EvaluateResponse response) { @@ -487,7 +490,7 @@ public final class NbProtocolServer implements IDebugProtocolServer, LspSession. } catch (InvalidExpressionException ex) { toString = variable.getValue(); } -response.setResult(toString); +response.setResult(Objects.toString(toString)); response.setVariablesReference(referenceId); response.setType(variable.getType()); response.setIndexedVariables(Math.max(indexedVariables, 0)); - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch delivery updated (8481e3c -> 41133dc)
This is an automated email from the ASF dual-hosted git repository. skygo pushed a change to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 8481e3c Merge pull request #3091 from sdedic/groovy/completion-inner-classes3 new a383d9f API: Allow extenders to declare quoting policy. new 98cf1cb Support escaping within quotes new 6e5db8e Maven escapes extender arguments from raw form. new 4e6428b Adapt gradle to work with non-quoting extenders. new dceb704 Upgrade extenders so they do not quote args themselves. new 3d4dc3f Compatibility: auto-quoted raw arguments. new 611fd2a Legacy extender registration tested. new e64508f NETBEANS-2443: avoid mixing quoted and unquoted options. new 5698324 Stabilized tests. new 48182cf Testsuite has its own MANIFEST to supply layer. new 41133dc Merge pull request #3099 from sdedic/maven/spacesArgs3 The 5774 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: ide/extexecution/apichanges.xml| 18 +- .../api/extexecution/startup/StartupExtender.java | 46 +++- .../extexecution/startup/ProxyStartupExtender.java | 18 ++ .../StartupExtenderRegistrationOptions.java} | 20 +- .../StartupExtenderRegistrationProcessor.java | 5 +- .../spi/extexecution/startup/StartupExtender.java | 12 + .../startup/StartupExtenderImplementation.java | 17 +- .../test/unit/src/META-INF/MANIFEST.MF | 8 + .../api/extexecution/resources/mf-layer.xml| 40 +++ ...tupExtender.java => LegacyStartupExtender.java} | 20 +- ...upExtender.java => LegacyStartupExtender2.java} | 19 +- .../extexecution/startup/StartupExtenderTest.java | 65 - .../extexecution/startup/TestStartupExtender.java | 2 +- ...StartupExtender.java => V2StartupExtender.java} | 21 +- java/gradle.java/nbproject/project.xml | 2 +- .../gradle/java/execute/JavaExecTokenProvider.java | 2 +- java/java.source.ant/nbproject/project.xml | 5 + .../java/source/ant/ProjectRunnerImplTest.java | 9 + java/jshell.support/nbproject/project.xml | 2 +- .../modules/jshell/j2se/JShellStartupExtender.java | 10 +- java/maven/nbproject/project.xml | 2 +- .../maven/execute/MavenCommandLineExecutor.java| 132 + .../maven/runjar/LaunchArgPrereqsChecker.java | 2 +- .../modules/maven/runjar/MavenExecuteUtils.java| 21 +- .../modules/maven/runjar/PropertySplitter.java | 2 +- .../modules/maven/runjar/RunJarStartupArgs.java| 3 +- .../test/unit/data/exec/PrintCommandLine.java | 33 ++- .../maven/runjar/RunJarStartupArgsTest.java| 303 + profiler/profiler.nbimpl/nbproject/project.xml | 2 +- .../providers/DefaultProfilerArgsProvider.java | 12 +- .../javascript/nodejs/exec/NodeExecutable.java | 2 +- 31 files changed, 715 insertions(+), 140 deletions(-) copy ide/extexecution/src/org/netbeans/{spi/extexecution/startup/StartupExtender.java => modules/extexecution/startup/StartupExtenderRegistrationOptions.java} (69%) create mode 100644 ide/extexecution/test/unit/src/META-INF/MANIFEST.MF create mode 100644 ide/extexecution/test/unit/src/org/netbeans/api/extexecution/resources/mf-layer.xml copy ide/extexecution/test/unit/src/org/netbeans/api/extexecution/startup/{TestStartupExtender.java => LegacyStartupExtender.java} (64%) copy ide/extexecution/test/unit/src/org/netbeans/api/extexecution/startup/{TestStartupExtender.java => LegacyStartupExtender2.java} (70%) copy ide/extexecution/test/unit/src/org/netbeans/api/extexecution/startup/{TestStartupExtender.java => V2StartupExtender.java} (63%) copy ide/extexecution/src/org/netbeans/spi/extexecution/startup/StartupExtender.java => java/maven/test/unit/data/exec/PrintCommandLine.java (54%) create mode 100644 java/maven/test/unit/src/org/netbeans/modules/maven/runjar/RunJarStartupArgsTest.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 (1111fa3 -> 8481e3c)
This is an automated email from the ASF dual-hosted git repository. skygo pushed a change to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git. from fa3 Merge pull request #3087 from DevCharly/delivery new 85dc251 Traverse through superinterfaces. new 6e3974b Include inner classes in children. Util methods for simple and outer name. new 0ad9a40 Improve variable type resolution. new 29a6861 Sort meta-methods after normal ones. new 32663b1 Display simplenames for inner classes. new 43f2532 Tested presence of inner interface methods new 8855f69 Stop guessing after the CC point (leaf) is reached. new 8481e3c Merge pull request #3091 from sdedic/groovy/completion-inner-classes3 The 5763 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../modules/groovy/editor/api/ASTUtils.java| 42 +++- .../modules/groovy/editor/api/GroovyIndexer.java | 5 + .../groovy/editor/api/StructureAnalyzer.java | 10 +- .../editor/api/completion/CompletionItem.java | 6 ++ .../groovy/editor/api/elements/ast/ASTClass.java | 5 +- .../groovy/editor/api/elements/ast/ASTField.java | 3 +- .../groovy/editor/api/elements/ast/ASTMethod.java | 8 +- .../completion/inference/MethodInference.java | 21 +++- .../completion/inference/TypeInferenceVisitor.java | 114 +++-- .../flow/reassignment/Reassignment.groovy | 7 ++ ...assignment.groovy.testReassignment_1.completion | 7 ++ ...assignment.groovy.testReassignment_2.completion | 6 ++ .../completion/method/methods4/Methods4.groovy | 21 .../Methods4.groovy.testMethods4.completion| 6 ++ .../groovy/editor/api/completion/FlowCCTest.java | 8 ++ .../groovy/editor/api/completion/MethodCCTest.java | 8 ++ 16 files changed, 230 insertions(+), 47 deletions(-) create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/flow/reassignment/Reassignment.groovy create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/flow/reassignment/Reassignment.groovy.testReassignment_1.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/flow/reassignment/Reassignment.groovy.testReassignment_2.completion create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/method/methods4/Methods4.groovy create mode 100644 groovy/groovy.editor/test/unit/data/testfiles/completion/method/methods4/Methods4.groovy.testMethods4.completion - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-5891) C/C++ plugin installation
[ https://issues.apache.org/jira/browse/NETBEANS-5891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Neil C Smith resolved NETBEANS-5891. Resolution: Duplicate > C/C++ plugin installation > - > > Key: NETBEANS-5891 > URL: https://issues.apache.org/jira/browse/NETBEANS-5891 > Project: NetBeans > Issue Type: Bug > Components: platform - Plugin Manager >Affects Versions: 12.4 >Reporter: Harshavardhan >Priority: Blocker > Labels: beginner > Attachments: Screenshot 2021-07-31 080401.png > > > When i try to install plugin C \ C++ after downloading the 19mb it shows an > error message like > Cannot complete the validation of downloaded plugins > The validation of downloaded plugins cannot be completed, cause: NBM > C:\Users\harsh\AppData\Roaming\NetBeans\12.4\update\download\org-netbeans-modules-cnd-kit.nbm > needs unpack200 to process following entries: > netbeans/modules/locale/org-netbeans-modules-cnd-kit_ja.jar.pack.gz > netbeans/modules/locale/org-netbeans-modules-cnd-kit_pt_BR.jar.pack.gz > netbeans/modules/locale/org-netbeans-modules-cnd-kit_ru.jar.pack.gz > netbeans/modules/locale/org-netbeans-modules-cnd-kit_zh_CN.jar.pack.gz > netbeans/modules/org-netbeans-modules-cnd-kit.jar.pack.gz -- 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-5891) C/C++ plugin installation
[ https://issues.apache.org/jira/browse/NETBEANS-5891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17397984#comment-17397984 ] Neil C Smith commented on NETBEANS-5891: Run NetBeans on JDK 11 to install the plugin. Unfortunately, pack200 was removed from JDK 14, which causes a problem with legacy plugins. > C/C++ plugin installation > - > > Key: NETBEANS-5891 > URL: https://issues.apache.org/jira/browse/NETBEANS-5891 > Project: NetBeans > Issue Type: Bug > Components: platform - Plugin Manager >Affects Versions: 12.4 >Reporter: Harshavardhan >Priority: Blocker > Labels: beginner > Attachments: Screenshot 2021-07-31 080401.png > > > When i try to install plugin C \ C++ after downloading the 19mb it shows an > error message like > Cannot complete the validation of downloaded plugins > The validation of downloaded plugins cannot be completed, cause: NBM > C:\Users\harsh\AppData\Roaming\NetBeans\12.4\update\download\org-netbeans-modules-cnd-kit.nbm > needs unpack200 to process following entries: > netbeans/modules/locale/org-netbeans-modules-cnd-kit_ja.jar.pack.gz > netbeans/modules/locale/org-netbeans-modules-cnd-kit_pt_BR.jar.pack.gz > netbeans/modules/locale/org-netbeans-modules-cnd-kit_ru.jar.pack.gz > netbeans/modules/locale/org-netbeans-modules-cnd-kit_zh_CN.jar.pack.gz > netbeans/modules/org-netbeans-modules-cnd-kit.jar.pack.gz -- 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-5906) Navigator for Gradle Tasks broken
[ https://issues.apache.org/jira/browse/NETBEANS-5906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Neil C Smith updated NETBEANS-5906: --- Fix Version/s: (was: 12.4) > Navigator for Gradle Tasks broken > - > > Key: NETBEANS-5906 > URL: https://issues.apache.org/jira/browse/NETBEANS-5906 > Project: NetBeans > Issue Type: Bug >Affects Versions: Next, 12.5 > Environment: win10amd64 > adoptjdk16.0.22+7 > gradle 7.1.1 >Reporter: michael anderl >Assignee: Svatopluk Dedic >Priority: Major > > Click in Navigator to run a gradle task wont do anything. > In master and 12.5-beta1 this is broken. Nothing happens in the output > window. > Works with the same settings in 12.4. > Clean, Build, Run from the icons do fine. > > -- 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-5906) Navigator for Gradle Tasks broken
[ https://issues.apache.org/jira/browse/NETBEANS-5906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17397976#comment-17397976 ] Neil C Smith commented on NETBEANS-5906: Might be related to [https://github.com/apache/netbeans/pull/3004] - debugging through shows actions returning as being disabled in ActionToTaskUtils. > Navigator for Gradle Tasks broken > - > > Key: NETBEANS-5906 > URL: https://issues.apache.org/jira/browse/NETBEANS-5906 > Project: NetBeans > Issue Type: Bug >Affects Versions: Next, 12.5 > Environment: win10amd64 > adoptjdk16.0.22+7 > gradle 7.1.1 >Reporter: michael anderl >Assignee: Svatopluk Dedic >Priority: Major > Fix For: 12.4 > > > Click in Navigator to run a gradle task wont do anything. > In master and 12.5-beta1 this is broken. Nothing happens in the output > window. > Works with the same settings in 12.4. > Clean, Build, Run from the icons do fine. > > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Assigned] (NETBEANS-5906) Navigator for Gradle Tasks broken
[ https://issues.apache.org/jira/browse/NETBEANS-5906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Svatopluk Dedic reassigned NETBEANS-5906: - Assignee: Svatopluk Dedic > Navigator for Gradle Tasks broken > - > > Key: NETBEANS-5906 > URL: https://issues.apache.org/jira/browse/NETBEANS-5906 > Project: NetBeans > Issue Type: Bug >Affects Versions: Next, 12.5 > Environment: win10amd64 > adoptjdk16.0.22+7 > gradle 7.1.1 >Reporter: michael anderl >Assignee: Svatopluk Dedic >Priority: Major > Fix For: 12.4 > > > Click in Navigator to run a gradle task wont do anything. > In master and 12.5-beta1 this is broken. Nothing happens in the output > window. > Works with the same settings in 12.4. > Clean, Build, Run from the icons do fine. > > -- 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-5914) NetBeans 12.4 freezes on startup
[ https://issues.apache.org/jira/browse/NETBEANS-5914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17397965#comment-17397965 ] Svatopluk Dedic commented on NETBEANS-5914: --- {quote}[~sdedic] isn't the hyperlink / document deadlock NETBEANS-5913 ? {quote} Oops. Sorry. > NetBeans 12.4 freezes on startup > > > Key: NETBEANS-5914 > URL: https://issues.apache.org/jira/browse/NETBEANS-5914 > Project: NetBeans > Issue Type: Bug > Environment: NetBeans 12.4 on Zulu/OpenJDK 11 on Windows 10. >Reporter: Eirik Bakke >Assignee: Jaroslav Tulach >Priority: Major > Attachments: 210506 NetBeans Deadlock on Startup 2.txt, 210506 > NetBeans Deadlock on Startup.txt, 210516 Another NetBeans Deadlock.txt, > 210526 NetBeans Deadlock again.txt > > > On NetBeans 12.4, I was previously experiencing some intermittent freezes on > startup, at the time when projects were being loaded and such. I did some > thread dumps of the frozen IDE using VisualVM. I'm uploading these now in > case they are related to NETBEANS-5913. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-5909) Need copy of NetBeans 8.2 release noes
[ https://issues.apache.org/jira/browse/NETBEANS-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Neil C Smith resolved NETBEANS-5909. Resolution: Done > Need copy of NetBeans 8.2 release noes > -- > > Key: NETBEANS-5909 > URL: https://issues.apache.org/jira/browse/NETBEANS-5909 > Project: NetBeans > Issue Type: Wish > Components: cnd - Other >Affects Versions: 8.2 >Reporter: Robert Mathews >Priority: Minor > Fix For: 8.2 > > > I need a copy of NetBeans 8.2 release notes for documentation. All current > links point to 12.4. -- 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] [Closed] (NETBEANS-5909) Need copy of NetBeans 8.2 release noes
[ https://issues.apache.org/jira/browse/NETBEANS-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Neil C Smith closed NETBEANS-5909. -- > Need copy of NetBeans 8.2 release noes > -- > > Key: NETBEANS-5909 > URL: https://issues.apache.org/jira/browse/NETBEANS-5909 > Project: NetBeans > Issue Type: Wish > Components: cnd - Other >Affects Versions: 8.2 >Reporter: Robert Mathews >Priority: Minor > Fix For: 8.2 > > > I need a copy of NetBeans 8.2 release notes for documentation. All current > links point to 12.4. -- 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-5914) NetBeans 12.4 freezes on startup
[ https://issues.apache.org/jira/browse/NETBEANS-5914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17397956#comment-17397956 ] Neil C Smith commented on NETBEANS-5914: Thanks [~jtulach] My thought too, although glad to know we have a policy against it. Curious looking at changes from BZ 205533 - looks like the call was moved out of the lock then put back again during that bug resolution? [https://github.com/emilianbold/netbeans-releases/commit/9006a5104be2d0c3b4a00efdbab10c65cb4ce32f] [https://github.com/emilianbold/netbeans-releases/commit/fc0b2c38a179b07acfdf834b5088fd3686feb081] [~sdedic] isn't the hyperlink / document deadlock NETBEANS-5913 ? > NetBeans 12.4 freezes on startup > > > Key: NETBEANS-5914 > URL: https://issues.apache.org/jira/browse/NETBEANS-5914 > Project: NetBeans > Issue Type: Bug > Environment: NetBeans 12.4 on Zulu/OpenJDK 11 on Windows 10. >Reporter: Eirik Bakke >Assignee: Jaroslav Tulach >Priority: Major > Attachments: 210506 NetBeans Deadlock on Startup 2.txt, 210506 > NetBeans Deadlock on Startup.txt, 210516 Another NetBeans Deadlock.txt, > 210526 NetBeans Deadlock again.txt > > > On NetBeans 12.4, I was previously experiencing some intermittent freezes on > startup, at the time when projects were being loaded and such. I did some > thread dumps of the frozen IDE using VisualVM. I'm uploading these now in > case they are related to NETBEANS-5913. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-5914) NetBeans 12.4 freezes on startup
[ https://issues.apache.org/jira/browse/NETBEANS-5914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17397945#comment-17397945 ] Svatopluk Dedic edited comment on NETBEANS-5914 at 8/12/21, 9:07 AM: - Well, the Hyperlink API also holds read_lock on the document while calling out to providers. The lock is not documented (AFAIK) and can also cause problems - IMHO sholuld be fixed as well. Consistency can't be guaranteed as input is an offset + no lock is held, so document may mutate before read_lock is obtained. So we can only ensure weak consistency by e.g. not painting the hyperlink if a concurrent doc change occurs (?) was (Author: sdedic): Well, the Hyperlink API also holds read_lock on the document while calling out. The lock is not documented (AFAIK) and can also cause problems - IMHO sholuld be fixed as well. > NetBeans 12.4 freezes on startup > > > Key: NETBEANS-5914 > URL: https://issues.apache.org/jira/browse/NETBEANS-5914 > Project: NetBeans > Issue Type: Bug > Environment: NetBeans 12.4 on Zulu/OpenJDK 11 on Windows 10. >Reporter: Eirik Bakke >Assignee: Jaroslav Tulach >Priority: Major > Attachments: 210506 NetBeans Deadlock on Startup 2.txt, 210506 > NetBeans Deadlock on Startup.txt, 210516 Another NetBeans Deadlock.txt, > 210526 NetBeans Deadlock again.txt > > > On NetBeans 12.4, I was previously experiencing some intermittent freezes on > startup, at the time when projects were being loaded and such. I did some > thread dumps of the frozen IDE using VisualVM. I'm uploading these now in > case they are related to NETBEANS-5913. -- 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-5914) NetBeans 12.4 freezes on startup
[ https://issues.apache.org/jira/browse/NETBEANS-5914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17397945#comment-17397945 ] Svatopluk Dedic commented on NETBEANS-5914: --- Well, the Hyperlink API also holds read_lock on the document while calling out. The lock is not documented (AFAIK) and can also cause problems - IMHO sholuld be fixed as well. > NetBeans 12.4 freezes on startup > > > Key: NETBEANS-5914 > URL: https://issues.apache.org/jira/browse/NETBEANS-5914 > Project: NetBeans > Issue Type: Bug > Environment: NetBeans 12.4 on Zulu/OpenJDK 11 on Windows 10. >Reporter: Eirik Bakke >Assignee: Jaroslav Tulach >Priority: Major > Attachments: 210506 NetBeans Deadlock on Startup 2.txt, 210506 > NetBeans Deadlock on Startup.txt, 210516 Another NetBeans Deadlock.txt, > 210526 NetBeans Deadlock again.txt > > > On NetBeans 12.4, I was previously experiencing some intermittent freezes on > startup, at the time when projects were being loaded and such. I did some > thread dumps of the frozen IDE using VisualVM. I'm uploading these now in > case they are related to NETBEANS-5913. -- 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-5914) NetBeans 12.4 freezes on startup
[ https://issues.apache.org/jira/browse/NETBEANS-5914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17397940#comment-17397940 ] Jaroslav Tulach commented on NETBEANS-5914: --- The log [^210506 NetBeans Deadlock on Startup 2.txt] seems to indicate the problem is at {code:java} at org.netbeans.spi.project.support.DelegatingLookupImpl.doDelegate(DelegatingLookupImpl.java:168) - locked <0x00061e869218> (a java.util.ArrayList) at org.netbeans.spi.project.support.DelegatingLookupImpl.resultChanged(DelegatingLookupImpl.java:84) {code} The {{org.netbeans.spi.project.support.DelegatingLookupImpl}} class holds a lock and calls into unknown code. That's against NetBeans API threading policy. > NetBeans 12.4 freezes on startup > > > Key: NETBEANS-5914 > URL: https://issues.apache.org/jira/browse/NETBEANS-5914 > Project: NetBeans > Issue Type: Bug > Environment: NetBeans 12.4 on Zulu/OpenJDK 11 on Windows 10. >Reporter: Eirik Bakke >Assignee: Jaroslav Tulach >Priority: Major > Attachments: 210506 NetBeans Deadlock on Startup 2.txt, 210506 > NetBeans Deadlock on Startup.txt, 210516 Another NetBeans Deadlock.txt, > 210526 NetBeans Deadlock again.txt > > > On NetBeans 12.4, I was previously experiencing some intermittent freezes on > startup, at the time when projects were being loaded and such. I did some > thread dumps of the frozen IDE using VisualVM. I'm uploading these now in > case they are related to NETBEANS-5913. -- 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-5914) NetBeans 12.4 freezes on startup
[ https://issues.apache.org/jira/browse/NETBEANS-5914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17397926#comment-17397926 ] Eirik Bakke commented on NETBEANS-5914: --- Looking at the "blame" output for the pre-Apache years, there were already a discussion back in 2011 about deadlock avoidance in this area before; see https://bz.apache.org/netbeans/show_bug.cgi?id=205533 and https://github.com/emilianbold/netbeans-releases/commit/fc0b2c38a179b07acfdf834b5088fd3686feb081 . Maybe [~jgl...@netbeans.org] could chime in as well. > NetBeans 12.4 freezes on startup > > > Key: NETBEANS-5914 > URL: https://issues.apache.org/jira/browse/NETBEANS-5914 > Project: NetBeans > Issue Type: Bug > Environment: NetBeans 12.4 on Zulu/OpenJDK 11 on Windows 10. >Reporter: Eirik Bakke >Assignee: Jaroslav Tulach >Priority: Major > Attachments: 210506 NetBeans Deadlock on Startup 2.txt, 210506 > NetBeans Deadlock on Startup.txt, 210516 Another NetBeans Deadlock.txt, > 210526 NetBeans Deadlock again.txt > > > On NetBeans 12.4, I was previously experiencing some intermittent freezes on > startup, at the time when projects were being loaded and such. I did some > thread dumps of the frozen IDE using VisualVM. I'm uploading these now in > case they are related to NETBEANS-5913. -- 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-5917) Services -> Database -> My SQL Connector (Jdriver) does not work with Netbean 12.4 but works with Netbean 8.1
Vikhyat Baxi created NETBEANS-5917: -- Summary: Services -> Database -> My SQL Connector (Jdriver) does not work with Netbean 12.4 but works with Netbean 8.1 Key: NETBEANS-5917 URL: https://issues.apache.org/jira/browse/NETBEANS-5917 Project: NetBeans Issue Type: Bug Environment: # I am using same My SQL Jconnector for Netbean 8.1 and 12.4: mysql-connector-java-8.0.26.jar # I am using same My SQL URL for Netbean 8.1 and 12.4: jdbc:mysql://server:3306/DatabaseTable?zeroDateTimeBehavior=convertToNull # I am using same My SQL connection driver class for Netbean 8.1 and 12.4 : com.mysql.cj.jdbc.Driver # I am using same My SQL connection properties for Netbean 8.1 and 12.4 database. |*clientCertificateKeyStoreUrl*|file path keyStore.jks| |verifyServerCertificate|true| |trustCertificateKeyStorePassword|password| |trustCertificateKeyStoreUrl|trustStore.jks| |clientCertificateKeyStorePassword|password| |useSSL|true| |requireSSL|true| |sslMode|VERIFY_CA| Reporter: Vikhyat Baxi I have been able to connect to JDBC My SQL connector data base successfully with following environment settings with Netbean 8.1 but i am unable to connect with Netbean 12.4. I have ensured that all the settings are similar between both the netbean version. -- 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