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 67994 - [50cat] Refactor preview shows wrong line or throws exception
Summary: [50cat] Refactor preview shows wrong line or throws exception
Status: RESOLVED DUPLICATE of bug 73805
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-02 16:51 UTC by jonrichards
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file (206.44 KB, text/plain)
2005-11-02 16:54 UTC, jonrichards
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jonrichards 2005-11-02 16:51:08 UTC
[ BUILD # : 200510311820 ]
[ JDK VERSION : 1.5.0_05 ]

To reproduce:
1) Create a JPanel and add it to the palette
2) Create another JPanel and add the first JPanel to the second (using gui builder)
3) Attempt to rename first class through refactoring.

In preview it states that some lines can not be refactored as they are in guarded segments. If you double click on these lines the editor jumps to the line after the offending line not the correct line.

If you click on one of the preview lines that is ok you get the attached exception.
Comment 1 jonrichards 2005-11-02 16:54:51 UTC
Created attachment 26579 [details]
Log file
Comment 2 Jan Becicka 2005-11-03 17:39:23 UTC
Positions gets corrupted during work with form designer. Tomas gladly promised
to take a look at it.
Comment 3 Jan Becicka 2006-03-30 16:06:48 UTC

*** This issue has been marked as a duplicate of 73805 ***
Comment 4 Quality Engineering 2007-09-20 09:48:48 UTC
Reorganization of java component