<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19298"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 
face=Arial></FONT>&nbsp;</DIV><BR>
<BLOCKQUOTE 
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" 
dir=ltr>
  <DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
  <HR tabIndex=-1>
  <FONT size=2 face=Tahoma><B>From:</B> mythtv-users-bounces@mythtv.org 
  [mailto:mythtv-users-bounces@mythtv.org] <B>On Behalf Of </B>Daniel 
  Frey<BR><B>Sent:</B> Wednesday, September 19, 2012 8:00 AM<BR><B>To:</B> 
  Discussion about MythTV<BR><B>Subject:</B> Re: [mythtv-users] MythTV for 
  Android null Pointer Exception<BR></FONT><BR></DIV>
  <DIV></DIV>
  <P><BR>On Sep 18, 2012 5:10 PM, "Timothy Krantz" &lt;<A 
  href="mailto:tkrantz@stahurabrenner.com">tkrantz@stahurabrenner.com</A>&gt; 
  wrote:<BR>&gt;<BR>&gt; &nbsp;<BR>&gt;<BR>&gt;&gt; 
  ________________________________<BR>&gt;&gt; From: <A 
  href="mailto:mythtv-users-bounces@mythtv.org">mythtv-users-bounces@mythtv.org</A> 
  [mailto:<A 
  href="mailto:mythtv-users-bounces@mythtv.org">mythtv-users-bounces@mythtv.org</A>] 
  On Behalf Of Daniel Frey<BR>&gt;&gt; Sent: Tuesday, September 18, 2012 4:47 
  PM<BR>&gt;&gt;<BR>&gt;&gt; To: Discussion about MythTV<BR>&gt;&gt; Subject: 
  Re: [mythtv-users] MythTV for Android null Pointer 
  Exception<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; On Sep 18, 2012 3:09 PM, 
  "Timothy Krantz" &lt;<A 
  href="mailto:tkrantz@stahurabrenner.com">tkrantz@stahurabrenner.com</A>&gt; 
  wrote:<BR>&gt;&gt; &gt;<BR>&gt;&gt; &gt; &nbsp;<BR>&gt;&gt; &gt;<BR>&gt;&gt; 
  &gt;&gt; ________________________________<BR>&gt;&gt; &gt;&gt; From: <A 
  href="mailto:mythtv-users-bounces@mythtv.org">mythtv-users-bounces@mythtv.org</A> 
  [mailto:<A 
  href="mailto:mythtv-users-bounces@mythtv.org">mythtv-users-bounces@mythtv.org</A>] 
  On Behalf Of Daniel Frey<BR>&gt;&gt; &gt;&gt; Sent: Tuesday, September 18, 
  2012 2:53 PM<BR>&gt;&gt; &gt;&gt;<BR>&gt;&gt; &gt;&gt; To: Discussion about 
  MythTV<BR>&gt;&gt; &gt;&gt; Subject: Re: [mythtv-users] MythTV for Android 
  null Pointer Exception<BR>&gt;&gt; &gt;&gt;<BR>&gt;&gt; &gt;&gt;<BR>&gt;&gt; 
  &gt;&gt; On Sep 18, 2012 2:50 PM, "Daniel Frey" &lt;<A 
  href="mailto:dmfrey@gmail.com">dmfrey@gmail.com</A>&gt; wrote:<BR>&gt;&gt; 
  &gt;&gt; &gt;<BR>&gt;&gt; &gt;&gt; &gt;<BR>&gt;&gt; &gt;&gt; &gt; On Sep 18, 
  2012 2:39 PM, "Timothy Krantz" &lt;<A 
  href="mailto:tkrantz@stahurabrenner.com">tkrantz@stahurabrenner.com</A>&gt; 
  wrote:<BR>&gt;&gt; &gt;&gt; &gt; &gt;<BR>&gt;&gt; &gt;&gt; &gt; &gt; 
  &nbsp;<BR>&gt;&gt; &gt;&gt; &gt; &gt;<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; 
  ________________________________<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; From: <A 
  href="mailto:mythtv-users-bounces@mythtv.org">mythtv-users-bounces@mythtv.org</A> 
  [mailto:<A 
  href="mailto:mythtv-users-bounces@mythtv.org">mythtv-users-bounces@mythtv.org</A>] 
  On Behalf Of Daniel Frey<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; Sent: Tuesday, 
  September 18, 2012 2:23 PM<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; To: Discussion 
  about MythTV<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; Subject: Re: [mythtv-users] 
  MythTV for Android null Pointer Exception<BR>&gt;&gt; &gt;&gt; &gt; 
  &gt;&gt;<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt;<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; 
  On Sep 18, 2012 2:01 PM, "Timothy Krantz" &lt;<A 
  href="mailto:tkrantz@stahurabrenner.com">tkrantz@stahurabrenner.com</A>&gt; 
  wrote:<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; &gt;<BR>&gt;&gt; &gt;&gt; &gt; 
  &gt;&gt; &gt; For the last couple of days when running the latest git code I 
  am getting a<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; &gt; null pointer exception 
  when selecting a Program title from the list of<BR>&gt;&gt; &gt;&gt; &gt; 
  &gt;&gt; &gt; program titles.<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; 
  &gt;<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; &gt; In particular it is on line 92 of 
  ProgramGroupFragment. &nbsp;Whe it tries to<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; 
  &gt; dereference cache, cache is null.<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; 
  &gt;<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; &gt; I have tried uninstalling and 
  reinstalling, removing all the local data from<BR>&gt;&gt; &gt;&gt; &gt; 
  &gt;&gt; &gt; the device etc but am still having a problem.<BR>&gt;&gt; 
  &gt;&gt; &gt; &gt;&gt; &gt;<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; &gt; Anything I 
  can do to help diagnose?<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; &gt;<BR>&gt;&gt; 
  &gt;&gt; &gt; &gt;&gt; &gt; Tim<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; 
  &gt;<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; &gt;<BR>&gt;&gt; &gt;&gt; &gt; 
  &gt;&gt; &gt; _______________________________________________<BR>&gt;&gt; 
  &gt;&gt; &gt; &gt;&gt; &gt; mythtv-users mailing list<BR>&gt;&gt; &gt;&gt; 
  &gt; &gt;&gt; &gt; <A 
  href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</A><BR>&gt;&gt; 
  &gt;&gt; &gt; &gt;&gt; &gt; <A 
  href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</A><BR>&gt;&gt; 
  &gt;&gt; &gt; &gt;&gt;<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; Tim,<BR>&gt;&gt; 
  &gt;&gt; &gt; &gt;&gt;<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; Try and pull again. 
  Made some changes this morning.<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt;<BR>&gt;&gt; 
  &gt;&gt; &gt; &gt;&gt; That one sounds familiar. Might be what I fixed this 
  morning.&nbsp;&nbsp;<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt;<BR>&gt;&gt; &gt;&gt; 
  &gt; &gt;&gt; &nbsp;<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt;<BR>&gt;&gt; &gt;&gt; 
  &gt; &gt;&gt; Did a fresh pull, uninstall/re install etc.&nbsp; Same 
  issue.<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt;<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; 
  &nbsp;<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt;<BR>&gt;&gt; &gt;&gt; &gt; &gt;&gt; 
  Tim&nbsp;<BR>&gt;&gt; &gt;&gt; &gt; &gt;<BR>&gt;&gt; &gt;&gt; &gt; 
  &gt;<BR>&gt;&gt; &gt;&gt; &gt; &gt; 
  _______________________________________________<BR>&gt;&gt; &gt;&gt; &gt; &gt; 
  mythtv-users mailing list<BR>&gt;&gt; &gt;&gt; &gt; &gt; <A 
  href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</A><BR>&gt;&gt; 
  &gt;&gt; &gt; &gt; <A 
  href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</A><BR>&gt;&gt; 
  &gt;&gt; &gt; &gt;<BR>&gt;&gt; &gt;&gt; &gt;<BR>&gt;&gt; &gt;&gt; &gt; Can you 
  send me the java stacktrace from the location window?<BR>&gt;&gt; 
  &gt;&gt;<BR>&gt;&gt; &gt;&gt; Also, what phone/tablet? Version of 
  android?&nbsp;&nbsp;<BR>&gt;&gt; &gt;&gt;<BR>&gt;&gt; &gt;&gt; 
  &nbsp;<BR>&gt;&gt; &gt;&gt;<BR>&gt;&gt; &gt;&gt; &nbsp;<BR>&gt;&gt; 
  &gt;&gt;<BR>&gt;&gt; &gt;&gt; Thread [&lt;1&gt; main] (Suspended (exception 
  NullPointerException))&nbsp;<BR>&gt;&gt; &gt;&gt; 
  &nbsp;ProgramGroupFragment.loadPrograms(String) line: 92&nbsp;<BR>&gt;&gt; 
  &gt;&gt; &nbsp;RecordingsActivity.onProgramGroupSelected(String) line: 
  73&nbsp;<BR>&gt;&gt; &gt;&gt; 
  &nbsp;RecordingsFragment.onListItemClick(ListView, View, int, long) line: 
  245&nbsp;<BR>&gt;&gt; &gt;&gt; &nbsp;ListFragment$2.onItemClick(AdapterView, 
  View, int, long) line: 58&nbsp;<BR>&gt;&gt; &gt;&gt; 
  &nbsp;ListView(AdapterView).performItemClick(View, int, long) line: 
  292&nbsp;<BR>&gt;&gt; &gt;&gt; 
  &nbsp;ListView(AbsListView).performItemClick(View, int, long) line: 
  1185&nbsp;<BR>&gt;&gt; &gt;&gt; &nbsp;AbsListView$PerformClick.run() line: 
  2715&nbsp;<BR>&gt;&gt; &gt;&gt; &nbsp;AbsListView$1.run() line: 
  3476&nbsp;<BR>&gt;&gt; &gt;&gt; 
  &nbsp;ViewRootImpl(Handler).handleCallback(Message) line: 
  605&nbsp;<BR>&gt;&gt; &gt;&gt; 
  &nbsp;ViewRootImpl(Handler).dispatchMessage(Message) line: 
  92&nbsp;<BR>&gt;&gt; &gt;&gt; &nbsp;Looper.loop() line: 137&nbsp;<BR>&gt;&gt; 
  &gt;&gt; &nbsp;ActivityThread.main(String[]) line: 4512&nbsp;<BR>&gt;&gt; 
  &gt;&gt; &nbsp;Method.invokeNative(Object, Object[], Class, Class[], Class, 
  int, boolean) line: not available [native method]&nbsp;<BR>&gt;&gt; &gt;&gt; 
  &nbsp;Method.invoke(Object, Object...) line: 511&nbsp;<BR>&gt;&gt; &gt;&gt; 
  &nbsp;ZygoteInit$MethodAndArgsCaller.run() line: 978&nbsp;<BR>&gt;&gt; 
  &gt;&gt; &nbsp;ZygoteInit.main(String[]) line: 745&nbsp;<BR>&gt;&gt; &gt;&gt; 
  &nbsp;NativeStart.main(String[]) line: not available [native 
  method]&nbsp;<BR>&gt;&gt; &gt;&gt;<BR>&gt;&gt; &gt;&gt; Interestingly it fails 
  on my samsung 8.9 galaxy tablet running android 4.0.4 but works on my Galaxy S 
  Epic phone running 2.3.6.<BR>&gt;&gt; &gt;&gt;<BR>&gt;&gt; &gt;&gt; 
  &nbsp;<BR>&gt;&gt; &gt;&gt;<BR>&gt;&gt; &gt;&gt; The stacktrace above is from 
  the failure on the Tablet.<BR>&gt;&gt; &gt;&gt;<BR>&gt;&gt; &gt;&gt; 
  &nbsp;<BR>&gt;&gt; &gt;&gt;<BR>&gt;&gt; &gt;&gt; Tim&nbsp;<BR>&gt;&gt; 
  &gt;<BR>&gt;&gt; &gt;<BR>&gt;&gt; &gt; 
  _______________________________________________<BR>&gt;&gt; &gt; mythtv-users 
  mailing list<BR>&gt;&gt; &gt; <A 
  href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</A><BR>&gt;&gt; 
  &gt; <A 
  href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</A><BR>&gt;&gt; 
  &gt;<BR>&gt;&gt;<BR>&gt;&gt; Does the tab have an sd card mounted in it?&nbsp; 
  We are storing all resources downloaded from the backend in cache in external 
  storage.&nbsp;&nbsp;<BR>&gt;&gt;<BR>&gt;&gt; &nbsp;<BR>&gt;&gt;<BR>&gt;&gt; It 
  does.&nbsp;<BR>&gt;<BR>&gt;<BR>&gt; 
  _______________________________________________<BR>&gt; mythtv-users mailing 
  list<BR>&gt; <A 
  href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</A><BR>&gt; <A 
  href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</A><BR>&gt;</P>
  <P>Strange. Some of the guys have it running on the nexus 7 with no issue. 
</P>
  <P>I had to go out of town on business. Will take a look in a couple days. One 
  of the guys was looking into this for me so keep an eye on the repo. He might 
  checked some changes in regarding this. </P>
  <P>Is there anything else about the specs of that tablet that could be 
  relevant here? </P>
  <P>Thanks, <BR>Dan<SPAN class=671091817-19092012><FONT color=#0000ff size=2 
  face=Arial>&nbsp;</FONT></SPAN></P><SPAN class=671091817-19092012>
  <P><SPAN class=923530917-19092012><FONT color=#0000ff size=2 face=Arial>I have 
  been running this on the tablet for quite a while not.&nbsp; Just quit working 
  the last few&nbsp;days.</FONT></SPAN></P>
  <P><SPAN class=923530917-19092012></SPAN>&nbsp;</P>
  <P><SPAN class=923530917-19092012><FONT color=#0000ff size=2 face=Arial>I put 
  some breakpoints in ProgramGroupFragment and can say for sure that I am 
  getting to the call of loadPrograms at line 87 BEFORE the onCreate is 
  called.</FONT></SPAN></P>
  <P><SPAN class=923530917-19092012></SPAN>&nbsp;</P>
  <P><SPAN class=923530917-19092012><FONT color=#0000ff size=2 
  face=Arial>I&nbsp;think you will see that from the last&nbsp;<SPAN 
  class=671091817-19092012>few</SPAN> lines of the attached logcat 
  capture.</FONT></SPAN></P>
  <P><SPAN class=923530917-19092012></SPAN>&nbsp;</P>
  <P><SPAN class=923530917-19092012><FONT color=#0000ff size=2 
  face=Arial>Tim</FONT>&nbsp;</SPAN></P>
  <P><FONT color=#0000ff size=2 face=Arial>09-19 13:05:03.210: 
  V/BannerLruMemoryCache(22914): create : enter<BR>09-19 13:05:03.210: 
  V/BannerLruMemoryCache(22914): create : exit<BR>09-19 13:05:03.210: 
  V/RecordingsFragment(22914): getView : banner not found in adapter 
  cache<BR>09-19 13:05:03.210: V/RecordingsFragment(22914): 
  ProgramGroupRowAdapter.getView : exit<BR>09-19 13:05:03.220: 
  V/RecordingsFragment(22914): ProgramGroupRowAdapter.getView : enter<BR>09-19 
  13:05:03.230: V/BannerLruMemoryCache(22914): create : enter<BR>09-19 
  13:05:03.230: V/BannerLruMemoryCache(22914): create : exit<BR>09-19 
  13:05:03.230: V/RecordingsFragment(22914): getView : banner not found in 
  adapter cache<BR>09-19 13:05:03.230: V/RecordingsFragment(22914): 
  ProgramGroupRowAdapter.getView : exit<BR>09-19 13:05:03.240: 
  V/RecordingsFragment(22914): ProgramGroupRowAdapter.getView : enter<BR>09-19 
  13:05:03.250: V/BannerLruMemoryCache(22914): create : enter<BR>09-19 
  13:05:03.250: V/BannerLruMemoryCache(22914): create : exit<BR>09-19 
  13:05:03.250: V/RecordingsFragment(22914): getView : banner not found in 
  adapter cache<BR>09-19 13:05:03.250: V/RecordingsFragment(22914): 
  ProgramGroupRowAdapter.getView : exit<BR>09-19 13:05:03.260: 
  D/OpenGLRenderer(22914): Flushing caches (mode 0)<BR>09-19 13:05:03.280: 
  V/RecordingsFragment(22914): ProgramGroupRowAdapter.getView : enter<BR>09-19 
  13:05:03.300: V/BannerLruMemoryCache(22914): create : enter<BR>09-19 
  13:05:03.310: V/BannerLruMemoryCache(22914): create : exit<BR>09-19 
  13:05:03.310: V/RecordingsFragment(22914): getView : banner not found in 
  adapter cache<BR>09-19 13:05:03.310: V/RecordingsFragment(22914): 
  ProgramGroupRowAdapter.getView : exit<BR>09-19 13:05:03.650: 
  V/AbstractLocationAwareFragmentActivity(22914): onStop : enter<BR>09-19 
  13:05:03.650: V/AbstractLocationAwareFragmentActivity(22914): onStop : 
  exit<BR>09-19 13:05:07.060: V/RecordingsFragment(22914): onListItemClick : 
  enter<BR>09-19 13:05:07.060: V/RecordingsFragment(22914): onListItemClick : 
  position=6, id=6, <A 
  href="mailto:tag=org.mythtv.client.ui.dvr.RecordingsFragment$ViewHolder@417521c8">tag=org.mythtv.client.ui.dvr.RecordingsFragment$ViewHolder@417521c8</A><BR>09-19 
  13:05:07.060: D/RecordingsActivity(22914): onProgramGroupSelected : 
  enter<BR>09-19 13:05:07.060: V/RecordingsActivity(22914): 
  onProgramGroupSelected : adding program group to pane<BR>09-19 13:05:07.060: 
  V/RecordingsActivity(22914): onProgramGroupSelected : creating new 
  programGroupFragment<BR>09-19 13:05:07.120: V/RecordingsActivity(22914): 
  onProgramGroupSelected : setting program group to display<BR>09-19 
  13:05:07.120: I/ProgramGroupFragment(22914): loadPrograms : 
  enter</FONT>&nbsp;</SPAN></P></BLOCKQUOTE></BODY></HTML>