j-rewerts / min3d

Automatically exported from code.google.com/p/min3d
0 stars 0 forks source link

Minor Issue with Keyframe Animation example. #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Awesome code base, keep up the good work.

What steps will reproduce the problem?
1. Select Keyframe animation from main menu
2. Before Ogro fully loads, click Play 'flip' animation button or Play 'salute' 
animation.
3.

What is the expected output? What do you see instead?
Keyframe Animation sequence. Force Close.

What version of the product are you using? On what operating system?
min3dSampleProject1_015.apk. Android 1.6 on ADP 2.

Please provide any additional information below.

09-20 23:11:48.089: ERROR/AndroidRuntime(2642): Uncaught handler: thread main 
exiting due to uncaught exception
09-20 23:11:48.159: ERROR/AndroidRuntime(2642): java.lang.NullPointerException
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
min3d.sampleProject1.ExampleKeyframeAnimation.onClick(ExampleKeyframeAnimation.j
ava:42)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
android.view.View.performClick(View.java:2344)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
android.view.View.onTouchEvent(View.java:4133)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
android.widget.TextView.onTouchEvent(TextView.java:6504)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
android.view.View.dispatchTouchEvent(View.java:3672)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(P
honeWindow.java:1712)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow
.java:1202)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
android.app.Activity.dispatchTouchEvent(Activity.java:1987)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneW
indow.java:1696)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
android.view.ViewRoot.handleMessage(ViewRoot.java:1658)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
android.os.Handler.dispatchMessage(Handler.java:99)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
android.os.Looper.loop(Looper.java:123)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
android.app.ActivityThread.main(ActivityThread.java:4203)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
java.lang.reflect.Method.invokeNative(Native Method)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
java.lang.reflect.Method.invoke(Method.java:521)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
09-20 23:11:48.159: ERROR/AndroidRuntime(2642):     at 
dalvik.system.NativeStart.main(Native Method)

Original issue reported on code.google.com by rc6750 on 21 Sep 2010 at 3:21

GoogleCodeExporter commented 9 years ago
Yes i also face same issue and finally able to resolve .
You need to arrange the layout , properly for device on which application is 
testing.
Keyframe example layout is not generic for all device screen resolution.

Another commonly  issue arises in res path ,while starting the keyframe 
animation

Original comment by ashakant...@gmail.com on 9 May 2011 at 8:04