Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329800

Summary: [Move to EMF Facet][Query] Error with projects with white space in their name
Product: [Modeling] MoDisco Reporter: Nicolas Guyomar <nicolas.guyomar>
Component: InfrastructureAssignee: Project Inbox <modisco.web-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P5 CC: gdupe
Version: 0.9.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Nicolas Guyomar CLA 2010-11-09 09:58:34 EST
Hi,

While using "Create Java Query Implementation Class" contextual action on a Java query I've got a Java Model Exception saying that my project does not exit.

Here is a piece of the stack trace : 
Java Model Exception: Java Model Status [Mia-Insight%20Custo does not exist]
at org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:502)
at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:246)
at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515)
....

My project name is "Mia-Insight Custo"

A best practice is not to include white space in a project's name, but nothing prevents the user from doing it so this should be managed.

Regards

Nicolas
Comment 1 Gregoire Dupe CLA 2010-11-10 08:48:03 EST
May have to be solved by EMF Facet => P4
Comment 2 Gregoire Dupe CLA 2011-09-28 07:39:13 EDT
We will switch to EMF Facet before to try to solve such bugs. => P5