org.xwiki.component.manager.ComponentLookupException

Failed to lookup component [role = [interface org.mayocat.rest.Resource] hint = [/marketplace/images/]]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Unknown by Gilles Koffmann,
  • Stack trace

    • org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [role = [interface org.mayocat.rest.Resource] hint = [/marketplace/images/]] at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:187) at org.mayocat.application.AbstractService.registerResources(AbstractService.java:260) at org.mayocat.application.AbstractService.run(AbstractService.java:116) at org.mayocat.application.AbstractService.run(AbstractService.java:73) at com.yammer.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:38) at com.yammer.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:58) at com.yammer.dropwizard.cli.Cli.run(Cli.java:53) at com.yammer.dropwizard.Service.run(Service.java:61) at org.mayocat.shop.application.MayocatShopService.main(MayocatShopService.java:51) Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.mayocat.image.DefaultImageService] identifier by [role = [interface org.mayocat.image.ImageService] hint = [default]] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:348) at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:161) at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312) at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378) at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:185) ... 8 more Caused by: org.xwiki.component.phase.InitializationException: Failed to initialize image cache. Is the data directory writable ? at org.mayocat.image.DefaultImageService.initialize(DefaultImageService.java:66) at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:323) at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378) at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346) ... 12 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.