Circular dependency between two plugin's extension-points?

Both plugin A and B provide their own extension-points. A already uses extension-points from B, now
I want to use B's extension-points in A as well - fails. Is it possible at all?

A = Freemarker
B = Struts2

[   9421]  ERROR - llij.ide.plugins.PluginManager - null
java.lang.AssertionError
     at com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager.java:200)
     at com.intellij.ide.plugins.PluginManager.getPlugins(PluginManager.java:103)
     at com.intellij.openapi.application.impl.ApplicationImpl.e(ApplicationImpl.java:290)
     at com.intellij.openapi.application.impl.ApplicationImpl.<init>(ApplicationImpl.java:193)
     at com.intellij.openapi.application.ex.ApplicationManagerEx.createApplication(ApplicationManagerEx.java:35)
     at com.intellij.idea.IdeaApplication.<init>(IdeaApplication.java:72)
     at com.intellij.idea.IdeaUltimateApplication.<init>(IdeaUltimateApplication.java:14)
     at com.intellij.idea.MainImpl.a(MainImpl.java:132)
     at com.intellij.idea.MainImpl.access$000(MainImpl.java:22)
     at com.intellij.idea.MainImpl$2.proceed(MainImpl.java:119)
     at com.intellij.ide.a.b.d$6.run(d$6.java:434)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

3 comments

Hello Yann,

No, circular dependencies between the plugins are not currently supported.
You can created a third plugin which depends on both A and B.

Both plugin A and B provide their own extension-points. A already uses
extension-points from B, now I want to use B's extension-points in A
as well - faisl. Is it possible at all?

 llij.ide.plugins.PluginManager - null
> 
> java.lang.AssertionError
> 
>      at
> com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager
> .java:200)
> 
>      at
> com.intellij.ide.plugins.PluginManager.getPlugins(PluginManager.java:1
> 03)
> 
>      at
> com.intellij.openapi.application.impl.ApplicationImpl.e(ApplicationImp
> l.java:290)
> 
>      at
> com.intellij.openapi.application.impl.ApplicationImpl.(Applicati
> onImpl.java:193)
> 
>      at
> com.intellij.openapi.application.ex.ApplicationManagerEx.createApplica
> tion(ApplicationManagerEx.java:35)
> 
>      at
> com.intellij.idea.IdeaApplication.(IdeaApplication.java:72)
> 
>      at
> com.intellij.idea.IdeaUltimateApplication.(IdeaUltimateApplicati
> on.java:14)
> 
>      at
> com.intellij.idea.MainImpl.a(MainImpl.java:132)
> 
>      at
> com.intellij.idea.MainImpl.access$000(MainImpl.java:22)
> 
>      at
> com.intellij.idea.MainImpl$2.proceed(MainImpl.java:119)
> 
>      at
> com.intellij.ide.a.b.d$6.run(d$6.java:434)
> 
>      at
> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
> 
>      at
> java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
> 
>      at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea
> d.java:296)
> 
>      at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
> ava:211)
> 
>      at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
> d.java:201)
> 
>      at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
> 
>      at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
> 
>      at
> java.awt.EventDispatchThread.run(EventDispatchThread.java:122)]]>


---
Original message URL:
http://www.jetbrains.net/devnet/message/5257218#5257218

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Thanks for the quick answer. Too bad it's not possible..

0

hello,
are cyclic dependencies between plugins still not supported in IDEA 12.x and 13.x ?
thanks in advance,
regards
Simon

0

Please sign in to leave a comment.