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 159487 - Incomplete refactoring !
Summary: Incomplete refactoring !
Status: RESOLVED DUPLICATE of bug 158360
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-03 08:31 UTC by newbeewan
Modified: 2009-04-07 12:22 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 newbeewan 2009-03-03 08:31:56 UTC
Hi !

I'm using netbeans with maven.
I have 2 linked projects for the same application.

When I'm doing refactoring with big impact on the code (modifiying more than hundreds classes), netbeans isn't doing it
job completely !
And it doesn't report any compilation errors (or IDE errors such as out of memory) but maven does !
I can reproduce it everytimes !

This make it unusable for me and as workarround, I must use eclipse to refactor my projet correcly !!!

regards
Comment 1 Jan Pokorsky 2009-03-31 16:34:34 UTC
You do not mention any build number, thread dump or test project. You even do not write what refactoring you were
running (rename, move, ...?). I cannot identify what is wrong without more details.
Comment 2 newbeewan 2009-04-07 08:51:28 UTC
Ok, I will try to give more details...

My projet is made with 2 maven projet, one for libs and one other for GUI.
Even if I rename or move a class/method, Netbeans start to refactor it normally and seem to end correctly but in
reality, the work is not done entirely.

This project is very particular, lot's of enormous horrible classes (hundred with more than 4000 code lines each).

I try to increase Netbeans memory (now I run it with 512Mb) to reduce that issue but it doesn't seem to change something...

I can't send you the projet it's confidential...

Is it better for you to understand the issue ?

I don't know where i can find some log, if it exists, how to produce some pertinent logs to send you ?

Regards
Comment 3 Jan Pokorsky 2009-04-07 12:22:10 UTC
Thank you for details. There are messages.log files in ${nb.userdir}/var/log or it is accessible from menu View->IDE
Log. How to do thread dump is explained at http://wiki.netbeans.org/GenerateThreadDump.

The performance issue of the Move refactoring is known and hopefully resolved in Netbeans 6.7. See issue 158360. The fix
is available as a part of NetBeans 6.7M3 (http://bits.netbeans.org/download/6.7/m3/).

*** This issue has been marked as a duplicate of 158360 ***