This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Create Roo Project error in STS 2.3.3.M1

May 20th, 2010, 09:09 PM

At the STS with Google Integration page, it mentioned:

After downloading and installing STS 2.3.3, use the "Extensions" tab to install GPE and DN. Then get started in seconds by clicking File > New > Roo Project. On the screen that follows enter a project name of "hello" and a package name of "com.hello". Then interact with STS' inbuilt Roo shell.

I followed this instruction, and at the second step of creating project, after clicking Finish, the roo shell executed some command but had some errors. I could not read the entire message since it blinked off too fast, but I did see some word like "null". And it looks like the first command execution is causing error, which should be the "project --topLevelPackage com.hello".

I tried to enter the same "project" command in console, and it works fine. Thanks in advance.

Comment

java.lang.NullPointerException
at java.lang.String.replace(String.java:2207)
at com.springsource.sts.roo.ui.internal.wizard.NewRooProjectWizard$1.execute(NewRooProjectWizard.java:258)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

I have enabled jdt weaving and still it gives me this error when trying to create a Roo project.

Edit:
After changing the compiler compliance settings from 1.6 to 1.5 the exception is gone.