Error starting Rifidi Emulator

All questions related to the usage of Rifidi Emulator

Moderators: Matt, kyle, Moderators

Post Reply
tavlima
Posts: 3
Joined: Fri Apr 25, 2014 2:32 pm

Error starting Rifidi Emulator

Post by tavlima » Fri Apr 25, 2014 2:37 pm

I'm not able to start the RifidiEmulator v1.6. Could someone help me here? The log and some additional information follows.

Code: Select all

thiago@thiagobox:~/Portable/RifidiEmulator-1.6$ ./emulator
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/thiago/Portable/RifidiEmulator-1.6/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520/eclipse_1206.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Registered org.rifidi.emulator.reader.alien
Registered org.rifidi.emulator.reader.awid
Registered org.rifidi.emulator.reader.epc
Registered org.rifidi.emulator.reader.llrp
Registered org.rifidi.emulator.reader.sirit local
Registered org.rifidi.emulator.reader.symbol
Registered org.rifidi.emulator.reader.thingmagic
Starting org.rifidi.ui.ide
Stopping org.rifidi.ui.ide
Shutting down org.rifidi.emulator.reader.llrp
Shutting down org.rifidi.emulator.reader.alien
Shutting down org.rifidi.emulator.reader.awid
Shutting down org.rifidi.emulator.reader.epc
Shutting down org.rifidi.emulator.reader.sirit
Shutting down org.rifidi.emulator.reader.symbol
Shutting down org.rifidi.emulator.reader.thingmagic
ERROR [SpringOsgiExtenderThread-1] (DependencyWaiterApplicationContextExecutor.java:432) - Unable to create application context for [org.rifidi.emulator], unsatisfied dependencies: none
java.lang.IllegalStateException: BundleContext is no longer valid
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.checkValid(BundleContextImpl.java:1003)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getServiceReferences(BundleContextImpl.java:572)
	at org.springframework.osgi.util.OsgiServiceReferenceUtils.getServiceReferences(OsgiServiceReferenceUtils.java:159)
	at org.springframework.osgi.util.OsgiServiceReferenceUtils.getServiceReferences(OsgiServiceReferenceUtils.java:195)
	at org.springframework.osgi.util.OsgiServiceReferenceUtils.isServicePresent(OsgiServiceReferenceUtils.java:327)
	at org.springframework.osgi.extender.internal.dependencies.startup.MandatoryServiceDependency.isServicePresent(MandatoryServiceDependency.java:82)
	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyServiceManager.doFindDependencies(DependencyServiceManager.java:287)
	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyServiceManager.access$700(DependencyServiceManager.java:40)
	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyServiceManager$1.run(DependencyServiceManager.java:213)
	at org.springframework.osgi.extender.internal.util.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:124)
	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyServiceManager.findServiceDependencies(DependencyServiceManager.java:209)
	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:248)
	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:175)
	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)
	at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:718)
	at java.lang.Thread.run(Thread.java:745)

Code: Select all

$ uname -a
Linux thiagobox 3.11.0-19-generic #33-Ubuntu SMP Tue Mar 11 18:48:34 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ java -version
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 13.10
Release:	13.10
Codename:	saucy

bppause
Posts: 434
Joined: Sat Oct 03, 2009 12:30 am
Organization: Pramari

Re: Error starting Rifidi Emulator

Post by bppause » Fri Apr 25, 2014 2:53 pm

Please try with java 32 bit instead

tavlima
Posts: 3
Joined: Fri Apr 25, 2014 2:32 pm

Re: Error starting Rifidi Emulator

Post by tavlima » Fri Apr 25, 2014 2:57 pm

Thanks for the answer, bppause. I'll definitely try it. Anyway, I'd like to know if there's any sort of guide to help me rebuild it to be x64 compatible. 99% of our systems are x64 and having to handle multiple arch JVM is not always a simple task.

Thanks in advance.

tavlima
Posts: 3
Joined: Fri Apr 25, 2014 2:32 pm

Re: Error starting Rifidi Emulator

Post by tavlima » Fri Apr 25, 2014 3:48 pm

Same error, anyway.

Code: Select all

thiago@thiagobox:~/Portable/RifidiEmulator-1.6$ java -version
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) Server VM (build 24.55-b03, mixed mode)

Code: Select all

thiago@thiagobox:~/Portable/RifidiEmulator-1.6$ ./emulator 
Registered org.rifidi.emulator.reader.alien
Registered org.rifidi.emulator.reader.awid
Registered org.rifidi.emulator.reader.epc
Registered org.rifidi.emulator.reader.llrp
Registered org.rifidi.emulator.reader.sirit local
Registered org.rifidi.emulator.reader.symbol
Registered org.rifidi.emulator.reader.thingmagic
Starting org.rifidi.ui.ide
Stopping org.rifidi.ui.ide
Shutting down org.rifidi.emulator.reader.llrp
Shutting down org.rifidi.emulator.reader.alien
Shutting down org.rifidi.emulator.reader.awid
Shutting down org.rifidi.emulator.reader.epc
Shutting down org.rifidi.emulator.reader.sirit
Shutting down org.rifidi.emulator.reader.symbol
Shutting down org.rifidi.emulator.reader.thingmagic
ERROR [SpringOsgiExtenderThread-1] (DependencyWaiterApplicationContextExecutor.java:432) - Unable to create application context for [org.rifidi.emulator], unsatisfied dependencies: none
java.lang.IllegalStateException: BundleContext is no longer valid
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.checkValid(BundleContextImpl.java:1003)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getServiceReferences(BundleContextImpl.java:572)
	at org.springframework.osgi.util.OsgiServiceReferenceUtils.getServiceReferences(OsgiServiceReferenceUtils.java:159)
	at org.springframework.osgi.util.OsgiServiceReferenceUtils.getServiceReferences(OsgiServiceReferenceUtils.java:195)
	at org.springframework.osgi.util.OsgiServiceReferenceUtils.isServicePresent(OsgiServiceReferenceUtils.java:327)
	at org.springframework.osgi.extender.internal.dependencies.startup.MandatoryServiceDependency.isServicePresent(MandatoryServiceDependency.java:82)
	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyServiceManager.doFindDependencies(DependencyServiceManager.java:287)
	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyServiceManager.access$700(DependencyServiceManager.java:40)
	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyServiceManager$1.run(DependencyServiceManager.java:213)
	at org.springframework.osgi.extender.internal.util.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:124)
	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyServiceManager.findServiceDependencies(DependencyServiceManager.java:209)
	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:248)
	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:175)
	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)
	at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:718)
	at java.lang.Thread.run(Thread.java:745)

Matt
Posts: 362
Joined: Fri May 02, 2008 11:56 am
Organization: Pramari

Re: Error starting Rifidi Emulator

Post by Matt » Fri May 02, 2014 1:01 am

I have also seen this issue...I think that using Java 1.6 may solve it, though I haven't had time to test that yet.

-Matt

nurban
Posts: 80
Joined: Mon Apr 21, 2014 10:33 am
Organization: PMRS, Inc.
Contact:

Re: Error starting Rifidi Emulator

Post by nurban » Fri May 02, 2014 9:59 am

I have not encountered any issues using JRE 7u51 and JDK 7u45 (1.7.0.450).

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests