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 230412 - Error Running Inspect and Transform
Summary: Error Running Inspect and Transform
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-28 22:37 UTC by rodrigorsantos
Modified: 2016-07-07 07:19 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Print screen example (57.31 KB, image/png)
2013-05-28 22:38 UTC, rodrigorsantos
Details
IDE log (94.08 KB, text/plain)
2013-05-28 22:40 UTC, rodrigorsantos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rodrigorsantos 2013-05-28 22:37:02 UTC
Product Version = NetBeans IDE Dev (Build 20130527-fcb2ba7da905)
Operating System = Linux version 3.8.0-22-generic running on amd64
Java; VM; Vendor = 1.7.0_21
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.21-b01


When I try to run Inspect and Transform use configuration: Convert to JDK 7, its shows a error message:

No Patterns found.

I tried to click in custom scope and netbeans showed other projects that I didn't select.
And when I try to uncheck it's not possible.
Comment 1 rodrigorsantos 2013-05-28 22:38:17 UTC
Created attachment 135031 [details]
Print screen example
Comment 2 rodrigorsantos 2013-05-28 22:40:08 UTC
Created attachment 135032 [details]
IDE log
Comment 3 rodrigorsantos 2013-05-28 22:52:50 UTC
I've tested with netebeans 7.3 using the same projects and it works.
Comment 4 Ralph Ruijs 2013-05-29 09:41:19 UTC
It seems this happens when a project does not have any source roots. Although they are selected, there is nothing that will be added to the scope to be searched.

(In reply to comment #3)
> I've tested with netebeans 7.3 using the same projects and it works.

For me, the deselecting of projects does not work in 7.3. Can you further explain what works for you in 7.3?
Comment 5 Quality Engineering 2013-05-31 01:20:28 UTC
Integrated into 'main-golden', will be available in build *201305302301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/70b25014f3c2
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #230412 - Do not display projects without sourceroots in custom scope
Comment 6 rodrigorsantos 2013-06-03 13:05:43 UTC
Yes he deselecting of projects does not work in 7.3. 
However the inspect is successfully performed in 7.3
Comment 7 Ralph Ruijs 2013-06-03 13:08:56 UTC
(In reply to comment #6)
> Yes he deselecting of projects does not work in 7.3. 
> However the inspect is successfully performed in 7.3

I update the scope builder to not show projects without a sourceroot. Reassigning to hints to evaluate the other problem.
Comment 8 Martin Balin 2016-07-07 07:19:18 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss