[jira] [Comment Edited] (NETBEANS-5129) IDE Reported Exception

2021-01-27 Thread Netbeans User 2019 (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17272809#comment-17272809
 ] 

Netbeans User 2019 edited comment on NETBEANS-5129 at 1/27/21, 12:29 PM:
-

In context of Tools > Options > Editor > Hints

There is no exact steps to reproduced, but I think that I open new issue:

- 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

- additionally even turn off 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 intallation)

- additionally to be added even new feature to reset all Hints to default


was (Author: nb-user-2019):
In context of Tools > Options > Editor > Hints

There is no exact steps to reproduced, but I think that I open new issue:

- 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 bu unsupported in new version

- additionally even turn off 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 intallation)

- additionally to be added even new feature to reset all Hints to default

> IDE Reported Exception
> --
>
> Key: NETBEANS-5129
> URL: https://issues.apache.org/jira/browse/NETBEANS-5129
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 12.2
>Reporter: Netbeans User 2019
>Priority: Major
>
> java.lang.NullPointerException
>   at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:914)
>   at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2500(JavacProcessingEnvironment.java:113)
>   at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1298)
>   at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1380)
>   at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1350)
>   at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1240)
>   at 
> com.sun.tools.javac.main.JavaCompiler.lambda$readSourceFile$3(JavaCompiler.java:930)
>   at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:330)
>   at com.sun.tools.javac.code.Symbol.complete(Symbol.java:683)
>   at 
> com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1434)
>   at com.sun.tools.javac.code.Symbol.apiComplete(Symbol.java:689)
>   at 
> com.sun.tools.javac.code.Symbol$TypeSymbol.getEnclosedElements(Symbol.java:863)
>   at 
> com.sun.tools.javac.code.Symbol$TypeSymbol.getEnclosedElements(Symbol.java:798)
>   at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitMethod(NPECheck.java:1160)
>   at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitMethod(NPECheck.java:546)
>   at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:940)
>   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:86)
>   at 
> org.netbeans.api.java.source.support.CancellableTreeScanner.scan(CancellableTreeScanner.java:69)
>   at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:653)
>   at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:546)
>   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
>   at 
> org.netbeans.api.java.source.support.CancellableTreeScanner.scan(CancellableTreeScanner.java:78)
>   at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)
>   at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:189)
>   at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:846)
>   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:86)
>   at 
> org.netbeans.api.java.source.support.CancellableTreeScanner.scan(CancellableTreeScanner.java:69)
>   at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:653)
>   at 
> 

[jira] [Comment Edited] (NETBEANS-5129) IDE Reported Exception

2021-01-27 Thread Netbeans User 2019 (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17272809#comment-17272809
 ] 

Netbeans User 2019 edited comment on NETBEANS-5129 at 1/27/21, 12:29 PM:
-

In context of Tools > Options > Editor > Hints

There is no exact steps to reproduced, but I think that I open new issue:

- 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 bu unsupported in new version

- additionally even turn off 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 intallation)

- additionally to be added even new feature to reset all Hints to default


was (Author: nb-user-2019):
In context of Tools > Options > Editor > Hints

There is no exact steps to reproduced, but I think that I open new issue:

- 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 is 
e.g. so supported in new version

- additionally even turn off 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 intallation)

- additionally to be added even new feature to reset all Hints to default

> IDE Reported Exception
> --
>
> Key: NETBEANS-5129
> URL: https://issues.apache.org/jira/browse/NETBEANS-5129
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 12.2
>Reporter: Netbeans User 2019
>Priority: Major
>
> java.lang.NullPointerException
>   at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:914)
>   at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2500(JavacProcessingEnvironment.java:113)
>   at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1298)
>   at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1380)
>   at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1350)
>   at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1240)
>   at 
> com.sun.tools.javac.main.JavaCompiler.lambda$readSourceFile$3(JavaCompiler.java:930)
>   at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:330)
>   at com.sun.tools.javac.code.Symbol.complete(Symbol.java:683)
>   at 
> com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1434)
>   at com.sun.tools.javac.code.Symbol.apiComplete(Symbol.java:689)
>   at 
> com.sun.tools.javac.code.Symbol$TypeSymbol.getEnclosedElements(Symbol.java:863)
>   at 
> com.sun.tools.javac.code.Symbol$TypeSymbol.getEnclosedElements(Symbol.java:798)
>   at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitMethod(NPECheck.java:1160)
>   at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitMethod(NPECheck.java:546)
>   at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:940)
>   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:86)
>   at 
> org.netbeans.api.java.source.support.CancellableTreeScanner.scan(CancellableTreeScanner.java:69)
>   at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:653)
>   at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:546)
>   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
>   at 
> org.netbeans.api.java.source.support.CancellableTreeScanner.scan(CancellableTreeScanner.java:78)
>   at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:113)
>   at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:189)
>   at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:846)
>   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:86)
>   at 
> org.netbeans.api.java.source.support.CancellableTreeScanner.scan(CancellableTreeScanner.java:69)
>   at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:653)
>   at 
>