SkyghiS created NETBEANS-3057:
---------------------------------

             Summary: NullPointerException at JavacTypes.java:134
                 Key: NETBEANS-3057
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3057
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 11.1
         Environment: Netbeans 11.1
AdoptJdk 11
Ubuntu Linux 19.04
            Reporter: SkyghiS


Not sure when exception occur and I can't find a way to reproduce, but I got a  
NullPointerException.

Here is the stack trace that might help fix a bug :

{noformat}
SEVERE [org.openide.util.Exceptions]
java.lang.NullPointerException
        at com.sun.tools.javac.model.JavacTypes.erasure(JavacTypes.java:134)
        at 
org.netbeans.modules.java.hints.errors.RenameConstructor.run(RenameConstructor.java:75)
        at 
org.netbeans.modules.java.hints.infrastructure.CreatorBasedLazyFixList.compute(CreatorBasedLazyFixList.java:123)
        at 
org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:87)
        at 
org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:33)
[catch] at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
        at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
        at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
        at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
        at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
        at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
        at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        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){noformat}

Sorry for the lack of information




--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to