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 241618 - [80cat] Move Member - Target class can not be resolved
Summary: [80cat] Move Member - Target class can not be resolved
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-10 01:25 UTC by kidnapper
Modified: 2014-10-16 12:27 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 kidnapper 2014-02-10 01:25:01 UTC
Trying to execute Java Refactoring Sanity Test - Move Member test case:
1. Open usages.ClassA.java
2. Put caret inside body of getListOfA() and using Ctrl+M invoking "Move Member" dialog
3. In occurred dialog select package usages and class ClassC then press Preview
4. Inspect all changes and press Do Refactor
5. Ensure that getListOfA() had been moved correctly and project is still compilable
6. Press undo and confirm dialog

My test fails at step 3, as soon as I select usages and ClassC I get a red error message at the bottom of the dialog saying: "Target class can not be resolved."
This is happening with 201402090001 nightly.

After restarting NetBeans I was able to select usages.ClassC.
Comment 1 Ralph Ruijs 2014-10-16 12:27:33 UTC
I'm unable to reproduce