Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5925

NullPointerException in ProjectConfigurationCompletion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 12.6
    • lsp

    Description

      When the opened folder does not represent a NetBeans project, following exception occurs when asking for launch configurations:

      java.lang.NullPointerException
      	at org.netbeans.modules.java.lsp.server.protocol.ProjectConfigurationCompletion.getConfigurations(ProjectConfigurationCompletion.java:131)
      	at org.netbeans.modules.java.lsp.server.protocol.ProjectConfigurationCompletion.createConfigurationsCompletion(ProjectConfigurationCompletion.java:73)
      	at org.netbeans.modules.java.lsp.server.protocol.ProjectConfigurationCompletion.lambda$configurations$0(ProjectConfigurationCompletion.java:53)
      	at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:616)
      	... 33 more
      

      Attachments

        Issue Links

          Activity

            People

              entlicher Martin Entlicher
              entlicher Martin Entlicher
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m