Spring Tool Suite
  1. Spring Tool Suite
  2. STS-3263

Spring Integration template project creation fail

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.2.0.RELEASE
    • Fix Version/s: 3.3.0.M1
    • Component/s: None
    • Labels:
      None

      Description

      The Spring Integration template projects are broken on Windows machines. They work fine on a Mac, but fail with the following exception on Windows machines (sometimes with this exception, sometimes they create just an empty project).

      java.lang.ArrayIndexOutOfBoundsException: 0
      at org.springframework.ide.eclipse.wizard.template.infrastructure.processor.TemplateProjectCreator$1.execute(TemplateProjectCreator.java:97)
      at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
      at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
      at org.springframework.ide.eclipse.wizard.template.infrastructure.processor.TemplateProjectCreator.createProject(TemplateProjectCreator.java:130)
      at org.springframework.ide.eclipse.wizard.template.infrastructure.processor.DirectoryProcessor.process(DirectoryProcessor.java:56)
      at org.springframework.ide.eclipse.wizard.template.infrastructure.processor.Processor.process(Processor.java:44)
      at org.springframework.ide.eclipse.wizard.template.TemplateWizard$1.run(TemplateWizard.java:114)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

        Activity

        Show
        Martin Lippert (c) added a comment - see also this thread on the forum: http://forum.springsource.org/showthread.php?134668-sts-3-1-0-RELEASE-simple-spring-integration-template-URL-can-t-create-a-simple-si
        Hide
        Martin Lippert (c) added a comment -

        As mentioned in the forum thread, this is indeed not a problem that is specific to Windows. It happens if the path to the workspace has a space. Fixed now.

        Show
        Martin Lippert (c) added a comment - As mentioned in the forum thread, this is indeed not a problem that is specific to Windows. It happens if the path to the workspace has a space. Fixed now.

          People

          • Assignee:
            Martin Lippert (c)
            Reporter:
            Martin Lippert (c)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: