siramix / buzzwords

A mobile word game that will change the word.
www.siramix.com/buzzwords
GNU General Public License v3.0
10 stars 1 forks source link

Crash on pack layout #99

Open edwardrowe opened 11 years ago

edwardrowe commented 11 years ago

I was testing double clicks and I tried advancing while deselecting the main pack. One time I hit back from game setup and it crashed when trying to layout the scroll view.

edwardrowe commented 11 years ago

Stack Trace: 2-02 15:19:07.528 11137 11179 D SandboxRequestHandler: In App Purchasing SDK - Sandbox Mode: sendGetUserIdRequest 12-02 15:19:07.536 11137 11137 D PackPurchase: refreshAllPackLayouts 12-02 15:19:07.536 11137 11137 D Deck : getLocalPacks() 12-02 15:19:07.536 11137 11137 D Deck : getAllPacksFromDB() 12-02 15:19:07.544 11137 11137 D Pack : constructor Pack(args) 12-02 15:19:07.544 11137 11137 D Deck : countCards(Starter) 12-02 15:19:07.559 11137 11137 D Deck : countNumSeen(Starter) 12-02 15:19:07.583 11137 11137 D szipinf : Initializing inflate state 12-02 15:19:07.583 11137 11137 D PackClient: getInstance 12-02 15:19:07.583 11137 11137 D BuzzWordsApplication: GetMusicPlayer() 12-02 15:19:07.590 11137 11233 D PackClient: getServerPacks 12-02 15:19:07.590 11137 11233 D PackClient: doHTTPGet(http://siramix.com/buzzwords/packs/packs.json) 12-02 15:19:07.598 11137 11233 W System.err: java.net.UnknownHostException: siramix.com 12-02 15:19:07.598 11137 11137 D AndroidRuntime: Shutting down VM 12-02 15:19:07.598 11137 11137 W dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x40018560) 12-02 15:19:07.598 11137 11233 W System.err: at java.net.InetAddress.lookupHostByName(InetAddress.java:497) 12-02 15:19:07.598 11137 11233 W System.err: at java.net.InetAddress.getAllByNameImpl(InetAddress.java:294) 12-02 15:19:07.598 11137 11233 W System.err: at java.net.InetAddress.getAllByName(InetAddress.java:256) 12-02 15:19:07.598 11137 11233 W System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:140) 12-02 15:19:07.598 6414 11232 I AmazonSDKTester: Sending UserId Response Broadcast ({"status":"SUCCESSFUL","requestId":"08ffbff5-b5cc-4c53-b5b5-f162c1cc5ba6","userId":"DefaultTestUser"}) 12-02 15:19:07.614 11137 11233 W System.err: at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) 12-02 15:19:07.614 11137 11233 W System.err: at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) 12-02 15:19:07.614 11137 11233 W System.err: at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:363) 12-02 15:19:07.614 11137 11233 W System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555) 12-02 15:19:07.614 11137 11233 W System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487) 12-02 15:19:07.614 11137 11233 W System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465) 12-02 15:19:07.614 11137 11233 W System.err: at com.buzzwords.PackClient.doHTTPGet(PackClient.java:194) 12-02 15:19:07.614 11137 11233 W System.err: at com.buzzwords.PackClient.getServerPacks(PackClient.java:85) 12-02 15:19:07.614 11137 11233 W System.err: at com.buzzwords.PackPurchaseActivity$5.run(PackPurchaseActivity.java:285) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: FATAL EXCEPTION: main 12-02 15:19:07.614 11137 11137 E AndroidRuntime: java.lang.NullPointerException 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.widget.TextView.onMeasure(TextView.java:5768) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.view.View.measure(View.java:8322) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1017) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.widget.LinearLayout.measureVertical(LinearLayout.java:386) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.widget.LinearLayout.onMeasure(LinearLayout.java:309) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.view.View.measure(View.java:8322) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.widget.ScrollView.measureChildWithMargins(ScrollView.java:1074) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.widget.FrameLayout.onMeasure(FrameLayout.java:250) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.widget.ScrollView.onMeasure(ScrollView.java:296) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.view.View.measure(View.java:8322) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.widget.LinearLayout.measureVertical(LinearLayout.java:531) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.widget.LinearLayout.onMeasure(LinearLayout.java:309) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.view.View.measure(View.java:8322) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.widget.FrameLayout.onMeasure(FrameLayout.java:250) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.view.View.measure(View.java:8322) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.widget.FrameLayout.onMeasure(FrameLayout.java:250) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.view.View.measure(View.java:8322) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.view.ViewRoot.performTraversals(ViewRoot.java:839) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.view.ViewRoot.handleMessage(ViewRoot.java:1859) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.os.Looper.loop(Looper.java:130) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:3806) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:507) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 12-02 15:19:07.614 11137 11137 E AndroidRuntime: at dalvik.system.NativeStart.main(Native Method)