Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I got this error while using flat buffer parser. #6

Open
CyborgRahil opened this issue Oct 19, 2016 · 1 comment
Open

I got this error while using flat buffer parser. #6

CyborgRahil opened this issue Oct 19, 2016 · 1 comment

Comments

@CyborgRahil
Copy link

CyborgRahil commented Oct 19, 2016

  • 10-19 16:29:03.501 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: invalid reference returned from byte[] frogermcs.io.flatbuffersparser.FlatBuffersParser.parseJsonNative(java.lang.String, java.lang.String)
  • 10-19 16:29:03.506 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] from byte[] frogermcs.io.flatbuffersparser.FlatBuffersParser.parseJsonNative(java.lang.String, java.lang.String)
  • 10-19 16:29:03.506 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] "main" prio=5 tid=1 Runnable
  • 10-19 16:29:03.506 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] | group="main" sCount=0 dsCount=0 obj=0x77729ef0 self=0xb4e08000
  • 10-19 16:29:03.506 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] | sysTid=6631 nice=-6 cgrp=apps sched=0/0 handle=0xb6f52ec8
  • 10-19 16:29:03.506 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] | state=R schedstat=( 10260766179 1562262230 6350 ) utm=786 stm=239 core=2 HZ=100
  • 10-19 16:29:03.506 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] | stack=0xbe381000-0xbe383000 stackSize=8MB
  • 10-19 16:29:03.506 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] | held mutexes= "mutator lock"(shared held)
  • 10-19 16:29:03.506 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] native: #00 pc 00004bec /system/lib/libbacktrace_libc++.so (_ZN13UnwindCurrent6UnwindEjP8ucontext+23)
  • 10-19 16:29:03.506 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] native: Perfect way to load bin data from server using url #1 pc 00003489 /system/lib/libbacktrace_libc++.so (_ZN9Backtrace6UnwindEjP8ucontext+8)
  • 10-19 16:29:03.506 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] native: Is there any way to parse dynamic JSON on the fly using FB? #2 pc 0025b1ed /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_6mirror9ArtMethodE+84)
  • 10-19 16:29:03.506 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] native: Update to latest gradle versions. Update android sdk version and libraries. #3 pc 0023e48b /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+162)
  • 10-19 16:29:03.506 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] native: How to use 'flatc' to generate JAVA table. #4 pc 000b327d /system/lib/libart.so (ZN3artL8JniAbortEPKcS1+620)
  • 10-19 16:29:03.506 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] native: Unable to run the project #5 pc 000b39ad /system/lib/libart.so (_ZN3art9JniAbortFEPKcS1_z+68)
  • 10-19 16:29:03.506 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] native: I got this error while using flat buffer parser. #6 pc 0027b839 /system/lib/libart.so (_ZN3art20CheckReferenceResultEPNS_6mirror6ObjectEPNS_6ThreadE+784)
  • 10-19 16:29:03.506 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] native: Lint Issues Resolved, Progress Bar View Modified #7 pc 00088edf /system/lib/libart.so (_ZN3art25JniMethodEndWithReferenceEP8_jobjectjPNS_6ThreadE+74)
  • 10-19 16:29:03.506 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] native: #08 pc 000fa78d /data/data/com.test.flatbuffer/cache/slice-slice_5-classes.dex (Java_frogermcs_io_flatbuffersparser_FlatBuffersParser_parseJsonNative__Ljava_lang_String_2Ljava_lang_String_2+132)
  • 10-19 16:29:03.511 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] at frogermcs.io.flatbuffersparser.FlatBuffersParser.parseJsonNative(Native method)
  • 10-19 16:29:03.511 6631-6631/com.test.flatbuffer A/art: sart/runtime/check_jni.cc:65] at frogermcs.io.flatbuffersparser.FlatBuffersParser.parseJson(FlatBuffersParser.java:15)
@CyborgRahil
Copy link
Author

This error happen when any value of json key is null.Can you please cross check this issue?

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

No branches or pull requests

1 participant