So I've been seeing a peculiar exception coming from what I'm pretty sure is Google Maps drawing code.
I've got a Fragment, where I programatically add in a SupportMapFragment, and then I manipulate the GoogleMap instance within it.
Here's the stacktrace:
0 java.lang.NullPointerException
1 at java.nio.ReadWriteDirectByteBuffer.put(ReadWriteDirectByteBuffer.java:137)
2 at java.nio.ShortToByteBufferAdapter.put(ShortToByteBufferAdapter.java:163)
3 at maps.z.d.d(Unknown Source)
4 at maps.z.d.a(Unknown Source)
5 at maps.aq.a.a(Unknown Source)
6 at maps.aq.ao.b(Unknown Source)
7 at maps.aq.ao.a(Unknown Source)
8 at maps.v.g.a(Unknown Source)
9 at maps.v.g.b(Unknown Source)
10 at maps.p.p.l(Unknown Source)
11 at maps.p.p.run(Unknown Source)
I can't reliably replicate it (although it's happening quite often), I've looked at ReadWriteDirectByteBuffer and ShortToByteBufferAdapter but nothing pops out at me.
Any ideas?