TDD Plugin fails under Pallada

Looks like TDD is hit with the same problem my own JIRA plugin is having
with class loading isssues ( at least for me )....




org.springframework.beans.FatalBeanException: Error creating bean with
name ''; nested exception is:
java.lang.ClassNotFoundException:
org.intellij.plugins.tdd.ShowElapsedTimeActionHandler
java.lang.ClassNotFoundException:
org.intellij.plugins.tdd.ShowElapsedTimeActionHandler
at com.intellij.ide.plugins.a.a.findClass(a.java:8) at
java.lang.ClassLoader.loadClass(ClassLoader.java:289) at
com.intellij.ide.plugins.a.a.loadClass(a.java:27) at
java.lang.ClassLoader.loadClass(ClassLoader.java:235) at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at
java.lang.Class.forName0(Native Method) at
java.lang.Class.forName(Class.java:219) at
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinition(DefaultXmlBeanDefinitionParser.java:214)
at
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.loadBeanDefinition(DefaultXmlBeanDefinitionParser.java:170)
at
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.loadBeanDefinitions(DefaultXmlBeanDefinitionParser.java:129)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:157)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:125)
at
org.intellij.openapi.PluginContext.registerPluginContextBeans(PluginContext.java:114)
at
org.intellij.openapi.PluginContext.access$200(PluginContext.java:29)
at
org.intellij.openapi.PluginContext$1.loadBeanDefinitions(PluginContext.java:65)
at
org.springframework.context.support.AbstractXmlApplicationContext.refreshBeanFactory(AbstractXmlApplicationContext.java:57)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:256)
at
org.intellij.openapi.PluginContext.refresh(PluginContext.java:79)
at
org.intellij.openapi.PluginContext.(PluginContext.java:56) at org.intellij.openapi.PluginContext.]]>(PluginContext.java:41)
at
org.intellij.openapi.PluginBeanFactory.getContext(PluginBeanFactory.java:41)
at
org.intellij.openapi.PluginBeanFactory$1.run(PluginBeanFactory.java:35)
at com.intellij.ide.j.a.a.a(a.java:33) at
com.intellij.ide.j.a.a.f(a.java:39) at
com.intellij.openapi.project.a.b.a(b.java:133) at
com.intellij.ide.a.f.a(f.java:40)
at com.intellij.idea.c.e(c.java:34)
at com.intellij.idea.c.access$200(c.java:3) at
com.intellij.idea.c$0.run(c$0.java:4) at
com.intellij.openapi.application.LaterInvocator$FlushQueue.run(LaterInvocator.java:4)
at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454) at
com.intellij.ide.q.b(q.java:129)
at com.intellij.ide.q.a(q.java:105)
at com.intellij.ide.q.dispatchEvent(q.java:41) at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

5 comments
Comment actions Permalink

Hello Mark,

I will try to look at it. And I thought the classloading problems were gone in Pallada ;-(

Jacques

MD> Looks like TDD is hit with the same problem my own JIRA plugin is
MD> having with class loading isssues ( at least for me )....
MD>
MD> org.springframework.beans.FatalBeanException: Error creating bean
MD> with
MD> name ''; nested exception is:
MD> java.lang.ClassNotFoundException:
MD> org.intellij.plugins.tdd.ShowElapsedTimeActionHandler
MD> java.lang.ClassNotFoundException:
MD> org.intellij.plugins.tdd.ShowElapsedTimeActionHandler
MD> at com.intellij.ide.plugins.a.a.findClass(a.java:8) at
MD> java.lang.ClassLoader.loadClass(ClassLoader.java:289) at
MD> com.intellij.ide.plugins.a.a.loadClass(a.java:27) at
MD> java.lang.ClassLoader.loadClass(ClassLoader.java:235) at
MD>
MD> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at
MD> java.lang.Class.forName0(Native Method) at
MD> java.lang.Class.forName(Class.java:219) at
MD>
MD> org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser
MD> .parseBeanDefinition(DefaultXmlBeanDefinitionParser.java:214)
MD> at
MD>
MD> org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser
MD> .loadBeanDefinition(DefaultXmlBeanDefinitionParser.java:170)
MD> at
MD>
MD> org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser
MD> .loadBeanDefinitions(DefaultXmlBeanDefinitionParser.java:129)
MD> at
MD>
MD> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBe
MD> anDefinitions(XmlBeanDefinitionReader.java:157)
MD> at
MD>
MD> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBe
MD> anDefinitions(XmlBeanDefinitionReader.java:125)
MD> at
MD>
MD> org.intellij.openapi.PluginContext.registerPluginContextBeans(Plugin
MD> Context.java:114)
MD> at
MD>
MD> org.intellij.openapi.PluginContext.access$200(PluginContext.java:29)
MD> at
MD>
MD> org.intellij.openapi.PluginContext$1.loadBeanDefinitions(PluginConte
MD> xt.java:65)
MD> at
MD>
MD> org.springframework.context.support.AbstractXmlApplicationContext.re
MD> freshBeanFactory(AbstractXmlApplicationContext.java:57)
MD> at
MD>
MD> org.springframework.context.support.AbstractApplicationContext.refre
MD> sh(AbstractApplicationContext.java:256)
MD> at
MD>
MD> org.intellij.openapi.PluginContext.refresh(PluginContext.java:79)
MD> at
MD>
MD> org.intellij.openapi.PluginContext.(PluginContext.java:56) MD> at MD> MD> org.intellij.openapi.PluginContext.(PluginContext.java:41) MD> at MD> MD> org.intellij.openapi.PluginBeanFactory.getContext(PluginBeanFactory. MD> java:41) MD> at MD> MD> org.intellij.openapi.PluginBeanFactory$1.run(PluginBeanFactory.java: MD> 35) MD> at com.intellij.ide.j.a.a.a(a.java:33) at MD> com.intellij.ide.j.a.a.f(a.java:39) at MD> com.intellij.openapi.project.a.b.a(b.java:133) at MD> com.intellij.ide.a.f.a(f.java:40) MD> at com.intellij.idea.c.e(c.java:34) MD> at com.intellij.idea.c.access$200(c.java:3) at MD> com.intellij.idea.c$0.run(c$0.java:4) at MD> MD> com.intellij.openapi.application.LaterInvocator$FlushQueue.run(Later MD> Invocator.java:4) MD> at MD> MD> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) MD> at java.awt.EventQueue.dispatchEvent(EventQueue.java:454) at MD> com.intellij.ide.q.b(q.java:129) MD> at com.intellij.ide.q.a(q.java:105) MD> at com.intellij.ide.q.dispatchEvent(q.java:41) at MD> MD> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchT MD> hread.java:201) MD> at MD> MD> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThr MD> ead.java:151) MD> at MD> MD> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145 MD> ) MD> at MD> MD> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137 MD> ) MD> at MD>]]> java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

0
Comment actions Permalink

About ClassLoading

I had trouble also with classloading in Pallada. I had to change my code to fix the error in toString() plugin.

/Claus

0
Comment actions Permalink

Hello Claus,

CI> About ClassLoading
CI>
CI> I had trouble also with classloading in Pallada. I had to change my
CI> code to fix the error in toString() plugin.
CI>
CI> /Claus
CI>

Did you file a SCR? What was the problem and how did you fix it?

Thanks

Jacques

0
Comment actions Permalink

On Sun, 04 Apr 2004 00:44:54 +0000, Jacques Morel wrote:

Did you file a SCR? What was the problem and how did you fix it?


Come to think of it, I never entered a SCR for my classloading/jira plugin
issue, will do so shortly.

0
Comment actions Permalink

On Sun, 04 Apr 2004 00:44:54 +0000, Jacques Morel
wrote:

Did you file a SCR? What was the problem and how

did you fix it?

Come to think of it, I never entered a SCR for my
classloading/jira plugin
issue, will do so shortly.


No I did not file a SRC. I first thought it was only a problem in my plugin and not a generel problem. However I was in control of how the class was loaded and changed my code from using the Thread.currentThread().getContextClassLoader().... to using the classload from the given class (FileUtil):


/Claus

0

Please sign in to leave a comment.