[XDA-University] Stryke_the_Orc:
E/AndroidRuntime(10164): FATAL EXCEPTION: main

E/AndroidRuntime(10164): java.lang.NullPointerException

[COLOR="Red"]E/AndroidRuntime(10164): at com.android.email.activity.MessageViewFragment.onP repareOptionsMenu(MessageViewFragment.java:363)

E/AndroidRuntime(10164): at android.app.FragmentManagerImpl.dispatchPrepareOpt ionsMenu(FragmentManager.java:1909)

E/AndroidRuntime(10164): at android.app.Activity.onPreparePanel(Activity.java: 2495)[/COLOR]

E/AndroidRuntime(10164): at com.android.internal.policy.impl.PhoneWindow.prepa rePanel(PhoneWindow.java:427)

E/AndroidRuntime(10164): at com.android.internal.policy.impl.PhoneWindow.inval idatePanelMenu(PhoneWindow.java:753)

E/AndroidRuntime(10164): at android.app.Activity.invalidateOptionsMenu(Activit y.java:2595)

E/AndroidRuntime(10164): at android.app.FragmentManagerImpl.invalidateOptionsM enu(FragmentManager.java:1958)

E/AndroidRuntime(10164): at android.app.Fragment.setHasOptionsMenu(Fragment.ja va:901)

E/AndroidRuntime(10164): at com.android.email.activity.MessageViewFragment.onC reate(MessageViewFragment.java:249)

E/AndroidRuntime(10164): at android.app.FragmentManagerImpl.moveToState(Fragme ntManager.java:800)

E/AndroidRuntime(10164): at android.app.FragmentManagerImpl.moveToState(Fragme ntManager.java:1039)

E/AndroidRuntime(10164): at android.app.BackStackRecord.run(BackStackRecord.ja va:635)

E/AndroidRuntime(10164): at android.app.FragmentManagerImpl.execPendingActions (FragmentManager.java:1405)

E/AndroidRuntime(10164): at android.app.FragmentManagerImpl.executePendingTran sactions(FragmentManager.java:441)

E/AndroidRuntime(10164): at com.android.email.activity.UIControllerBase.commit FragmentTransaction(UIControllerBase.java:608)

E/AndroidRuntime(10164): at com.android.email.activity.UIControllerOnePane.sho wFragment(UIControllerOnePane.java:828)

E/AndroidRuntime(10164): at com.android.email.activity.UIControllerOnePane.ope nMessage(UIControllerOnePane.java:743)

E/AndroidRuntime(10164): at com.android.email.activity.UIControllerOnePane.ope nInternal(UIControllerOnePane.java:703)

E/AndroidRuntime(10164): at com.android.email.activity.UIControllerBase.open(U IControllerBase.java:778)

E/AndroidRuntime(10164): at com.android.email.activity.UIControllerOnePane.onM essageOpen(UIControllerOnePane.java:114)

E/AndroidRuntime(10164): at com.android.email.activity.MessageListFragment.onM essageOpen(MessageListFragment.java:1220)

E/AndroidRuntime(10164): at com.android.email.activity.MessageListFragment.onL istItemClick(MessageListFragment.java:1023)

E/AndroidRuntime(10164): at android.app.ListFragment$2.onItemClick(ListFragmen t.java:160)

E/AndroidRuntime(10164): at android.widget.AdapterView.performItemClick(Adapte rView.java:298)

E/AndroidRuntime(10164): at android.widget.AbsListView.performItemClick(AbsLis tView.java:1086)

E/AndroidRuntime(10164): at android.widget.AbsListView$PerformClick.run(AbsLis tView.java:2859)

E/AndroidRuntime(10164): at android.widget.AbsListView$1.run(AbsListView.java: 3533)

E/AndroidRuntime(10164): at android.os.Handler.handleCallback(Handler.java:615 )

E/AndroidRuntime(10164): at android.os.Handler.dispatchMessage(Handler.java:92 )

E/AndroidRuntime(10164): at android.os.Looper.loop(Looper.java:213)

E/AndroidRuntime(10164): at android.app.ActivityThread.main(ActivityThread.jav a:4787)

E/AndroidRuntime(10164): at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime(10164): at java.lang.reflect.Method.invoke(Method.java:511)

E/AndroidRuntime(10164): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:789)

E/AndroidRuntime(10164): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:556)

E/AndroidRuntime(10164): at dalvik.system.NativeStart.main(Native Method)

It looks like you're missing the path to a particular method, or perhaps it's pointing in the wrong place. The three lines I've highlighted in red look to be whats causing the issue. The first two in particular. I'm not 100% but I think that android.app.FragmentManagerImpl.dispatchPrepareOptionsMenu(FragmentManager.java:1909) would be in your framework.jar, check to be sure that the method in the email apk is pointing to the same path as the above line.