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 224051 - Cannot refactor JavaBean.java that is defined outside of an open project. being displayed for a File of an open project
Summary: Cannot refactor JavaBean.java that is defined outside of an open project. bei...
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-19 17:26 UTC by banifou
Modified: 2015-03-26 11:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description banifou 2012-12-19 17:26:35 UTC
After trying to rename with Refactoring a variable of a java Class of an open
Web project, the "Cannot refactor JavaBean.java that is defined outside of an open
project." message is displayed. 
I noticed, when I right click on the Project name I see "open required projects" and is selectable! But there is no required projects.
Another Issue I can't use "encapsulate fields" any more. It's not selectable any more.

Operating System: Linux - Ubuntu
Runtime: Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
Comment 1 banifou 2012-12-20 16:38:10 UTC
I think I know what happend. I renamed the project after that refactoring doesn't work!!
I created a new web project with existing sources, now refactoring works fine.

Anyway, this shouldn't happen.
Comment 2 Ralph Ruijs 2015-03-24 11:26:54 UTC
Works for me in current dev builds. Please reopen with steps to reproduce if necessary.
Comment 3 banifou 2015-03-26 11:07:16 UTC
It's really late answer. Sorry I don't remember any more!!!