Throw Exception when create or open project under IDEA (Selena)

unitTest is a great idea plugin, which provides flexible customization. Only if we add add junit4 template, it can support JUnit4 automatically.
But I find it does not work in Selena after I upgrade IDEA from 6.0.5 to Selena. The cause is unitTest use some 'Deprecated' method. So I try to replace these deprecated method, and deploy it, but it still does not work. There are different error information than before, and it works well in IDEA 6.0.5.

I dont know what else difference between 6.0.5 and SELENA, can you give me a hand?

The error information as follow:


2007-05-27 15:26:55,372 INFO - nfig.impl.AntConfigurationImpl - Start up
2007-05-27 15:26:55,747 INFO - ij.openapi.beans.PluginContext - 6827
2007-05-27 15:26:55,747 INFO - ij.openapi.beans.PluginContext - /META-INF/pluginContextDemetra.xml,com.intellij.openapi.project.impl.ProjectImpl@5d33e1
2007-05-27 15:26:55,825 INFO - ry.xml.XmlBeanDefinitionReader - Loading XML bean definitions from resource loaded through InputStream
2007-05-27 15:26:55,856 INFO - ry.xml.XmlBeanDefinitionReader - Loading XML bean definitions from resource loaded through InputStream
2007-05-27 15:26:55,887 INFO - amework.core.CollectionFactory - Using JDK 1.4 collections
2007-05-27 15:26:55,950 INFO - ij.openapi.beans.PluginContext - :org.intellij.plugins.junit.config.JUnitTestConfigurable,org.intellij.plugins.junit.config.JUnitTestConfigurable@181af25
2007-05-27 15:26:55,965 INFO - ort.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.intellij.plugins.junit.config.ClassPatternConfigEditor'
2007-05-27 15:26:55,965 INFO - ort.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.intellij.plugins.junit.config.ClassPatternPanel'
2007-05-27 15:26:55,965 INFO - ort.DefaultListableBeanFactory - Autowiring by type from bean name 'org.intellij.plugins.junit.config.ClassPatternPanel' via constructor to bean named 'org.intellij.plugins.junit.config.ClassPatternConfig'
2007-05-27 15:26:56,012 INFO - ort.DefaultListableBeanFactory - Bean 'org.intellij.plugins.junit.config.ClassPatternPanel' instantiated via constructor
2007-05-27 15:26:56,012 INFO - ort.DefaultListableBeanFactory - Autowiring by type from bean name 'org.intellij.plugins.junit.config.ClassPatternConfigEditor' via constructor to bean named 'org.intellij.plugins.junit.config.ClassPatternPanel'
2007-05-27 15:26:56,012 INFO - ort.DefaultListableBeanFactory - Bean 'org.intellij.plugins.junit.config.ClassPatternConfigEditor' instantiated via constructor
2007-05-27 15:26:56,075 INFO - ij.openapi.beans.PluginContext - :org.intellij.plugins.junit.config.ClassPatternConfig,org.intellij.plugins.junit.config.ClassPatternConfig@1a48a84
2007-05-27 15:26:56,075 INFO - ort.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.intellij.plugins.junit.ClassPattern'
2007-05-27 15:26:56,075 INFO - ij.openapi.beans.PluginContext - :org.intellij.plugins.junit.config.JUnitTestConfiguration,org.intellij.plugins.junit.config.JUnitTestConfiguration@ed63a3
2007-05-27 15:26:56,075 INFO - ort.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.intellij.plugins.junit.ClassUntestedMethodsLocator'
2007-05-27 15:26:56,075 INFO - ort.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.intellij.plugins.junit.ClassLocator'
2007-05-27 15:26:56,075 INFO - ort.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.intellij.plugins.util.PsiClassManager'
2007-05-27 15:26:56,090 ERROR - tartup.impl.StartupManagerImpl -
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.intellij.plugins.util.PsiClassManager' defined in resource loaded through InputStream: Unsatisfied dependency expressed through constructor argument with index 0 of type : There are 0 beans of type for autowiring constructor. There should have been 1 to be able to autowire constructor of bean 'org.intellij.plugins.util.PsiClassManager'.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createArgumentArray(AbstractAutowireCapableBeanFactory.java:596)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:463)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:268)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:236)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:159)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:176)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:145)
at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:163)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findMatchingBeans(DefaultListableBeanFactory.java:338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createArgumentArray(AbstractAutowireCapableBeanFactory.java:594)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:463)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:268)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:236)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:159)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:176)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:145)
at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:163)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findMatchingBeans(DefaultListableBeanFactory.java:338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createArgumentArray(AbstractAutowireCapableBeanFactory.java:594)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:463)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:268)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:236)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:159)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:176)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:145)
at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:163)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findMatchingBeans(DefaultListableBeanFactory.java:338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:707)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:641)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:170)
at org.intellij.openapi.beans.PluginContext.autoWireBeans(PluginContext.java:141)
at org.intellij.openapi.beans.PluginContext.refresh(PluginContext.java:128)
at org.intellij.openapi.beans.PluginContext.init(PluginContext.java:78)
at org.intellij.openapi.beans.PluginContext.]]>(PluginContext.java:54)
at org.intellij.openapi.beans.PluginBeanFactory.getContext(PluginBeanFactory.java:44)
at org.intellij.openapi.beans.PluginBeanFactory$1.run(PluginBeanFactory.java:38)
at com.intellij.ide.startup.impl.StartupManagerImpl.a(StartupManagerImpl.java:36)
at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivities(StartupManagerImpl.java:54)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:188)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:202)
at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:66)
at com.intellij.idea.IdeaApplication.c(IdeaApplication.java:16)
at com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:50)
at com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:2)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:3)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:59)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:118)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:62)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
2007-05-27 15:26:56,090 ERROR - tartup.impl.StartupManagerImpl - IntelliJ IDEA 7.0M1a Build #6827
2007-05-27 15:26:56,090 ERROR - tartup.impl.StartupManagerImpl - JDK: 1.5.0_11
2007-05-27 15:26:56,090 ERROR - tartup.impl.StartupManagerImpl - VM: Java HotSpot(TM) Client VM
2007-05-27 15:26:56,090 ERROR - tartup.impl.StartupManagerImpl - Vendor: Sun Microsystems Inc.

Please sign in to leave a comment.