Thanks Andrei, we have fixed this in #533.
 
Best regards,
Eugene Zhuravlev
IntelliJ Software, http://www.intellij.com/
"Develop with pleasure!"
----- Original Message -----
Sent: 06 December, 2001 8:35 PM
Subject: [Eap-list] "Internal assertion" error message

Hi,
 
I get an "Internal assertion" error message with build 532 (I noticed that few builds ago, though).
 
I'm trying to use the "Extract Superclass" refactoring on a class that extends junit.framework.TestCase. The new class gets created, however none of the methods or fields get moved to it (it has only the constructor). The class I applied the refactoring on remains intact and the IDE pops up a message saying "Internal assertion".
 
The class structure is under CVS, but the refactoring fails if I have the CVS integration enabled or not.
 
I tried the same thing with some dummy classes and it worked. Not sure what causes the refactoring to fail in the first case.
 
Regards,
Andrei Oprea
 
-----------------
[command] IntelliJ IDEA 2.5 build #532
[command] JDK: 1.3.1
[command] VM: Java HotSpot(TM) Client VM
[command] Vendor: Sun Microsystems Inc.
[command] OS: Windows 2000
[command] java.lang.NullPointerException
[command]       at com.intellij.refactoring.f.j.a(j.java:86)
[command]       at com.intellij.refactoring.f.j.a(j.java:98)
[command]       at com.intellij.refactoring.f.j.a(j.java:95)
[command]       at com.intellij.refactoring.f.m.run(m.java:2)
[command]       at com.intellij.psi.impl.r.a(r.java:445)
[command]       at com.intellij.refactoring.f.l.run(l.java:3)
[command]       at com.intellij.command.a.c.a(c.java:68)
[command]       at com.intellij.refactoring.f.k.run(k.java:1)
[command]       at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
[command]       at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
[command]       at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
[command]       at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
[command]       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
[command]       at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

Reply via email to