Here it comes (100% reproducible):

========= File Root.java in package "dcs" ===============
package dcs;

public abstract class Root {

}
=========================================================

========= File Test.java in package "dcs" ===============
package dcs;

public class Test {

        public Root createRoot() {
                return new InnerTest("InnerTest");
        }

        private static class InnerTest extends Root {

                private final String name;

                public InnerTest(String name) {
                        this.name = name;
                }

                public String toString() {
                        return name;
                }
        }
}
=========================================================

Tom


On Thu, 13 Jun 2002 19:44:31 +0400, Dmitry Lomov <[EMAIL PROTECTED]>
wrote:

> Thomas,
> could you provide a (preferably small) test case for this, please?
> I could not reproduce this with our current sources.
> 
> Thanks in advance,
> Friendly,
>       Dmitry
> 
> -- 
> Dmitry Lomov
> JetBrains Inc. / IntelliJ Software
> http://www.intellij.com
> "Develop with pleasure!"
> 
> Thomas Singer wrote:
> > I tried to make (move) an private static inner class to an top level
> > class and got this internal error.
> > 
> > [1558201]  ERROR -       com.intellij.command.b.b -
> > [1558201]  ERROR -       com.intellij.command.b.b - IntelliJ IDEA
> > (Ariadna) 3.0  Build #629
> > [1558211]  ERROR -       com.intellij.command.b.b - JDK: 1.3.1_03
> > [1558211]  ERROR -       com.intellij.command.b.b - VM: Java
> > HotSpot(TM) Client VM
> > [1558211]  ERROR -       com.intellij.command.b.b - Vendor: Sun
> > Microsystems Inc.
> > [1558211]  ERROR -       com.intellij.command.b.b - OS: Windows NT
> > [1558211]  ERROR -       com.intellij.command.b.b -
> > java.lang.NullPointerException
> >         at com.intellij.psi.f.e.ca.a(ca.java:39)
> > [rest of stack trace skipped]
> 

_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to