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 114499 - Assertion error during refactoring - move
Summary: Assertion error during refactoring - move
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Lookup (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-09-03 12:35 UTC by Jana Maleckova
Modified: 2009-03-11 22:49 UTC (History)
1 user (show)

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 Jana Maleckova 2007-09-03 12:35:51 UTC
Product Version: NetBeans IDE Dev (Build 070903) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows
XP version 5.1 running on x86; Cp1252; en_GB (nb)

Description:
=============
not reproducible in every case
I just moved form class from one package to another one with using refactoring preview step. When I confirm and push
refactoring button, this assertion exception was thrown

StackTrace:
===========
java.lang.AssertionError
	at org.openide.nodes.CookieSetLkp.replaceInstances(CookieSetLkp.java:105)
	at org.openide.nodes.CookieSet.assign(CookieSet.java:472)
	at org.openide.loaders.MultiDataObject.updateFilesInCookieSet(MultiDataObject.java:1186)
	at org.openide.loaders.MultiDataObject$1.run(MultiDataObject.java:821)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 Petr Nejedly 2007-09-03 12:51:57 UTC
Some wild lookup implementation went crazy, reassiging to Yarda for evaluation.
Comment 2 Jaroslav Tulach 2009-03-09 17:01:02 UTC
I've improved the debug message. Otherwise it is hard to guess what is wrong.
ergonomics#17886ac9caaf
Comment 3 Quality Engineering 2009-03-11 22:49:41 UTC
Integrated into 'main-golden', will be available in build *200903111543* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/17886ac9caaf
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #114499: More detailed debug message