java.io.IOException: Unable to create a new writer

Icesoft | petar_b | 9 years 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.
  1. 0

    ice-facelets.jar causes exception

    Icesoft | 9 years ago | petar_b
    java.io.IOException: Unable to create a new writer

    Root Cause Analysis

    1. java.io.IOException

      Unable to create a new writer

      at com.liferay.portal.lucene.IndexWriterFactory.getWriter()
    2. com.liferay.portal
      LuceneUtil.getWriter
      1. com.liferay.portal.lucene.IndexWriterFactory.getWriter(IndexWriterFactory.java:209)
      2. com.liferay.portal.lucene.LuceneUtil.getWriter(LuceneUtil.java:338)
      3. com.liferay.portal.lucene.LuceneUtil.getWriter(LuceneUtil.java:332)
      3 frames
    3. Liferay Portal Impl
      PluginPackageHotDeployListener.invokeUndeploy
      1. com.liferay.portal.plugin.PluginPackageIndexer.addPluginPackage(PluginPackageIndexer.java:76)
      2. com.liferay.portal.plugin.PluginPackageIndexer.updatePluginPackage(PluginPackageIndexer.java:221)
      3. com.liferay.portal.plugin.PluginPackageUtil._indexPluginPackage(PluginPackageUtil.java:494)
      4. com.liferay.portal.plugin.PluginPackageUtil._parseRepositoryXml(PluginPackageUtil.java:784)
      5. com.liferay.portal.plugin.PluginPackageUtil._loadRepository(PluginPackageUtil.java:684)
      6. com.liferay.portal.plugin.PluginPackageUtil._getRepository(PluginPackageUtil.java:430)
      7. com.liferay.portal.plugin.PluginPackageUtil._getAvailablePluginPackages(PluginPackageUtil.java:343)
      8. com.liferay.portal.plugin.PluginPackageUtil._unregisterInstalledPluginPackage(PluginPackageUtil.java:1290)
      9. com.liferay.portal.plugin.PluginPackageUtil.unregisterInstalledPluginPackage(PluginPackageUtil.java:249)
      10. com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeUndeploy(PluginPackageHotDeployListener.java:219)
      10 frames
    4. Liferay Portal Service
      PortletContextListener.contextDestroyed
      1. com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireUndeployEvent(HotDeployUtil.java:104)
      2. com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireUndeployEvent(HotDeployUtil.java:46)
      3. com.liferay.portal.kernel.servlet.PortletContextListener.contextDestroyed(PortletContextListener.java:97)
      3 frames
    5. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3882)
      2. org.apache.catalina.core.StandardContext.stop(StandardContext.java:4516)
      3. org.apache.catalina.core.StandardContext.start(StandardContext.java:4380)
      4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      7. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:924)
      8. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)
      9. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
      10. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
      11. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      12. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      13. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      14. org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      15. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      16. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      17. org.apache.catalina.core.StandardService.start(StandardService.java:516)
      18. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      19. org.apache.catalina.startup.Catalina.start(Catalina.java:578)
      19 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    7. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      2 frames