Mapview PixelConverter错误?

时间:2012-01-19 17:08:33

标签: android

我正在使用Mapview。我收到错误但我不知道为什么我能得到这个。我调试了所有项目。我之前没有看到它。

有人可以看到这个错误吗?我现在是null异常但是有人能看到PixelConverter吗?

ERROR/AndroidRuntime(1382): FATAL EXCEPTION: main
    java.lang.NullPointerException
    at com.google.android.maps.PixelConverter.toPixels(PixelConverter.java:71)
    at com.google.android.maps.PixelConverter.toPixels(PixelConverter.java:61)
    at com.google.android.maps.MapView.onLayout(MapView.java:681)
    at android.view.View.layout(View.java:7035)
    at android.widget.RelativeLayout.onLayout(RelativeLayout.java:909)
    at android.view.View.layout(View.java:7035)
    at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
    at android.view.View.layout(View.java:7035)
    at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
    at android.view.View.layout(View.java:7035)
    at android.view.ViewRoot.performTraversals(ViewRoot.java:1045)
    at android.view.ViewRoot.handleMessage(ViewRoot.java:1727)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:123)
    at android.app.ActivityThread.main(ActivityThread.java:4627)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:521)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
    at dalvik.system.NativeStart.main(Native Method)

0 个答案:

没有答案