Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Injector problems in deployed plugin
Injector problems in deployed plugin [message #1403009] Sat, 19 July 2014 18:46 Go to next message
David Callahan is currently offline David CallahanFriend
Messages: 2
Registered: July 2014
Junior Member
I am following a recipe that worked for me in the past but something seems to be misconfigured.

I create an update site project and add my DSL's sdk project as a feature. I build the site and the use that to install the features into a clean eclipse. The environment fails with a

"Failed to create injector for pnnl.ccsi.Prosser ExtensionFactory: pnnl.ccsi.ui.ProsserExecutableExtensionFactory"

notice and the associated error messages. I would appreciate any suggestions of where to explore for errors. If I just launch a child Eclipse to exercise the language and editor it all works fine.
Thanks
david
  • Attachment: error-log.txt
    (Size: 62.95KB, Downloaded 174 times)
Re: Injector problems in deployed plugin [message #1403025 is a reply to message #1403009] Sun, 20 July 2014 06:55 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 19/07/2014 21:31, David Callahan wrote:
> I am following a recipe that worked for me in the past but something seems to be misconfigured.
>
> I create an update site project and add my DSL's sdk project as a feature. I build the site and the use that to install the features into a clean eclipse. The environment fails with a
>
> "Failed to create injector for pnnl.ccsi.Prosser ExtensionFactory: pnnl.ccsi.ui.ProsserExecutableExtensionFactory"
>
> notice and the associated error messages. I would appreciate any suggestions of where to explore for errors. If I just launch a child Eclipse to exercise the language and editor it all works fine.
> Thanks
> david
>

Hi

at the end of the messages you can see that there's a

java.lang.ArrayIndexOutOfBoundsException: 3

if it works in your workbench but not in the deployed feature can it be
due to something that your language requires and you forgot to export
(i.e., it is not specified in the build.properties)?

There's also something concerning xtext codetemplates; does your DSL
tooling use codetemplates? If so, are you exporting the corresponding
xml file in the build.properties?

hope this helps
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: Injector problems in deployed plugin [message #1403038 is a reply to message #1403025] Sun, 20 July 2014 15:17 Go to previous messageGo to next message
David Callahan is currently offline David CallahanFriend
Messages: 2
Registered: July 2014
Junior Member
Thanks Lorenzo for taking a look.
This version of my tool compared to the previous successful deployments includes specialization of hover support, semantic highlighting and content assist but I did not make any changes to code templates. My changes include adding new Xtend classes (in new packages) and adding binding methods to the UiModule. Does there need to be some change in build or other configuration for these kinds of changes?
david
Re: Injector problems in deployed plugin [message #1403271 is a reply to message #1403038] Mon, 21 July 2014 08:03 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 20/07/2014 17:18, David Callahan wrote:
> Thanks Lorenzo for taking a look.
> This version of my tool compared to the previous successful deployments
> includes specialization of hover support, semantic highlighting and
> content assist but I did not make any changes to code templates. My
> changes include adding new Xtend classes (in new packages) and adding
> binding methods to the UiModule. Does there need to be some change in
> build or other configuration for these kinds of changes?
> david
>

Not that I'm aware of...

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Previous Topic:Testing tool for Xtext
Next Topic:3 DSLs, references inbetween and eProxies
Goto Forum:
  


Current Time: Thu Apr 18 10:33:35 GMT 2024

Powered by FUDForum. Page generated in 0.01889 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top