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 70686 - Assertion error from Move Inner to Outer class
Summary: Assertion error from Move Inner to Outer class
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-21 12:03 UTC by _ tboudreau
Modified: 2008-02-25 16:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Source - try the refactoring on the Listener inner interface (7.63 KB, text/plain)
2005-12-21 12:04 UTC, _ tboudreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2005-12-21 12:03:47 UTC
Occurred at the end of taking an inner interface and running this refactoring 
on it.  The file for the new outer class's source was created, but is empty.

java.lang.AssertionError: Invalid element MultipartId$Impl  ID: 
deferredStorage:0000000000000F59  MID: 66666666-6666-6666-6666-
666666666666:0000000000000AEA  OPCKG: 2D2B1EDB-720A-11DA-8BBF-
0EFD92C8AA77:0000000000000304
	at org.netbeans.modules.javacore.parser.Scope.computeTypeScope
(Scope.java:417)
	at 
org.netbeans.modules.javacore.internalapi.JavaModelUtil.createImportsForClass
(JavaModelUtil.java:323)
	at 
org.netbeans.modules.javacore.internalapi.JavaModelUtil.typeToTypeReference
(JavaModelUtil.java:309)
	at 
org.netbeans.modules.javacore.internalapi.JavaModelUtil.resolveImportsForClass
(JavaModelUtil.java:244)
	at 
org.netbeans.modules.refactoring.plugins.InnerToOuterRefactoringPlugin$UpdateMu
ltipartIdElement.performChange(InnerToOuterRefactoringPlugin.java:465)
	at 
org.netbeans.modules.refactoring.api.RefactoringSession.doRefactoring
(RefactoringSession.java:67)
	at org.netbeans.modules.refactoring.ui.RefactoringPanel$1.run
(RefactoringPanel.java:588)
	at org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:493)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:926)
Comment 1 _ tboudreau 2005-12-21 12:04:37 UTC
Created attachment 28006 [details]
Source - try the refactoring on the Listener inner interface
Comment 2 Jan Becicka 2005-12-22 09:57:14 UTC
It works for me.
Comment 3 Quality Engineering 2007-09-20 12:46:30 UTC
Reorganization of java component
Comment 4 Jan Becicka 2008-02-25 16:15:59 UTC
This issue is not valid in current builds any more. Java support was completely
redesigned in 6.0 time frame. Please use NetBeans 6.0 and later.