Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMFForms] Dependency Injection fails on render of view
[EMFForms] Dependency Injection fails on render of view [message #1711400] Thu, 15 October 2015 15:21 Go to next message
Phil Wim is currently offline Phil WimFriend
Messages: 89
Registered: October 2013
Member
Hi there,

since eclipse mars.1 emfforms tooling does not allow to edit 1.5.1 view models anymore and migrated view models don't work with 1.5.1, i though it's a good idea finally update to 1.7.1.

Now i'm facing an injectionException
org.eclipse.e4.core.di.InjectionException: Could not find satisfiable constructor in org.eclipse.emf.ecp.view.internal.core.swt.renderer.ViewSWTRenderer
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:354)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:264)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
at org.eclipse.emfforms.spi.swt.core.di.EMFFormsDIRendererFactory.getRendererInstance(EMFFormsDIRendererFactory.java:156)
at org.eclipse.emfforms.internal.swt.core.EMFFormsRendererFactoryImpl.getRendererInstance(EMFFormsRendererFactoryImpl.java:102)
at org.eclipse.emf.ecp.view.internal.swt.ECPSWTViewRendererImpl.render(ECPSWTViewRendererImpl.java:91)


Any ideas on how to proceed?

Thanks in advance
Philippe

Re: [EMFForms] Dependency Injection fails on render of view [message #1711412 is a reply to message #1711400] Thu, 15 October 2015 17:31 Go to previous messageGo to next message
Phil Wim is currently offline Phil WimFriend
Messages: 89
Registered: October 2013
Member
As a side note, I haven't been using di before. Is EMFForms 1.7.1 suppose to work with Rap?

These di related mesages are also showing up:

!ENTRY org.eclipse.equinox.ds 1 0 2015-10-15 19:25:27.014
!MESSAGE Could not bind a reference of component EMFFormsViewService. The reference is: Reference[name = Provider, interface = org.eclipse.emf.ecp.view.spi.provider.IViewProvider, policy = dynamic, cardinality = 0..n, target = null, bind = addProvider, unbind = removeProvider]

!ENTRY org.eclipse.equinox.ds 1 0 2015-10-15 19:25:27.127
!MESSAGE Could not bind a reference of component org.eclipse.emfforms.swt.core.rendererfactory. The reference is: Reference[name = EMFFormsAdditionalRendererService, interface = org.eclipse.emfforms.spi.swt.core.EMFFormsAdditionalRendererService, policy = dynamic, cardinality = 0..n, target = null, bind = addEMFFormsAdditionalRendererService, unbind = removeEMFFormsAdditionalRendererService]
Re: [EMFForms] Dependency Injection fails on render of view [message #1711446 is a reply to message #1711412] Fri, 16 October 2015 08:04 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi,

we use DI internally to instanciate the renderers. Reason is that
renderers, espcially custom ones have a very divers set of parameters
they require, that is why we switched to DI here to simplify things.
Please see here for more details:

http://eclipsesource.com/blogs/tutorials/how-to-customize-emf-forms/#customizecontrols

In your case, it seems a required service is missing. Do you maintain a
feature based run config? Otherwise I think you are missing new bundles,
org.eclipse.emfforms.swt.core seems one of them.
We strongly recommend to use feature-based product and run configs, we
update our features if there are new bundles...

Best regards

Jonas


Am 15.10.2015 um 19:31 schrieb Phil Wim:
> As a side note, I haven't been using di before. Is EMFForms 1.7.1
> suppose to work with Rap?
>
> These di related mesages are also showing up:
>
> !ENTRY org.eclipse.equinox.ds 1 0 2015-10-15 19:25:27.014
> !MESSAGE Could not bind a reference of component EMFFormsViewService.
> The reference is: Reference[name = Provider, interface =
> org.eclipse.emf.ecp.view.spi.provider.IViewProvider, policy = dynamic,
> cardinality = 0..n, target = null, bind = addProvider, unbind =
> removeProvider]
>
> !ENTRY org.eclipse.equinox.ds 1 0 2015-10-15 19:25:27.127
> !MESSAGE Could not bind a reference of component
> org.eclipse.emfforms.swt.core.rendererfactory. The reference is:
> Reference[name = EMFFormsAdditionalRendererService, interface =
> org.eclipse.emfforms.spi.swt.core.EMFFormsAdditionalRendererService,
> policy = dynamic, cardinality = 0..n, target = null, bind =
> addEMFFormsAdditionalRendererService, unbind =
> removeEMFFormsAdditionalRendererService]
>


--
--

Jonas Helming

Get professional Eclipse developer support:

http://eclipsesource.com/en/services/developer-support/
Re: [EMFForms] Dependency Injection fails on render of view [message #1711566 is a reply to message #1711446] Sat, 17 October 2015 12:04 Go to previous messageGo to next message
Phil Wim is currently offline Phil WimFriend
Messages: 89
Registered: October 2013
Member
Hi Jonas,

thanks for your response. I was indeed missing equinox bundles. They where not added by "add required bundles".

I will also follow your advice to use feature based run configs.

Enjoy your weekend
Philippe
Re: [EMFForms] Dependency Injection fails on render of view [message #1714407 is a reply to message #1711566] Thu, 12 November 2015 12:57 Go to previous messageGo to next message
Peter Hermsdorf is currently offline Peter HermsdorfFriend
Messages: 25
Registered: August 2011
Junior Member
Hi,

I'm new to EMF Forms and I'm trying to integrate it into an existing RCP Application. I'm facing the same errors as decribed above:

!ENTRY org.eclipse.equinox.ds 4 0 2015-11-12 13:38:17.129
!MESSAGE Could not bind a reference of component EMFFormsViewService. The reference is: Reference[name = Provider, interface = org.eclipse.emf.ecp.view.spi.provider.IViewProvider, policy = dynamic, cardinality = 0..n, target = null, bind = addProvider, unbind = removeProvider]
ERROR 165 Could not bind a reference of component EMFFormsViewService. The reference is: Reference[name = Provider, interface = org.eclipse.emf.ecp.view.spi.provider.IViewProvider, policy = dynamic, cardinality = 0..n, target = null, bind = addProvider, unbind = removeProvider]

!ENTRY org.eclipse.equinox.ds 4 0 2015-11-12 13:38:17.130
!MESSAGE Could not bind a reference of component EMFFormsViewService. The reference is: Reference[name = Provider, interface = org.eclipse.emf.ecp.view.spi.provider.IViewProvider, policy = dynamic, cardinality = 0..n, target = null, bind = addProvider, unbind = removeProvider]

!ENTRY org.eclipse.emf.ecp.view.model 4 0 2015-11-12 13:38:21.966
!MESSAGE 
!STACK 0
org.eclipse.e4.core.di.InjectionException: Could not find satisfiable constructor in org.eclipse.emf.ecp.view.internal.core.swt.renderer.ViewSWTRenderer
	at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:354)
	at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:264)
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
	at org.eclipse.emfforms.spi.swt.core.di.EMFFormsDIRendererFactory.getRendererInstance(EMFFormsDIRendererFactory.java:156)
	at org.eclipse.emfforms.internal.swt.core.EMFFormsRendererFactoryImpl.getRendererInstance(EMFFormsRendererFactoryImpl.java:102)
	at org.eclipse.emf.ecp.view.internal.swt.ECPSWTViewRendererImpl.render(ECPSWTViewRendererImpl.java:91)
	at org.eclipse.emf.ecp.view.internal.swt.ECPSWTViewRendererImpl.render(ECPSWTViewRendererImpl.java:78)
	at org.eclipse.emf.ecp.view.internal.swt.ECPSWTViewRendererImpl.render(ECPSWTViewRendererImpl.java:65)


Since I'm integrating in an existing RCP I can't switch my launch configuration to "feature based". Below I have listed the bundles that i added for EMF Forms:

	workspace {
		"org.eclipse.emf.ecp.makeithappen.model.edit"
		"org.eclipse.emf.ecp.makeithappen.model"
	}
	target {
		"org.eclipse.emfforms.common"
		"org.eclipse.emfforms.core.services"
		"org.eclipse.emfforms.core.services.editsupport"
		"org.eclipse.emfforms.core.services.emfspecificservice"
		"org.eclipse.emfforms.localization"
		"org.eclipse.emf.ecp.ui.view.swt"
		"org.eclipse.emf.ecp.ui.view.swt.di"
		"org.eclipse.emfforms.swt.core"
		"org.eclipse.emfforms.swt.core.di"
		"org.eclipse.e4.core.contexts"
		"org.eclipse.e4.core.di"
		"org.eclipse.e4.core.di.annotations"
		"org.eclipse.emf.ecp.core"
		"org.eclipse.emf.ecp.ui"
		"org.eclipse.emf.ecp.ui.view"
		"org.eclipse.emf.ecp.view"
		"org.eclipse.emf.ecp.view.validation"
		"org.eclipse.emf.ecp.view.util.swt"
		"org.eclipse.emfforms.swt.core.plugin"
		"org.eclipse.emf.ecp.view.model"
		"org.eclipse.emf.ecp.view.model.common"
		"org.eclipse.emf.ecp.view.context"
		"org.eclipse.emf.ecp.view.core.swt"
		"org.eclipse.emf.ecp.view.template.model"
		"org.eclipse.emf.ecp.view.migrator"
		"org.eclipse.emf.ecp.view.model.provider.xmi"
		"org.eclipse.emf.ecp.view.model.provider.generator"
		"org.eclipse.emf.ecp.view.custom.model"
		"org.eclipse.emf.ecp.view.label.model"
		"org.eclipse.emf.ecp.view.rule.model"
		"org.eclipse.emf.ecp.view.stack.model"
		"org.eclipse.emf.ecp.view.table.model"
		"org.eclipse.emf.ecp.view.treemasterdetail.model"
		"org.eclipse.emf.ecp.view.treemasterdetail.ui.swt"
		"org.eclipse.emf.ecp.workspace.core"
		"org.eclipse.emfforms.core.services.emf"
		"org.eclipse.emf.ecp.ide.view.service"
		"org.eclipse.core.resources"
		"org.eclipse.emf.ecp.ui.view.editor.controls"
		"org.eclipse.emfforms.core.services.locale.default"
		"org.eclipse.emf.ecp.ide.util"
		"org.eclipse.emf.ecore.edit"
		"org.eclipse.net4j.util"
		"org.eclipse.emf.ecp.view.template.service"
		"org.eclipse.emf.ecp.common"
		"org.eclipse.emf.ecp.common.ui"
		"org.eclipse.emf.ecp.edit"
		"org.eclipse.emf.ecp.edit.swt"
		"org.eclipse.emf.edit"
		"org.eclipse.emf.edit.ui"
		"org.eclipse.emf.common"
		"org.eclipse.emf.common.ui"
		"org.eclipse.emf.ecore"
		"org.eclipse.emf.ecore.xmi"
		"org.eclipse.emf.databinding"
		"org.eclipse.emf.databinding.edit"
		"org.eclipse.ui.views"
	}


Besides that the RCP is based on Eclipse Juno (3.8.2). I needed to add some bundles from Mars to satisfy some dependencies (namely: org.eclipse.net4j.sdk.feature.group, org.eclipse.e4.core.contexts, org.eclipse.e4.core.di, org.eclipse.e4.core.di.annotations, org.eclipse.core.databinding.property).

I would appreciate any help on getting this run on Eclipse 3.

Thanks!

Greets, Peter
Re: [EMFForms] Dependency Injection fails on render of view [message #1714526 is a reply to message #1714407] Fri, 13 November 2015 12:07 Go to previous messageGo to next message
Eugen Neufeld is currently offline Eugen NeufeldFriend
Messages: 161
Registered: May 2015
Senior Member
Hi Peter,
Your run config looks ok.
You still need to add:
- org.eclipse.emfforms.core.services.databinding.featurepath
- org.eclipse.emfforms.view.model.localization

But those two missing bundles are not the problem.
Can you please set a breakpoint in
org.eclipse.emfforms.spi.swt.core.di.EMFFormsDIRendererFactory.getRendererInstance(EMFFormsDIRendererFactory.java:156)
and check whether vElement and viewModelContext in line 140 and 141 are not null.

Cheers,
Eugen


--
Eugen Neufeld

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [EMFForms] Dependency Injection fails on render of view [message #1714561 is a reply to message #1714526] Fri, 13 November 2015 15:03 Go to previous messageGo to next message
Peter Hermsdorf is currently offline Peter HermsdorfFriend
Messages: 25
Registered: August 2011
Junior Member
Hi Eugen,

both of these Objects are not Null. See Screenshot below

childContext.localValues has the following content:

Quote:

{org.eclipse.emf.ecp.view.spi.model.VElement=org.eclipse.emf.ecp.view.spi.model.impl.VViewImpl@b4ca64 (name: null, label: , visible: true, enabled: true, readonly: false) (ecorePath: null), org.eclipse.emf.ecp.view.spi.context.ViewModelContext=org.eclipse.emf.ecp.view.internal.context.ViewModelContextImpl@ae9d8d, org.eclipse.emf.ecp.view.spi.model.VView=org.eclipse.emf.ecp.view.spi.model.impl.VViewImpl@b4ca64 (name: null, label: , visible: true, enabled: true, readonly: false) (ecorePath: null), parentContext=OSGi context for bundle: org.eclipse.emfforms.swt.core.di}


Thanks for helping out!

Greets, Peter
Re: [EMFForms] Dependency Injection fails on render of view [message #1714585 is a reply to message #1714561] Fri, 13 November 2015 17:21 Go to previous messageGo to next message
Eugen Neufeld is currently offline Eugen NeufeldFriend
Messages: 161
Registered: May 2015
Senior Member
Hi Peter,
so there is a service missing.
Can you start your application with the osgi console and check whether
- org.eclipse.emfforms.spi.common.report.ReportService
- org.eclipse.emfforms.spi.swt.core.EMFFormsRendererFactory
- org.eclipse.emfforms.spi.core.services.databinding.EMFFormsDatabinding
- org.eclipse.emfforms.spi.common.locale.EMFFormsLocaleProvider
are running.

You can use the following command: services (objectclass=<myClass>)

In order to get the osgi console you need to add -console to the program arguments and also add equinox.console and probably felix.gogo* to your run config.

I hope this helps.

Cheers,
Eugen


--
Eugen Neufeld

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [EMFForms] Dependency Injection fails on render of view [message #1714709 is a reply to message #1714585] Mon, 16 November 2015 07:36 Go to previous messageGo to next message
Peter Hermsdorf is currently offline Peter HermsdorfFriend
Messages: 25
Registered: August 2011
Junior Member
Thanks for your answer.

But it seems like all services are registered:

osgi> services (objectclass=org.eclipse.emfforms.spi.common.report.ReportService)
{org.eclipse.emfforms.spi.common.report.ReportService}={component.name=org.eclipse.emfforms.internal.common.report.ReportServiceImpl, component.id=44, service.id=80}
  "Registered by bundle:" org.eclipse.emfforms.common_1.7.1.20150923-2258 [150]
  "No bundles using service."
osgi> services (objectclass=org.eclipse.emfforms.spi.swt.core.EMFFormsRendererFactory)
{org.eclipse.emfforms.spi.swt.core.EMFFormsRendererFactory}={component.name=org.eclipse.emfforms.swt.core.rendererfactory, component.id=53, service.id=96}
  "Registered by bundle:" org.eclipse.emfforms.swt.core_1.7.1.20150923-2258 [158]
  "No bundles using service."
osgi> services (objectclass=org.eclipse.emfforms.spi.core.services.databinding.EMFFormsDatabinding)
{org.eclipse.emfforms.spi.core.services.databinding.EMFFormsDatabinding, org.eclipse.emfforms.spi.core.services.databinding.emf.EMFFormsDatabindingEMF}={component.name=EMFFormsDatabinding, component.id=49, service.id=83}
  "Registered by bundle:" org.eclipse.emfforms.core.services.emf_1.7.1.20150923-2258 [154]
  "No bundles using service."
osgi> services (objectclass=org.eclipse.emfforms.spi.common.locale.EMFFormsLocaleProvider)
{org.eclipse.emfforms.spi.common.locale.EMFFormsLocaleProvider}={component.name=org.eclipse.emfforms.localization.default, component.id=51, service.id=93}
  "Registered by bundle:" org.eclipse.emfforms.core.services.locale.default_1.7.1.20150923-2258 [156]
  "No bundles using service."


From the debug output of my previous code, I think that not all services are in the provided context. And the services are not being bound: "No bundles using service"

Maybe a problem caused by not running on Eclipse 4? (but on the other hand "some" Objects are in the context ....)

Any Hint on where to go on?

Thank you very much for your help!

Greets, Peter

additional debug output:
osgi> ss
"Framework is launched."


id	State       Bundle
0	ACTIVE      org.eclipse.osgi_3.8.2.v20130124-134944
	            Fragments=213
1	ACTIVE      org.eclipse.equinox.simpleconfigurator_1.0.301.v20120914-163612
	            Fragments=203
2	STARTING    ag.ion.bion.workbench.office.editor.core_2.0.14
3	ACTIVE      ag.ion.noa_3.1.2.qualifier
	            Fragments=4
4	RESOLVED    ag.ion.noa.patch_4.2.1549.qualifier
	            Master=3
5	STARTING    ag.ion.noa4e.ui_2.0.14
	            Fragments=6
6	RESOLVED    ag.ion.noa4e.ui.nl1_2.0.14
	            Master=5
7	RESOLVED    ch.qos.logback.classic_1.0.11
	            Fragments=30, 31
8	RESOLVED    ch.qos.logback.core_1.0.11
9	RESOLVED    com.eclipsesource.jaxrs.jersey-all_2.10.1.SR1
<SNIP Application bundles/>
48	RESOLVED    com.google.gson_2.2.4
49	STARTING    com.ibm.icu_4.4.2.v20110823
50	RESOLVED    javax.mail_1.4.5
51	RESOLVED    jcl.over.slf4j_1.7.5
52	RESOLVED    jul.to.slf4j_1.7.5
53	RESOLVED    org.apache.commons.codec_1.6.0.v201305230611
54	RESOLVED    org.apache.commons.codec_1.3.0.v201101211617
55	RESOLVED    org.apache.commons.email_1.2.0
56	RESOLVED    org.apache.commons.httpclient_3.1.0.v201012070820
57	RESOLVED    org.apache.commons.io_2.0.1.v201105210651
58	RESOLVED    org.apache.commons.lang_2.4.0.v201005080502
59	RESOLVED    org.apache.commons.lang3_3.1.0
60	ACTIVE      org.apache.felix.gogo.command_0.8.0.v201108120515
61	ACTIVE      org.apache.felix.gogo.runtime_0.8.0.v201108120515
62	ACTIVE      org.apache.felix.gogo.shell_0.8.0.v201110170705
63	RESOLVED    org.eclipse.core.commands_3.6.1.v20120912-135020
	            Fragments=64
64	RESOLVED    org.eclipse.core.commands.nl_de_3.7.0.v20130724081219
	            Master=63
65	ACTIVE      org.eclipse.core.contenttype_3.4.200.v20120523-2004
	            Fragments=66
66	RESOLVED    org.eclipse.core.contenttype.nl_de_3.7.0.v20130724081219
	            Master=65
67	STARTING    org.eclipse.core.databinding_1.4.1.v20120912-135020
	            Fragments=68
68	RESOLVED    org.eclipse.core.databinding.nl_de_3.7.0.v20130724081219
	            Master=67
69	ACTIVE      org.eclipse.core.databinding.observable_1.4.1.v20120521-2332
	            Fragments=70
70	RESOLVED    org.eclipse.core.databinding.observable.nl_de_3.7.0.v20130724081219
	            Master=69
71	STARTING    org.eclipse.core.databinding.property_1.5.0.v20150422-0725
	            Fragments=72
72	RESOLVED    org.eclipse.core.databinding.property.nl_de_3.7.0.v20130724081219
	            Master=71
73	ACTIVE      org.eclipse.core.expressions_3.4.400.v20120523-2004
	            Fragments=74
74	RESOLVED    org.eclipse.core.expressions.nl_de_3.7.0.v20130724081219
	            Master=73
75	STARTING    org.eclipse.core.filesystem_1.3.200.v20130115-145044
	            Fragments=76
76	RESOLVED    org.eclipse.core.filesystem.nl_de_3.7.0.v20130724081219
	            Master=75
77	ACTIVE      org.eclipse.core.jobs_3.5.200.v20120521-2346
	            Fragments=78
78	RESOLVED    org.eclipse.core.jobs.nl_de_3.7.0.v20130724081219
	            Master=77
79	STARTING    org.eclipse.core.net_1.2.200.v20120914-093638
	            Fragments=80
80	RESOLVED    org.eclipse.core.net.nl_de_3.7.0.v20130724081219
	            Master=79
81	STARTING    org.eclipse.core.resources_3.8.1.v20121114-124432
82	ACTIVE      org.eclipse.core.runtime_3.8.0.v20120521-2346
	            Fragments=86
83	STARTING    org.eclipse.core.runtime.compatibility.auth_3.2.300.v20120523-2004
	            Fragments=84
84	RESOLVED    org.eclipse.core.runtime.compatibility.auth.nl_de_3.7.0.v20130724081219
	            Master=83
85	RESOLVED    org.eclipse.core.runtime.compatibility.registry_3.5.100.v20120521-2346
	            Master=199
86	RESOLVED    org.eclipse.core.runtime.nl_de_3.7.0.v20130724081219
	            Master=82
87	STARTING    org.eclipse.e4.core.contexts_1.4.0.v20150828-0818
88	STARTING    org.eclipse.e4.core.di_1.5.0.v20150421-2214
89	RESOLVED    org.eclipse.e4.core.di.annotations_1.4.0.v20150528-1451
90	ACTIVE      org.eclipse.ecf_3.4.0.v20150306-2024
	            Fragments=97
91	STARTING    org.eclipse.ecf.console_1.0.0.v20150306-2024
92	ACTIVE      org.eclipse.ecf.discovery_5.0.0.v20150306-2024
93	ACTIVE      org.eclipse.ecf.filetransfer_5.0.0.v20150306-2024
	            Fragments=94
94	RESOLVED    org.eclipse.ecf.filetransfer.nl_de_3.7.0.v20130724081219
	            Master=93
95	ACTIVE      org.eclipse.ecf.identity_3.4.0.v20150306-2024
	            Fragments=96
96	RESOLVED    org.eclipse.ecf.identity.nl_de_3.7.0.v20130724081219
	            Master=95
97	RESOLVED    org.eclipse.ecf.nl_de_3.7.0.v20130724081219
	            Master=90
98	ACTIVE      org.eclipse.ecf.osgi.services.distribution_2.1.0.v20150306-2024
99	ACTIVE      org.eclipse.ecf.osgi.services.remoteserviceadmin_4.2.0.v20150306-2024
100	ACTIVE      org.eclipse.ecf.osgi.services.remoteserviceadmin.proxy_1.0.0.v20150306-2024
101	ACTIVE      org.eclipse.ecf.provider_4.5.0.v20150306-2024
102	ACTIVE      org.eclipse.ecf.provider.filetransfer_3.2.200.v20150306-2024
	            Fragments=104
103	ACTIVE      org.eclipse.ecf.provider.filetransfer.httpclient_4.0.200.v20120610-1946
104	RESOLVED    org.eclipse.ecf.provider.filetransfer.nl_de_3.7.0.v20130724081219
	            Master=102
105	ACTIVE      org.eclipse.ecf.provider.remoteservice_4.1.0.v20150306-2024
106	ACTIVE      org.eclipse.ecf.remoteservice_8.5.0.v20150306-2024
107	ACTIVE      org.eclipse.ecf.remoteservice.asyncproxy_1.0.0.v20140410-1838
108	ACTIVE      org.eclipse.ecf.sharedobject_2.5.0.v20150306-2024
109	STARTING    org.eclipse.emf.common_2.11.0.v20150512-0501
110	STARTING    org.eclipse.emf.common.ui_2.10.0.v20150601-0402
111	STARTING    org.eclipse.emf.databinding_1.3.0.v20150601-0402
112	STARTING    org.eclipse.emf.databinding.edit_1.3.0.v20150601-0402
113	STARTING    org.eclipse.emf.ecore_2.11.0.v20150512-0501
114	STARTING    org.eclipse.emf.ecore.edit_2.9.0.v20150601-0402
115	STARTING    org.eclipse.emf.ecore.xmi_2.11.0.v20150512-0501
116	STARTING    org.eclipse.emf.ecp.common_1.7.1.20150923-2258
117	STARTING    org.eclipse.emf.ecp.common.ui_1.7.1.20150923-2258
118	STARTING    org.eclipse.emf.ecp.core_1.7.1.20150923-2258
119	STARTING    org.eclipse.emf.ecp.edit_1.7.1.20150923-2258
120	STARTING    org.eclipse.emf.ecp.edit.swt_1.7.1.20150923-2258
121	STARTING    org.eclipse.emf.ecp.ide.util_1.7.1.20150923-2258
122	STARTING    org.eclipse.emf.ecp.ide.view.service_1.7.1.20150923-2258
123	STARTING    org.eclipse.emf.ecp.makeithappen.model_1.6.1.qualifier
124	STARTING    org.eclipse.emf.ecp.makeithappen.model.edit_1.6.1.qualifier
125	STARTING    org.eclipse.emf.ecp.ui_1.7.1.20150923-2258
126	STARTING    org.eclipse.emf.ecp.ui.view_1.7.1.20150923-2258
127	STARTING    org.eclipse.emf.ecp.ui.view.editor.controls_1.7.1.20150923-2258
128	STARTING    org.eclipse.emf.ecp.ui.view.swt_1.7.1.20150923-2258
129	STARTING    org.eclipse.emf.ecp.view.context_1.7.1.20150923-2258
130	STARTING    org.eclipse.emf.ecp.view.core.swt_1.7.1.20150923-2258
131	STARTING    org.eclipse.emf.ecp.view.custom.model_1.7.1.20150923-2258
132	STARTING    org.eclipse.emf.ecp.view.label.model_1.7.1.20150923-2258
133	RESOLVED    org.eclipse.emf.ecp.view.migrator_1.7.1.20150923-2258
134	STARTING    org.eclipse.emf.ecp.view.model_1.7.1.20150923-2258
135	STARTING    org.eclipse.emf.ecp.view.model.common_1.7.1.20150923-2258
136	STARTING    org.eclipse.emf.ecp.view.model.provider.generator_1.7.1.20150923-2258
137	STARTING    org.eclipse.emf.ecp.view.model.provider.xmi_1.7.1.20150923-2258
138	STARTING    org.eclipse.emf.ecp.view.rule.model_1.7.1.20150923-2258
139	STARTING    org.eclipse.emf.ecp.view.stack.model_1.7.1.20150923-2258
140	STARTING    org.eclipse.emf.ecp.view.table.model_1.7.1.20150923-2258
141	STARTING    org.eclipse.emf.ecp.view.template.model_1.7.1.20150923-2258
142	STARTING    org.eclipse.emf.ecp.view.template.service_1.7.1.20150923-2258
143	STARTING    org.eclipse.emf.ecp.view.treemasterdetail.model_1.7.1.20150923-2258
144	STARTING    org.eclipse.emf.ecp.view.treemasterdetail.ui.swt_1.7.1.20150923-2258
145	STARTING    org.eclipse.emf.ecp.view.util.swt_1.7.1.20150923-2258
146	STARTING    org.eclipse.emf.ecp.view.validation_1.7.1.20150923-2258
147	STARTING    org.eclipse.emf.ecp.workspace.core_1.7.1.20150923-2258
148	STARTING    org.eclipse.emf.edit_2.11.0.v20150601-0402
149	STARTING    org.eclipse.emf.edit.ui_2.11.0.v20150601-0402
150	STARTING    org.eclipse.emfforms.common_1.7.1.20150923-2258
151	STARTING    org.eclipse.emfforms.core.services_1.7.1.20150923-2258
152	STARTING    org.eclipse.emfforms.core.services.databinding.featurepath_1.7.1.20150923-2258
153	STARTING    org.eclipse.emfforms.core.services.editsupport_1.7.1.20150923-2258
154	STARTING    org.eclipse.emfforms.core.services.emf_1.7.1.20150923-2258
155	STARTING    org.eclipse.emfforms.core.services.emfspecificservice_1.7.1.20150923-2258
156	STARTING    org.eclipse.emfforms.core.services.locale.default_1.7.1.20150923-2258
157	STARTING    org.eclipse.emfforms.localization_1.7.1.20150923-2258
158	STARTING    org.eclipse.emfforms.swt.core_1.7.1.20150923-2258
159	STARTING    org.eclipse.emfforms.swt.core.di_1.7.1.20150923-2258
160	STARTING    org.eclipse.emfforms.swt.core.plugin_1.7.1.20150923-2258
161	STARTING    org.eclipse.emfforms.view.model.localization_1.7.1.20150923-2258
162	ACTIVE      org.eclipse.equinox.app_1.3.100.v20120522-1841
	            Fragments=163
163	RESOLVED    org.eclipse.equinox.app.nl_de_3.7.0.v20130724081219
	            Master=162
164	ACTIVE      org.eclipse.equinox.common_3.6.100.v20120522-1841
	            Fragments=165
165	RESOLVED    org.eclipse.equinox.common.nl_de_3.7.0.v20130724081219
	            Master=164
166	ACTIVE      org.eclipse.equinox.concurrent_1.0.300.v20120912-130548
167	ACTIVE      org.eclipse.equinox.console_1.0.0.v20120522-1841
168	ACTIVE      org.eclipse.equinox.ds_1.4.1.v20120926-201320
	            Fragments=169
169	RESOLVED    org.eclipse.equinox.ds.nl_de_3.7.0.v20130724081219
	            Master=168
170	ACTIVE      org.eclipse.equinox.event_1.2.200.v20120522-2049
171	RESOLVED    org.eclipse.equinox.launcher_1.3.0.v20120522-1813
	            Fragments=172
172	RESOLVED    org.eclipse.equinox.launcher.nl_de_3.7.0.v20130724081219
	            Master=171
173	STARTING    org.eclipse.equinox.p2.artifact.repository_1.1.200.v20120430-1959
	            Fragments=174
174	RESOLVED    org.eclipse.equinox.p2.artifact.repository.nl_de_3.7.0.v20130724081219
	            Master=173
175	STARTING    org.eclipse.equinox.p2.console_1.0.300.v20120429-0125
	            Fragments=176
176	RESOLVED    org.eclipse.equinox.p2.console.nl_de_3.7.0.v20130724081219
	            Master=175
177	STARTING    org.eclipse.equinox.p2.core_2.2.0.v20120430-0525
	            Fragments=178
178	RESOLVED    org.eclipse.equinox.p2.core.nl_de_3.7.0.v20130724081219
	            Master=177
179	STARTING    org.eclipse.equinox.p2.director_2.2.0.v20120524-0542
	            Fragments=180
180	RESOLVED    org.eclipse.equinox.p2.director.nl_de_3.7.0.v20130724081219
	            Master=179
181	STARTING    org.eclipse.equinox.p2.engine_2.2.0.v20130121-021919
	            Fragments=182
182	RESOLVED    org.eclipse.equinox.p2.engine.nl_de_3.7.0.v20130724081219
	            Master=181
183	STARTING    org.eclipse.equinox.p2.garbagecollector_1.0.200.v20110808-1657
	            Fragments=184
184	RESOLVED    org.eclipse.equinox.p2.garbagecollector.nl_de_3.7.0.v20130724081219
	            Master=183
185	RESOLVED    org.eclipse.equinox.p2.jarprocessor_1.0.200.v20110808-1657
	            Fragments=186
186	RESOLVED    org.eclipse.equinox.p2.jarprocessor.nl_de_3.7.0.v20130724081219
	            Master=185
187	STARTING    org.eclipse.equinox.p2.metadata_2.1.0.v20120430-2001
	            Fragments=188
188	RESOLVED    org.eclipse.equinox.p2.metadata.nl_de_3.7.0.v20130724081219
	            Master=187
189	STARTING    org.eclipse.equinox.p2.metadata.repository_1.2.100.v20120524-1717
	            Fragments=190
190	RESOLVED    org.eclipse.equinox.p2.metadata.repository.nl_de_3.7.0.v20130724081219
	            Master=189
191	STARTING    org.eclipse.equinox.p2.operations_2.2.0.v20130119-010614
	            Fragments=192
192	RESOLVED    org.eclipse.equinox.p2.operations.nl_de_3.7.0.v20130724081219
	            Master=191
193	STARTING    org.eclipse.equinox.p2.repository_2.2.0.v20120524-1945
	            Fragments=194
194	RESOLVED    org.eclipse.equinox.p2.repository.nl_de_3.7.0.v20130724081219
	            Master=193
195	STARTING    org.eclipse.equinox.p2.transport.ecf_1.0.100.v20120913-155635
	            Fragments=196
196	RESOLVED    org.eclipse.equinox.p2.transport.ecf.nl_de_3.7.0.v20130724081219
	            Master=195
197	ACTIVE      org.eclipse.equinox.preferences_3.5.1.v20121031-182809
	            Fragments=198
198	RESOLVED    org.eclipse.equinox.preferences.nl_de_3.7.0.v20130724081219
	            Master=197
199	ACTIVE      org.eclipse.equinox.registry_3.5.200.v20120522-1841
	            Fragments=85, 200
200	RESOLVED    org.eclipse.equinox.registry.nl_de_3.7.0.v20130724081219
	            Master=199
201	STARTING    org.eclipse.equinox.security_1.1.100.v20120522-1841
	            Fragments=202
202	RESOLVED    org.eclipse.equinox.security.nl_de_3.7.0.v20130724081219
	            Master=201
203	RESOLVED    org.eclipse.equinox.simpleconfigurator.nl_de_3.7.0.v20130724081219
	            Master=1
204	ACTIVE      org.eclipse.equinox.util_1.0.400.v20120917-192807
	            Fragments=205
205	RESOLVED    org.eclipse.equinox.util.nl_de_3.7.0.v20130724081219
	            Master=204
206	STARTING    org.eclipse.help_3.6.0.v20120912-134126
	            Fragments=207
207	RESOLVED    org.eclipse.help.nl_de_3.7.0.v20130724081219
	            Master=206
208	ACTIVE      org.eclipse.jface_3.8.0.v20120912-135020
	            Fragments=211
209	RESOLVED    org.eclipse.jface.databinding_1.6.0.v20120912-135020
	            Fragments=210
210	RESOLVED    org.eclipse.jface.databinding.nl_de_3.7.0.v20130724081219
	            Master=209
211	RESOLVED    org.eclipse.jface.nl_de_3.7.0.v20130724081219
	            Master=208
212	STARTING    org.eclipse.net4j.util_3.5.1.v20150820-0533
213	RESOLVED    org.eclipse.osgi.nl_de_3.7.0.v20130724081219
	            Master=0
214	RESOLVED    org.eclipse.osgi.services_3.3.100.v20120522-1822
	            Fragments=215
215	RESOLVED    org.eclipse.osgi.services.nl_de_3.7.0.v20130724081219
	            Master=214
216	ACTIVE      org.eclipse.osgi.services.remoteserviceadmin_1.6.0.v20150306-2024
217	RESOLVED    org.eclipse.osgi.util_3.2.300.v20120913-144807
	            Fragments=218
218	RESOLVED    org.eclipse.osgi.util.nl_de_3.7.0.v20130724081219
	            Master=217
219	RESOLVED    org.eclipse.swt_3.8.1.v3836b
	            Fragments=220, 221
220	RESOLVED    org.eclipse.swt.gtk.linux.x86_3.8.1.v3836b
	            Master=219
221	RESOLVED    org.eclipse.swt.nl_de_3.7.0.v20130724081219
	            Master=219
222	ACTIVE      org.eclipse.ui_3.8.2.v20121018-234953
	            Fragments=229
223	STARTING    org.eclipse.ui.browser_3.4.1.v20120912-135036
	            Fragments=224
224	RESOLVED    org.eclipse.ui.browser.nl_de_3.7.0.v20130724081219
	            Master=223
225	STARTING    org.eclipse.ui.forms_3.5.200.v20120521-2332
	            Fragments=226
226	RESOLVED    org.eclipse.ui.forms.nl_de_3.7.0.v20130724081219
	            Master=225
227	ACTIVE      org.eclipse.ui.navigator_3.5.200.v20120523-1956
	            Fragments=228
228	RESOLVED    org.eclipse.ui.navigator.nl_de_3.7.0.v20130724081219
	            Master=227
229	RESOLVED    org.eclipse.ui.nl_de_3.7.0.v20130724081219
	            Master=222
230	STARTING    org.eclipse.ui.views_3.6.100.v20120521-2332
231	ACTIVE      org.eclipse.ui.workbench_3.8.2.v20121128-133708
	            Fragments=232
232	RESOLVED    org.eclipse.ui.workbench.nl_de_3.7.0.v20130724081219
	            Master=231
233	ACTIVE      org.eclipse.update.configurator_3.3.200.v20120912-142556
	            Fragments=234
234	RESOLVED    org.eclipse.update.configurator.nl_de_3.7.0.v20130724081219
	            Master=233
235	STARTING    org.eclipse.update.core_3.2.600.v20130104-035835
	            Fragments=236
236	RESOLVED    org.eclipse.update.core.nl_de_3.7.0.v20130724081219
	            Master=235
237	STARTING    org.eclipse.update.ui_3.3.0.v20120912-142556
	            Fragments=238
238	RESOLVED    org.eclipse.update.ui.nl_de_3.7.0.v20130724081219
	            Master=237
239	RESOLVED    org.sat4j.core_2.3.0.v20110329
240	RESOLVED    org.sat4j.pb_2.3.0.v20110329
241	ACTIVE      org.slf4j.osgi-over-slf4j_1.7.5
242	RESOLVED    org.swtchart_0.7.0.v201201201914
243	RESOLVED    slf4j.api_1.7.5
Re: [EMFForms] Dependency Injection fails on render of view [message #1714746 is a reply to message #1714709] Mon, 16 November 2015 11:44 Go to previous messageGo to next message
Eugen Neufeld is currently offline Eugen NeufeldFriend
Messages: 161
Registered: May 2015
Senior Member
Hi,
can you try add the javax.inject bundle explicitly to the run config?

Cheers,
Eugen


--
Eugen Neufeld

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [EMFForms] Dependency Injection fails on render of view [message #1714748 is a reply to message #1714746] Mon, 16 November 2015 11:52 Go to previous messageGo to next message
Peter Hermsdorf is currently offline Peter HermsdorfFriend
Messages: 25
Registered: August 2011
Junior Member
osgi> ss inject
"Framework is launched."


id	State       Bundle
50	RESOLVED    javax.inject_1.0.0.v20091030
osgi> diag 50
reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/javax.inject_1.0.0.v20091030.jar [50]
  No unresolved constraints.


Still same error: Quote:
org.eclipse.e4.core.di.InjectionException: Could not find satisfiable constructor in org.eclipse.emf.ecp.view.internal.core.swt.renderer.ViewSWTRenderer
Re: [EMFForms] Dependency Injection fails on render of view [message #1714764 is a reply to message #1714748] Mon, 16 November 2015 13:50 Go to previous messageGo to next message
Eugen Neufeld is currently offline Eugen NeufeldFriend
Messages: 161
Registered: May 2015
Senior Member
Hi,
we found an error on our side. We are missing an explicit dependency to javax.inject. This leads to broken run configurations in some cases.
We will create a 1.7.2 hotfix release today.

In the mean time you can try to add this to the list of vm arguments:
-Dorg.osgi.framework.system.packages=javax.crypto,javax.crypto.spec,org.xml.sax,javax.xml.parsers

If you have dependencies to more bundles like this, just add them to this list.

Cheers,
Eugen


--
Eugen Neufeld

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [EMFForms] Dependency Injection fails on render of view [message #1714766 is a reply to message #1714764] Mon, 16 November 2015 14:26 Go to previous messageGo to next message
Peter Hermsdorf is currently offline Peter HermsdorfFriend
Messages: 25
Registered: August 2011
Junior Member
Thanks for the feedback!

Adding the property to my launch configuration does not seems to work. It prevents the whole app from starting. The diag output from the failed start is something like this:

 Direct constraints which are unresolved:
    Missing required bundle org.eclipse.core.runtime_0.0.0.
    Missing required bundle org.eclipse.core.expressions_0.0.0.
    Missing required bundle org.eclipse.ui_0.0.0.
    Missing required bundle org.eclipse.ui.browser_0.0.0.
    Missing required bundle org.eclipse.ui.forms_0.0.0.
    Missing required bundle org.eclipse.ui.navigator_0.0.0.
    Missing required bundle ag.ion.noa4e.ui_2.0.14.
<Snip some bundles/>
  Leaf constraints in the dependency chain which are unresolved:
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/javax.mail_1.4.5.jar [51]
      Missing imported package javax.xml.transform.stream_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.p2.engine_2.2.0.v20130121-021919.jar [182]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/javax.mail_1.4.5.jar [51]
      Missing imported package javax.activation_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.security_1.1.100.v20120522-1841.jar [202]
      Missing imported package javax.security.auth.callback_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.p2.transport.ecf_1.0.100.v20120913-155635.jar [196]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.4)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.security_1.1.100.v20120522-1841.jar [202]
      Missing imported package javax.security.auth.spi_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.p2.director_2.2.0.v20120524-0542.jar [180]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.help_3.6.0.v20120912-134126.jar [207]
      Missing imported package javax.xml.transform_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/javax.mail_1.4.5.jar [51]
      Missing optionally imported package sun.security.util_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.apache.commons.email_1.2.0.jar [56]
      Missing imported package javax.activation_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.p2.garbagecollector_1.0.200.v20110808-1657.jar [184]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.ecf.provider.filetransfer_3.2.200.v20150306-2024.jar [103]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.1))(&(osgi.ee=JavaSE)(version=1.4)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.core.contenttype_3.4.200.v20120523-2004.jar [66]
      Missing imported package org.xml.sax.ext_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.p2.console_1.0.300.v20120429-0125.jar [176]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.jface_3.8.0.v20120912-135020.jar [209]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.p2.metadata.repository_1.2.100.v20120524-1717.jar [190]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.p2.artifact.repository_1.1.200.v20120430-1959.jar [174]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.security_1.1.100.v20120522-1841.jar [202]
      Missing imported package javax.security.auth_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.ui.forms_3.5.200.v20120521-2332.jar [226]
      Missing imported package org.w3c.dom_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/javax.mail_1.4.5.jar [51]
      Missing imported package javax.xml.transform_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.core.expressions_3.4.400.v20120523-2004.jar [74]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.ui_3.8.2.v20121018-234953.jar [223]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.help_3.6.0.v20120912-134126.jar [207]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.help_3.6.0.v20120912-134126.jar [207]
      Missing imported package org.xml.sax.helpers_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.help_3.6.0.v20120912-134126.jar [207]
      Missing imported package javax.xml.transform.dom_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/javax.mail_1.4.5.jar [51]
      Missing imported package javax.net.ssl_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.core.expressions_3.4.400.v20120523-2004.jar [74]
      Missing imported package org.w3c.dom_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.p2.operations_2.2.0.v20130119-010614.jar [192]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.core.contenttype_3.4.200.v20120523-2004.jar [66]
      Missing imported package org.xml.sax.helpers_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/javax.mail_1.4.5.jar [51]
      Missing imported package javax.net_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/javax.mail_1.4.5.jar [51]
      Missing imported package javax.security.auth.callback_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.app_1.3.100.v20120522-1841.jar [163]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=OSGi/Minimum)(version=1.2))(&(osgi.ee=CDC/Foundation)(version=1.1))(&(osgi.ee=JavaSE)(version=1.4)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.ecf.filetransfer_5.0.0.v20150306-2024.jar [94]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.1))(&(osgi.ee=JavaSE)(version=1.4)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.apache.commons.email_1.2.0.jar [56]
      Missing imported package javax.naming_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.help_3.6.0.v20120912-134126.jar [207]
      Missing imported package org.w3c.dom_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.help_3.6.0.v20120912-134126.jar [207]
      Missing imported package javax.xml.transform.stream_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.core.runtime_3.8.0.v20120521-2346.jar [83]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.security_1.1.100.v20120522-1841.jar [202]
      Missing imported package javax.security.auth.login_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/javax.mail_1.4.5.jar [51]
      Missing optionally imported package javax.security.sasl_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.ui.workbench_3.8.2.v20121128-133708.jar [232]
      Missing imported package org.w3c.dom_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.jface_3.8.0.v20120912-135020.jar [209]
      Missing imported package org.w3c.dom_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.jface.databinding_1.6.0.v20120912-135020.jar [210]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.p2.artifact.repository_1.1.200.v20120430-1959.jar [174]
      Missing imported package org.w3c.dom_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar [200]
      Missing imported package org.xml.sax.helpers_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/javax.mail_1.4.5.jar [51]
      Missing imported package javax.security.auth.x500_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.core.net_1.2.200.v20120914-093638.jar [80]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.p2.repository_2.2.0.v20120524-1945.jar [194]
      Missing imported package org.xml.sax.helpers_0.0.0.
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.p2.repository_2.2.0.v20120524-1945.jar [194]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar [200]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.ui.workbench_3.8.2.v20121128-133708.jar [232]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))".
    reference:file:/home/peter/workspace-v4.2/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.core.contenttype_3.4.200.v20120523-2004.jar [66]
      Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".


BTW: out ExecutionEnvironment is 1.7
When analyzing the target platform all the packages(javax.crypto,javax.crypto.spec,org.xml.sax,javax.xml.parsers) are listet as "provided by the JRE"

So I'll wait for the Hotfix release and will give that a shot.

Thanks you!

Greets Peter
Re: [EMFForms] Dependency Injection fails on render of view [message #1714767 is a reply to message #1714764] Mon, 16 November 2015 14:27 Go to previous messageGo to next message
Eugen Neufeld is currently offline Eugen NeufeldFriend
Messages: 161
Registered: May 2015
Senior Member
Hi,
one more thought.
Can you check whether you have a bundle which exports javax.inject ?

Cheers,
Eugen


--
Eugen Neufeld

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [EMFForms] Dependency Injection fails on render of view [message #1714768 is a reply to message #1714767] Mon, 16 November 2015 14:36 Go to previous messageGo to next message
Peter Hermsdorf is currently offline Peter HermsdorfFriend
Messages: 25
Registered: August 2011
Junior Member
Sure as described in one of my former replies: https://www.eclipse.org/forums/index.php?t=msg&th=1071223&goto=1714748&#msg_1714748

The bundel is called javax.inject and has Version 1.0.0.v20091030 and is from http://download.eclipse.org/tools/orbit/downloads/drops/R20140525021250/

Is that OK or do i need something newer?

Greets, Peter
Re: [EMFForms] Dependency Injection fails on render of view [message #1714773 is a reply to message #1714768] Mon, 16 November 2015 14:56 Go to previous messageGo to next message
Eugen Neufeld is currently offline Eugen NeufeldFriend
Messages: 161
Registered: May 2015
Senior Member
Hi,
no thats the correct one.
Then the hotfix release will solve your issue probably.

Otherwise you could still encounter this error.

Cheers,
Eugen


--
Eugen Neufeld

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [EMFForms] Dependency Injection fails on render of view [message #1714872 is a reply to message #1714773] Tue, 17 November 2015 11:58 Go to previous messageGo to next message
Peter Hermsdorf is currently offline Peter HermsdorfFriend
Messages: 25
Registered: August 2011
Junior Member
Any information when the fix will be available?

Greets, Peter
Re: [EMFForms] Dependency Injection fails on render of view [message #1714880 is a reply to message #1714872] Tue, 17 November 2015 12:52 Go to previous messageGo to next message
Eugen Neufeld is currently offline Eugen NeufeldFriend
Messages: 161
Registered: May 2015
Senior Member
Hi Peter,
I uploaded the release.

It will be announced shortly but you can use it already.

Cheers,
Eugen


--
Eugen Neufeld

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [EMFForms] Dependency Injection fails on render of view [message #1714895 is a reply to message #1714880] Tue, 17 November 2015 14:17 Go to previous message
Peter Hermsdorf is currently offline Peter HermsdorfFriend
Messages: 25
Registered: August 2011
Junior Member
Great, it works!

At first I had a new error:

java.lang.IllegalStateException: There must be exactly one LayoutProvider!
Found 0 providers.
	at org.eclipse.emf.ecp.view.spi.swt.layout.LayoutProviderHelper.checkProviderLength(LayoutProviderHelper.java:168) 


after browsing the code i found that i was missing the org.eclipse.emf.ecp.view.swt.layout bundle.

Thank you very much again for your help!

Greets, Peter
Previous Topic:[Edapt] Flatten operations
Next Topic:[EMF Forms] how to localize the built in controls (e.g. the Date Renderer)?
Goto Forum:
  


Current Time: Sun Jul 12 01:29:10 GMT 2020

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

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

Back to the top