[jira] [Commented] (NETBEANS-5292) nb-javac is source of several issues
[ https://issues.apache.org/jira/browse/NETBEANS-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485774#comment-17485774 ] Michael Bien commented on NETBEANS-5292: "The Apache NetBeans 12.6 binary releases require JDK 11+, and officially support running on JDK 11 and JDK 17." The JDK 8 specific bug has been fixed too. In general: running dev tools on old JDKs doesn't make a lot of sense assuming they support newer JDKs too. > nb-javac is source of several issues > > > Key: NETBEANS-5292 > URL: https://issues.apache.org/jira/browse/NETBEANS-5292 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler, java - Editor, java - Hints, platform - > Action Items >Affects Versions: 11.3, 12.2, 12.4 > Environment: Gradle 6.8.1 > Possibly any JDK version 11 > nb-javac installed >Reporter: Netbeans User 2019 >Priority: Critical > Labels: hints, nbjavac, nbjavac-impl.jar > > There are several issue reporting NullPointerException and in logs even > several related to hints (In context of Tools > Options > Editor > Hints). > So my suggestions are: > 1) to be deactivated all hints and retested with and with and without > nb-javac as seems that many issue like this is connected nb-javac, but It > could be even possible that hints are not revised at all from start and even > it is possible that could be ticked to run by import from prior version of > Netbeans, but it could be unsupported in new version. > 2) turn off of nb-javac does not fix issues like these, because it seems that > that states is ignored and nb-javac is still somehow in use ... so only > option is to uninstalled completely (so to see in notification request for > installation) - so it has to be fixed that if it is inactivated should not be > used > 3) to be added even new feature to reset all Hints to default > 4) seems that even some of such failure (even reported as race condition) > that leads to cases that it is not finished indexing so particular classes > are not index so even not visible by dialog to of types and in java editor is > represented as errors and there is not way to removed that reds, because > there are no way to tell to Apache Netbeans that such class is existing and > it is correct. > 5) "Background scanning of projects..." is even running for minutes with > nb-javac installed > Even if it is not done in minor version I would like to see it in major > version fixed. > To me it seems that nb-javac brings more issue than save -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5292) nb-javac is source of several issues
[ https://issues.apache.org/jira/browse/NETBEANS-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485613#comment-17485613 ] Jean-Marc Borer commented on NETBEANS-5292: --- [~taps] Ok, but then it should be clearly stated. It is not according to https://netbeans.apache.org/download/nb126/nb126.html > nb-javac is source of several issues > > > Key: NETBEANS-5292 > URL: https://issues.apache.org/jira/browse/NETBEANS-5292 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler, java - Editor, java - Hints, platform - > Action Items >Affects Versions: 11.3, 12.2, 12.4 > Environment: Gradle 6.8.1 > Possibly any JDK version 11 > nb-javac installed >Reporter: Netbeans User 2019 >Priority: Critical > Labels: hints, nbjavac, nbjavac-impl.jar > > There are several issue reporting NullPointerException and in logs even > several related to hints (In context of Tools > Options > Editor > Hints). > So my suggestions are: > 1) to be deactivated all hints and retested with and with and without > nb-javac as seems that many issue like this is connected nb-javac, but It > could be even possible that hints are not revised at all from start and even > it is possible that could be ticked to run by import from prior version of > Netbeans, but it could be unsupported in new version. > 2) turn off of nb-javac does not fix issues like these, because it seems that > that states is ignored and nb-javac is still somehow in use ... so only > option is to uninstalled completely (so to see in notification request for > installation) - so it has to be fixed that if it is inactivated should not be > used > 3) to be added even new feature to reset all Hints to default > 4) seems that even some of such failure (even reported as race condition) > that leads to cases that it is not finished indexing so particular classes > are not index so even not visible by dialog to of types and in java editor is > represented as errors and there is not way to removed that reds, because > there are no way to tell to Apache Netbeans that such class is existing and > it is correct. > 5) "Background scanning of projects..." is even running for minutes with > nb-javac installed > Even if it is not done in minor version I would like to see it in major > version fixed. > To me it seems that nb-javac brings more issue than save -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5292) nb-javac is source of several issues
[ https://issues.apache.org/jira/browse/NETBEANS-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485551#comment-17485551 ] Thomas Schapitz commented on NETBEANS-5292: --- [~jmborer] Running on JDK 8 can no longer be supported, starting from NB 12.6, this has been addressed by NETBEANS-6349. The Minimum required JDK is now 11. But I usually recommand to switch directly to 17. > nb-javac is source of several issues > > > Key: NETBEANS-5292 > URL: https://issues.apache.org/jira/browse/NETBEANS-5292 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler, java - Editor, java - Hints, platform - > Action Items >Affects Versions: 11.3, 12.2, 12.4 > Environment: Gradle 6.8.1 > Possibly any JDK version 11 > nb-javac installed >Reporter: Netbeans User 2019 >Priority: Critical > Labels: hints, nbjavac, nbjavac-impl.jar > > There are several issue reporting NullPointerException and in logs even > several related to hints (In context of Tools > Options > Editor > Hints). > So my suggestions are: > 1) to be deactivated all hints and retested with and with and without > nb-javac as seems that many issue like this is connected nb-javac, but It > could be even possible that hints are not revised at all from start and even > it is possible that could be ticked to run by import from prior version of > Netbeans, but it could be unsupported in new version. > 2) turn off of nb-javac does not fix issues like these, because it seems that > that states is ignored and nb-javac is still somehow in use ... so only > option is to uninstalled completely (so to see in notification request for > installation) - so it has to be fixed that if it is inactivated should not be > used > 3) to be added even new feature to reset all Hints to default > 4) seems that even some of such failure (even reported as race condition) > that leads to cases that it is not finished indexing so particular classes > are not index so even not visible by dialog to of types and in java editor is > represented as errors and there is not way to removed that reds, because > there are no way to tell to Apache Netbeans that such class is existing and > it is correct. > 5) "Background scanning of projects..." is even running for minutes with > nb-javac installed > Even if it is not done in minor version I would like to see it in major > version fixed. > To me it seems that nb-javac brings more issue than save -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5292) nb-javac is source of several issues
[ https://issues.apache.org/jira/browse/NETBEANS-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17477467#comment-17477467 ] Michael Bien commented on NETBEANS-5292: > 3) to be added even new feature to reset all Hints to default removing this folder will reset the hint config ~/.netbeans/12.6/config/Preferences/org/netbeans/modules/java/hints > 5) "Background scanning of projects..." is even running for minutes with > nb-javac installed this is going to happen every time the javac version changes. If nb-javac is installed its 17, if you turn it off and start on 11... it will have to reindex everything. > To me it seems that nb-javac brings more issue than save well. nb-javac is required if you run on old JDKs. If JDK 17 would be the baseline there would not be a need for it, at least until JDK 18+ is released. the first rc of NB 13 should be available this week. It has many fixes in that area and an updated nb-javac based on JDK 17 installed by default. > nb-javac is source of several issues > > > Key: NETBEANS-5292 > URL: https://issues.apache.org/jira/browse/NETBEANS-5292 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler, java - Editor, java - Hints, platform - > Action Items >Affects Versions: 11.3, 12.2, 12.4 > Environment: Gradle 6.8.1 > Possibly any JDK version 11 > nb-javac installed >Reporter: Netbeans User 2019 >Priority: Critical > Labels: hints, nbjavac, nbjavac-impl.jar > > There are several issue reporting NullPointerException and in logs even > several related to hints (In context of Tools > Options > Editor > Hints). > So my suggestions are: > 1) to be deactivated all hints and retested with and with and without > nb-javac as seems that many issue like this is connected nb-javac, but It > could be even possible that hints are not revised at all from start and even > it is possible that could be ticked to run by import from prior version of > Netbeans, but it could be unsupported in new version. > 2) turn off of nb-javac does not fix issues like these, because it seems that > that states is ignored and nb-javac is still somehow in use ... so only > option is to uninstalled completely (so to see in notification request for > installation) - so it has to be fixed that if it is inactivated should not be > used > 3) to be added even new feature to reset all Hints to default > 4) seems that even some of such failure (even reported as race condition) > that leads to cases that it is not finished indexing so particular classes > are not index so even not visible by dialog to of types and in java editor is > represented as errors and there is not way to removed that reds, because > there are no way to tell to Apache Netbeans that such class is existing and > it is correct. > 5) "Background scanning of projects..." is even running for minutes with > nb-javac installed > Even if it is not done in minor version I would like to see it in major > version fixed. > To me it seems that nb-javac brings more issue than save -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5292) nb-javac is source of several issues
[ https://issues.apache.org/jira/browse/NETBEANS-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17457098#comment-17457098 ] Jean-Marc Borer commented on NETBEANS-5292: --- I also run into this problem on other places. It seems to be related to the fact that now NB uses methods that did not exist in Java 8 > nb-javac is source of several issues > > > Key: NETBEANS-5292 > URL: https://issues.apache.org/jira/browse/NETBEANS-5292 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler, java - Editor, java - Hints, platform - > Action Items >Affects Versions: 11.3, 12.2, 12.4 > Environment: Gradle 6.8.1 > Possibly any JDK version 11 > nb-javac installed >Reporter: Netbeans User 2019 >Priority: Critical > Labels: hints, nbjavac, nbjavac-impl.jar > > There are several issue reporting NullPointerException and in logs even > several related to hints (In context of Tools > Options > Editor > Hints). > So my suggestions are: > 1) to be deactivated all hints and retested with and with and without > nb-javac as seems that many issue like this is connected nb-javac, but It > could be even possible that hints are not revised at all from start and even > it is possible that could be ticked to run by import from prior version of > Netbeans, but it could be unsupported in new version. > 2) turn off of nb-javac does not fix issues like these, because it seems that > that states is ignored and nb-javac is still somehow in use ... so only > option is to uninstalled completely (so to see in notification request for > installation) - so it has to be fixed that if it is inactivated should not be > used > 3) to be added even new feature to reset all Hints to default > 4) seems that even some of such failure (even reported as race condition) > that leads to cases that it is not finished indexing so particular classes > are not index so even not visible by dialog to of types and in java editor is > represented as errors and there is not way to removed that reds, because > there are no way to tell to Apache Netbeans that such class is existing and > it is correct. > 5) "Background scanning of projects..." is even running for minutes with > nb-javac installed > Even if it is not done in minor version I would like to see it in major > version fixed. > To me it seems that nb-javac brings more issue than save -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5292) nb-javac is source of several issues
[ https://issues.apache.org/jira/browse/NETBEANS-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17356376#comment-17356376 ] Netbeans User 2019 commented on NETBEANS-5292: -- Nowadays to me it seems that it is not takes as before such scanning, but it seems it is not finished well as seem that even in indexing missing a classes (open type dialog) additionally dependent classes is also read like about missing such types and/or method that is not possible finished. Seems to me even that it is skip lombok processing. So nb-javac should be really fixed as even using pure one is not a win as javacode @see, ... do not offer code completion and similar case it is even with lambdas. netbeans-linux-435-on-20210531-release.zip Product Version = Apache NetBeans IDE DEV (Build dev-0fb44eb02182e92bbb654c67781358c301fada94) Runtime = OpenJDK Runtime Environment 11.0.10+9-LTS System Locale; Encoding = en_US (nb); UTF-8 messages.log contains several: java.lang.NoSuchMethodException: com.sun.tools.javac.comp.Enter.unenter(com.sun.tools.javac.tree.JCTree$JCCompilationUnit, com.sun.tools.javac.tree.JCTree) at java.base/java.lang.Class.getDeclaredMethod(Class.java:2475) at org.netbeans.api.java.source.TreeUtilities.unenter(TreeUtilities.java:927) at org.netbeans.api.java.source.TreeUtilities.attributeTreeTo(TreeUtilities.java:973) at org.netbeans.api.java.source.TreeUtilities.reattributeTreeTo(TreeUtilities.java:884) at org.netbeans.modules.java.completion.BaseTask.getEnvImpl(BaseTask.java:363) at org.netbeans.modules.java.completion.BaseTask.getCompletionEnvironment(BaseTask.java:270) at org.netbeans.modules.java.completion.JavaCompletionTask.resolve(JavaCompletionTask.java:316) at org.netbeans.modules.java.completion.BaseTask.run(BaseTask.java:94) at org.netbeans.modules.java.completion.JavaCompletionTask.run(JavaCompletionTask.java:60) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.query(JavaCompletionProvider.java:193) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:198) 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) WARNING [org.netbeans.modules.editor.hints.AnnotationHolder]: null ErrorDescription in layer org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker-hints. WARNING [null]: Last record repeated again. java.lang.NullPointerException at com.sun.tools.javac.comp.Check$Validator.visitTypeIdent(Check.java:1532) at com.sun.tools.javac.tree.JCTree$JCPrimitiveTypeTree.accept(JCTree.java:2499) at com.sun.tools.javac.comp.Check$Validator.validateTree(Check.java:1551) at com.sun.tools.javac.comp.Check.validate(Check.java:1422) at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1333) at org.netbeans.lib.nbjavac.services.NBAttr.visitVarDef(NBAttr.java:83) at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:998) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:681) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:762) at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:5585) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5468) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5302) at com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:1005) at org.netbeans.lib.nbjavac.services.NBAttr.visitClassDef(NBAttr.java:64) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:804) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:681) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:762) at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:5585) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5468) at com.sun.t
[jira] [Commented] (NETBEANS-5292) nb-javac is source of several issues
[ https://issues.apache.org/jira/browse/NETBEANS-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17335154#comment-17335154 ] Netbeans User 2019 commented on NETBEANS-5292: -- dev one seems to be also not so well at least in version that I have tried there is even impossible to use as there was several asserts issue if I remember well. > nb-javac is source of several issues > > > Key: NETBEANS-5292 > URL: https://issues.apache.org/jira/browse/NETBEANS-5292 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler, java - Editor, java - Hints, platform - > Action Items >Affects Versions: 11.3, 12.2 > Environment: Gradle 6.8.1 > Possibly any JDK version 11 > nb-javac installed >Reporter: Netbeans User 2019 >Priority: Blocker > Labels: hints, nbjavac, nbjavac-impl.jar > > There are several issue reporting NullPointerException and in logs even > several related to hints (In context of Tools > Options > Editor > Hints). > So my suggestions are: > 1) to be deactivated all hints and retested with and with and without > nb-javac as seems that many issue like this is connected nb-javac, but It > could be even possible that hints are not revised at all from start and even > it is possible that could be ticked to run by import from prior version of > Netbeans, but it could be unsupported in new version. > 2) turn off of nb-javac does not fix issues like these, because it seems that > that states is ignored and nb-javac is still somehow in use ... so only > option is to uninstalled completely (so to see in notification request for > installation) - so it has to be fixed that if it is inactivated should not be > used > 3) to be added even new feature to reset all Hints to default > 4) seems that even some of such failure (even reported as race condition) > that leads to cases that it is not finished indexing so particular classes > are not index so even not visible by dialog to of types and in java editor is > represented as errors and there is not way to removed that reds, because > there are no way to tell to Apache Netbeans that such class is existing and > it is correct. > 5) "Background scanning of projects..." is even running for minutes with > nb-javac installed > Even if it is not done in minor version I would like to see it in major > version fixed. > To me it seems that nb-javac brings more issue than save -- 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-5292) nb-javac is source of several issues
[ https://issues.apache.org/jira/browse/NETBEANS-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17315065#comment-17315065 ] Torsten Römer commented on NETBEANS-5292: - Could you try with 12.4 Beta 1, without installing nb-javac: [https://lists.apache.org/thread.html/r899bc729870651b46a7891003c46430fb40ad85c4dd06866aeb76660%40%3Cdev.netbeans.apache.org%3E] It should be possible to enable "Compile on Save" anyway and it appears to work just fine. > nb-javac is source of several issues > > > Key: NETBEANS-5292 > URL: https://issues.apache.org/jira/browse/NETBEANS-5292 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler, java - Editor, java - Hints, platform - > Action Items >Affects Versions: 11.3, 12.2 > Environment: Gradle 6.8.1 > Possibly any JDK version 11 > nb-javac installed >Reporter: Netbeans User 2019 >Priority: Blocker > Labels: hints, nbjavac, nbjavac-impl.jar > > There are several issue reporting NullPointerException and in logs even > several related to hints (In context of Tools > Options > Editor > Hints). > So my suggestions are: > 1) to be deactivated all hints and retested with and with and without > nb-javac as seems that many issue like this is connected nb-javac, but It > could be even possible that hints are not revised at all from start and even > it is possible that could be ticked to run by import from prior version of > Netbeans, but it could be unsupported in new version. > 2) turn off of nb-javac does not fix issues like these, because it seems that > that states is ignored and nb-javac is still somehow in use ... so only > option is to uninstalled completely (so to see in notification request for > installation) - so it has to be fixed that if it is inactivated should not be > used > 3) to be added even new feature to reset all Hints to default > 4) seems that even some of such failure (even reported as race condition) > that leads to cases that it is not finished indexing so particular classes > are not index so even not visible by dialog to of types and in java editor is > represented as errors and there is not way to removed that reds, because > there are no way to tell to Apache Netbeans that such class is existing and > it is correct. > 5) "Background scanning of projects..." is even running for minutes with > nb-javac installed > Even if it is not done in minor version I would like to see it in major > version fixed. > To me it seems that nb-javac brings more issue than save -- 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-5292) nb-javac is source of several issues
[ https://issues.apache.org/jira/browse/NETBEANS-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17305967#comment-17305967 ] Netbeans User 2019 commented on NETBEANS-5292: -- Seems since 12.3 there are more and more issues even without nb-javac, but I will create for that one new issue so to be handled separately. > nb-javac is source of several issues > > > Key: NETBEANS-5292 > URL: https://issues.apache.org/jira/browse/NETBEANS-5292 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler, java - Editor, java - Hints, platform - > Action Items >Affects Versions: 11.3, 12.2 > Environment: Gradle 6.8.1 > Possibly any JDK version 11 > nb-javac installed >Reporter: Netbeans User 2019 >Priority: Blocker > Labels: hints, nbjavac, nbjavac-impl.jar > > There are several issue reporting NullPointerException and in logs even > several related to hints (In context of Tools > Options > Editor > Hints). > So my suggestions are: > 1) to be deactivated all hints and retested with and with and without > nb-javac as seems that many issue like this is connected nb-javac, but It > could be even possible that hints are not revised at all from start and even > it is possible that could be ticked to run by import from prior version of > Netbeans, but it could be unsupported in new version. > 2) turn off of nb-javac does not fix issues like these, because it seems that > that states is ignored and nb-javac is still somehow in use ... so only > option is to uninstalled completely (so to see in notification request for > installation) - so it has to be fixed that if it is inactivated should not be > used > 3) to be added even new feature to reset all Hints to default > 4) seems that even some of such failure (even reported as race condition) > that leads to cases that it is not finished indexing so particular classes > are not index so even not visible by dialog to of types and in java editor is > represented as errors and there is not way to removed that reds, because > there are no way to tell to Apache Netbeans that such class is existing and > it is correct. > 5) "Background scanning of projects..." is even running for minutes with > nb-javac installed > Even if it is not done in minor version I would like to see it in major > version fixed. > To me it seems that nb-javac brings more issue than save -- 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-5292) nb-javac is source of several issues
[ https://issues.apache.org/jira/browse/NETBEANS-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17272828#comment-17272828 ] Netbeans User 2019 commented on NETBEANS-5292: -- So see issues that I have close as seems as duplicate: NETBEANS-5129 > nb-javac is source of several issues > > > Key: NETBEANS-5292 > URL: https://issues.apache.org/jira/browse/NETBEANS-5292 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler, java - Editor, java - Hints >Affects Versions: 12.2 > Environment: Gradle 6.8.1 > Possibly any JDK version 11 > nb-javac installed >Reporter: Netbeans User 2019 >Priority: Blocker > Labels: hints, nbjavac, nbjavac-impl.jar > > There are several issue reporting NullPointerException and in logs even > several related to hints (In context of Tools > Options > Editor > Hints). > So my suggestions are: > 1) to be deactivated all hints and retested with and with and without > nb-javac as seems that many issue like this is connected nb-javac, but It > could be even possible that hints are not revised at all from start and even > it is possible that could be ticked to run by import from prior version of > Netbeans, but it could be unsupported in new version. > 2) turn off of nb-javac does not fix issues like these, because it seems that > that states is ignored and nb-javac is still somehow in use ... so only > option is to uninstalled completely (so to see in notification request for > installation) - so it has to be fixed that if it is inactivated should not be > used > 3) to be added even new feature to reset all Hints to default > 4) seems that even some of such failure (even reported as race condition) > that leads to cases that it is not finished indexing so particular classes > are not index so even not visible by dialog to of types and in java editor is > represented as errors and there is not way to removed that reds, because > there are no way to tell to Apache Netbeans that such class is existing and > it is correct. > 5) "Background scanning of projects..." is even running for minutes with > nb-javac installed > Even if it is not done in minor version I would like to see it in major > version fixed. > To me it seems that nb-javac brings more issue than save -- 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