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

nabble.com | 4 months ago
  1. 0

    Disable open office in Alfresco

    Stack Overflow | 2 years ago | bfab
    java.lang.IllegalArgumentException: officeHome must exist and be a directory
  2. 0

    OpenKM 5 beta - Open Knowledge Management

    openkm.com | 11 months ago
    java.lang.IllegalArgumentException: officeHome must exist and be a directory
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Including the following config in repository.config: "watched" : { "type" : "watched", "watchDirectory" : "${user.home}/my-repo", "watchInterval" : 5 } Results in the following startup failure: ./startup.sh Launch failed: caught exception. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.springsource.server.launch.harness.LaunchHarness.main(LaunchHarness.java:63) Caused by: org.osgi.framework.BundleException: Exception in com.springsource.kernel.repository.internal.RepositoryActivator.start() of bundle com.springsource.kernel.repository. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:830) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:779) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272) at com.springsource.osgi.launcher.FrameworkBuilder.installAndStartBundles(FrameworkBuilder.java:177) at com.springsource.osgi.launcher.FrameworkBuilder.start(FrameworkBuilder.java:160) at com.springsource.osgi.launcher.Launcher.main(Launcher.java:45) ... 5 more Caused by: java.lang.IllegalArgumentException: Check directory '/Users/wilkinsona/Desktop/springsource-dm-server-2.0.0.CI-R265-B218/${user.home}/my-repo' must exist and must be a directory. at com.springsource.util.common.Assert.isTrue(Assert.java:49) at com.springsource.util.io.FileSystemChecker.<init>(FileSystemChecker.java:88) at com.springsource.repository.internal.WatchedStorageRepository$DirectoryWatcher.<init>(WatchedStorageRepository.java:127) at com.springsource.repository.internal.WatchedStorageRepository$DirectoryWatcher.<init>(WatchedStorageRepository.java:126) at com.springsource.repository.internal.WatchedStorageRepository.<init>(WatchedStorageRepository.java:91) at com.springsource.repository.internal.StandardRepositoryFactory.createRepository(StandardRepositoryFactory.java:83) at com.springsource.repository.internal.StandardRepositoryFactory.createRepository(StandardRepositoryFactory.java:56) at com.springsource.kernel.repository.internal.RepositoryActivator.createAndPublishBundleRepository(RepositoryActivator.java:116) at com.springsource.kernel.repository.internal.RepositoryActivator.start(RepositoryActivator.java:70) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:807) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:798) ... 12 more expandProperties() should be used on the configured watchDirectory

    SpringSource Issue Tracker | 8 years ago | Andy Wilkinson
    java.lang.reflect.InvocationTargetException
  5. 0

    Including the following config in repository.config: "watched" : { "type" : "watched", "watchDirectory" : "${user.home}/my-repo", "watchInterval" : 5 } Results in the following startup failure: ./startup.sh Launch failed: caught exception. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.springsource.server.launch.harness.LaunchHarness.main(LaunchHarness.java:63) Caused by: org.osgi.framework.BundleException: Exception in com.springsource.kernel.repository.internal.RepositoryActivator.start() of bundle com.springsource.kernel.repository. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:830) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:779) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272) at com.springsource.osgi.launcher.FrameworkBuilder.installAndStartBundles(FrameworkBuilder.java:177) at com.springsource.osgi.launcher.FrameworkBuilder.start(FrameworkBuilder.java:160) at com.springsource.osgi.launcher.Launcher.main(Launcher.java:45) ... 5 more Caused by: java.lang.IllegalArgumentException: Check directory '/Users/wilkinsona/Desktop/springsource-dm-server-2.0.0.CI-R265-B218/${user.home}/my-repo' must exist and must be a directory. at com.springsource.util.common.Assert.isTrue(Assert.java:49) at com.springsource.util.io.FileSystemChecker.<init>(FileSystemChecker.java:88) at com.springsource.repository.internal.WatchedStorageRepository$DirectoryWatcher.<init>(WatchedStorageRepository.java:127) at com.springsource.repository.internal.WatchedStorageRepository$DirectoryWatcher.<init>(WatchedStorageRepository.java:126) at com.springsource.repository.internal.WatchedStorageRepository.<init>(WatchedStorageRepository.java:91) at com.springsource.repository.internal.StandardRepositoryFactory.createRepository(StandardRepositoryFactory.java:83) at com.springsource.repository.internal.StandardRepositoryFactory.createRepository(StandardRepositoryFactory.java:56) at com.springsource.kernel.repository.internal.RepositoryActivator.createAndPublishBundleRepository(RepositoryActivator.java:116) at com.springsource.kernel.repository.internal.RepositoryActivator.start(RepositoryActivator.java:70) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:807) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:798) ... 12 more expandProperties() should be used on the configured watchDirectory

    SpringSource Issue Tracker | 8 years ago | Andy Wilkinson
    java.lang.reflect.InvocationTargetException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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