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

Bug 366492

Summary: [UI] Exception in creating a folder in "CDO Sessions" view
Product: [Modeling] EMF Reporter: Eike Stepper <stepper>
Component: cdo.uiAssignee: Eike Stepper <stepper>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: normal    
Priority: P3    
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Eike Stepper CLA 2011-12-13 02:18:42 EST
Cloned from: 366491: [UI] Exception in creating a folder in "CDO Sessions" view
https://bugs.eclipse.org/bugs/show_bug.cgi?id=366491

Build Identifier: 20110916-0149

After installing latest build https://hudson.eclipse.org/hudson/job/emf-cdo-maintenance/lastSuccessfulBuild/artifact/ my problem did not solved.
The way that you can reproduce my problem is very easy and is as follow :
I have attached my CDO Server.You must first install MYSQL(I use version 5.1) on port 3306 and then import it to your Eclipse and then open "CDOServer.product" and in "Overview" tab click on "Launch An Eclipse Application".And also "cdo-server.xml" locates in "/CDOServer/rootfiles/configuration".
Then follow these steps :
Select "Windows->ShowView->CDO Sessions" view ,then click on plus sign("Open a new CDO Session") and connect to CDO Server that has been started as described in above(For "Server Description" enter "tcp://localhost:2036" and for "Repository Name" enter "demo" and also check "Automatic Package Registry" checkbox).
Then right click on opened session(Session1) on "CDO Sessions" view and select "Open Transaction",and then right click on opened transaction(Transaction1) and then select "Create Folder" ,for example name it "sys1",and then a new tab open and the exception occurred.
I use "eclipse-modeling-indigo-SR1-linux-gtk-x86_64" in Ubuntu 11.10 and JDK 1.6.0_25.

You can also refer to http://www.eclipse.org/forums/index.php/t/265301/ for some other details.




Reproducible: Always

Steps to Reproduce:
1.Start CDO Server first.
2.Go to "Windows->ShowView->CDO Sessions" view
3.Then click on plus sign("Open a new CDO Session") and connect to CDO Server.
4.Then right click on opened session(Session1) on "CDO Sessions" view and select "Open Transaction",and then right click on opened transaction(Transaction1) and then select "Create Folder" ,for example name it "sys1",and then a new tab open and the exception occurred.
Comment 1 Eike Stepper CLA 2011-12-13 02:21:26 EST
commit 604dabcd20f1d9f99393df94d98674695833289f
Author: Eike Stepper <stepper@esc-net.de> 2011-12-13 08:21:03
Committer: Eike Stepper <stepper@esc-net.de> 2011-12-13 08:21:03
Parent: 77ea26527862bf9b86adb3c14380e12bac8386aa ([366066] Double refresh breaks model consistency  https://bugs.eclipse.org/bugs/show_bug.cgi?id=366066)
Branches: streams/4.0-maintenance

[366492] [UI] Exception in creating a folder in "CDO Sessions" view 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=366492
Comment 2 Eike Stepper CLA 2011-12-13 02:24:49 EST
Forgot to increase the bundle version to commit 884d4bb1ac9971640fb3eaa6f02ad608fef826fe. Done now.
Comment 3 Eike Stepper CLA 2012-09-21 06:52:06 EDT
Closing.