This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 257137 - Source -> Inspect.. doesn't work on maven multi-modules projects
Summary: Source -> Inspect.. doesn't work on maven multi-modules projects
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.1
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2015-12-14 12:38 UTC by -Silver-
Modified: 2015-12-14 12:39 UTC (History)
0 users

See Also:
Exception Reporter:

IDE log (104.54 KB, text/plain)
2015-12-14 12:39 UTC, -Silver-

Note You need to log in before you can comment on or make changes to this bug.
Description -Silver- 2015-12-14 12:38:58 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_66
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.66-b18

Reproducibility: Happens every time

  1. Open a maven multi-module project
  2. Go to Source -> Inspect.. 
  3. Select current project as scope (the current project is the maven multi-module project)
  4. Select a single inspection (for example unnecessary unboxing)  and then click on the button "Inspect"

  The inspection result is empty because a maven multi-module project is an empty project. It only contains references to its sub-projects.

  The inspection is executed recursively on the project, on its sub-project on their sub-sub-project and so on. In the end a global result about all the occurrences in all the projects is provided.

  In the "scope" field there is the option "all opened projects". Maybe when the inspector is executed on a multi-module project it can get the references of all the submodules and then use the algorithm used for "all opened project" passing this set of sub-projects instead of the set of opened projects.
Comment 1 -Silver- 2015-12-14 12:39:06 UTC
Created attachment 157782 [details]
IDE log