Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.
  • Page:
  • 1

TOPIC:

Null Pointer dereference 6 years 2 months ago #13826

  • miguel.garcia
  • miguel.garcia's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 0
Hi.

We have an app in Google Store with your library and we have found an error that only happens on Android 8 devices.

We developed our own cordova plugin since when we developed the app you did not have it available.

arm64-v8a folder with its librdpdf.so file has bee also added to the plugin.

The app thwos the following exception and user is not allowed to use it anymore.
05-17 14:19:36.317: A/DEBUG(7117): Build fingerprint: 'google/ryu/dragon:8.1.0/OPM1.171019.011/4448085:user/release-keys'
05-17 14:19:36.317: A/DEBUG(7117): Revision: '0'
05-17 14:19:36.317: A/DEBUG(7117): ABI: 'arm64'
05-17 14:19:36.317: A/DEBUG(7117): pid: 3939, tid: 3939, name: fl.EFLMagazines >>> com.efl.EFLMagazines <<<
05-17 14:19:36.317: A/DEBUG(7117): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8
05-17 14:19:36.317: A/DEBUG(7117): Cause: null pointer dereference
05-17 14:19:36.317: A/DEBUG(7117): x0 0000000024a3d400 x1 0000007ff8b90004 x2 0000000024a3d400 x3 0000000000000000
05-17 14:19:36.317: A/DEBUG(7117): x4 0000007ff8b90430 x5 000000762eea89c0 x6 0000000000000000 x7 0000000000000000
05-17 14:19:36.317: A/DEBUG(7117): x8 0000000000000000 x9 51d80d3e0085fb31 x10 0000000000430000 x11 0000007644bdc7a8
05-17 14:19:36.317: A/DEBUG(7117): x12 00000076c966c910 x13 e283990de9526447 x14 00000076c91cb000 x15 ffffffffffffffff
05-17 14:19:36.317: A/DEBUG(7117): x16 00000076c6963ca8 x17 00000076234572f8 x18 00000076236d7824 x19 0000000024a3d400
05-17 14:19:36.317: A/DEBUG(7117): x20 0000007644af5d90 x21 0000007644cbea00 x22 0000007ff8b9029c x23 0000000000000000
05-17 14:19:36.317: A/DEBUG(7117): x24 0000000000000008 x25 00000076c97eea40 x26 0000007644cbeaa0 x27 0000000000000002
05-17 14:19:36.317: A/DEBUG(7117): x28 0000000000000000 x29 0000007ff8b8ffd0 x30 0000007623457320
05-17 14:19:36.317: A/DEBUG(7117): sp 0000007ff8b8ff80 pc 0000007623500870 pstate 0000000080000000
05-17 14:19:36.319: A/DEBUG(7117): backtrace:
05-17 14:19:36.319: A/DEBUG(7117): #00 pc 0000000000100870 /data/app/com.efl.EFLMagazines-bIrP4c-9__OzFI8mgyrXyw==/lib/arm64/librdpdf.so
05-17 14:19:36.319: A/DEBUG(7117): #01 pc 000000000005731c /data/app/com.efl.EFLMagazines-bIrP4c-9__OzFI8mgyrXyw==/lib/arm64/librdpdf.so (Java_com_radaee_pdf_Document_getOutlineNext+36)
05-17 14:19:36.319: A/DEBUG(7117): #02 pc 000000000000bca0 /data/app/com.efl.EFLMagazines-bIrP4c-9__OzFI8mgyrXyw==/oat/arm64/base.odex (offset 0xa000)

Do you know what could be happening?

Thanks

Please Log in or Create an account to join the conversation.

Null Pointer dereference 6 years 2 months ago #13827

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
The problem seems to be during the usage of Document.getOutlineRoot or Outline.GetNext.

But without the ability to reproduce the issue on ourside, it will be hard to determine the cause and provide a solution.

You can try to update the native libs to the latest version.

If you can find a way to reproduce it using our cordova demo , please tell us how so we can check it.

Please Log in or Create an account to join the conversation.

Null Pointer dereference 6 years 2 months ago #13828

  • miguel.garcia
  • miguel.garcia's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 0
Hi Nermeen.

I have updated the libraries to the latest version.

Moreover i tried to execute your cordova demo but i got a bunch of gradle errors.

Do you want me to share with you our bitbucket project so you can download and test it on your own?

I will try again to execute your cordova demo project in an android 8 device

Thanks

Please Log in or Create an account to join the conversation.

Null Pointer dereference 6 years 2 months ago #13834

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
What kind of gradle errors?

We are using cordova 8.0.0, cordova-android 6.4.0

Please Log in or Create an account to join the conversation.

Null Pointer dereference 6 years 2 months ago #13835

  • miguel.garcia
  • miguel.garcia's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 0
The error we get is "Could not find method google() for arguments [] on repository container"

We are using cordova version 7.1.0 and cordova android 6.3.0

Please Log in or Create an account to join the conversation.

Last edit: by miguel.garcia.

Null Pointer dereference 6 years 2 months ago #13836

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
You are using an old gradle version, you need to update to Gradle 4.1/4.4

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum