gpt4 book ai didi

android google maps nullpointerexception

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:39:10 24 4
gpt4 key购买 nike

所以我一直看到一个特殊的异常来 self 非常确定的 Google map 绘图代码。

我有一个 fragment ,我在其中以编程方式添加了一个 SupportMapFragment,然后我在其中操作 GoogleMap 实例。

这是堆栈跟踪:

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)

我无法可靠地复制它(尽管它经常发生),我查看了 ReadWriteDirectByteBuffer 和 ShortToByteBufferAdapter,但没有任何结果。

有什么想法吗?

最佳答案

我遇到了同样的随机问题。

您可能想尝试恢复 issue on gmaps-api-issues .

关于android google maps nullpointerexception,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17796984/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com