Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
14.10.2
-
None
-
Unknown
-
Description
For example with the code macro, getting
Caused by: org.xwiki.component.phase.InitializationException: Failed to find engine for Python script language at org.xwiki.rendering.internal.parser.pygments.PygmentsParser.initialize(PygmentsParser.java:145) at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:373) at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:459) at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201) ... 221 more
Despite what the message suggests, an engine factory is found for "python" but it fails to call the constructor of org.python.jsr223.PyScriptEngine because it cannot find the class even if it's in the same classloader as the factory.
Attachments
Issue Links
- duplicates
-
XWIKI-17972 Jython does not work when installed as extension
- Open