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 157263 - AssertionError after 'Encapsulate Fields'
Summary: AssertionError after 'Encapsulate Fields'
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-21 18:46 UTC by soldatov
Modified: 2009-02-19 20:30 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 soldatov 2009-01-21 18:46:47 UTC
Scenario:
- Create Welcome project
- Open welcome.cc file
- Select 'argc' at 37 line
- Call context menu. Select 'Encapsulate Fields...'
==> Exception

java.lang.AssertionError: should be field
	at org.netbeans.modules.cnd.refactoring.ui.EncapsulateFieldPanel.initFields(EncapsulateFieldPanel.java:545)
	at org.netbeans.modules.cnd.refactoring.ui.EncapsulateFieldPanel.initialize(EncapsulateFieldPanel.java:176)
	at org.netbeans.modules.refactoring.spi.impl.ParametersPanel$10.run(ParametersPanel.java:500)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
Comment 1 Vladimir Voskresensky 2009-01-22 17:38:33 UTC
fixed:
http://hg.netbeans.org/main?cmd=changeset;node=9493dad8df32
Comment 2 Quality Engineering 2009-01-23 07:32:17 UTC
Integrated into 'main-golden', will be available in build *200901230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9493dad8df32
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed IZ#157263: AssertionError after 'Encapsulate Fields'