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

Nullpointer while opening a gradle subproject

    XMLWordPrintableJSON

Details

    Description

      open a gradle subproject:

      <record>
        <date>2021-09-24T13:11:32</date>
        <millis>1632481892037</millis>
        <sequence>897</sequence>
        <level>700</level>
        <thread>256</thread>
        <message>UI_USER_CONFIGURATION</message>
        <key>UI_USER_CONFIGURATION</key>
        <catalog>org.netbeans.modules.uihandler.Bundle</catalog>
        <param>Windows 10, 10.0, amd64</param>
        <param>Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13</param>
        <param>Apache NetBeans IDE 12.5</param>
        <param></param>
        <param>NullPointerException at org.netbeans.modules.gradle.api.execute.GradleDistributionManager.distributionFromDir</param>
        <param><Please provide a description of the problem or the steps to reproduce></param>
        <param>*********</param>
      </record>

       

      INFO [org.netbeans.modules.gradle.loaders.GradleProjectLoaderImpl]: Load aiming EVALUATED for Unloaded Gradle Project: GradleFiles[projectDir=C:\javasourcen\NetbeansWS_12.5\trunk\GLSGUIProjects\GL\GL\GLGL031, rootDir=C:\javasourcen\NetbeansWS_12.5\trunk\GLSGUIProjects\GL\GL\GLGL031]
      INFO [org.netbeans.modules.gradle.loaders.GradleProjectLoaderImpl]: Load aiming FULL for Gradle: GLSGUI[FALLBACK]
      WARNING [org.netbeans.modules.gradle.loaders.LegacyProjectLoader]
      java.lang.NullPointerException
       at org.netbeans.modules.gradle.api.execute.GradleDistributionManager.distributionFromDir(GradleDistributionManager.java:155)
       at org.netbeans.modules.gradle.execute.GradleDistributionProviderImpl.getGradleDistribution(GradleDistributionProviderImpl.java:114)
       at org.netbeans.modules.gradle.GradleProjectConnection.getConnection(GradleProjectConnection.java:121)
       at org.netbeans.modules.gradle.GradleProjectConnection.action(GradleProjectConnection.java:89)
       at org.netbeans.modules.gradle.loaders.LegacyProjectLoader.createInfoAction(LegacyProjectLoader.java:202)
       at org.netbeans.modules.gradle.loaders.LegacyProjectLoader.retrieveProjectInfo(LegacyProjectLoader.java:250)
       at org.netbeans.modules.gradle.loaders.LegacyProjectLoader.loadGradleProject(LegacyProjectLoader.java:145)
       at org.netbeans.modules.gradle.loaders.LegacyProjectLoader.access$100(LegacyProjectLoader.java:68)
      [catch] at org.netbeans.modules.gradle.loaders.LegacyProjectLoader$ProjectLoaderTask.call(LegacyProjectLoader.java:294)
       at org.netbeans.modules.gradle.loaders.LegacyProjectLoader$ProjectLoaderTask.call(LegacyProjectLoader.java:263)
       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       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)

      Attachments

        Issue Links

          Activity

            People

              lkishalmi Laszlo Kishalmi
              karlboenisch Karl Bönisch
              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 - 20m
                  20m