[ANN] IdeaSpring 1.1.1

! Completion for ref and property elements shortcut forms was for local beans instead of global ones
Completion for factory-method was for all methods instead of only static ones

24 comments
Comment actions Permalink

why the color is red of destroy-method ?

example: "" destroy-method is red. "Maurice Montgénie" дÈëÏûÏ¢ÐÂÎÅ:16387583.1140583213461.JavaMail.itn@is.intellij.net... >]]>! Completion for ref and property elements shortcut forms was for local beans instead of global ones

! Completion for factory-method was for all methods instead of only static ones

>

0
Comment actions Permalink

I see this too. Attribute "destroy-method" always gives a warning, even when the method exists.

Otherwise, a great improvement from previous versions! I've just configured an application having 10 context files, +/- 200 configured beans. Navigation works great.

The IdeaSpring pane (bottom of screen) stays empty, don't know why.

After using it for an hour or so, the thing I miss most is something like "Show me all the components that depend (directly) on the current one". So, another feature request:

1) Alt-F7 on a bean definition -> Display a "Search results" pane that shows all beans that reference the current bean. Of course, there results should be navigatable.

2) Support Ctrl-Shift-F7 on a dependency reference. Now it only works on id/name itself. It should highlight the id/name itself, and all reference in the current context file. (This is also how it works for method calls in the Java editor)

0
Comment actions Permalink

The IdeaSpring pane stays empty for all your projects or only the one with 200 configured beans ?

0
Comment actions Permalink

For all.

I remember seeing it filled before, using version 1.1
If I find a way to reproduce it, I'll post to this thread.

A JIRA tracker for this plugin would be a nice addition. Didn't Alex T. promise some infrastructure for plugin projects?

0
Comment actions Permalink

v1.1.2 correct this problem.

Do you have, like Taras, the IdeaSpring pane (bottom of screen) staying empty ?

0
Comment actions Permalink

Hello Maurice,

Yes, I stil have this problem.

When I click on "Collapse All", a root element apprears in the tree (folder
icon with bean, representing the config set?).
The context menu action "Go to the class" gives a "Class null not found"
message box.

Perhaps something is messed up in my configuration?

v1.1.2 correct this problem.

Do you have, like Taras, the IdeaSpring pane (bottom of screen)
staying empty ?



0
Comment actions Permalink

Not that it helps much, but some screenshots to prove it...



Attachment(s):
2.gif
1.gif
0
Comment actions Permalink

Another issue:

The rules that the plugin uses for init-method/destroy-method seem incomplete.

The following rules apply for these methods:
-can be static method or instance methods
-can have any access level (including private) - Spring calls setAccessible(true)
-must have either 0 arguments, or 1 argument of type boolean (see AbstractBeanFactory
and subclasses)

These rules should be used for validation and completion suggestions.

Regards,
-tt


0
Comment actions Permalink

FWIW I have 43 beans and they show up in the IdeaSpring pane just fine.
I'm using the IdeaSpring 1.1.1 with Idea 5.1

0
Comment actions Permalink

My apologies.

I forgot to move the parser jar to the idea lib directory for this version.
After completing this step the beans pane works again.

I assume this will also be the case for the IDEA installation at work - will
check tomorrow.

Is there any way to work around this step?
(Instantiate a specific nondelegating URLClassLoader subclass to load a specific
version of a class?)


0
Comment actions Permalink

no. the IdeaSpring pane is beautiful!


"Maurice Montgénie" <intellij@maguyane.net> дÈëÏûÏ¢ÐÂÎÅ:5838382.1140630744210.JavaMail.itn@is.intellij.net...

v1.1.2 correct this problem.

>

Do you have, like Taras, the IdeaSpring pane (bottom of screen) staying empty ?






Attachment(s):
noname.JPG
0
Comment actions Permalink

Hi Maurice,

To confirm: it now also works on the workstation at work, with the large project.

0
Comment actions Permalink

One more suggestion: we use nested beans quite a lot. It would be nice if these were displayed in the pane (as children of the enclosing bean?).

0
Comment actions Permalink

There should already be displayed !

0
Comment actions Permalink

I'll be more specific:

I would request that nested bean nodes are rendered in the same fashion as top-level bean nodes. That is, including all their dependencies as child nodes.

Currently, the nested bean nodes only say "Bean definition with name ...: Root bean: ... etc". That's not very descriptive.


0
Comment actions Permalink

To give a concrete example.

We have two occurances in out quite large project where bean definitions are nested 3 levels deep:

-a top level bean (level 1)
-a nested bean as property (level 2)
-a nested bean as ctor-arg (level 3)

Currently only level 1 is showen in full detail in the beans pane. Level 2 is only shown as one long line of text. Level 3 is not shown at all.

0
Comment actions Permalink

By nested bean you mean nested anonymous beans right ? see picture attached



Attachment(s):
Untitled-1.png
0
Comment actions Permalink

I have various problems, with ideaspring. First of all, it seems to grab the beans from only one of my projects (see image1) even if my config specifies various other files (image2). In the project where the beans seem to be correctly resolved, though, I have various "false positives" in the error reporting (image3, image4, image5...).

0
Comment actions Permalink

Which version of IdeaSpring are you using ?

I can't reproduce your problems... Would you mind sending me your config files ?



Thank You

0
Comment actions Permalink

Yes, I'm referring to anonymous nested beans.

Sample code:
-


]]>
-



Result is attached as image...



Attachment(s):
foo.png
0
Comment actions Permalink

Sorry, I forgot to answer you. Write me an email at
baroncelli yahoo ]]> com and I'll send you the config files. The version of the plugin I have installed is 1.1.2. There's something strange, though, look at the screenshots I'm attaching.



Attachment(s):
plugin-is-there.png
or-not.png
0
Comment actions Permalink

I see the same thing in the plugin manager.

0
Comment actions Permalink

IdeaSpring 1.1.2 has 2 problems in Demetra 5162. But 1.0 doesn't have them.

One problem

Could not load API connector for IntelliJ IDEA (Demetra) build #5162
java.lang.RuntimeException: Could not load API connector for IntelliJ IDEA (Demetra) build #5162
at com.yanaware.intellij.ApiFactory.registerInstance(ApiFactory.java:78)
at com.yanaware.intellij.AbstractToolWindowPlugin.(AbstractToolWindowPlugin.java:74) at com.yanaware.intellij.AbstractToolWindowPlugin.(AbstractToolWindowPlugin.java:56) at com.yanaware.intellij.ideaspring.PluginImpl.(PluginImpl.java:63) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:128) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:154) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:56) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:184) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44) at com.intellij.openapi.components.impl.ComponentManagerImpl$MyComponentAdapterFactory$1.getComponentInstance(ComponentManagerImpl.java:3) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44) at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:38) at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:305) at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl$4.visitContainer(AreaPicoContainerImpl.java:120) at org.picocontainer.defaults.DefaultPicoContainer.accept(DefaultPicoContainer.java:416) at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.accept(AbstractDelegatingMutablePicoContainer.java:134) at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl.getComponentInstance(AreaPicoContainerImpl.java:107) at com.intellij.openapi.components.impl.ComponentManagerImpl.instantiateComponent(ComponentManagerImpl.java:7) at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:264) at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:96) at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:165) at com.intellij.openapi.project.impl.BaseFileConfigurable.initComponents(BaseFileConfigurable.java:103) at com.intellij.openapi.project.impl.BaseFileConfigurable.init(BaseFileConfigurable.java:75) at com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:249) at com.intellij.openapi.project.impl.ProjectManagerImpl.getDefaultProject(ProjectManagerImpl.java:206) at com.intellij.structuralsearch.inspection.highlightTemplate.SSRInspectionsPrecompiler.a(SSRInspectionsPrecompiler.java:43) at com.intellij.structuralsearch.inspection.highlightTemplate.SSRInspectionsPrecompiler.a(SSRInspectionsPrecompiler.java:5) at com.intellij.structuralsearch.inspection.highlightTemplate.SSRInspectionsPrecompiler.access$000(SSRInspectionsPrecompiler.java:10) at com.intellij.structuralsearch.inspection.highlightTemplate.SSRInspectionsPrecompiler$1.run(SSRInspectionsPrecompiler.java:1) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:178) at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:1) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:147) 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) Caused by: java.lang.ClassNotFoundException: com.yanaware.intellij.DemetraApi at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:38) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at com.yanaware.intellij.ApiFactory.registerInstance(ApiFactory.java:70) ... 43 more java.lang.RuntimeException: Could not load API connector for IntelliJ IDEA (Demetra) build #5162 at com.yanaware.intellij.ApiFactory.registerInstance(ApiFactory.java:78) at com.yanaware.intellij.AbstractToolWindowPlugin.(AbstractToolWindowPlugin.java:74) at com.yanaware.intellij.AbstractToolWindowPlugin.(AbstractToolWindowPlugin.java:56) at com.yanaware.intellij.ideaspring.PluginImpl.(PluginImpl.java:63) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:128) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:154) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:56) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:184) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44) at com.intellij.openapi.components.impl.ComponentManagerImpl$MyComponentAdapterFactory$1.getComponentInstance(ComponentManagerImpl.java:3) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44) at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:38) at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:305) at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl$4.visitContainer(AreaPicoContainerImpl.java:120) at org.picocontainer.defaults.DefaultPicoContainer.accept(DefaultPicoContainer.java:416) at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.accept(AbstractDelegatingMutablePicoContainer.java:134) at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl.getComponentInstance(AreaPicoContainerImpl.java:107) at com.intellij.openapi.components.impl.ComponentManagerImpl.instantiateComponent(ComponentManagerImpl.java:7) at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:264) at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponentFromContainer(ComponentManagerImpl.java:194) at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:298) at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:221) at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponents(ComponentManagerImpl.java:309) at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:129) at com.intellij.openapi.project.impl.BaseFileConfigurable.initComponents(BaseFileConfigurable.java:103) at com.intellij.openapi.project.impl.BaseFileConfigurable.init(BaseFileConfigurable.java:75) at com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:249) at com.intellij.openapi.project.impl.ProjectManagerImpl.getDefaultProject(ProjectManagerImpl.java:206) at com.intellij.structuralsearch.inspection.highlightTemplate.SSRInspectionsPrecompiler.a(SSRInspectionsPrecompiler.java:43) at com.intellij.structuralsearch.inspection.highlightTemplate.SSRInspectionsPrecompiler.a(SSRInspectionsPrecompiler.java:5) at com.intellij.structuralsearch.inspection.highlightTemplate.SSRInspectionsPrecompiler.access$000(SSRInspectionsPrecompiler.java:10) at com.intellij.structuralsearch.inspection.highlightTemplate.SSRInspectionsPrecompiler$1.run(SSRInspectionsPrecompiler.java:1) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:178) at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:1) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:147) 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) Caused by: java.lang.ClassNotFoundException: com.yanaware.intellij.DemetraApi at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:38) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at com.yanaware.intellij.ApiFactory.registerInstance(ApiFactory.java:70) ... 46 more java.lang.RuntimeException: Could not load API connector for IntelliJ IDEA (Demetra) build #5162 at com.yanaware.intellij.ApiFactory.registerInstance(ApiFactory.java:78) at com.yanaware.intellij.AbstractToolWindowPlugin.(AbstractToolWindowPlugin.java:74) at com.yanaware.intellij.AbstractToolWindowPlugin.(AbstractToolWindowPlugin.java:56) at com.yanaware.intellij.ideaspring.PluginImpl.(PluginImpl.java:63) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:128) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:154) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:56) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:184) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44) at com.intellij.openapi.components.impl.ComponentManagerImpl$MyComponentAdapterFactory$1.getComponentInstance(ComponentManagerImpl.java:3) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44) at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:38) at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:305) at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl$4.visitContainer(AreaPicoContainerImpl.java:120) at org.picocontainer.defaults.DefaultPicoContainer.accept(DefaultPicoContainer.java:416) at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.accept(AbstractDelegatingMutablePicoContainer.java:134) at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl.getComponentInstance(AreaPicoContainerImpl.java:107) at com.intellij.openapi.components.impl.ComponentManagerImpl.instantiateComponent(ComponentManagerImpl.java:7) at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:264) at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:96) at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:165) at com.intellij.openapi.project.impl.BaseFileConfigurable.initComponents(BaseFileConfigurable.java:103) at com.intellij.openapi.project.impl.BaseFileConfigurable.init(BaseFileConfigurable.java:75) at com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:249) at com.intellij.openapi.project.impl.ProjectManagerImpl.loadProject(ProjectManagerImpl.java:193) at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:183) at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:60) at com.intellij.idea.IdeaApplication.c(IdeaApplication.java:29) at com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:36) at com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:2) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:12) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:178) at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:1) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:147) 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) Caused by: java.lang.ClassNotFoundException: com.yanaware.intellij.DemetraApi at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:38) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at com.yanaware.intellij.ApiFactory.registerInstance(ApiFactory.java:70) ... 45 more java.lang.ClassNotFoundException: com.yanaware.intellij.DemetraApi at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:38) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at com.yanaware.intellij.ApiFactory.registerInstance(ApiFactory.java:70) at com.yanaware.intellij.AbstractToolWindowPlugin.(AbstractToolWindowPlugin.java:74) at com.yanaware.intellij.AbstractToolWindowPlugin.(AbstractToolWindowPlugin.java:56) at com.yanaware.intellij.ideaspring.PluginImpl.]]>(PluginImpl.java:63)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:128)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:154)
at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:56)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:184)
at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44)
at com.intellij.openapi.components.impl.ComponentManagerImpl$MyComponentAdapterFactory$1.getComponentInstance(ComponentManagerImpl.java:3)
at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44)
at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:38)
at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322)
at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:305)
at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl$4.visitContainer(AreaPicoContainerImpl.java:120)
at org.picocontainer.defaults.DefaultPicoContainer.accept(DefaultPicoContainer.java:416)
at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.accept(AbstractDelegatingMutablePicoContainer.java:134)
at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl.getComponentInstance(AreaPicoContainerImpl.java:107)
at com.intellij.openapi.components.impl.ComponentManagerImpl.instantiateComponent(ComponentManagerImpl.java:7)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:264)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:96)
at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:165)
at com.intellij.openapi.project.impl.BaseFileConfigurable.initComponents(BaseFileConfigurable.java:103)
at com.intellij.openapi.project.impl.BaseFileConfigurable.init(BaseFileConfigurable.java:75)
at com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:249)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadProject(ProjectManagerImpl.java:193)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:183)
at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:60)
at com.intellij.idea.IdeaApplication.c(IdeaApplication.java:29)
at com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:36)
at com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:2)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:12)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:178)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:1)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:147)
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)

another problem

Could not load API connector for IntelliJ IDEA (Demetra) build #5162
java.lang.RuntimeException: Could not load API connector for IntelliJ IDEA (Demetra) build #5162
at com.yanaware.intellij.ApiFactory.registerInstance(ApiFactory.java:78)
at com.yanaware.intellij.AbstractToolWindowPlugin.(AbstractToolWindowPlugin.java:74) at com.yanaware.intellij.AbstractToolWindowPlugin.(AbstractToolWindowPlugin.java:56) at com.yanaware.intellij.ideaspring.PluginImpl.(PluginImpl.java:63) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:128) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:154) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:56) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:184) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44) at com.intellij.openapi.components.impl.ComponentManagerImpl$MyComponentAdapterFactory$1.getComponentInstance(ComponentManagerImpl.java:3) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44) at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:38) at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:305) at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl$4.visitContainer(AreaPicoContainerImpl.java:120) at org.picocontainer.defaults.DefaultPicoContainer.accept(DefaultPicoContainer.java:416) at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.accept(AbstractDelegatingMutablePicoContainer.java:134) at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl.getComponentInstance(AreaPicoContainerImpl.java:107) at com.intellij.openapi.components.impl.ComponentManagerImpl.instantiateComponent(ComponentManagerImpl.java:7) at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:264) at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponentFromContainer(ComponentManagerImpl.java:194) at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:298) at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:221) at com.intellij.openapi.project.impl.BaseFileConfigurable.saveToXml(BaseFileConfigurable.java:148) at com.intellij.openapi.project.impl.ProjectImpl.saveToXml(ProjectImpl.java:59) at com.intellij.openapi.project.impl.ProjectManagerImpl.writeExternal(ProjectManagerImpl.java:57) at com.intellij.openapi.components.impl.ComponentManagerImpl.serializeComponent(ComponentManagerImpl.java:73) at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:397) at com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:208) at com.intellij.ide.SaveAndSyncHandler.b(SaveAndSyncHandler.java:6) at com.intellij.ide.SaveAndSyncHandler.access$200(SaveAndSyncHandler.java:19) at com.intellij.ide.SaveAndSyncHandler$3.onFrameDeactivated(SaveAndSyncHandler.java:6) at com.intellij.ide.FrameStateManagerImpl.a(FrameStateManagerImpl.java:12) at com.intellij.ide.FrameStateManagerImpl.access$100(FrameStateManagerImpl.java:28) at com.intellij.ide.FrameStateManagerImpl$1.run(FrameStateManagerImpl.java:3) at com.intellij.util.Alarm$1.run(Alarm.java:98) at com.intellij.util.Alarm$MyThread$1.run(Alarm.java:241) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:12) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:178) at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:1) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:147) 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) Caused by: java.lang.ClassNotFoundException: com.yanaware.intellij.DemetraApi at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:38) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at com.yanaware.intellij.ApiFactory.registerInstance(ApiFactory.java:70) ... 51 more java.lang.ClassNotFoundException: com.yanaware.intellij.DemetraApi at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:38) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at com.yanaware.intellij.ApiFactory.registerInstance(ApiFactory.java:70) at com.yanaware.intellij.AbstractToolWindowPlugin.(AbstractToolWindowPlugin.java:74) at com.yanaware.intellij.AbstractToolWindowPlugin.(AbstractToolWindowPlugin.java:56) at com.yanaware.intellij.ideaspring.PluginImpl.]]>(PluginImpl.java:63)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:128)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:154)
at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:56)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:184)
at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44)
at com.intellij.openapi.components.impl.ComponentManagerImpl$MyComponentAdapterFactory$1.getComponentInstance(ComponentManagerImpl.java:3)
at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44)
at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:38)
at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322)
at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:305)
at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl$4.visitContainer(AreaPicoContainerImpl.java:120)
at org.picocontainer.defaults.DefaultPicoContainer.accept(DefaultPicoContainer.java:416)
at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.accept(AbstractDelegatingMutablePicoContainer.java:134)
at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl.getComponentInstance(AreaPicoContainerImpl.java:107)
at com.intellij.openapi.components.impl.ComponentManagerImpl.instantiateComponent(ComponentManagerImpl.java:7)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:264)
at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponentFromContainer(ComponentManagerImpl.java:194)
at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:298)
at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:221)
at com.intellij.openapi.project.impl.BaseFileConfigurable.saveToXml(BaseFileConfigurable.java:148)
at com.intellij.openapi.project.impl.ProjectImpl.saveToXml(ProjectImpl.java:59)
at com.intellij.openapi.project.impl.ProjectManagerImpl.writeExternal(ProjectManagerImpl.java:57)
at com.intellij.openapi.components.impl.ComponentManagerImpl.serializeComponent(ComponentManagerImpl.java:73)
at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:397)
at com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:208)
at com.intellij.ide.SaveAndSyncHandler.b(SaveAndSyncHandler.java:6)
at com.intellij.ide.SaveAndSyncHandler.access$200(SaveAndSyncHandler.java:19)
at com.intellij.ide.SaveAndSyncHandler$3.onFrameDeactivated(SaveAndSyncHandler.java:6)
at com.intellij.ide.FrameStateManagerImpl.a(FrameStateManagerImpl.java:12)
at com.intellij.ide.FrameStateManagerImpl.access$100(FrameStateManagerImpl.java:28)
at com.intellij.ide.FrameStateManagerImpl$1.run(FrameStateManagerImpl.java:3)
at com.intellij.util.Alarm$1.run(Alarm.java:98)
at com.intellij.util.Alarm$MyThread$1.run(Alarm.java:241)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:12)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:178)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:1)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:147)
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)

0

Please sign in to leave a comment.