Uploaded image for project: 'PUBLIC - Liferay BLADE'
  1. PUBLIC - Liferay BLADE
  2. BLADE-546

js-widget throws unhelpful exception when invoked outside of workspace

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.2
    • Component/s: blade-cli
    • Labels:
      None

      Description

      ~/tmp blade create -t js-widget testjs
      null
      java.lang.NullPointerException
      at java.io.File.<init>(File.java:277)
      at com.liferay.project.templates.js.widget.internal.JSWidgetProjectTemplateCustomizer.onAfterGenerateProject(JSWidgetProjectTemplateCustomizer.java:114)
      at com.liferay.project.templates.internal.ProjectGenerator.generateProject(ProjectGenerator.java:157)
      at com.liferay.project.templates.ProjectTemplates.<init>(ProjectTemplates.java:364)
      at com.liferay.blade.cli.command.CreateCommand.execute(CreateCommand.java:267)
      at com.liferay.blade.cli.command.CreateCommand.execute(CreateCommand.java:228)
      at com.liferay.blade.cli.BladeCLI._runCommand(BladeCLI.java:1192)
      at com.liferay.blade.cli.BladeCLI.runCommand(BladeCLI.java:595)
      at com.liferay.blade.cli.BladeCLI.run(BladeCLI.java:435)
      at com.liferay.blade.cli.BladeCLI.main(BladeCLI.java:131)

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            gregory.amerson Gregory Amerson
            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.2