My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 5100: Bug: NullPointerException just after starting Activity
104 people starred this issue and may be notified of changes. Back to list
Status:  Acknowledged
Owner:  ----


Sign in to add a comment
 
Reported by [email protected], Mar 12, 2013
What steps will reproduce the problem? Please provide a link to a
demonstration page if at all possible, or attach code.

03-12 15:51:14.475: E/AndroidRuntime(1818): FATAL EXCEPTION: GLThread 279
03-12 15:51:14.475: E/AndroidRuntime(1818): java.lang.NullPointerException
03-12 15:51:14.475: E/AndroidRuntime(1818): 	at java.nio.ReadWriteDirectByteBuffer.put(ReadWriteDirectByteBuffer.java:201)
03-12 15:51:14.475: E/AndroidRuntime(1818): 	at java.nio.IntToByteBufferAdapter.put(IntToByteBufferAdapter.java:206)
03-12 15:51:14.475: E/AndroidRuntime(1818): 	at maps.al.q.c(Unknown Source)
03-12 15:51:14.475: E/AndroidRuntime(1818): 	at maps.al.q.d(Unknown Source)
03-12 15:51:14.475: E/AndroidRuntime(1818): 	at maps.l.m.a(Unknown Source)
03-12 15:51:14.475: E/AndroidRuntime(1818): 	at maps.l.m.a(Unknown Source)
03-12 15:51:14.475: E/AndroidRuntime(1818): 	at maps.l.r.a(Unknown Source)
03-12 15:51:14.475: E/AndroidRuntime(1818): 	at maps.y.ab.a(Unknown Source)
03-12 15:51:14.475: E/AndroidRuntime(1818): 	at maps.af.v.a(Unknown Source)
03-12 15:51:14.475: E/AndroidRuntime(1818): 	at maps.af.v.a(Unknown Source)
03-12 15:51:14.475: E/AndroidRuntime(1818): 	at maps.af.v.a(Unknown Source)
03-12 15:51:14.475: E/AndroidRuntime(1818): 	at maps.p.q.m(Unknown Source)
03-12 15:51:14.475: E/AndroidRuntime(1818): 	at maps.p.q.run(Unknown Source)

It happens very rarely on my device (Samsung Galaxy SII) - only a few times.
I will try to prepare the simplest example at a later time.

*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************

Apr 24, 2013
#1 [email protected]
Didn't see this in the last month. Please close it.
Apr 29, 2013
#2 [email protected]
Thanks - please respond to this bug thread if you see it again.
Status: CannotReproduce
Jun 7, 2013
#3 [email protected]
I've also seen this problem when displaying a map on a SamSung SII.  I had no GPS fix at the time, not sure if that is important.  It happened both when initially displaying a map and then on onResume.


W/dalvikvm( 5284): threadid=34: thread exiting with uncaught exception (group=0x4001e578)
I/WindowOrientationListener( 2715): orientation = 352.51413 Tilt = 50.829815 -- 0 ,  6 ,  7
E/        ( 2715): Dumpstate > /data/log/dumpstate_app_error
E/AndroidRuntime( 5284): FATAL EXCEPTION: GLThread 42
E/AndroidRuntime( 5284): java.lang.NullPointerException
E/AndroidRuntime( 5284): 	at java.nio.ReadWriteDirectByteBuffer.put(ReadWriteDirectByteBuffer.java:201)
E/AndroidRuntime( 5284): 	at java.nio.IntToByteBufferAdapter.put(IntToByteBufferAdapter.java:206)
E/AndroidRuntime( 5284): 	at maps.aa.i.e(Unknown Source)
E/AndroidRuntime( 5284): 	at maps.aa.i.d(Unknown Source)
E/AndroidRuntime( 5284): 	at maps.ab.ao.a(Unknown Source)
E/AndroidRuntime( 5284): 	at maps.ab.ax.a(Unknown Source)
E/AndroidRuntime( 5284): 	at maps.as.aw.a(Unknown Source)
E/AndroidRuntime( 5284): 	at maps.w.g.a(Unknown Source)
E/AndroidRuntime( 5284): 	at maps.w.g.b(Unknown Source)
E/AndroidRuntime( 5284): 	at maps.q.p.l(Unknown Source)
E/AndroidRuntime( 5284): 	at maps.q.p.run(Unknown Source)

Jul 22, 2013
#4 [email protected]
Still seeing this issue (very frequently). I have a very similar stack trace too. 
Jul 31, 2013
#5 [email protected]
 Issue 5657  has been merged into this issue.
Jul 31, 2013
#6 [email protected]
(No comment was entered for this change.)
Status: New
Oct 16, 2013
#7 [email protected]
Any updates on this issue? 
This is crashing my app also.
Oct 18, 2013
#8 [email protected]
Also getting this on my app. Any fix for it?
Oct 18, 2013
#9 [email protected]
None as far as I know, I still see the crashes daily.
Oct 27, 2013
#10 [email protected]
Well I managed to "fix" this on my app (it's actually just a workaraound). Check my own answer here: http://stackoverflow.com/questions/19624437/random-nullpointerexception-on-google-maps-api-v3/19627149#19627149
Dec 13, 2013
#11 [email protected]
I also saw this crash in my logs on November 20th. It still exists I guess. 
Feb 1, 2014
#12 [email protected]
I got the same issue today. Using Samsung Tab P620 , android 4.0.3. But the solution suggested in point #10 works.
Feb 1, 2014
#13 [email protected]
In my case, I was loading static fragments that contained maps in a viewpager, some of the fragments not being visible would result in this crash of the maps. I changed the design to not load maps in a fragment that is not visible and the crashes went away.
Apr 8, 2014
#14 [email protected]
Has anyone found a solution for this? I too am having this error when showing a MapView inside and Fragment which lives in a ViewPager.
Apr 10, 2014
#15 [email protected]
I getting the same error on my SupportMapFragment inside a fragment inside a viewpager:
04-10 11:20:45.531    9402-9411/com.startapps.oiandroid E/dalvikvm﹕ The following issues were seen:
04-10 11:20:49.421    9402-9411/com.startapps.oiandroid E/dalvikvm﹕ The following issues were seen:
04-10 11:20:49.451    9402-9411/com.startapps.oiandroid E/dalvikvm﹕ The following issues were seen:
04-10 11:20:51.971    9402-9451/com.startapps.oiandroid E/AndroidRuntime﹕ FATAL EXCEPTION: GLThread 86555
    java.lang.NullPointerException
            at java.nio.ReadWriteDirectByteBuffer.put(ReadWriteDirectByteBuffer.java:137)
            at java.nio.ShortToByteBufferAdapter.put(ShortToByteBufferAdapter.java:160)
            at maps.at.d.d(Unknown Source)
            at maps.at.d.a(Unknown Source)
            at maps.ay.a.a(Unknown Source)
            at maps.ay.aj.b(Unknown Source)
            at maps.ay.aj.a(Unknown Source)
            at maps.ap.f.a(Unknown Source)
            at maps.ap.f.b(Unknown Source)
            at maps.aj.y.l(Unknown Source)
            at maps.aj.y.run(Unknown Source)
04-10 11:20:52.141    9402-9411/com.startapps.oiandroid E/dalvikvm﹕ JIT_INFO: Overwriting association of v9:eax with xmm0
04-10 11:20:52.141    9402-9411/com.startapps.oiandroid E/dalvikvm﹕ The following issues were seen:
04-10 11:20:52.141    9402-9411/com.startapps.oiandroid E/dalvikvm﹕ Trying to turn backend registerization off
04-10 11:20:52.141    9402-9411/com.startapps.oiandroid E/dalvikvm﹕ ++++++++++++++++++++++++++++++++++++++++++++

Apr 14, 2014
#16 [email protected]
For those who can reproduce it consistently - can you try disabling the "My Location" layer and see if the error disappears?

The stack traces are very useful - when you post them, could you also include the version of "Google Play services"? (accessible from Settings > Apps)
Status: NeedsMoreInfo
Apr 14, 2014
#17 [email protected]
When I first reported it, I didn't use My Location.

It was just just 3 fragments.

Exactly this code: https://github.com/mg6maciej/android-maps-v2-demo/blob/master/NewMapsDemo/src/pl/mg6/newmaps/demo/MapTypesExampleActivity.java
And this layout: https://github.com/mg6maciej/android-maps-v2-demo/blob/master/NewMapsDemo/res/layout/map_types_example.xml

Might not be the simples example, but maybe can help somehow.
Apr 24, 2014
#18 [email protected]
I had this issue when I was adding three fragments in one transaction inside of another fragment's onCreateView method, one of which contained a map.  I split out the addition of the fragment which contains the map into a separate fragment transaction and I'm no longer seeing the issue.  Seems like a lifecycle race condition.
May 20, 2014
#19 [email protected]
Getting this with a Samsung GT-I8190N (Galaxy S II Mini?) 
java.lang.NullPointerException:
    at java.nio.ReadWriteDirectByteBuffer.put​(ReadWriteDirectByteBuffer.java:125)
    at java.nio.IntToByteBufferAdapter.put​(IntToByteBufferAdapter.java:161)
    at maps.at.p.e​(Unknown:-1)
    at maps.at.p.d​(Unknown:-1)
    at maps.au.a.a​(Unknown:-1)
    at maps.au.at.a​(Unknown:-1)
    at maps.ay.ap.a​(Unknown:-1)
    at maps.ap.f.a​(Unknown:-1)
    at maps.ap.f.b​(Unknown:-1)
    at maps.aj.y.l​(Unknown:-1)
    at maps.aj.y.run​(Unknown:-1)

Can't access the phone (Bugsnag report) but app requires latest version of Google Play Services which my phone is reporting as 4.4.52
Jun 19, 2014
#20 [email protected]
Getting the above now with a range of devices. Getting RuntimeExceptions in my app from Maps issues is pretty frustrating...
Aug 19, 2014
#23 [email protected]

I'm also getting very similar  exception in several devices:

Several Galaxy SIII with JB
Xperia Z with KK
Nexus 5 with KK

I could not find certain steps to recreate it. It happens when drawing a track on a map. We are using the maps 4 business.

23:09 E/AndroidRuntime: FATAL EXCEPTION: GLThread 2141
23:09 E/AndroidRuntime: java.lang.NullPointerException
23:09 E/AndroidRuntime: 	at java.nio.ReadWriteDirectByteBuffer.put(ReadWriteDirectByteBuffer.java:125)
23:09 E/AndroidRuntime: 	at java.nio.IntToByteBufferAdapter.put(IntToByteBufferAdapter.java:161)
23:09 E/AndroidRuntime: 	at com.google.android.m4b.maps.al.m.e(Unknown Source)
23:09 E/AndroidRuntime: 	at com.google.android.m4b.maps.al.m.d(Unknown Source)
23:09 E/AndroidRuntime: 	at com.google.android.m4b.maps.am.a.a(Unknown Source)
23:09 E/AndroidRuntime: 	at com.google.android.m4b.maps.am.t.a(Unknown Source)
23:09 E/AndroidRuntime: 	at com.google.android.m4b.maps.ah.K.a(Unknown Source)
23:09 E/AndroidRuntime: 	at com.google.android.m4b.maps.ah.G.a(Unknown Source)
23:09 E/AndroidRuntime: 	at com.google.android.m4b.maps.ah.G.b(Unknown Source)
23:09 E/AndroidRuntime: 	at com.google.android.m4b.maps.ah.w$h.l(Unknown Source)
23:09 E/AndroidRuntime: 	at com.goog

Aug 21, 2014
#24 [email protected]
I am including the map manually inside a GeneralFragment instead of using a SupportMapFragment. Is any valid workaround for this?
Sep 11, 2014
Project Member #25 [email protected]
(No comment was entered for this change.)
Status: Acknowledged
Labels: Internal-17479311
Sep 27, 2014
#26 [email protected]
Same for me, device Lg G3, GPS version: 5.0.89

java.lang.NullPointerException
       at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:332)
       at java.nio.ByteBufferAsIntBuffer.put(ByteBufferAsIntBuffer.java:161)
       at com.google.maps.api.android.lib6.gmm6.o.c.a.p.e()
       at com.google.maps.api.android.lib6.gmm6.o.c.a.p.d()
       at com.google.maps.api.android.lib6.gmm6.o.c.b.a.a()
       at com.google.maps.api.android.lib6.gmm6.o.c.b.at.a()
       at com.google.maps.api.android.lib6.gmm6.o.x.a()
       at com.google.maps.api.android.lib6.gmm6.o.l.a()
       at com.google.maps.api.android.lib6.gmm6.o.l.b()
       at com.google.maps.api.android.lib6.gmm6.o.dc.k()
       at com.google.maps.api.android.lib6.gmm6.o.dc.run()
Sep 27, 2014
#27 [email protected]
Same issue here HTC PH39100 Android 4.0.3

java.lang.NullPointerException
       at java.nio.ReadWriteDirectByteBuffer.put(ReadWriteDirectByteBuffer.java:137)
       at java.nio.ShortToByteBufferAdapter.put(ShortToByteBufferAdapter.java:163)
       at com.google.maps.api.android.lib6.gmm6.o.c.a.d.d()
       at com.google.maps.api.android.lib6.gmm6.o.c.a.d.a()
       at com.google.maps.api.android.lib6.gmm6.o.a.a()
       at com.google.maps.api.android.lib6.gmm6.o.c.b()
       at com.google.maps.api.android.lib6.gmm6.o.c.a()
       at com.google.maps.api.android.lib6.gmm6.o.l.a()
       at com.google.maps.api.android.lib6.gmm6.o.l.b()
       at com.google.maps.api.android.lib6.gmm6.o.cq.k()
       at com.google.maps.api.android.lib6.gmm6.o.cq.run()
Sep 28, 2014
#29 [email protected]
This issue was fixed for me by making sure the following were implemented (specifically mapView.onPause()) . I was using MapView not MapFragment.  

MapView mapView; 

@Override
public void onResume() {
    mapView.onResume();
    super.onResume();
}

@Override
public void onDestroy() {
    super.onDestroy();
    mapView.onDestroy();
}

@Override
public void onPause() {
    super.onPause();
    mapView.onPause();
}

@Override
public void onLowMemory() {
    super.onLowMemory();
    mapView.onLowMemory();
}

The issue seemed to be caused by background tasks (api calls that had not completed) of my app interfering with the MapView some how. 
Oct 14, 2014
#30 [email protected]
Nexus 4 
Android v4.4.4

java.lang.NullPointerException
       at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:332)
       at java.nio.ByteBufferAsIntBuffer.put(ByteBufferAsIntBuffer.java:161)
       at com.google.maps.api.android.lib6.gmm6.o.c.a.i.e()
       at com.google.maps.api.android.lib6.gmm6.o.c.a.i.d()
       at com.google.maps.api.android.lib6.gmm6.o.c.b.al.a()
       at com.google.maps.api.android.lib6.gmm6.o.c.b.at.a()
       at com.google.maps.api.android.lib6.gmm6.o.x.a()
       at com.google.maps.api.android.lib6.gmm6.o.l.a()
       at com.google.maps.api.android.lib6.gmm6.o.l.b()
       at com.google.maps.api.android.lib6.gmm6.o.dc.k()
       at com.google.maps.api.android.lib6.gmm6.o.dc.run()
Oct 15, 2014
#31 [email protected]
Nexus 5
Android 4.4.4

10-16 01:47:31.940: E/MAP(31602): ERROR
10-16 01:47:31.940: E/MAP(31602): java.lang.NullPointerException
10-16 01:47:31.940: E/MAP(31602): 	at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:332)
10-16 01:47:31.940: E/MAP(31602): 	at java.nio.ByteBufferAsIntBuffer.put(ByteBufferAsIntBuffer.java:161)
10-16 01:47:31.940: E/MAP(31602): 	at com.google.maps.api.android.lib6.gmm6.o.c.a.i.e(Unknown Source)
10-16 01:47:31.940: E/MAP(31602): 	at com.google.maps.api.android.lib6.gmm6.o.c.a.i.d(Unknown Source)
10-16 01:47:31.940: E/MAP(31602): 	at com.google.maps.api.android.lib6.gmm6.o.c.b.al.a(Unknown Source)
10-16 01:47:31.940: E/MAP(31602): 	at com.google.maps.api.android.lib6.gmm6.o.c.b.at.a(Unknown Source)
10-16 01:47:31.940: E/MAP(31602): 	at com.google.maps.api.android.lib6.gmm6.o.x.a(Unknown Source)
10-16 01:47:31.940: E/MAP(31602): 	at com.google.maps.api.android.lib6.gmm6.o.l.a(Unknown Source)
10-16 01:47:31.940: E/MAP(31602): 	at com.google.maps.api.android.lib6.gmm6.o.l.b(Unknown Source)
10-16 01:47:31.940: E/MAP(31602): 	at com.google.maps.api.android.lib6.gmm6.o.dc.k(Unknown Source)
10-16 01:47:31.940: E/MAP(31602): 	at com.google.maps.api.android.lib6.gmm6.o.dc.run(Unknown Source)
10-16 01:47:31.940: D/REQUEST(31602): Add Data Request: 8
10-16 01:47:31.940: W/dalvikvm(31602): threadid=37: thread exiting with uncaught exception (group=0x416a5ba8)
10-16 01:47:31.940: D/REQUEST(31602): Connection opened to:https://clients4.google.com/glm/mmap/api
10-16 01:47:31.940: D/REQUEST(31602): Open Connection
10-16 01:47:31.940: E/AndroidRuntime(31602): FATAL EXCEPTION: GLThread 2908
10-16 01:47:31.940: E/AndroidRuntime(31602): Process: com.gelmar.app, PID: 31602
10-16 01:47:31.940: E/AndroidRuntime(31602): java.lang.NullPointerException
10-16 01:47:31.940: E/AndroidRuntime(31602): 	at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:332)
10-16 01:47:31.940: E/AndroidRuntime(31602): 	at java.nio.ByteBufferAsIntBuffer.put(ByteBufferAsIntBuffer.java:161)
10-16 01:47:31.940: E/AndroidRuntime(31602): 	at com.google.maps.api.android.lib6.gmm6.o.c.a.i.e(Unknown Source)
10-16 01:47:31.940: E/AndroidRuntime(31602): 	at com.google.maps.api.android.lib6.gmm6.o.c.a.i.d(Unknown Source)
10-16 01:47:31.940: E/AndroidRuntime(31602): 	at com.google.maps.api.android.lib6.gmm6.o.c.b.al.a(Unknown Source)
10-16 01:47:31.940: E/AndroidRuntime(31602): 	at com.google.maps.api.android.lib6.gmm6.o.c.b.at.a(Unknown Source)
10-16 01:47:31.940: E/AndroidRuntime(31602): 	at com.google.maps.api.android.lib6.gmm6.o.x.a(Unknown Source)
10-16 01:47:31.940: E/AndroidRuntime(31602): 	at com.google.maps.api.android.lib6.gmm6.o.l.a(Unknown Source)
10-16 01:47:31.940: E/AndroidRuntime(31602): 	at com.google.maps.api.android.lib6.gmm6.o.l.b(Unknown Source)
10-16 01:47:31.940: E/AndroidRuntime(31602): 	at com.google.maps.api.android.lib6.gmm6.o.dc.k(Unknown Source)
10-16 01:47:31.940: E/AndroidRuntime(31602): 	at com.google.maps.api.android.lib6.gmm6.o.dc.run(Unknown Source)

Nov 19, 2014
#32 [email protected]
VERSION SHA: ee924f7f074a9a24a87c8427f04778e21f95f5e6

Android: 4.4.2
Manufacturer: samsung
Model: SM-G900I
Date: Thu Nov 20 10:06:49 AEDT 2014

java.lang.NullPointerException
	at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:332)
	at java.nio.ByteBufferAsIntBuffer.put(ByteBufferAsIntBuffer.java:161)
	at com.google.maps.api.android.lib6.gmm6.o.c.a.i.e(Unknown Source)
	at com.google.maps.api.android.lib6.gmm6.o.c.a.i.d(Unknown Source)
	at com.google.maps.api.android.lib6.gmm6.o.c.b.al.a(Unknown Source)
	at com.google.maps.api.android.lib6.gmm6.o.c.b.at.a(Unknown Source)
	at com.google.maps.api.android.lib6.gmm6.o.x.a(Unknown Source)
	at com.google.maps.api.android.lib6.gmm6.o.l.a(Unknown Source)
	at com.google.maps.api.android.lib6.gmm6.o.l.b(Unknown Source)
	at com.google.maps.api.android.lib6.gmm6.o.dc.k(Unknown Source)
	at com.google.maps.api.android.lib6.gmm6.o.dc.run(Unknown Source)
Dec 3, 2014
#33 [email protected]

Happening on Nexus 6 (shamu) on Android 5.0.0:

java.lang.NullPointerException: Attempt to get length of null array
at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:385)
at java.nio.ByteBufferAsIntBuffer.put(ByteBufferAsIntBuffer.java:160)
at com.google.maps.api.android.lib6.gmm6.o.c.a.p.e(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.c.a.p.d(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.c.b.j.b(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.x.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.l.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.l.b(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.cw.k(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.cw.run(Unknown Source)




Other issues possibly related:

A.  NullPointerException:
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.contains(java.lang.CharSequence)' on a null object reference
at com.google.maps.api.android.lib6.gmm6.o.c.h.<init>(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.l.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.cw.k(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.cw.run(Unknown Source)



B. IllegalArgumentException:
java.lang.IllegalArgumentException: Textures with dimensions16x256 are larger than the maximum supported size 0x0
at com.google.maps.api.android.lib6.gmm6.o.c.o.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.c.o.c(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.c.q.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.c.q.<init>(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.c.h.<init>(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.l.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.cw.k(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.o.cw.run(Unknown Source)
Dec 26, 2014
#34 [email protected]
On Android 5.0 and 5.0.1, using google play services 6.5.87 and below, this crash occurs. After many hours, I've isolated it to be reproducible when running multiple map fragments - such as in a viewpager. 

Take the viewpager example. I have two tabs, each containing a map fragment. These fragments are in a FragmentStatePagerAdapter. 

Steps to reproduce:
1. Attach the first map fragment. It loads fine and completes its startup lifecycle methods.
2. Attach the second map fragment. It loads fine and completes its startup lifecycle methods.
3. Navigate back to the first tab and try to interact with the first map fragment. It is frozen and does not respond to touches. Touching it or any of its UI elements (such as the My Location button) will result in:

E/AndroidRuntime﹕ FATAL EXCEPTION: GLThread 9994
    java.lang.NullPointerException: Attempt to get length of null array
            at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:385)
            at java.nio.ByteBufferAsIntBuffer.put(ByteBufferAsIntBuffer.java:160)
            at com.google.maps.api.android.lib6.gmm6.o.c.a.k.e(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.c.a.k.f(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.c.a.k.d(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.c.b.am.a(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.c.b.at.a(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.x.a(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.l.a(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.l.b(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.cw.k(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.cw.run(Unknown Source)

Or, (rarer), this:

E/AndroidRuntime﹕ FATAL EXCEPTION: GLThread 9816
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.contains(java.lang.CharSequence)' on a null object reference
            at com.google.maps.api.android.lib6.gmm6.o.c.h.<init>(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.l.a(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.cw.k(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.cw.run(Unknown Source)

*** Workaround: *** 
I implemented an OnPageChangeListener for page changes that calls onPause() on the map fragment that is being hidden when the tab is switched. Then, the other, newly visible, map fragment can be interacted with without crashing. It seems that since Android 5.0, we cannot have more than one map fragment running at once. In other words, only one map fragment can be in the resumed state at any given time. Any others must be paused, or this exception occurs.

    private void pauseMapFragment() {
        // To work around DirectByteBuffer.put Attempt to get length of null array errors in the Google Maps library,
        // we must not have more than one map fragment running at once.
        // When we want a map fragment to Resume, any other map fragments must Pause, or the fatal crash occurs.
        // By judicious use of this function and the resumeMapFragment function, we can facilitate this.
        if (mapFragmentAttached) {
            mapFragment.onPause();
        }
    }

    private void resumeMapFragment() {
        if (mapFragmentAttached) {
            mapFragment.onResume();
        }
    }

This is very frustrating. I hope this helps the google maps team find the source of this bug. For what it's worth, this crash did not occur on Android 4.4.2 for me. I have not tried 4.4.4. 

So far, this workaround alleviates my crashes related to switching between two map fragments in a viewpager - however, I still get crashes related to configuration changes such as orientation changes and when resuming my app from the system task manager. This is undoubtedly because at some point during the resuming of a configuration change, more than one map fragment is running. I'm currently working on finding the right times to pause/resume the map fragments in the right lifecycle methods, to maintain this lamentable new requirement.

Jan 14, 2015
#35 [email protected]
I can confirm the comment directly above: that this is happening when you have 2 maps running simultaneously.

In my Activity, I have a small map showing a summary and a hidden larger map in the background that only shows when you click the smaller map.

Once I changed the implementation to use just one map that expands, this bug went away.
Jan 16, 2015
#36 [email protected]
Have a crash on rotation only with Android 5.
Jan 22, 2015
#37 [email protected]
Having exactly the same issue.  One map on each page of a viewpager.
Jan 26, 2015
#39 [email protected]
I have received many of the same crash reports, all from Nexus 6 devices running Lollipop. My app has a viewpager where each page contains a MapFragment.
Jan 28, 2015
#40 [email protected]
We get the below mentioned error (the app crashed) on our App when we click on Find Places functionality.

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.eclat.cheers/com.eclat.cheers.Maps}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2540)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2599)
at android.app.ActivityThread.access$900(ActivityThread.java:174)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5748)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.eclat.cheers.Maps.onCreate(Maps.java:137)
at android.app.Activity.performCreate(Activity.java:5600)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2504)
... 11 more
Jan 29, 2015
#41 [email protected]
Nexus 6 - 5.0.1 LRX22C
Google Play services 6.5.99 (1642632-438)

Viewpager, one contains a MapView

01-29 09:13:29.886    2790-2956/de.xxxx.xxxxxx.debug E/AndroidRuntime﹕ FATAL EXCEPTION: GLThread 1860
    Process: de.xxxx.xxxxxx.debug, PID: 2790
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.contains(java.lang.CharSequence)' on a null object reference
            at com.google.maps.api.android.lib6.gmm6.o.c.h.<init>(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.l.a(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.ck.k(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.ck.run(Unknown Source)



01-29 09:13:37.276    2993-3051/de.xxxx.xxxxxx.debug E/AndroidRuntime﹕ FATAL EXCEPTION: GLThread 1866
    Process: de.xxxx.xxxxxx.debug, PID: 2993
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.contains(java.lang.CharSequence)' on a null object reference
            at com.google.maps.api.android.lib6.gmm6.o.c.h.<init>(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.l.a(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.ck.k(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.ck.run(Unknown Source)

01-29 09:27:43.735    6581-6638/de.xxxx.xxxxxx.debug E/AndroidRuntime﹕ FATAL EXCEPTION: GLThread 2246
    Process: de.xxxx.xxxxxx.debug, PID: 6581
    java.lang.IllegalArgumentException: Textures with dimensions16x256 are larger than  the maximum supported size 0x0
            at com.google.maps.api.android.lib6.gmm6.o.c.o.a(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.c.o.c(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.c.q.a(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.c.q.<init>(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.c.h.<init>(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.l.a(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.ck.k(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.ck.run(Unknown Source)


01-29 09:31:38.668    1855-2751/de.xxxx.xxxxxx.debug E/AndroidRuntime﹕ FATAL EXCEPTION: GLThread 163
    Process: de.xxxx.xxxxxx.debug, PID: 1855
    java.lang.NullPointerException: Attempt to get length of null array
            at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:385)
            at java.nio.ByteBufferAsIntBuffer.put(ByteBufferAsIntBuffer.java:160)
            at com.google.maps.api.android.lib6.gmm6.o.c.a.p.e(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.c.a.p.d(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.c.b.j.b(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.x.a(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.l.a(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.l.b(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.ck.k(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.o.ck.run(Unknown Source)

Feb 2, 2015
Project Member #42 [email protected]
Hello all,

Thank you for your reports. The Nexus 6 crash is a separate known issue that will be addressed in an upcoming release.

Let's keep this bug to track NullPointerEceptions from GLThread on other devices (which this issue was originally opened for). Thanks!
Feb 3, 2015
#43 [email protected]
If Nexus 6 is a separate issue, is there a dedicated issue in tracker where I can follow it?
Mar 12, 2015
#45 [email protected]
java.lang.NullPointerException
       at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:332)
       at java.nio.ByteBufferAsIntBuffer.put(ByteBufferAsIntBuffer.java:161)
       at com.google.maps.api.android.lib6.gmm6.o.c.a.p.e()
       at com.google.maps.api.android.lib6.gmm6.o.c.a.p.d()
       at com.google.maps.api.android.lib6.gmm6.o.c.b.a.a()
       at com.google.maps.api.android.lib6.gmm6.o.c.b.at.a()
       at com.google.maps.api.android.lib6.gmm6.o.x.a()
       at com.google.maps.api.android.lib6.gmm6.o.l.a()
       at com.google.maps.api.android.lib6.gmm6.o.l.b()
       at com.google.maps.api.android.lib6.gmm6.o.cw.k()
       at com.google.maps.api.android.lib6.gmm6.o.cw.run()




Mar 12, 2015
#46 [email protected]
It's fixed in Android 5.1 on Nexus 6 \o/
Mar 19, 2015
Project Member #47 [email protected]
Yes, I can confirm that the issue for the Nexus 6 has been fixed in Android 5.1.

Thanks all, the NullPointerException on other devices is still being tracked in this issue.
Apr 24, 2015
#48 [email protected]
I am still getting this null pointer in Android 4.Let me know the issues.
Apr 29, 2015
#49 [email protected]
I am also getting the Null pointer on Android 4.
Is there any fix for that?
May 12, 2015
#50 [email protected]
java.lang.NullPointerException
at java.nio.ReadWriteDirectByteBuffer.put(ReadWriteDirectByteBuffer.java:125)
at java.nio.IntToByteBufferAdapter.put(IntToByteBufferAdapter.java:161)
at com.google.maps.api.android.lib6.gmm6.n.c.a.i.e(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.n.c.a.i.d(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.n.c.b.ak.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.n.c.b.as.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.n.x.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.n.l.a(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.n.l.b(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.n.cj.g(Unknown Source)
at com.google.maps.api.android.lib6.gmm6.n.cj.run(Unknown Source)

Just got this crash log myself from Android 4.2, device is Xperia L.
Jun 10, 2015
#51 [email protected]
FATAL EXCEPTION: GLThread 1624
    java.lang.NullPointerException
            at java.nio.ReadWriteDirectByteBuffer.put(ReadWriteDirectByteBuffer.java:125)
            at java.nio.IntToByteBufferAdapter.put(IntToByteBufferAdapter.java:164)
            at com.google.maps.api.android.lib6.gmm6.n.c.a.i.e(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.n.c.a.i.d(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.n.c.b.ak.a(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.n.c.b.as.a(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.n.x.a(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.n.l.a(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.n.l.b(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.n.cj.g(Unknown Source)
            at com.google.maps.api.android.lib6.gmm6.n.cj.run(Unknown Source)

Galaxy S2 (SGH-T989) running 4.0.4, build IMM76D.UVLH1
Jul 27, 2015
#52 [email protected]
java.lang.NullPointerException
       at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:344)
       at java.nio.ByteBufferAsShortBuffer.put(ByteBufferAsShortBuffer.java:160)
       at com.google.maps.api.android.lib6.gmm6.n.c.a.d.d()
       at com.google.maps.api.android.lib6.gmm6.n.c.a.d.a()
       at com.google.maps.api.android.lib6.gmm6.n.a.a()
       at com.google.maps.api.android.lib6.gmm6.n.c.b()
       at com.google.maps.api.android.lib6.gmm6.n.c.a()
       at com.google.maps.api.android.lib6.gmm6.n.l.a()
       at com.google.maps.api.android.lib6.gmm6.n.l.b()
       at com.google.maps.api.android.lib6.gmm6.n.cv.f()
       at com.google.maps.api.android.lib6.gmm6.n.cv.run()
Aug 12, 2015
#54 [email protected]
LG-P705, Android 4.0.3

java.lang.NullPointerException
       at java.nio.ReadWriteDirectByteBuffer.put(ReadWriteDirectByteBuffer.java:137)
       at java.nio.ShortToByteBufferAdapter.put(ShortToByteBufferAdapter.java:163)
       at com.google.maps.api.android.lib6.gmm6.n.c.a.d.d()
       at com.google.maps.api.android.lib6.gmm6.n.c.a.d.a()
       at com.google.maps.api.android.lib6.gmm6.n.a.a()
       at com.google.maps.api.android.lib6.gmm6.n.c.b()
       at com.google.maps.api.android.lib6.gmm6.n.c.a()
       at com.google.maps.api.android.lib6.gmm6.n.l.a()
       at com.google.maps.api.android.lib6.gmm6.n.l.b()
       at com.google.maps.api.android.lib6.gmm6.n.cj.g()
       at com.google.maps.api.android.lib6.gmm6.n.cj.run()
Aug 26, 2015
#55 [email protected]
java.lang.RuntimeException: Unable to resume activity {com.anonymous.anonymous/com.anonymous.anonymous.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void com.google.maps.api.android.lib6.d.fa.o()' on a null object reference
            at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2986)
            at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3017)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2392)
            at android.app.ActivityThread.access$800(ActivityThread.java:151)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
            at android.os.Handler.dispatchMessage(Handler.java:102)
            at android.os.Looper.loop(Looper.java:135)
            at android.app.ActivityThread.main(ActivityThread.java:5254)
            at java.lang.reflect.Method.invoke(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:372)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
Aug 27, 2015
#56 [email protected]
Process: com.testapps.hellolocation, PID: 14788
    java.lang.NullPointerException: Attempt to invoke interface method 'void com.google.maps.api.android.lib6.d.fa.o()' on a null object reference
            at com.google.maps.api.android.lib6.d.w.b(Unknown Source)
            at com.google.android.gms.maps.internal.u.onTransact(SourceFile:115)
            at android.os.Binder.transact(Binder.java:380)
            at com.google.android.gms.maps.internal.IMapFragmentDelegate$zza$zza.onResume(Unknown Source)
            at com.google.android.gms.maps.SupportMapFragment$zza.onResume(Unknown Source)
            at com.google.android.gms.dynamic.zza$7.zzb(Unknown Source)
            at com.google.android.gms.dynamic.zza.zza(Unknown Source)
            at com.google.android.gms.dynamic.zza.onResume(Unknown Source)
            at com.google.android.gms.maps.SupportMapFragment.onResume(Unknown Source)
            at android.support.v4.app.Fragment.performResume(Fragment.java:2005)
            at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1057)
            at android.support.v4.app.FragmentManagerImpl.performPendingDeferredStart(FragmentManager.java:891)
            at android.support.v4.app.FragmentManagerImpl.startPendingDeferredFragments(FragmentManager.java:1221)
            at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1579)
            at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:535)
            at android.support.v4.app.FragmentStatePagerAdapter.finishUpdate(FragmentStatePagerAdapter.java:163)
            at android.support.v4.view.ViewPager.populate(ViewPager.java:1106)
            at android.support.v4.view.ViewPager.populate(ViewPager.java:952)
            at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1474)
            at android.view.View.measure(View.java:17448)
            at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5465)
            at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)
            at android.widget.LinearLayout.measureVertical(LinearLayout.java:722)
            at android.widget.LinearLayout.onMeasure(LinearLayout.java:613)
            at android.view.View.measure(View.java:17448)
            at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5465)
            at android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:582)
            at android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:649)
            at android.view.View.measure(View.java:17448)
            at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:727)
            at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:463)
            at android.view.View.measure(View.java:17448)
            at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5465)
            at android.widget.FrameLayout.onMeasure(FrameLayout.java:430)
            at android.support.v7.internal.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:124)
            at android.view.View.measure(View.java:17448)
            at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5465)
            at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)
            at android.widget.LinearLayout.measureVertical(LinearLayout.java:722)
            at android.widget.LinearLayout.onMeasure(LinearLayout.java:613)
            at android.view.View.measure(View.java:17448)
            at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5465)
            at android.widget.FrameLayout.onMeasure(FrameLayout.java:430)
            at android.view.View.measure(View.java:17448)
            at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5465)
            at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)
            at android.widget.LinearLayout.measureVertical(LinearLayout.java:722)
            at android.widget.LinearLayout.onMeasure(LinearLayout.java:613)
            at android.view.View.measure(View.java:17448)
            at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5465)
            at android.widget.FrameLayout.onMeasure(FrameLayout.java:430)
            at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2560)
            at android.view.View.measure(View.java:17448)
            at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2031)
Sep 25, 2015
#57 [email protected]
Check if the android device have Google Play services aviable that is the problem 
Oct 28, 2015
#58 [email protected]
0java.lang.NullPointerException
1at com.google.maps.api.android.lib6.d.ad.onClick(Unknown Source)
2at android.view.View.performClick(View.java:4467)
3at android.view.View$PerformClick.run(View.java:18776)
4at android.os.Handler.handleCallback(Handler.java:808)
5at android.os.Handler.dispatchMessage(Handler.java:103)
6at android.os.Looper.loop(Looper.java:193)
7at android.app.ActivityThread.main(ActivityThread.java:5292)
8at java.lang.reflect.Method.invokeNative(Native Method)
9at java.lang.reflect.Method.invoke(Method.java:515)
10at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:828)
11at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:644)
12at dalvik.system.NativeStart.main(Native Method)
Feb 5, 2016
#59 [email protected]
This was captured on 4 different devices running Android 5.1:

Fatal Exception: java.lang.NullPointerException: Attempt to get length of null array
       at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:385)
       at java.nio.ByteBufferAsIntBuffer.put(ByteBufferAsIntBuffer.java:160)
       at com.google.maps.api.android.lib6.gmm6.m.c.a.i.e(Unknown Source)
       at com.google.maps.api.android.lib6.gmm6.m.c.a.i.d(Unknown Source)
       at com.google.maps.api.android.lib6.gmm6.m.c.b.ak.a(Unknown Source)
       at com.google.maps.api.android.lib6.gmm6.m.c.b.as.a(Unknown Source)
       at com.google.maps.api.android.lib6.gmm6.m.x.a(Unknown Source)
       at com.google.maps.api.android.lib6.gmm6.m.l.a(Unknown Source)
       at com.google.maps.api.android.lib6.gmm6.m.l.b(Unknown Source)
       at com.google.maps.api.android.lib6.gmm6.m.cv.f(Unknown Source)
       at com.google.maps.api.android.lib6.gmm6.m.cv.run(Unknown Source)
Mar 20, 2016
#60 [email protected]
Receive this occasionally(Once every 50 launches or so) on Samsung S4. Play Services location and Map v8.4.0.
   java.lang.NullPointerException: Attempt to get length of null array
                                                                                     at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:385)
                                                                                     at java.nio.ByteBufferAsIntBuffer.put(ByteBufferAsIntBuffer.java:160)
                                                                                     at maps.ed.g.e(Unknown Source)
                                                                                     at maps.ed.g.d(Unknown Source)
                                                                                     at maps.ee.o.a(Unknown Source)
                                                                                     at maps.ee.t.a(Unknown Source)
                                                                                     at maps.dz.l.a(Unknown Source)
                                                                                     at maps.dz.i.a(Unknown Source)
                                                                                     at maps.dz.i.b(Unknown Source)
                                                                                     at maps.dz.ar$g.f(Unknown Source)
                                                                                     at maps.dz.ar$g.run(Unknown Source)
Apr 7, 2016
#61 [email protected]
Same issue on 4.2.2, Device GT-P3110

java.lang.NullPointerException
1	at java.nio.ReadWriteDirectByteBuffer.put(ReadWriteDirectByteBuffer.java:125)
2	at java.nio.IntToByteBufferAdapter.put(IntToByteBufferAdapter.java:161)
3	at maps.ed.g.e(Unknown Source)
4	at maps.ed.g.d(Unknown Source)
5	at maps.ee.o.a(Unknown Source)
6	at maps.ee.t.a(Unknown Source)
7	at maps.dz.l.a(Unknown Source)
8	at maps.dz.i.a(Unknown Source)
9	at maps.dz.i.b(Unknown Source)
10	at maps.dz.ar$g.f(Unknown Source)
11	at maps.dz.ar$g.run(Unknown Source)
May 5, 2016
#63 [email protected]
Any solution for it : 

I got this issue on Nexus6 and Micromax Android 1

Nexus 6 Log : 
java.lang.NullPointerException: Attempt to get length of null array
at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:385)
java.nio.ByteBufferAsIntBuffer.put(ByteBufferAsIntBuffer.java:160)
at maps.ed.i.e(Unknown Source)
at maps.ed.i.f(Unknown Source)
at maps.ed.i.d(Unknown Source)
at maps.ee.p.a(Unknown Source)
at maps.ee.t.a(Unknown Source)
at maps.dz.l.a(Unknown Source)
at maps.dz.i.a(Unknown Source)
at maps.dz.i.b(Unknown Source)
at maps.dz.ar$g.f(Unknown Source)
at maps.dz.ar$g.run(Unknown Source)


Android One Crash Log : 
java.lang.NullPointerException
at maps.dz.o.a(Unknown Source)
at maps.dg.e.a(Unknown Source)
at maps.dg.p.a(Unknown Source)
at maps.ei.ag.a(Unknown Source)
at maps.ei.bu.a(Unknown Source)
at maps.ei.n$1.a(Unknown Source)
at maps.ei.n.a(Unknown Source)
at com.google.android.gms.maps.internal.i$a.onTransact(:com.google.android.gms.alldynamite:107)
at android.os.Binder.transact(Binder.java:361)
at com.google.android.gms.maps.internal.IMapFragmentDelegate$zza$zza.onCreateView(Unknown Source)
at com.google.android.gms.maps.SupportMapFragment$zza.onCreateView(Unknown Source)
May 6, 2016
#64 [email protected]
Hello ,
I receive this bug can someone help me

USER_COMMENT=null
ANDROID_VERSION=5.1.1
APP_VERSION_NAME=2.1.0
BRAND=samsung
PHONE_MODEL=SM-G531F
CUSTOM_DATA=
STACK_TRACE=java.lang.NullPointerException: Attempt to get length of null array
at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:385)
at java.nio.ByteBufferAsIntBuffer.put(ByteBufferAsIntBuffer.java:160)
at maps.ed.m.e(Unknown Source)
at maps.ed.m.d(Unknown Source)
at maps.ee.a.a(Unknown Source)
at maps.ee.t.a(Unknown Source)
at maps.dz.l.a(Unknown Source)
at maps.dz.i.a(Unknown Source)
at maps.dz.i.b(Unknown Source)
at maps.dz.ar$g.f(Unknown Source)
at maps.dz.ar$g.run(Unknown Source)
May 28, 2016
#66 [email protected]
Nexus 5X, Android 6.0.1 (Patched: 1.Mai 2016), kernel 3.10.73-g8eaa82a, Build MTC19T

05-28 15:51:21.805 20398-20466/de.cynav.client I/OpenGLRenderer: Initialized EGL, version 1.4
05-28 15:51:22.032 20398-20408/de.cynav.client I/art: Background sticky concurrent mark sweep GC freed 31992(3MB) AllocSpace objects, 33(2MB) LOS objects, 16% free, 23MB/28MB, paused 6.445ms total 80.603ms
05-28 15:51:22.578 20398-20459/de.cynav.client E/ACRA: ACRA caught a NullPointerException for de.xx.client
                                                       java.lang.NullPointerException: Attempt to get length of null array
                                                           at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:399)
                                                           at java.nio.ByteBufferAsShortBuffer.put(ByteBufferAsShortBuffer.java:159)
                                                           at maps.ab.c.d(Unknown Source)
                                                           at maps.ab.c.a(Unknown Source)
                                                           at maps.X.a.a(Unknown Source)
                                                           at maps.X.B.b(Unknown Source)
                                                           at maps.X.B.a(Unknown Source)
                                                           at maps.X.H.a(Unknown Source)
                                                           at maps.X.H.b(Unknown Source)
                                                           at maps.X.y$f.f(Unknown Source)
                                                           at maps.X.y$f.run(Unknown Source)
05-28 15:51:22.578 20398-20459/de.cynav.client D/ACRA: Building report
Sign in to add a comment

Powered by Google Project Hosting