Bug 1040898

Summary: Creation of new SwitchYard project in JBDS fails! (Exception: Error resolving version range)
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Martin Basovník <mbasovni>
Component: ToolingAssignee: Rob Cernich <rcernich>
Status: CLOSED DUPLICATE QA Contact: Len DiMaggio <ldimaggi>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: apodhrad, atangrin, soa-p-jira, tsykora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-12 13:36:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
JBDS error log none

Description Martin Basovník 2013-12-12 09:45:39 UTC
Created attachment 835709 [details]
JBDS error log

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Tested on Ubuntu and Fedora - 100%.

Steps to Reproduce:
1. Install jbds-7.1.0.CR2 with tooling jbdsis-7.0.0.CR1. (Bug should be reproducible also on older versions.)
2. Setup application server (e.g. FSW ER7-2)
3. File/new/SwitchYard project
4. In window "New SwicthYard project" click "Next".
5. Window "SwitchYard project configuration" will appear.

Actual results:
Field "Target runtime" contains setup server.
Field "Library version" is disabled and empty! You cannot finish project creation! Button "Finish" is disabled.

Error log:
Caused by: org.eclipse.core.runtime.CoreException: Error resolving version range
	at org.switchyard.tools.ui.M2EUtils.resolveVersionRange(M2EUtils.java:188)
	at org.switchyard.tools.ui.M2EUtils.resolveSwitchYardVersionRange(M2EUtils.java:156)
	at org.switchyard.tools.ui.common.SwitchYardSettingsGroup.populateRuntimeVersionsList(SwitchYardSettingsGroup.java:544)
	at org.switchyard.tools.ui.common.SwitchYardSettingsGroup.access$13(SwitchYardSettingsGroup.java:543)
	at org.switchyard.tools.ui.common.SwitchYardSettingsGroup$12.run(SwitchYardSettingsGroup.java:479)
	... 42 more

The rest of the log is in attachment.

Expected results:
Project is created.

Additional info:
Try to create new simple maven project and add SwitchYard capabilities into it. Then try to create new SwitchYard project again and it will work! Versions of library will appear.

Comment 2 Martin Basovník 2013-12-12 09:54:12 UTC
Description of problem:
Creation of new SwitchYard project in JBDS fails with exception: "Error resolving version range"! To reproduce this bug follow the steps. It is important to install JBDS and JBDS-IS (Integration Stack) again even if you have got right version now!

Comment 3 Andrej Podhradsky 2013-12-12 11:20:46 UTC
I was also able to reproduce this bug using new FSW 6.0.0.ER7 repository defined in settings.xml.

Comment 4 Andrej Podhradsky 2013-12-12 13:36:08 UTC

*** This bug has been marked as a duplicate of bug 1011738 ***

Comment 5 JBoss JIRA Server 2014-06-16 23:53:29 UTC
Keith Babo <kbabo> updated the status of jira SWITCHYARD-1896 to Closed