Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 4.0.9, 4.0.8
    • Fix Version/s: 4.0.10
    • Component/s: blade-cli
    • Labels:
      None

      Description

      blade version : 4.0.9.202107011607
      steps:
      1.blade init -v dxp-7.4-ep2
      2.gw initBundle
      3.blade create -t war-core-ext projectName
      4.start server and gw deploy

      console error message:
      java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
      at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
      at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
      at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
      at java.base/java.util.Objects.checkIndex(Objects.java:372)
      at java.base/java.util.ArrayList.get(ArrayList.java:459)
      at com.liferay.portal.osgi.web.wab.generator.internal.processor.WabProcessor.getAutoDeployListener(WabProcessor.java:321)
      at com.liferay.portal.osgi.web.wab.generator.internal.processor.WabProcessor.executeAutoDeployers(WabProcessor.java:254)
      at com.liferay.portal.osgi.web.wab.generator.internal.processor.WabProcessor.autoDeploy(WabProcessor.java:164)
      at com.liferay.portal.osgi.web.wab.generator.internal.processor.WabProcessor.getProcessedFile(WabProcessor.java:121)
      at com.liferay.portal.osgi.web.wab.generator.internal.WabGenerator.generate(WabGenerator.java:89)
      at com.liferay.portal.osgi.web.wab.generator.internal.connection.WabURLConnection.getInputStream(WabURLConnection.java:101)
      at java.base/java.net.URL.openStream(URL.java:1165)
      at com.liferay.portal.file.install.internal.DirectoryWatcher._install(DirectoryWatcher.java:654)
      at com.liferay.portal.file.install.internal.DirectoryWatcher._install(DirectoryWatcher.java:683)
      at com.liferay.portal.file.install.internal.DirectoryWatcher._process(DirectoryWatcher.java:978)
      at com.liferay.portal.file.install.internal.DirectoryWatcher.run(DirectoryWatcher.java:265)

        Attachments

        1. lr-ws-compiled.zip
          347 kB
        2. lr-ws-source.zip
          279 kB
        3. war core ext deploy error.png
          war core ext deploy error.png
          216 kB

          Issue Links

            Activity

              People

              Assignee:
              ethan.sun Ethan Sun (Inactive)
              Reporter:
              lily.li Lily Li
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  4.0.10