Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gemini » [Gemini DBAccess] Error while shutdown
[Gemini DBAccess] Error while shutdown [message #1153936] Thu, 24 October 2013 23:48 Go to next message
Ralf Heydenreich is currently offline Ralf HeydenreichFriend
Messages: 132
Registered: July 2009
Senior Member
Hi all,
I'm using DBAccess for my persistence. I've an RCP application which
shows some values from database. These values I could change and save.
But if I shutdown the application it complaints about a problematic
reference:

========== [ Start Log ] =============================================
!ENTRY org.eclipse.gemini.ext.di 4 0 2013-10-25 01:37:52.945
!MESSAGE [SCR] Exception occurred while unbinding reference
Reference[name = EntityManagerFactory, interface =
javax.persistence.EntityManagerFactory, policy = dynamic, cardinality =
0..n, target = null, bind = bindEntityManagerFactory, unbind =
unbindEntityManagerFactory]
Details:
Problematic reference = Reference[name = EntityManagerFactory,
interface = javax.persistence.EntityManagerFactory, policy = dynamic,
cardinality = 0..n, target = null, bind = bindEntityManagerFactory,
unbind = unbindEntityManagerFactory]
of service component = org.eclipse.gemini.ext.di.em
component implementation class =
org.eclipse.gemini.ext.di.impl.GeminiEMSupplier
located in bundle with symbolic name = org.eclipse.gemini.ext.di
bundle location =
reference:file:/D:/eclipse42/workspace/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.gemini.ext.di_1.1.2.201308292016.jar
!STACK 0
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.equinox.internal.ds.model.ComponentReference.unbind(ComponentReference.java:476)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.unbindReference(ServiceComponentProp.java:617)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.unbind(ServiceComponentProp.java:262)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:388)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:102)
at
org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:366)
at
org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
at
org.eclipse.equinox.internal.ds.Resolver.disposeComponentConfigs(Resolver.java:724)
at
org.eclipse.equinox.internal.ds.Resolver.disableComponents(Resolver.java:700)
at
org.eclipse.equinox.internal.ds.SCRManager.stoppingBundle(SCRManager.java:554)
at
org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:233)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1568)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1499)
at
org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:506)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
at
org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
at
org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
at
org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:692)
at
org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:200)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: java.lang.NullPointerException
at
org.eclipse.e4.core.internal.di.osgi.ProviderHelper.findProvider(ProviderHelper.java:60)
at
org.eclipse.e4.core.internal.di.InjectorImpl.findExtendedSupplier(InjectorImpl.java:555)
at
org.eclipse.e4.core.internal.di.InjectorImpl.resolveArgs(InjectorImpl.java:452)
at
org.eclipse.e4.core.internal.di.InjectorImpl.resolveArguments(InjectorImpl.java:355)
at
org.eclipse.e4.core.internal.di.Requestor.resolveArguments(Requestor.java:128)
at
org.eclipse.gemini.ext.di.impl.GeminiEMFSupplier.updateRequestors(GeminiEMFSupplier.java:190)
at
org.eclipse.gemini.ext.di.impl.GeminiEMFSupplier.unbindEntityManagerFactory(GeminiEMFSupplier.java:222)
... 40 more
Root exception:
java.lang.NullPointerException
at
org.eclipse.e4.core.internal.di.osgi.ProviderHelper.findProvider(ProviderHelper.java:60)
at
org.eclipse.e4.core.internal.di.InjectorImpl.findExtendedSupplier(InjectorImpl.java:555)
at
org.eclipse.e4.core.internal.di.InjectorImpl.resolveArgs(InjectorImpl.java:452)
at
org.eclipse.e4.core.internal.di.InjectorImpl.resolveArguments(InjectorImpl.java:355)
at
org.eclipse.e4.core.internal.di.Requestor.resolveArguments(Requestor.java:128)
at
org.eclipse.gemini.ext.di.impl.GeminiEMFSupplier.updateRequestors(GeminiEMFSupplier.java:190)
at
org.eclipse.gemini.ext.di.impl.GeminiEMFSupplier.unbindEntityManagerFactory(GeminiEMFSupplier.java:222)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.equinox.internal.ds.model.ComponentReference.unbind(ComponentReference.java:476)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.unbindReference(ServiceComponentProp.java:617)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.unbind(ServiceComponentProp.java:262)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:388)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:102)
at
org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:366)
at
org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
at
org.eclipse.equinox.internal.ds.Resolver.disposeComponentConfigs(Resolver.java:724)
at
org.eclipse.equinox.internal.ds.Resolver.disableComponents(Resolver.java:700)
at
org.eclipse.equinox.internal.ds.SCRManager.stoppingBundle(SCRManager.java:554)
at
org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:233)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1568)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1499)
at
org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:506)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
at
org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
at
org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
at
org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:692)
at
org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:200)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

========== [ EndLog ] =============================================


Does anyone have an idea hat's wrong with this?

TIA,
Ralf.
Re: [Gemini DBAccess] Error while shutdown [message #1153962 is a reply to message #1153936] Fri, 25 October 2013 00:10 Go to previous message
Ralf Heydenreich is currently offline Ralf HeydenreichFriend
Messages: 132
Registered: July 2009
Senior Member
Am 25.10.2013 01:48, schrieb Ralf Heydenreich:> Hi all,
> I'm using DBAccess for my persistence. I've an RCP application which
> shows some values from database. These values I could change and save.
> But if I shutdown the application it complaints about a problematic
> reference:
>
[...]

Problem solved by updating the org.eclipse.gemini.ext.di.emf package.

Ralf.
Previous Topic:Gemini JPA + Gemini Naming
Next Topic:[Gemini Blueprint] What jdk version to target in official builds
Goto Forum:
  


Current Time: Thu Dec 18 21:02:55 GMT 2014

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

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