amincss / openintents

Automatically exported from code.google.com/p/openintents
0 stars 0 forks source link

Only One Sensor can be registered #337

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start Simulator
2. Start my Application with senSimulator.apk installed
3. Connect them
4. Try to get the Data from multiple Sensors with my app (Acc, Comp, 
Orientation,...)

What is the expected output? What do you see instead?
The Data for the used Sensors.
Exception --> NoSuchElementException by registering multiple Sensors

What version of the product are you using? On what operating system?
1.1.0
Win XP Professional

Please provide any additional information below.
Uncaught handler: thread main exiting due to uncaught exception 
java.lang.RuntimeException?: Unable to bind to service 
de.ostfalia.android.carblackbox.TrackingService?@44c46738 with Intent { 
cmp=de.ostfalia.android.carblackbox/.TrackingService? }: 
java.util.NoSuchElementException?

android.app.ActivityThread?.handleBindService(ActivityThread?.java:2816) 
android.app.ActivityThread?.access$3300(ActivityThread?.java:119) 
android.app.ActivityThread?$H.handleMessage(ActivityThread?.java:1920) 
android.os.Handler.dispatchMessage(Handler.java:99) 
android.os.Looper.loop(Looper.java:123) 
android.app.ActivityThread?.main(ActivityThread?.java:4363) 
java.lang.reflect.Method.invokeNative(Native Method) 
java.lang.reflect.Method.invoke(Method.java:521) 
com.android.internal.os.ZygoteInit?$MethodAndArgsCaller?.run(ZygoteInit?.java:86
0) com.android.internal.os.ZygoteInit?.main(ZygoteInit?.java:618) 
dalvik.system.NativeStart?.main(Native Method) Caused by: 
java.util.NoSuchElementException? 
java.util.AbstractList?$SimpleListIterator?.next(AbstractList?.java:61) 
org.openintents.sensorsimulator.hardware.SensorSimulatorClient?.enableSensor(Sen
sorSimulatorClient?.java:447) 
org.openintents.sensorsimulator.hardware.SensorSimulatorClient?.registerListener
(SensorSimulatorClient?.java:262) 
org.openintents.sensorsimulator.hardware.SensorManagerSimulator?.registerListene
r(SensorManagerSimulator?.java:164) 
de.ostfalia.android.carblackbox.sensor.SensorProviderSimulator?.start(SensorProv
iderSimulator?.java:102) 
de.ostfalia.android.carblackbox.TrackingService?.startService(TrackingService?.j
ava:143) 
de.ostfalia.android.carblackbox.TrackingService?.onBind(TrackingService?.java:12
0) android.app.ActivityThread?.handleBindService(ActivityThread?.java:2804) 

Original issue reported on code.google.com by speedy29...@gmail.com on 8 Apr 2011 at 11:10

GoogleCodeExporter commented 9 years ago

Original comment by peli0...@googlemail.com on 10 Aug 2011 at 2:10