[mythtv-users] MythTV for Android null Pointer Exception

Timothy Krantz tkrantz at stahurabrenner.com
Tue Sep 18 21:10:12 UTC 2012


 


  _____  

From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Daniel Frey
Sent: Tuesday, September 18, 2012 4:47 PM
To: Discussion about MythTV
Subject: Re: [mythtv-users] MythTV for Android null Pointer Exception




On Sep 18, 2012 3:09 PM, "Timothy Krantz" <tkrantz at stahurabrenner.com>
wrote:
>
>  
>
>> ________________________________
>> From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Daniel Frey
>> Sent: Tuesday, September 18, 2012 2:53 PM
>>
>> To: Discussion about MythTV
>> Subject: Re: [mythtv-users] MythTV for Android null Pointer Exception
>>
>>
>> On Sep 18, 2012 2:50 PM, "Daniel Frey" <dmfrey at gmail.com> wrote:
>> >
>> >
>> > On Sep 18, 2012 2:39 PM, "Timothy Krantz" <tkrantz at stahurabrenner.com>
wrote:
>> > >
>> > >  
>> > >
>> > >> ________________________________
>> > >> From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Daniel Frey
>> > >> Sent: Tuesday, September 18, 2012 2:23 PM
>> > >> To: Discussion about MythTV
>> > >> Subject: Re: [mythtv-users] MythTV for Android null Pointer
Exception
>> > >>
>> > >>
>> > >> On Sep 18, 2012 2:01 PM, "Timothy Krantz"
<tkrantz at stahurabrenner.com> wrote:
>> > >> >
>> > >> > For the last couple of days when running the latest git code I am
getting a
>> > >> > null pointer exception when selecting a Program title from the
list of
>> > >> > program titles.
>> > >> >
>> > >> > In particular it is on line 92 of ProgramGroupFragment.  Whe it
tries to
>> > >> > dereference cache, cache is null.
>> > >> >
>> > >> > I have tried uninstalling and reinstalling, removing all the local
data from
>> > >> > the device etc but am still having a problem.
>> > >> >
>> > >> > Anything I can do to help diagnose?
>> > >> >
>> > >> > Tim
>> > >> >
>> > >> >
>> > >> > _______________________________________________
>> > >> > mythtv-users mailing list
>> > >> > mythtv-users at mythtv.org
>> > >> > http://www.mythtv.org/mailman/listinfo/mythtv-users
>> > >>
>> > >> Tim,
>> > >>
>> > >> Try and pull again. Made some changes this morning.
>> > >>
>> > >> That one sounds familiar. Might be what I fixed this morning.  
>> > >>
>> > >>  
>> > >>
>> > >> Did a fresh pull, uninstall/re install etc.  Same issue.
>> > >>
>> > >>  
>> > >>
>> > >> Tim 
>> > >
>> > >
>> > > _______________________________________________
>> > > mythtv-users mailing list
>> > > mythtv-users at mythtv.org
>> > > http://www.mythtv.org/mailman/listinfo/mythtv-users
>> > >
>> >
>> > Can you send me the java stacktrace from the location window?
>>
>> Also, what phone/tablet? Version of android?  
>>
>>  
>>
>>  
>>
>> Thread [<1> main] (Suspended (exception NullPointerException)) 
>>  ProgramGroupFragment.loadPrograms(String) line: 92 
>>  RecordingsActivity.onProgramGroupSelected(String) line: 73 
>>  RecordingsFragment.onListItemClick(ListView, View, int, long) line: 245 
>>  ListFragment$2.onItemClick(AdapterView, View, int, long) line: 58 
>>  ListView(AdapterView).performItemClick(View, int, long) line: 292 
>>  ListView(AbsListView).performItemClick(View, int, long) line: 1185 
>>  AbsListView$PerformClick.run() line: 2715 
>>  AbsListView$1.run() line: 3476 
>>  ViewRootImpl(Handler).handleCallback(Message) line: 605 
>>  ViewRootImpl(Handler).dispatchMessage(Message) line: 92 
>>  Looper.loop() line: 137 
>>  ActivityThread.main(String[]) line: 4512 
>>  Method.invokeNative(Object, Object[], Class, Class[], Class, int,
boolean) line: not available [native method] 
>>  Method.invoke(Object, Object...) line: 511 
>>  ZygoteInit$MethodAndArgsCaller.run() line: 978 
>>  ZygoteInit.main(String[]) line: 745 
>>  NativeStart.main(String[]) line: not available [native method] 
>>
>> 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.
>>
>>  
>>
>> The stacktrace above is from the failure on the Tablet.
>>
>>  
>>
>> Tim 
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>

Does the tab have an sd card mounted in it?  We are storing all resources
downloaded from the backend in cache in external storage.  

 

It does. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120918/11112026/attachment.html>


More information about the mythtv-users mailing list