What steps will reproduce the problem?
---------------------------------------
1. Install ModelLoaderAdapters from Eclipse
2. Select one of the models
3. The AR view starts - click the icon on top-left to cancel accuracy-detection
- click on prompt to cancel accuracy-detection
4. Red screen with error log appears
What is the expected output? What do you see instead?
---------------------------------------
Expected to see the model (robot, head etc.) - instead I see a red-screen with
an error
Following is part of the log from Eclipse:
03-18 19:18:16.595: D/ActionWaitForAccuracy(2682): Required accuracy was
reached!
03-18 19:18:16.675: D/MeshComp(2682): Enabling picking for: Shape
gl.scenegraph.Shape@40582ac0
03-18 19:18:16.675: V/MeshComp(2682): > Sending
(r:0.8023216,g:0.83700716,b:0.3781279,a:1.0) to ColorPicker
03-18 19:18:16.675: V/Object Picker(2682): > New Color byte[]: {-52, -43,
96, -1}
03-18 19:18:16.685: V/Object Picker(2682): > New Color key: -52-4396
03-18 19:18:16.685: V/MeshComp(2682): >
myPickColor=(r:0.8023216,g:0.83700716,b:0.3781279,a:1.0)
03-18 19:18:16.685: V/World(2682): Adding worldData.Obj@4056cfa0 to
worldData.World@4053a448
03-18 19:18:16.705: W/dalvikvm(2682): Exception
Ljava/lang/UnsatisfiedLinkError; thrown while initializing
Lcom/badlogic/gdx/backends/android/AndroidApplication;
03-18 19:18:16.705: D/AndroidRuntime(2682): Shutting down VM
03-18 19:18:16.715: W/dalvikvm(2682): threadid=1: thread exiting with uncaught
exception (group=0x4001d5a0)
03-18 19:18:16.715: E/ErrorHandler(2682): A wild 'Uncaught exeption' appeares!
03-18 19:18:16.715: W/System.err(2682): java.lang.ExceptionInInitializerError
03-18 19:18:16.715: W/System.err(2682): at
de.rwth.GDXConnection.<init>(GDXConnection.java:28)
03-18 19:18:16.725: W/System.err(2682): at
de.rwth.GDXConnection.init(GDXConnection.java:236)
03-18 19:18:16.725: W/System.err(2682): at
de.rwth.ModelLoaderSetup.addObjectsTo(ModelLoaderSetup.java:77)
03-18 19:18:16.725: W/System.err(2682): at
system.DefaultARSetup.callAddObjectsToWorldIfNotCalledAlready(DefaultARSetup.jav
a:117)
03-18 19:18:16.725: W/System.err(2682): at
system.DefaultARSetup$1.minAccuracyReachedFirstTime(DefaultARSetup.java:106)
03-18 19:18:16.725: W/System.err(2682): at
actions.ActionWaitForAccuracy.callFirstTimeAccReachedIfNotYetCalled(ActionWaitFo
rAccuracy.java:98)
03-18 19:18:16.735: W/System.err(2682): at
actions.ActionWaitForAccuracy.access$3(ActionWaitForAccuracy.java:94)
03-18 19:18:16.735: W/System.err(2682): at
actions.ActionWaitForAccuracy$3.onClick(ActionWaitForAccuracy.java:165)
03-18 19:18:16.735: W/System.err(2682): at
android.view.View.performClick(View.java:2533)
03-18 19:18:16.735: W/System.err(2682): at
android.view.View$PerformClick.run(View.java:9320)
03-18 19:18:16.735: W/System.err(2682): at
android.os.Handler.handleCallback(Handler.java:587)
03-18 19:18:16.735: W/System.err(2682): at
android.os.Handler.dispatchMessage(Handler.java:92)
03-18 19:18:16.735: W/System.err(2682): at
android.os.Looper.loop(Looper.java:150)
03-18 19:18:16.735: W/System.err(2682): at
android.app.ActivityThread.main(ActivityThread.java:4385)
03-18 19:18:16.735: W/System.err(2682): at
java.lang.reflect.Method.invokeNative(Native Method)
03-18 19:18:16.735: W/System.err(2682): at
java.lang.reflect.Method.invoke(Method.java:507)
03-18 19:18:16.735: W/System.err(2682): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)
03-18 19:18:16.735: W/System.err(2682): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
03-18 19:18:16.735: W/System.err(2682): at
dalvik.system.NativeStart.main(Native Method)
03-18 19:18:16.745: W/System.err(2682): Caused by:
java.lang.UnsatisfiedLinkError: Couldn't load gdx: findLibrary returned null
03-18 19:18:16.745: W/System.err(2682): at
java.lang.Runtime.loadLibrary(Runtime.java:429)
03-18 19:18:16.745: W/System.err(2682): at
java.lang.System.loadLibrary(System.java:554)
03-18 19:18:16.745: W/System.err(2682): at
com.badlogic.gdx.utils.GdxNativesLoader.load(GdxNativesLoader.java:116)
03-18 19:18:16.745: W/System.err(2682): at
com.badlogic.gdx.backends.android.AndroidApplication.<clinit>(AndroidApplication
.java:59)
03-18 19:18:16.755: W/System.err(2682): ... 19 more
03-18 19:18:16.755: E/ErrorHandler(2682): Starting error activity
03-18 19:18:16.795: D/dalvikvm(2682): GC_CONCURRENT freed 223K, 45% free
3118K/5639K, external 28K/512K, paused 3ms+10ms
03-18 19:18:16.795: E/ErrorHandler(2682): Starting from
system.ArActivity@4053c4a8 to class system.ErrorHandler
03-18 19:18:16.815: D/Process(2682): killProcess, pid=2682
03-18 19:18:16.815: D/Process(2682):
dalvik.system.VMStack.getThreadStackTrace(Native Method)
03-18 19:18:16.815: D/Process(2682):
java.lang.Thread.getStackTrace(Thread.java:745)
03-18 19:18:16.815: D/Process(2682):
android.os.Process.killProcess(Process.java:797)
03-18 19:18:16.815: D/Process(2682):
system.ErrorHandler.showErrorActivity(ErrorHandler.java:237)
03-18 19:18:16.815: D/Process(2682):
system.ErrorHandler.uncaughtException(ErrorHandler.java:345)
03-18 19:18:16.815: D/Process(2682):
java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:854)
03-18 19:18:16.815: D/Process(2682):
java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:851)
03-18 19:18:16.815: D/Process(2682): dalvik.system.NativeStart.main(Native
Method)
What version of the product are you using? On what operating system?
-------------------------------------------------------------------
1. Checked out or updated-to-HEAD latest (Mar 18, 2012) versions of:
trunk/droidar/DroidAR
trunk/extensions/model-loaders/model-loaders
trunk/gdx (and all dependent gdx dependecies)
2. Using Eclipse Version: Indigo Service Release 1 - Build id: 20110916-0149
3. HTC Desire HD with Android 2.3.5
4. Windows 7, Java 1.6
Please provide any additional information below.
-------------------------------------------------------------------
Tried the same thing yesterday - but model would not load - only a grey circle
shape would appear but the model and texture gave a "not found" error - today
model-loading functionality itself crashed...