Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1086296

Summary: Switchyard project errors after restarting JBDS
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Andrej Podhradsky <apodhrad>
Component: SwitchYard EditorAssignee: Brian Fitzpatrick <bfitzpat>
Status: CLOSED CURRENTRELEASE QA Contact: Matej Melko <mmelko>
Severity: low Docs Contact:
Priority: urgent    
Version: 6.0.0 GACC: kconner, soa-p-jira
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: 2016-01-06 11:55:18 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:
Embargoed:
Attachments:
Description Flags
Project errors none

Description Andrej Podhradsky 2014-04-10 14:54:19 UTC
Description of problem:
The following errors occurs if you restart your JBDS

cvc-complex-type.2.4.a: Invalid content was found starting with element 'implementation.bean'

Referenced file contains errors (file:/home/apodhrad/Projects/jbds-installer/jbds-7.1.0.GA_jbdsis-7.0.0.GA/target/jbdevstudio/studio/plugins/org.switchyard.tools.xsd_1.1.4.v20140122-1953-H431-Final/schema/sca-binding-jms-1.1-csd05.xsd)


Version-Release number of selected component (if applicable):
FSW 6.0.0.GA + JBDS 7.1.0.GA + JBDS-IS 7.0.0.GA

How reproducible:
always

Steps to Reproduce:
1. Import a quickstart (e.g camel.-jms-binding) into JBDS
2. Maven > Update Maven Project
3. File > Restart
4. Maven > Update Maven Project

Workaround:
Delete all eclipse files such as .project, .classpath, .settings, clean the project and import it again.

Additional info:
This happens also with JBDS 7.1.1.GA + JBDS-IS 7.0.1.GA

Comment 1 Andrej Podhradsky 2014-04-10 14:54:58 UTC
Created attachment 884985 [details]
Project errors

Comment 2 Rob Cernich 2014-04-10 15:19:12 UTC
Hey Andrej,

This looks like the "Honour all schema locations" preference has not been disabled.  Could you please confirm this is the case?  If so, the simple workaround is to disable that setting in the workspace preferences.  This is disabled on import, so it might be an issue with the workspace state (e.g. preference setting isn't sticking or the cached problems are invalid, etc.).  Reference https://issues.jboss.org/browse/SWITCHYARD-1779.

Thanks in advance,
Rob

Comment 3 Andrej Podhradsky 2014-04-11 07:31:09 UTC
Hi Rob, you are right. I totally forgot about this option :(

When I import a switchayrd project the option is disabled, but after restarting the JBDS the option is enabled => a minor bug, wdyt?

Comment 4 Rob Cernich 2014-04-11 13:16:41 UTC
Hey Andrej, does the setting "stick" if you disable it manually?  I'm wondering if this isn't getting saved back to the workspace or if something is reenabling it on startup.  I don't know why this would be reverting.  Thanks in advance.

Comment 5 Andrej Podhradsky 2014-04-11 13:58:57 UTC
If I disable the option manually, it is disabled also after restarting

Comment 6 Rob Cernich 2014-04-11 16:43:04 UTC
Hmm.  I wonder what is causing this all of a sudden.  I wonder if there's an exception or something that is occurring during shutdown which is causing the workspace settings to not get persisted.  I would be curious if this persists if you wait longer than the workspace save interval (preferences, General->Workspace).

Comment 7 JBoss JIRA Server 2015-01-06 14:29:04 UTC
Andrej Podhradsky <apodhrad> updated the status of jira SWITCHYARD-2046 to Closed

Comment 8 Andrej Podhradsky 2015-01-06 14:29:47 UTC
Verified with JBDS 8.0.1.GA + JBDSIS 8.0.0.Beta2a (contains SwitchYard 2.0.0.v20141219-2309-H527-Beta1)

Comment 11 Andrej Podhradsky 2016-01-06 11:55:18 UTC
Fixed and included in the latest release.