In a class "X" of mine I added a field like

    private URLSelectionStrategy singleURLSelectionStrategy = new
SingleURLSelectionStrategy();

Where URLSelectionStrategy is an existing interface (in another package)
I accepted the intention for create new class named
SingleURLSelectionStrategy, in the same package as class "X".
Then Selected the directory (src rather than test) and then Selected the
add to cvs option 

But an error occurred and no class was created.
See Stack trace below

Edo

[ 563002]  ERROR - mand.impl.CommandProcessorImpl -
[ 563002]  ERROR - mand.impl.CommandProcessorImpl - IntelliJ IDEA
(Ariadna)   Bu
ild #615
[ 563002]  ERROR - mand.impl.CommandProcessorImpl - JDK: 1.3.1_03
[ 563002]  ERROR - mand.impl.CommandProcessorImpl - VM: Java HotSpot(TM)
Client
VM
[ 563012]  ERROR - mand.impl.CommandProcessorImpl - Vendor: Sun
Microsystems Inc
 .
[ 563012]  ERROR - mand.impl.CommandProcessorImpl - OS: Windows 2000
[ 563012]  ERROR - mand.impl.CommandProcessorImpl -
java.lang.NullPointerException
        at com.intellij.psi.impl.source.by.a(by.java:10)
        at com.intellij.codeInsight.intention.w.a(w.java:99)
        at com.intellij.codeInsight.intention.w.b(w.java:5)
        at com.intellij.codeInsight.intention.v.b(v.java:15)
        at com.intellij.codeInsight.intention.bg.run(bg.java:2)
        at com.intellij.openapi.c.a.b.b(b.java:160)
        at com.intellij.codeInsight.intention.bf.run(bf.java:4)
        at
com.intellij.command.impl.CommandProcessorImpl.a(CommandProcessorImpl
.java:2)
        at com.intellij.codeInsight.intention.be.run(be.java)
        at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:149)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:332)
        at com.intellij.ide.c.dispatchEvent(c.java:40)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:126)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:93)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)

---
Edoardo Comar
Cape Clear Software 

NEW CapeStudio 3, out now
Design, develop, integrate & deploy Web Services
http://www.capeclear.com/download


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to