Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: STS 3.2 wont let me create a sprint integration project from template ... stuck in lo

  1. #1
    Join Date
    Apr 2012
    Posts
    22

    Default STS 3.2 wont let me create a sprint integration project from template ... stuck in lo

    something weird - was just trying the mule studio and want ed to see what the STS integration tooling was like

    i've downloaded a clean build of sts3.2 and when i try and create a spring template project, it throws the dialogue.

    I name y project and fill in the group id as org.springintegration and the actefact id - to be the same as my project

    and then fill in the rest

    when you hit go - it creates an empty project folder, but then gets stuck - says the project already exists do you want to overwrite (yes or cancel )

    It makes no diffference here which you do as neither gets it to work - it gets stuck. I have to just get out and delete the project from the workspace -

    I cant create a project at all - is everyone having this problem ? is there a workaround.

    Bit of a killer for newbies sadly if you cant get the template to complete

    Advice required

  2. #2
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,017

    Default

    Hmmm - which template are you using? What operating system?

    I just created projects with each of the four templates without any problems (on Ubuntu).
    Gary P. Russell
    Spring Integration Team
    SpringSource, a division of VMware

  3. #3
    Join Date
    Apr 2012
    Posts
    22

    Default running windows 7 64 bit ...

    Quote Originally Posted by Gary Russell View Post
    Hmmm - which template are you using? What operating system?

    I just created projects with each of the four templates without any problems (on Ubuntu).
    i also just found this link also which sounds like the same problem

    http://forum.springsource.org/showth...te-a-simple-si

    i had tried earlier today with a 3.1 sts that id just upgraded to 3.2 - and it failed - which prompted me to get an empty install and try it on that

  4. #4
    Join Date
    Apr 2012
    Posts
    22

    Default

    ps if its having a problem - where is it writing the error log ? - and i'll try and post that over

  5. #5
    Join Date
    Apr 2012
    Posts
    22

    Default found this in errors view ...

    Exception during template project creation

    java.lang.ArrayIndexOutOfBoundsException: 0
    at org.springframework.ide.eclipse.wizard.template.in frastructure.processor.TemplateProjectCreator$1.ex ecute(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.ru n(WorkspaceModifyOperation.java:118)
    at org.springframework.ide.eclipse.wizard.template.in frastructure.processor.TemplateProjectCreator.crea teProject(TemplateProjectCreator.java:130)
    at org.springframework.ide.eclipse.wizard.template.in frastructure.processor.DirectoryProcessor.process( DirectoryProcessor.java:56)
    at org.springframework.ide.eclipse.wizard.template.in frastructure.processor.Processor.process(Processor .java:44)
    at org.springframework.ide.eclipse.wizard.template.Te mplateWizard$1.run(TemplateWizard.java:114)
    at org.eclipse.jface.operation.ModalContext$ModalCont extThread.run(ModalContext.java:121)


    session data
    eclipse.buildId=3.2.0.201303060821-RELEASE-e42
    java.version=1.7.0_09
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
    Framework arguments: -product org.springsource.sts.ide
    Command-line arguments: -os win32 -ws win32 -arch x86 -product org.springsource.sts.ide

  6. #6
    Join Date
    Apr 2012
    Posts
    22

    Default

    PS - i'm running 32 bit for sts and the java 7 - - but the os is windows 64 bit

  7. #7
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,017

    Default

    There might be more information in <workspace>/.metadata/.log
    Gary P. Russell
    Spring Integration Team
    SpringSource, a division of VMware

  8. #8
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,017

    Default

    I don't know if it's related, but I just took a look at the commit log for that file, and there was a fix committed a couple of days ago for paths with a space in the PATH...

    https://github.com/SpringSource/spri...07e438509d82cd

    If you have a space in your path, can you try with a workspace in a folder with no spaces (in it or any parent folder)?
    Gary P. Russell
    Spring Integration Team
    SpringSource, a division of VMware

  9. #9
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,017

    Default

    Gary P. Russell
    Spring Integration Team
    SpringSource, a division of VMware

  10. #10
    Join Date
    Apr 2012
    Posts
    22

    Default yup thats it

    Quote Originally Posted by Gary Russell View Post

    yup thats the problem - i created a brand new workspace up near the top (i have access rights on my works laptop with a bit of effort) and presto - it works fine - so its the space that messes it

    thanks - i look forwaqrd to 3.3 and i can put my workspace back where in belongs in my onw tree

    thanks for spotting that -

    good to know soeone is on the case

    Will

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •