Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11511

ComponentLookupException when import content via the Filter application

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 6.3
    • Fix Version/s: 6.4-milestone-1, 6.2.5
    • Component/s: Filter
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Steps to reproduce:

      • Install the Filter UI
      • go to Filter.WebHome
      • chose "Input type": "XAR input stream" and "Source" as a path to some *.xar file
      • choose "Output type": "XWiki instance output stream (xwiki+instance)" and leave the rest as is
      • press the "convert" button

      I get an exception with stack trace:

      Failed to start conversion
      
        
      class java.lang.RuntimeException: Failed to get [role = [class org.xwiki.filter.internal.job.FilterStreamConverterJob] hint = [filter.converter]] at org.xwiki.component.embed.GenericProvider.get(GenericProvider.java:102) at org.xwiki.filter.script.FilterScriptService.convert(FilterScriptService.java:125) at org.xwiki.filter.script.FilterScriptService.convert(FilterScriptService.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) at org.xwiki.velocity.introspection.MethodArgumentsUberspector$ConvertingVelMethod.invoke(MethodArgumentsUberspector.java:154) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
      [...]
      Caused by: class org.xwiki.component.manager.ComponentLookupException: Can't find descriptor for the component [role = [class org.xwiki.filter.internal.job.FilterStreamConverterJob] hint = [filter.converter]]
          at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:362)
          at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:167)
          at org.xwiki.component.embed.GenericProvider.get(GenericProvider.java:99)
          at org.xwiki.filter.script.FilterScriptService.convert(FilterScriptService.java:125)
          at org.xwiki.filter.script.FilterScriptService.convert(FilterScriptService.java:106)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [...]
      

      Can anyone reproduce this?

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              camil7 Clemens Robbenhaar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: