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

Freeze when building the dependency graph of a maven project.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 9.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Hi,

      I have a medium sized java maven project ( near 25.000 code lines), with many dependencies. When i go to the pom file and I click to "Graph" button to compute the project dependecy graph, the message "Loading and constructing graph (this can take a while) with a freeze progress bar. All the IDE freeze, and and I can not click on nothing.

      This functionality works fine in Netbeans 8.2, it only takes 5/10 seconds to be computed, in the same project.

      This functionality also works with smaller projects (in other words, with less dependencies)

      There are not log messages in the shell that I use to run the IDE.

      When running the sampler I found that spends all his computing time on the method isThereFreeSpaceNonFixedSpace() of the package org.netbeans.modules.java.graph. (see attach image)

        Attachments

        1. pom.xml
          16 kB
          Andres Bel Alonso
        2. netbeans_freeze_snapshot.png
          427 kB
          Andres Bel Alonso

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ABelAlonso Andres Bel Alonso
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: