Title: Message
thanks for testing.
 
I have too seen this - I think its when IDEA tries to save the "default" project....  but you get it when opening?  thats weird.  writeExternal is called when the project is saved....
 
I've just figured out whats going on.  treeFamilies doesn't get initialized because I initialize it inside the readExternal block, which for the first time you open the project (which hasn't used the XDoclet plugin before) doesn't appear to be called. 
 
I'm working on a quick fix now, will hopefully check it in soon.
 
cheers
dim
----- Original Message -----
Sent: Saturday, October 05, 2002 2:45 AM
Subject: RE: [Xdoclet-user] IDEA plugin ready for testing

Hi Dmitri
 
I constantly get the following exception when I start my idea :
 
 
----------------------------------------------------------------------------------------------------------------
java.lang.NullPointerException
        at xdocletgui.intellij.XDocletGUIComponent.writeExternal(XDocletGUICompo
nent.java:197)
        at com.intellij.openapi.components.a.a.a(a.java:34)
        at com.intellij.openapi.project.b.c.a(c.java:183)
        at com.intellij.openapi.project.b.c.s(c.java:264)
        at com.intellij.openapi.project.b.c.save(c.java:259)
        at com.intellij.ide.cp.b(cp.java:18)
        at com.intellij.ide.cp.a(cp.java:84)
        at com.intellij.ide.cs.run(cs.java:5)
        at com.intellij.util.q.run(q.java:1)
        at com.intellij.util.r.run(r.java:10)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
        at com.intellij.ide.q.a(q.java:89)
        at com.intellij.ide.q.dispatchEvent(q.java:71)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:191)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
 
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
 
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
----------------------------------------------------------------------------------------------------------------
 
I took a look at code and it seems that the tag families are not being loaded via the ConditionFactory class. So I don't know if there are more settings I should set before deploying the plugin.
 
 
Farzad.
 

----------------
Farzad Kohantorabi
[mailto:[EMAIL PROTECTED]]
<ICQ#:91712022>

 

Reply via email to