<!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> </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" <<A
href="mailto:tkrantz@stahurabrenner.com">tkrantz@stahurabrenner.com</A>>
wrote:<BR>><BR>> <BR>><BR>>>
________________________________<BR>>> 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>>> Sent: Tuesday, September 18, 2012 4:47
PM<BR>>><BR>>> To: Discussion about MythTV<BR>>> Subject:
Re: [mythtv-users] MythTV for Android null Pointer
Exception<BR>>><BR>>><BR>>> On Sep 18, 2012 3:09 PM,
"Timothy Krantz" <<A
href="mailto:tkrantz@stahurabrenner.com">tkrantz@stahurabrenner.com</A>>
wrote:<BR>>> ><BR>>> > <BR>>> ><BR>>>
>> ________________________________<BR>>> >> 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>>> >> Sent: Tuesday, September 18,
2012 2:53 PM<BR>>> >><BR>>> >> To: Discussion about
MythTV<BR>>> >> Subject: Re: [mythtv-users] MythTV for Android
null Pointer Exception<BR>>> >><BR>>> >><BR>>>
>> On Sep 18, 2012 2:50 PM, "Daniel Frey" <<A
href="mailto:dmfrey@gmail.com">dmfrey@gmail.com</A>> wrote:<BR>>>
>> ><BR>>> >> ><BR>>> >> > On Sep 18,
2012 2:39 PM, "Timothy Krantz" <<A
href="mailto:tkrantz@stahurabrenner.com">tkrantz@stahurabrenner.com</A>>
wrote:<BR>>> >> > ><BR>>> >> > >
<BR>>> >> > ><BR>>> >> > >>
________________________________<BR>>> >> > >> 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>>> >> > >> Sent: Tuesday,
September 18, 2012 2:23 PM<BR>>> >> > >> To: Discussion
about MythTV<BR>>> >> > >> Subject: Re: [mythtv-users]
MythTV for Android null Pointer Exception<BR>>> >> >
>><BR>>> >> > >><BR>>> >> > >>
On Sep 18, 2012 2:01 PM, "Timothy Krantz" <<A
href="mailto:tkrantz@stahurabrenner.com">tkrantz@stahurabrenner.com</A>>
wrote:<BR>>> >> > >> ><BR>>> >> >
>> > For the last couple of days when running the latest git code I
am getting a<BR>>> >> > >> > null pointer exception
when selecting a Program title from the list of<BR>>> >> >
>> > program titles.<BR>>> >> > >>
><BR>>> >> > >> > In particular it is on line 92 of
ProgramGroupFragment. Whe it tries to<BR>>> >> > >>
> dereference cache, cache is null.<BR>>> >> > >>
><BR>>> >> > >> > I have tried uninstalling and
reinstalling, removing all the local data from<BR>>> >> >
>> > the device etc but am still having a problem.<BR>>>
>> > >> ><BR>>> >> > >> > Anything I
can do to help diagnose?<BR>>> >> > >> ><BR>>>
>> > >> > Tim<BR>>> >> > >>
><BR>>> >> > >> ><BR>>> >> >
>> > _______________________________________________<BR>>>
>> > >> > mythtv-users mailing list<BR>>> >>
> >> > <A
href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</A><BR>>>
>> > >> > <A
href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</A><BR>>>
>> > >><BR>>> >> > >> Tim,<BR>>>
>> > >><BR>>> >> > >> Try and pull again.
Made some changes this morning.<BR>>> >> > >><BR>>>
>> > >> That one sounds familiar. Might be what I fixed this
morning. <BR>>> >> > >><BR>>> >>
> >> <BR>>> >> > >><BR>>> >>
> >> Did a fresh pull, uninstall/re install etc. Same
issue.<BR>>> >> > >><BR>>> >> > >>
<BR>>> >> > >><BR>>> >> > >>
Tim <BR>>> >> > ><BR>>> >> >
><BR>>> >> > >
_______________________________________________<BR>>> >> > >
mythtv-users mailing list<BR>>> >> > > <A
href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</A><BR>>>
>> > > <A
href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</A><BR>>>
>> > ><BR>>> >> ><BR>>> >> > Can you
send me the java stacktrace from the location window?<BR>>>
>><BR>>> >> Also, what phone/tablet? Version of
android? <BR>>> >><BR>>> >>
<BR>>> >><BR>>> >> <BR>>>
>><BR>>> >> Thread [<1> main] (Suspended (exception
NullPointerException)) <BR>>> >>
ProgramGroupFragment.loadPrograms(String) line: 92 <BR>>>
>> RecordingsActivity.onProgramGroupSelected(String) line:
73 <BR>>> >>
RecordingsFragment.onListItemClick(ListView, View, int, long) line:
245 <BR>>> >> ListFragment$2.onItemClick(AdapterView,
View, int, long) line: 58 <BR>>> >>
ListView(AdapterView).performItemClick(View, int, long) line:
292 <BR>>> >>
ListView(AbsListView).performItemClick(View, int, long) line:
1185 <BR>>> >> AbsListView$PerformClick.run() line:
2715 <BR>>> >> AbsListView$1.run() line:
3476 <BR>>> >>
ViewRootImpl(Handler).handleCallback(Message) line:
605 <BR>>> >>
ViewRootImpl(Handler).dispatchMessage(Message) line:
92 <BR>>> >> Looper.loop() line: 137 <BR>>>
>> ActivityThread.main(String[]) line: 4512 <BR>>>
>> Method.invokeNative(Object, Object[], Class, Class[], Class,
int, boolean) line: not available [native method] <BR>>> >>
Method.invoke(Object, Object...) line: 511 <BR>>> >>
ZygoteInit$MethodAndArgsCaller.run() line: 978 <BR>>>
>> ZygoteInit.main(String[]) line: 745 <BR>>> >>
NativeStart.main(String[]) line: not available [native
method] <BR>>> >><BR>>> >> 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>>> >><BR>>> >>
<BR>>> >><BR>>> >> The stacktrace above is from
the failure on the Tablet.<BR>>> >><BR>>> >>
<BR>>> >><BR>>> >> Tim <BR>>>
><BR>>> ><BR>>> >
_______________________________________________<BR>>> > mythtv-users
mailing list<BR>>> > <A
href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</A><BR>>>
> <A
href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</A><BR>>>
><BR>>><BR>>> Does the tab have an sd card mounted in it?
We are storing all resources downloaded from the backend in cache in external
storage. <BR>>><BR>>> <BR>>><BR>>> It
does. <BR>><BR>><BR>>
_______________________________________________<BR>> mythtv-users mailing
list<BR>> <A
href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</A><BR>> <A
href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</A><BR>></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> </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. Just quit working
the last few days.</FONT></SPAN></P>
<P><SPAN class=923530917-19092012></SPAN> </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> </P>
<P><SPAN class=923530917-19092012><FONT color=#0000ff size=2
face=Arial>I think you will see that from the last <SPAN
class=671091817-19092012>few</SPAN> lines of the attached logcat
capture.</FONT></SPAN></P>
<P><SPAN class=923530917-19092012></SPAN> </P>
<P><SPAN class=923530917-19092012><FONT color=#0000ff size=2
face=Arial>Tim</FONT> </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> </SPAN></P></BLOCKQUOTE></BODY></HTML>