osate / osate2

Open Source AADL2 Tool Environment
http://osate.org
Eclipse Public License 2.0
36 stars 8 forks source link

Error in org.osate.imv.propertydecorations.threads #159

Closed Stachelbeck closed 11 years ago

Stachelbeck commented 11 years ago

I just updated my osate2 environment from the git:://github.com/osate/osate2-plugins.git and I get the following error in DispatchPropertyDecorationDelegate.java :

   private String getDispatchProtocol() {
          String retVal = null;
          EnumerationLiteral enumLiteral =  GetProperties.getDispatchProtocol(this.context);
          if(enumLiteral != null)
                 retVal = enumLiteral.getName();
          return retVal;
   }

Error Message : The type org.eclipse.core.runtime.IAdaptable cannot be resolved. It is indirectly referenced from required .class file.

Baseline:

eclipse-modeling-indigo-SR2-win32 Graphical Editing Framework Zest Visualization Toolkit SDK 1.3.0v20110425 XText 2.3.1v201208210947 git://github.com/osate/osate2-core.git (development branch as of 2013/01/24) git://github.com/osate/osate2-plugins.git (development branch as of 2013/01/24) git://github.com/osate/ErrorModelV2.git (development branch as of 2013/01/24)

juli1 commented 11 years ago

Hello,

Do you have a model example to reproduce the bug ?

Best,

Stachelbeck commented 11 years ago

Julien,

Sorry, I should have added to the bug report that this error occurs while trying to build the plugins (after downloading) and if I proceed to install these plugins the installation fails too.

Thanks,

Kenneth Stachelbeck

GTRI


From: Julien [notifications@github.com] Sent: Thursday, January 24, 2013 2:38 PM To: osate/osate2-core Cc: Stachelbeck, Kenneth Subject: Re: [osate2-core] Error in org.osate.imv.propertydecorations.threads (#159)

Hello,

Do you have a model example to reproduce the bug ?

Best,

— Reply to this email directly or view it on GitHubhttps://github.com/osate/osate2-core/issues/159#issuecomment-12669093.

juli1 commented 11 years ago

Can you try to update the sources and give it a try again ? We fixed a bug today that was causing everything to hang and thus, might solve you issue.

Thanks,

Stachelbeck commented 11 years ago

Julien,

Sorry. It did not solve it.

See attachment.

Thanks,

Kenneth Stachelbeck GTRI

From: Julien [mailto:notifications@github.com] Sent: Thursday, January 24, 2013 10:25 PM To: osate/osate2-core Cc: Stachelbeck, Kenneth Subject: Re: [osate2-core] Error in org.osate.imv.propertydecorations.threads (#159)

Can you try to update the sources and give it a try again ? We fixed a bug today that was causing everything to hang and thus, might solve you issue.

Thanks,

— Reply to this email directly or view it on GitHubhttps://github.com/osate/osate2-core/issues/159#issuecomment-12686468.

juli1 commented 11 years ago

Hi, Thanks for the feedback. Can you send me the model by email ? Also, can you try either on Juno or using the latest testing product available on http://aadl.info/aadl/osate/2.0/testing/products/ ?

Thanks again,

Stachelbeck commented 11 years ago

Hi,

I changed out Eclipse Indigo Modeling SR2 for Eclipse Juno Modeling SR1 and switching to Juno solved the problem that I reported. Apparently I must now move up to Juno.

Thanks for your time.

Kenneth Stachelbeck GTRI

From: Julien [mailto:notifications@github.com] Sent: Friday, January 25, 2013 7:50 AM To: osate/osate2-core Cc: Stachelbeck, Kenneth Subject: Re: [osate2-core] Error in org.osate.imv.propertydecorations.threads (#159)

Hi, Thanks for the feedback. Can you send me the model by email ? Also, can you try either on Juno or using the latest testing product available on http://aadl.info/aadl/osate/2.0/testing/products/ ?

Thanks again,

— Reply to this email directly or view it on GitHubhttps://github.com/osate/osate2-core/issues/159#issuecomment-12699506.

juli1 commented 11 years ago

Hi Kenneth,

Thanks so much for having taking time to investigate that issue, this really help to keep track of potential issue between the various configuration possibilities.

Best regards and have a nice week-end !

reteprelief commented 11 years ago

Hi Kenneth,

If you need to stay on Indigo for some reason, the new OSATE update still runs under Indigo. You just need to make sure you upgrade Xtext to 2.3.1. I have done that for running OSATE, but not for developing additional plug-ins yet.

Peter

From: Stachelbeck [mailto:notifications@github.com] Sent: Friday, January 25, 2013 6:33 AM To: osate/osate2-core Subject: Re: [osate2-core] Error in org.osate.imv.propertydecorations.threads (#159)

Hi,

I changed out Eclipse Indigo Modeling SR2 for Eclipse Juno Modeling SR1 and switching to Juno solved the problem that I reported. Apparently I must now move up to Juno.

Thanks for your time.

Kenneth Stachelbeck GTRI

From: Julien [mailto:notifications@github.com] Sent: Friday, January 25, 2013 7:50 AM To: osate/osate2-core Cc: Stachelbeck, Kenneth Subject: Re: [osate2-core] Error in org.osate.imv.propertydecorations.threads (#159)

Hi, Thanks for the feedback. Can you send me the model by email ? Also, can you try either on Juno or using the latest testing product available on http://aadl.info/aadl/osate/2.0/testing/products/ ?

Thanks again,

— Reply to this email directly or view it on GitHubhttps://github.com/osate/osate2-core/issues/159#issuecomment-12699506.

— Reply to this email directly or view it on GitHubhttps://github.com/osate/osate2-core/issues/159#issuecomment-12702808.

Stachelbeck commented 11 years ago

Peter,

I do not have to stay with Indigo but, what confusing right now is I was trying to upgrade to Osate2 core and Osate2 Plugins latest development branch on my Microsoft Window version of Indigo Modeling with SR2.

The error being claimed by Indigo was:

   private String getDispatchProtocol() {
          String retVal = null;
          EnumerationLiteral enumLiteral =  GetProperties.getDispatchProtocol(this.context);
          if(enumLiteral != null)
                 retVal = enumLiteral.getName(); (The type org.eclipse.core.runtime.IAdaptable cannot be resolved. It is indirectly referenced from required .class file)
          return retVal;
   }

Apparently the Windows version of Indigo that have is missing org.eclipse.core.runtime.IAdaptable so per Julian recommendations I tried Juno and it did not have this problem. Over the weekend I will try my Linux version of Indigo to see if it has the same problem or not.

Thanks,

Kenneth Stachelbeck GTRI

From: Peter Feiler [mailto:notifications@github.com] Sent: Friday, January 25, 2013 10:18 AM To: osate/osate2-core Cc: Stachelbeck, Kenneth Subject: Re: [osate2-core] Error in org.osate.imv.propertydecorations.threads (#159)

Hi Kenneth,

If you need to stay on Indigo for some reason, the new OSATE update still runs under Indigo. You just need to make sure you upgrade Xtext to 2.3.1. I have done that for running OSATE, but not for developing additional plug-ins yet.

Peter

From: Stachelbeck [mailto:notifications@github.com] Sent: Friday, January 25, 2013 6:33 AM To: osate/osate2-core Subject: Re: [osate2-core] Error in org.osate.imv.propertydecorations.threads (#159)

Hi,

I changed out Eclipse Indigo Modeling SR2 for Eclipse Juno Modeling SR1 and switching to Juno solved the problem that I reported. Apparently I must now move up to Juno.

Thanks for your time.

Kenneth Stachelbeck GTRI

From: Julien [mailto:notifications@github.com] Sent: Friday, January 25, 2013 7:50 AM To: osate/osate2-core Cc: Stachelbeck, Kenneth Subject: Re: [osate2-core] Error in org.osate.imv.propertydecorations.threads (#159)

Hi, Thanks for the feedback. Can you send me the model by email ? Also, can you try either on Juno or using the latest testing product available on http://aadl.info/aadl/osate/2.0/testing/products/ ?

Thanks again,

— Reply to this email directly or view it on GitHubhttps://github.com/osate/osate2-core/issues/159#issuecomment-12699506.

— Reply to this email directly or view it on GitHubhttps://github.com/osate/osate2-core/issues/159#issuecomment-12702808.

— Reply to this email directly or view it on GitHubhttps://github.com/osate/osate2-core/issues/159#issuecomment-12704727.

Stachelbeck commented 11 years ago

To all.

I had a previous copy of the development ostate2-plugins which did compile, build and install into Indigo Eclipse Modeling SR2 and I compared the org.osate.imv.propertydecorations in the previous development copy to the development copy I just downloaded and found a difference in its dependencies "org.eclipse.core.runtime (3.7.0)". When I added this back into the most recent development org.osate.imv.propertydecorations dependencies the error was corrected. I was then able to compile, build and install the most recent development copy into Indigo Eclipse Modeling SR2 and use it.

Thanks for your all's time. Have a great day.