Skip to content

Background scanning of projects stalls #4038

@Jakub-Plan-d-k

Description

@Jakub-Plan-d-k

Apache NetBeans version

Apache NetBeans 13

What happened

I am now using NetBeans 12.3 and I wanted to switch to 13 (and to 12.6 earlier, but encountered the same problem). The PHP/JS projects, which open normally in 12.3, cause the background scanning of projects to stall at 78%. Also the go-to-declaration (ctrl+click) does not seem to work in version 13, but I assume it is because the scanning was not completed? Also looks like the memory usage is around 2x higher in version 13 on startup of the same projects.

I am getting the following 2 errors (first the 1. one, then the 2. one), please find logs for both of them attached (too long to paste)
error1.txt
error2.txt

Overall, the updates (12.6 and 13) are completely unusable and I am still using 12.3.

How to reproduce

  1. Install version 13,
  2. Open the program and import project from previous version
  3. Try to use the program, but not possible.
  4. Close and open again - happens on every time on startup.

Did this work correctly in an earlier version?

Apache NetBeans 12.3 or earlier

Operating System

Windows 10

JDK

JDK16, JAVA_VERSION_DATE="2021-03-16", OS_ARCH="x86_64", OS_NAME="Windows", SOURCE=".:git:eb3a076a428e open:git:4de3a6be9e60"

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

The projects were imported after the installation discovered an older version of Netbeans. In case of the 12.6 I installed previously, it imported them from 12.3, in case of 13 now, it imported them from 12.6.

There are 3 projects, but 2 of them matter - they are quite big (both around 55000 files, out of this node_modules is 44000) and also contain some (~750kB) vue compiled js files. npm is not managed through Netbeans in this case.

PHP version is 8 in case of one of them and 7.4 in the other.

Are you willing to submit a pull request?

No

Code of Conduct

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:bugBug report or fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions