Bug 1040898 - Creation of new SwitchYard project in JBDS fails! (Exception: Error resolving version range)
Summary: Creation of new SwitchYard project in JBDS fails! (Exception: Error resolving...
Keywords:
Status: CLOSED DUPLICATE of bug 1011738
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: Tooling
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Rob Cernich
QA Contact: Len DiMaggio
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 09:45 UTC by Martin Basovník
Modified: 2016-12-01 00:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-12 13:36:08 UTC
Type: Bug


Attachments (Terms of Use)
JBDS error log (32.63 KB, text/plain)
2013-12-12 09:45 UTC, Martin Basovník
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1011738 0 unspecified CLOSED Creating a new SwitchYard project in JBDS fails - runtime version is not populated when download maven repo is used 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1012069 0 unspecified CLOSED For GA, enable users to select the SwitchYard runtime field when creating a new SwitchYard project in JBDS 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1012422 0 unspecified CLOSED In creating a new SwitchYard project, the runtime is a required field - but the default value is blank - and the user is... 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker SWITCHYARD-1896 0 Critical Closed Creation of new SwitchYard project in JBDS fails! (Exception: Error resolving version range) 2015-12-15 05:09:30 UTC

Internal Links: 1011738 1012069 1012422

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


Note You need to log in before you can comment on or make changes to this bug.