Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-3664

[Ctrlflow bug] IllegalArgumentException below AbstractLiferayMojo.getToolsClassPath (thrown in FileUtils.listFiles)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.2 M1
    • Fix Version/s: None
    • Component/s: Projects > Maven
    • Labels:

      Description

      Bundle: com.liferay.ide.maven.core 3.1.2.201709011126-ga3
      Message: Parameter 'directory' is not a directory
      Exception:
      java.lang.IllegalArgumentException: Parameter 'directory' is not a directory
          at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:293)
          at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:378)
          at com.liferay.maven.plugins.AbstractLiferayMojo.getToolsClassPath(AbstractLiferayMojo.java:460)
          at com.liferay.maven.plugins.AbstractLiferayMojo.getToolsClassLoader(AbstractLiferayMojo.java:324)
          at com.liferay.maven.plugins.AbstractLiferayMojo.initUtils(AbstractLiferayMojo.java:525)
          at com.liferay.maven.plugins.AbstractLiferayMojo.execute(AbstractLiferayMojo.java:79)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
          at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:331)
          at org.eclipse.m2e.core.internal.embedder.MavenImpl$11.call(MavenImpl.java:1362)
          at org.eclipse.m2e.core.internal.embedder.MavenImpl$11.call(MavenImpl.java:1)
          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177)
          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:112)
          at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1360)
          at com.liferay.ide.maven.core.ThemePluginBuildParticipant.executeThemeMojo(ThemePluginBuildParticipant.java:163)
          at com.liferay.ide.maven.core.ThemePluginBuildParticipant$1.call(ThemePluginBuildParticipant.java:66)
          at com.liferay.ide.maven.core.ThemePluginBuildParticipant$1.call(ThemePluginBuildParticipant.java:1)
          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177)
          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:112)
          at org.eclipse.m2e.core.internal.project.registry.MavenProjectManager$1.call(MavenProjectManager.java:124)
          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177)
          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)
          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99)
          at org.eclipse.m2e.core.internal.project.registry.MavenProjectManager.execute(MavenProjectManager.java:122)
          at com.liferay.ide.maven.core.ThemePluginBuildParticipant$2.call(ThemePluginBuildParticipant.java:120)
          at com.liferay.ide.maven.core.ThemePluginBuildParticipant$2.call(ThemePluginBuildParticipant.java:1)
          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177)
          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:112)
          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99)
          at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1355)
          at com.liferay.ide.maven.core.ThemePluginBuildParticipant.executeMaven(ThemePluginBuildParticipant.java:114)
          at com.liferay.ide.maven.core.ThemePluginBuildParticipant.build(ThemePluginBuildParticipant.java:74)
          at com.liferay.ide.maven.core.ThemeMergeBuildParticipant.build(ThemeMergeBuildParticipant.java:48)
          at org.eclipse.m2e.core.internal.builder.MavenBuilderImpl.build(MavenBuilderImpl.java:137)
          at org.eclipse.m2e.core.internal.builder.MavenBuilder$1.method(MavenBuilder.java:172)
          at org.eclipse.m2e.core.internal.builder.MavenBuilder$1.method(MavenBuilder.java:1)
          at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod$1$1.call(MavenBuilder.java:115)
          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177)
          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:112)
          at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod$1.call(MavenBuilder.java:105)
          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177)
          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)
          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99)
          at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod.execute(MavenBuilder.java:86)
          at org.eclipse.m2e.core.internal.builder.MavenBuilder.build(MavenBuilder.java:200)
          at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)
          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
          at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
          at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:360)
          at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)
          at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:142)
          at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:232)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lr_ide LR IDE
                Reporter:
                yanan.yuan Yanan Yuan
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 35 weeks, 6 days ago

                  Packages

                  Version Package