LicenseNotAccquiredException

Hi,

Im using NuitrackSDK pro for android and An Orbbec Astra Pro. I bought android license key for the Astra pro and have activated the license code.
My application works well it can detect user hand gesture but after a while it crashes. I see the message says “terminating with uncaught exception of type tdv::nuitrack::LicenseNotAcquiredException”
I already activate the key with the Astra pro and also catch the exception in the code. Can you pls check what was wrong? Thank you. Below are the details:

          try {
            Nuitrack::waitUpdate(m_gestureRecognizer);

          } catch(const LicenseNotAcquiredException& e) {
            LOG_ERROR("LicenseNotAcquiredException (Exception type: %d)", e.type());
          } catch(const Exception& e) {
            LOG_ERROR("Nuitrack update failed (ExceptionType %d)", e.type());
          }

Here is the logcat
--------- beginning of crash
01-15 20:21:03.848 3842-3892/edgehub.truclear.videobrowser A/libc: /Volumes/Android/buildbot/src/android/ndk-release-r18/external/libcxx/…/…/external/libcxxabi/src/abort_message.cpp:73: abort_message: assertion “terminating with uncaught exception of type tdv::nuitrack::LicenseNotAcquiredException” failed
01-15 20:21:03.848 3842-3892/edgehub.truclear.videobrowser A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 3892 (ar.videobrowser)
01-15 20:21:03.960 1809-1809/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-15 20:21:03.961 1809-1809/? I/DEBUG: Build fingerprint: ‘Android/nanopi_k2/nanopi-k2:5.1.1/LMY48G/root05271925:userdebug/dev-keys’
01-15 20:21:03.961 1809-1809/? I/DEBUG: Revision: ‘0’
01-15 20:21:03.961 1809-1809/? I/DEBUG: ABI: ‘arm’
01-15 20:21:03.961 1809-1809/? I/DEBUG: pid: 3842, tid: 3892, name: ar.videobrowser >>> edgehub.truclear.videobrowser <<<
01-15 20:21:03.961 1809-1809/? I/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-15 20:21:03.976 1809-1809/? I/DEBUG: Abort message: ‘/Volumes/Android/buildbot/src/android/ndk-release-r18/external/libcxx/…/…/external/libcxxabi/src/abort_message.cpp:73: abort_message: assertion “terminating with uncaught exception of type tdv::nuitrack::LicenseNotAcquiredException” failed’
01-15 20:21:03.977 1809-1809/? I/DEBUG: r0 00000000 r1 00000f34 r2 00000006 r3 00000000
01-15 20:21:03.977 1809-1809/? I/DEBUG: r4 d721add8 r5 00000006 r6 00000000 r7 0000010c
01-15 20:21:03.977 1809-1809/? I/DEBUG: r8 d721a618 r9 f0517d9f sl 00000001 fp f7508dd4
01-15 20:21:03.977 1809-1809/? I/DEBUG: ip 00000f34 sp d721a0e8 lr f74c414d pc f74e9960 cpsr 600f0010
01-15 20:21:03.977 1809-1809/? I/DEBUG: backtrace:
01-15 20:21:03.977 1809-1809/? I/DEBUG: #00 pc 0003c960 /system/lib/libc.so (tgkill+12)
01-15 20:21:03.977 1809-1809/? I/DEBUG: #01 pc 00017149 /system/lib/libc.so (pthread_kill+52)
01-15 20:21:03.977 1809-1809/? I/DEBUG: #02 pc 00017d67 /system/lib/libc.so (raise+10)
01-15 20:21:03.978 1809-1809/? I/DEBUG: #03 pc 000144f5 /system/lib/libc.so (__libc_android_abort+36)
01-15 20:21:03.978 1809-1809/? I/DEBUG: #04 pc 000129f0 /system/lib/libc.so (abort+4)
01-15 20:21:03.978 1809-1809/? I/DEBUG: #05 pc 00015833 /system/lib/libc.so (__libc_fatal+16)
01-15 20:21:03.978 1809-1809/? I/DEBUG: #06 pc 00014579 /system/lib/libc.so (__assert2+20)
01-15 20:21:03.978 1809-1809/? I/DEBUG: #07 pc 000346f1 /data/app/edgehub.truclear.videobrowser-1/lib/arm/libedgehub.so
01-15 20:21:03.978 1809-1809/? I/DEBUG: #08 pc 0003481b /data/app/edgehub.truclear.videobrowser-1/lib/arm/libedgehub.so
01-15 20:21:03.978 1809-1809/? I/DEBUG: #09 pc 000338e5 /data/app/edgehub.truclear.videobrowser-1/lib/arm/libedgehub.so
01-15 20:21:03.978 1809-1809/? I/DEBUG: #10 pc 00033e31 /data/app/edgehub.truclear.videobrowser-1/lib/arm/libedgehub.so
01-15 20:21:03.978 1809-1809/? I/DEBUG: #11 pc 00033dc1 /data/app/edgehub.truclear.videobrowser-1/lib/arm/libedgehub.so
01-15 20:21:03.978 1809-1809/? I/DEBUG: #12 pc 000339b1 /data/app/edgehub.truclear.videobrowser-1/lib/arm/libedgehub.so (__gxx_personality_v0+100)
01-15 20:21:03.979 1809-1809/? I/DEBUG: #13 pc 0008a3f1 /data/app/edgehub.truclear.videobrowser-1/lib/arm/libmiddleware.so (__gnu_Unwind_RaiseException+64)
01-15 20:21:03.979 1809-1809/? I/DEBUG: #14 pc 0008ab3b /data/app/edgehub.truclear.videobrowser-1/lib/arm/libmiddleware.so (_Unwind_RaiseException+22)
01-15 20:21:04.376 1809-1809/? I/DEBUG: Tombstone written to: /data/tombstones/tombstone_06
01-15 20:21:04.389 2104-2124/system_process I/BootReceiver: Copying /data/tombstones/tombstone_06 to DropBox (SYSTEM_TOMBSTONE)
01-15 20:21:04.390 2104-4294/system_process W/ActivityManager: Force finishing activity 1 edgehub.truclear.videobrowser/.MainActivity

I found out the trial version only allow 3 minutes access. That’s probably the reason for the exception. But i bought a key for the device, and activated it. I had to reinstall android OS and all nuitrack application. Now i can’t use the key anymore?

Hi Tung,

You just need to reactivate Nuitrack (this is required if the hardware signature was changed):