Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

java.lang.IllegalArgumentException: The concrete class implementing IObjectWrapper #28

Open
sarathsi opened this issue Oct 26, 2017 · 3 comments

Comments

@sarathsi
Copy link

Hi ,
I have built the APK from source and trying to run. App is crashing during the startup.

10-25 12:48:32.323 20583 20583 E AndroidRuntime: java.lang.IllegalArgumentException: The concrete class implementing IObjectWrapper must have exactly one declared private field for the wrapped object. Preferably, this is an instance of the ObjectWrapper class.

Any clues how to solve this issue?

logcat:
++++++++++++++++++++
10-25 12:48:32.294 20583 20583 I TangoClientLibLoader: Pure Java path, not loading libtango_client_api.so at all.
10-25 12:48:32.316 20583 20583 I ndk_camera: Starting native camera system initialization.
10-25 12:48:32.319 20583 20583 D ndk_camera: Camera 0 has 83 metadata tags
10-25 12:48:32.319 20583 20583 E ACameraMetadata: getConstEntry: cannot find metadata tag 1310721
10-25 12:48:32.319 20583 20583 W ndk_camera: Failed to get metadata tag 1310721 for camera 0 with error code -10004
10-25 12:48:32.319 20583 20583 E ACameraMetadata: getConstEntry: cannot find metadata tag 1638401
10-25 12:48:32.319 20583 20583 W ndk_camera: Failed to get metadata tag 1638401 for camera 0 with error code -10004
10-25 12:48:32.320 20583 20583 D ndk_camera: Camera 1 has 82 metadata tags
10-25 12:48:32.320 20583 20583 E ACameraMetadata: getConstEntry: cannot find metadata tag 1310721
10-25 12:48:32.320 20583 20583 W ndk_camera: Failed to get metadata tag 1310721 for camera 1 with error code -10004
10-25 12:48:32.320 20583 20583 E ACameraMetadata: getConstEntry: cannot find metadata tag 1638401
10-25 12:48:32.320 20583 20583 W ndk_camera: Failed to get metadata tag 1638401 for camera 1 with error code -10004
10-25 12:48:32.320 20583 20583 I ndk_camera: Camera system initialized successfully with 2 cameras.
10-25 12:48:32.320 20583 20583 W tango_camera_native_jni: Camera system initilized.
10-25 12:48:32.320 20583 20583 E tango_camera_native: 2 is not a valid camera index.
10-25 12:48:32.320 20583 20583 E tango_camera_native: 3 is not a valid camera index.
10-25 12:48:32.322 20583 20583 D AndroidRuntime: Shutting down VM

--------- beginning of crash
10-25 12:48:32.323 20583 20583 E AndroidRuntime: FATAL EXCEPTION: main
10-25 12:48:32.323 20583 20583 E AndroidRuntime: java.lang.IllegalArgumentException: The concrete class implementing IObjectWrapper must have exactly one declared private field for the wrapped object. Preferably, this is an instance of the ObjectWrapper class.
10-25 12:48:32.323 20583 20583 E AndroidRuntime: at com.google.tango.loader.ObjectWrapper.unwrap(ObjectWrapper.java:93)
10-25 12:48:32.323 20583 20583 E AndroidRuntime: at com.google.tango.jni.TangoCameraNative.initialize(TangoCameraNative.java:56)
10-25 12:48:32.323 20583 20583 E AndroidRuntime: at com.google.tango.loader.ITangoCameraNative$Stub.onTransact(ITangoCameraNative.java:57)
10-25 12:48:32.323 20583 20583 E AndroidRuntime: at android.os.Binder.transact(Binder.java:604)
10-25 12:48:32.323 20583 20583 E AndroidRuntime: at com.google.d.a.f.a(ITangoCameraNative.java:275)
10-25 12:48:32.323 20583 20583 E AndroidRuntime: at com.google.atap.tangoservice.t.a(TangoCameraNativeLoader.java:61)
10-25 12:48:32.323 20583 20583 E AndroidRuntime: at com.google.atap.tangoservice.Tango.(Tango.java:390)

@VikAdvani
Copy link

Hi @sarathsi, did you end up solving this. I'm also seeing this issue.

@judax
Copy link

judax commented Jan 24, 2018

Sorry for the delay. Is this issue still happening with the latest version up in the repo?

@judax
Copy link

judax commented Mar 15, 2018

Any update on this issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@judax @sarathsi @VikAdvani and others