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

Bug 448344

Summary: [sirius] Creating a ModelingProject fails when another project having the same name in a different case is here
Product: [Modeling] Sirius Reporter: EPP Error Reports <error-reports-inbox>
Component: CoreAssignee: EPP Error Reports <error-reports-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: belqassim.djafer, laurent.redor, maxime.porhel, pierre-charles.david
Version: unspecifiedKeywords: triaged
Target Milestone: 3.0.0M5   
Hardware: All   
OS: All   
Whiteboard: trivial, flash, newbie

Description EPP Error Reports CLA 2014-10-22 09:17:45 EDT
Hello committers,

we received a new error report for Eclipse 4.5.0.I20140918-0330.


General Information:
    anonymous-id:         3c3f72f3-11b1-4599-a29b-21c2de28d6b8
    eclipse-build-id:     4.5.0.I20140918-0330
    eclipse-product:      org.eclipse.platform.ide
    operating system:     Windows7 6.1.0 (x86_64) - win32
    java-runtime-version: 1.7.0_17-b02

The following plug-ins were present on the execution stack (*):
    1. org.eclipse.core.resources_3.9.100.v20140825-0955
    2. org.eclipse.jface_3.11.0.v20140822-0942
    3. org.eclipse.sirius.ui_1.0.0.201406040902
    4. org.eclipse.sirius_1.0.0.201406040902


Error Status:

    code:                   4
    plugin:                 org.eclipse.sirius.ui_1.0.0.201406040902
    message:                
    fingerprint:            91131a1a
    exception class:        java.lang.reflect.InvocationTargetException
    exception message:      -
    number of children:     0
    
    java.lang.reflect.InvocationTargetException: null
    at org.eclipse.sirius.ui.tools.internal.wizards.ModelingProjectWizard$1.run(ModelingProjectWizard.java:74)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
 caused by: org.eclipse.core.internal.resources.ResourceException: A resource exists with a different case: '/Test'.
    at org.eclipse.core.internal.resources.Resource.checkDoesNotExist(Resource.java:329)
    at org.eclipse.core.internal.resources.Resource.checkDoesNotExist(Resource.java:307)
    at org.eclipse.core.internal.resources.Project.assertCreateRequirements(Project.java:52)
    at org.eclipse.core.internal.resources.Project.create(Project.java:287)
    at org.eclipse.core.internal.resources.Project.create(Project.java:269)
    at org.eclipse.sirius.ui.tools.internal.views.common.modelingproject.manager.ModelingProjectManagerImpl$3.run(ModelingProjectManagerImpl.java:208)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2311)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2293)
    at org.eclipse.sirius.ui.tools.internal.views.common.modelingproject.manager.ModelingProjectManagerImpl.createNewModelingProject(ModelingProjectManagerImpl.java:225)
    at org.eclipse.sirius.ui.tools.internal.wizards.ModelingProjectWizard$1.run(ModelingProjectWizard.java:72)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
   

    

Messages, stacktraces, and nested status objects may be shortened. Please visit 
http://dev.eclipse.org/recommenders/committers/confess/0.5/reports/5447ae7ae4b073e5526702d4
for the complete error log.


Some general information and guidelines about how to use this bug report:

1. Feel free to move this bug to your own product and components. Please note
   that this bug is only accessible to Eclipse committers. If you move this bug
   please make sure that it's still in the "Security Advisor" group.

2. The bug contents of the fields status, resolution, keywords, and whitelist
   are presented to reporters. If you needs more information, please set the
   keyword "needinfo". This will trigger a specialized dialog asking the user
   to provide further details.

3. Use the following resolutions for the following situations:
   * CLOSED / FIXED: This bug has been fixed. Please provide additional
     information in the whiteboard field.
   * CLOSED / WORKSFORME: Use this resolution if you can't reproduce this issue
     and request further information. Please use the whiteboard text to specify
     more details what a user should provide and how.
   * CLOSED / INVALID: Use this resolution if the reported problem is a
     'user-configuration' problem. Please consider giving hints how to fix
     these issues in the whiteboard field.
   * CLOSED / NOT ECLIPSE: Use this if the problem is caused by another plugin
     not developed at Eclipse.org
   * CLOSED / MOVED: If this bug has been moved else where. Please provide more 
     information (e.g. a link) in the whiteboard field.

4. Please remember that only committers can view and comment on this bug. You
   may, however, manually add the reporting user to the bug's cc list. But keep
   in mind that the report may contains sensitive information.

5. If you are missing a feature, please file a enhancement request here:
   https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Recommenders.Incubator&component=Stacktraces
    
 

Thank you for your assistance.
Your friendly error-reports-inbox.


--
* Note: The list of present bundles and their respective versions was
  calculated by package naming heuristics. This may or may not reflect reality.
Comment 1 EPP Error Reports CLA 2014-10-22 09:17:46 EDT
I've looked up the (to date) top-3 most similar bug groups and listed the 
closest bug of each group below. This report may or may not be duplicate of
those (low or similar scores for all entries may indicate that this hasn't
been reported yet):

>     1. Bug 446346: Problems occurred when invoking code from plug-in: "org.eclipse.equinox.prefe... (err_grp: f280f177) – 0,4    
>     2. Bug 447109: [any] Problems encountered performing update – 0,5    
>     3. Bug 444723: Participant 'org.eclipse.jdt.debug.refactoring.breakpoint.packageRename' remo... (err_grp: 7c8be49e) – 0,3    


If this report actually is a duplicate of those, please mark it as such. This
information helps me to improve the recommendations further for the next issue.

Thank you for your assistance.
Your friendly error-reports-inbox.
Comment 2 Cedric Brun CLA 2014-10-23 11:39:05 EDT
Looks like we could improve things : the ModelingProject wizard could check for such situation and prevent the perform finish.
Comment 3 Belqassim Djafer CLA 2014-12-01 05:14:52 EST
waiting for review : https://git.eclipse.org/r/#/c/36987/
Comment 5 Belqassim Djafer CLA 2015-04-09 10:38:01 EDT
Verified on Sirius 3.0.0M6
Comment 6 Pierre-Charles David CLA 2015-06-24 11:15:02 EDT
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.