java.lang.IllegalArgumentException: templateProfileDir must exist and be a directory

nabble.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    templateProfileDir must exist and be a directory

    at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.checkArgument()
  2. org.artofsolving.jodconverter
    DefaultOfficeManagerConfiguration.setTemplateProfileDir
    1. org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.checkArgument(DefaultOfficeManagerConfiguration.java:160)
    2. org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.setTemplateProfileDir(DefaultOfficeManagerConfiguration.java:88)
    2 frames
  3. org.xwiki.officeimporter
    OpenOfficeManagerLifecycleListener.onEvent
    1. org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeManager.initialize(DefaultOpenOfficeManager.java:99)
    2. org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeManager.start(DefaultOpenOfficeManager.java:135)
    3. org.xwiki.officeimporter.internal.openoffice.OpenOfficeManagerLifecycleListener.startOpenOffice(OpenOfficeManagerLifecycleListener.java:96)
    4. org.xwiki.officeimporter.internal.openoffice.OpenOfficeManagerLifecycleListener.onEvent(OpenOfficeManagerLifecycleListener.java:83)
    4 frames
  4. org.xwiki.observation
    DefaultObservationManager.notify
    1. org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269)
    2. org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:243)
    3. org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:290)
    3 frames
  5. org.xwiki.container
    XWikiServletContextListener.contextInitialized
    1. org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:76)
    1 frame
  6. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
    6. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
    7. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
    8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
    9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
    10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
    11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    13. org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
    14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    16. org.apache.catalina.core.StandardService.start(StandardService.java:516)
    17. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    18. org.apache.catalina.startup.Catalina.start(Catalina.java:593)
    18 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  8. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    2 frames