Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: AW: [smila-dev] Problems with BinStorage

This morning the problem was gone (without doing anything special) after restarting my eclipse workbench.
It  reoccurred after another restart of my eclipse workbench.


I expect that the problem may be for the following situation
For example, there is bundle xalan 2.7.1 in eclipse/plugins and the second one 2.7.1 loaded from in EILF.extension/eclipse/plugins
they have the same main version number but different behavior.
I updated xerces/xalan in main eclipse/plugins storage and the problem was not occurred anymore.



So you've added xalan/xerces/serializer/resolver to EILF.extension.
What about the bundles xalan and xerces in trunk ? Are they obsolete ?

Whey are already removed from trunc.





Daniel.Stucky@xxxxxxxxxxx wrote:
I'm confused !
This morning the problem was gone (without doing anything special) after restarting my eclipse workbench.
It  reoccurred after another restart of my eclipse workbench.

So you've added xalan/xerces/serializer/resolver to EILF.extension.
What about the bundles xalan and xerces in trunk ? Are they obsolete ?

Bye,
Daniel


-----Ursprüngliche Nachricht-----
Von: smila-dev-bounces@xxxxxxxxxxx [mailto:smila-dev-
bounces@xxxxxxxxxxx] Im Auftrag von Ivan Churkin
Gesendet: Mittwoch, 1. Oktober 2008 12:36
An: Smila project developer mailing list
Betreff: Re: [smila-dev] Problems with BinStorage

Hi Daniel

I solved by removing from eclipse/plugins all verions of
xalan/xerces/serializer/resolver and replacing  it by last Orbit
bundles
(from EILF.extension).
And, bwt, on Dimitry computer everything was ok, without this
procedure.
Guess problem may be that there are different versions of xalan/xerces
bundles (with the same version number).

Sorry, that I did not inform.

--
Ivan

Daniel.Stucky@xxxxxxxxxxx wrote:
Hi,
I have a problem with the BinStorage. Does anybody has any idea
what's
the problem here ? See Stacktrace below.
I should note that I do NOT have a complete update from trunk, but I
updated BinStorage today. No change in the error, though.

Bye,
Daniel


DEBUG 64 [SCR] InstanceProcess.buildComponent(): building component :
fileconfigComponent
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
v
a:39)
	at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
r
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at

org.eclipse.equinox.internal.ds.model.ComponentReference.bind(Component
R
eference.java:341)
	at

org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReferenc
e
(ServiceComponentProp.java:370)
	at

org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bind(Service
C
omponentProp.java:183)DEBUG 64 [SCR]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ServiceComponentProp.activate():
name: :
fileconfigComponent
DEBUG 64 [SCR]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ServiceComponentProp.using bundle: :
org.eclipse.eilf.binstorage.impl
DEBUG 64 [SCR]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ServiceComponentProp.instance: :
org.eclipse.equinox.internal.ds.impl.ComponentInstanceImpl@1085e92
DEBUG 64 [SCR] getMethod() : activate
ERROR 64 [SCR] Error while trying to bind reference Reference[name =
binStorage, interface =
org.eclipse.eilf.binstorage.BinStorageService,
policy = static, cardinality = 1..1, target = null, bind =
setBinStorage, unbind = unsetBinStorage]
	Details:
	Problematic reference = Reference[name = binStorage, interface =
org.eclipse.eilf.binstorage.BinStorageService, policy = static,
cardinality = 1..1, target = null, bind = setBinStorage, unbind =
unsetBinStorage]
	of service component = Blackboard
	component implementation class =
org.eclipse.eilf.blackboard.impl.BlackboardServiceImpl
	located in bundle with symbolic name =
org.eclipse.eilf.blackboard
	bundle location =
initial@reference:file:../../works/smila/org.eclipse.eilf.blackboard/

	at

org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(Servic
e
ComponentProp.java:288)
	at

org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(Instance
P
rocess.java:578)
	at

org.eclipse.equinox.internal.ds.ServiceReg.getService(ServiceReg.java:5
0
)
	at

org.eclipse.osgi.framework.internal.core.ServiceUse$1.run(ServiceUse.ja
v
a:108)
	at java.security.AccessController.doPrivileged(Native Method)
	at

org.eclipse.osgi.framework.internal.core.ServiceUse.getService(ServiceU
s
e.java:106)
	at

org.eclipse.osgi.framework.internal.core.ServiceRegistrationImpl.getSer
v
ice(ServiceRegistrationImpl.java:345)
	at

org.eclipse.osgi.framework.internal.core.BundleContextImpl.getService(B
u
ndleContextImpl.java:884)
	at

org.eclipse.equinox.internal.ds.InstanceProcess.getService(InstanceProc
e
ss.java:640)
	at

org.eclipse.equinox.internal.ds.model.ComponentReference.getMethod(Comp
o
nentReference.java:110)
	at

org.eclipse.equinox.internal.ds.model.ComponentReference.bind(Component
R
eference.java:301)
	at

org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReferenc
e
(ServiceComponentProp.java:370)
	at

org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bind(Service
C
omponentProp.java:183)
	at

org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(Servic
e
ComponentProp.java:288)
	at

org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(Instance
P
rocess.java:578)
	at

org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(Instanc
e
Process.java:195)
	at

org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:317)
	at

org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.ja
v
a:213)
	at

org.eclipse.osgi.framework.internal.core.FilteredServiceListener.servic
e
Changed(FilteredServiceListener.java:94)
	at

org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEven
t
(BundleContextImpl.java:1224)
	at

org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventMan
a
ger.java:195)
	at

org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchron
o
us(ListenerQueue.java:141)
	at

org.eclipse.osgi.framework.internal.core.Framework.publishServiceEventP
r
ivileged(Framework.java:1603)
	at

org.eclipse.osgi.framework.internal.core.Framework.publishServiceEvent(
F
ramework.java:1578)
	at

org.eclipse.osgi.framework.internal.core.ServiceRegistrationImpl.<init>
(
ServiceRegistrationImpl.java:103)
	at

org.eclipse.osgi.framework.internal.core.BundleContextImpl.createServic
e
Registration(BundleContextImpl.java:657)
	at

org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerServ
i
ce(BundleContextImpl.java:609)
	at

org.eclipse.equinox.internal.ds.InstanceProcess.registerService(Instanc
e
Process.java:492)
	at

org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(Instanc
e
Process.java:246)
	at

org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:317)
	at

org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.ja
v
a:213)
	at

org.eclipse.osgi.framework.internal.core.FilteredServiceListener.servic
e
Changed(FilteredServiceListener.java:94)
	at

org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEven
t
(BundleContextImpl.java:1224)
	at

org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventMan
a
ger.java:195)
	at

org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchron
o
us(ListenerQueue.java:141)
	at

org.eclipse.osgi.framework.internal.core.Framework.publishServiceEventP
r
ivileged(Framework.java:1603)
	at

org.eclipse.osgi.framework.internal.core.Framework.publishServiceEvent(
F
ramework.java:1578)
	at

org.eclipse.osgi.framework.internal.core.ServiceRegistrationImpl.<init>
(
ServiceRegistrationImpl.java:103)
	at

org.eclipse.osgi.framework.internal.core.BundleContextImpl.createServic
e
Registration(BundleContextImpl.java:657)
	at

org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerServ
i
ce(BundleContextImpl.java:609)
	at

org.eclipse.equinox.internal.ds.InstanceProcess.registerService(Instanc
e
Process.java:492)
	at

org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(Instanc
e
Process.java:246)
	at

org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:317)
	at

org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.ja
v
a:213)
	at

org.eclipse.osgi.framework.internal.core.FilteredServiceListener.servic
e
Changed(FilteredServiceListener.java:94)
	at

org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEven
t
(BundleContextImpl.java:1224)
	at

org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventMan
a
ger.java:195)
	at

org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchron
o
us(ListenerQueue.java:141)
	at

org.eclipse.osgi.framework.internal.core.Framework.publishServiceEventP
r
ivileged(Framework.java:1603)
	at

org.eclipse.osgi.framework.internal.core.Framework.publishServiceEvent(
F
ramework.java:1578)
	at

org.eclipse.osgi.framework.internal.core.ServiceRegistrationImpl.<init>
(
ServiceRegistrationImpl.java:103)
	at

org.eclipse.osgi.framework.internal.core.BundleContextImpl.createServic
e
Registration(BundleContextImpl.java:657)
	at

org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerServ
i
ce(BundleContextImpl.java:609)
	at

org.eclipse.equinox.internal.ds.InstanceProcess.registerService(Instanc
e
Process.java:492)
	at

org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(Instanc
e
Process.java:246)
	at

org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.j
a
va:443)
	at

org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java
:
187)
	at

org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:
6
60)
	at

org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManage
r
.java:627)
	at
org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
	at

org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Exec
u
tor.java:80)
Caused by: java.lang.NullPointerException
	at

org.eclipse.osgi.framework.internal.core.BundleContextImpl.getService(B
u
ndleContextImpl.java:880)
	at

org.eclipse.eilf.binstorage.impl.BinStorageServiceImpl.getStorageFileCo
n
tentGeneric(BinStorageServiceImpl.java:152)
	at

org.eclipse.eilf.binstorage.impl.BinStorageServiceImpl.getStorageFileCo
n
tent(BinStorageServiceImpl.java:207)
	at

org.eclipse.eilf.blackboard.impl.BlackboardServiceImpl.setBinStorage(Bl
a
ckboardServiceImpl.java:169)
	... 68 more
_______________________________________________
smila-dev mailing list
smila-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/smila-dev

_______________________________________________
smila-dev mailing list
smila-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/smila-dev
_______________________________________________
smila-dev mailing list
smila-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/smila-dev



Back to the top