MythTV-Clients / MythTV-Android-Frontend

Implementation of MythTV .25+ Services API for Android
GNU General Public License v3.0
66 stars 16 forks source link

Developer Console: 1.20.4: Stack Overflow, WeakHashMap.java:569 #242

Open billmeek opened 11 years ago

billmeek commented 11 years ago

Note that I cut about 50 of the final repeating couplets off of this paste. May be related to #235, but the stack is different (has: getLiveStreamList below. User comment in the Console was:

Galaxy Rugby Pro (comancheatt) crash after idle for a bit
java.lang.StackOverflowError
at java.util.WeakHashMap.poll(WeakHashMap.java:569)
at java.util.WeakHashMap.get(WeakHashMap.java:473)
at org.apache.harmony.lang.annotation.AnnotationFactory.getElementsDescription(AnnotationFactory.java:62)
at org.apache.harmony.lang.annotation.AnnotationFactory.<init>(AnnotationFactory.java:115)
at org.apache.harmony.lang.annotation.AnnotationFactory.createAnnotation(AnnotationFactory.java:97)
at java.lang.reflect.Method.getDeclaredAnnotations(Native Method)
at java.lang.reflect.Method.getDeclaredAnnotations(Method.java:267)
at com.fasterxml.jackson.databind.introspect.AnnotatedClass._constructMethod(AnnotatedClass.java:743)
at com.fasterxml.jackson.databind.introspect.AnnotatedClass._addMemberMethods(AnnotatedClass.java:599)
at com.fasterxml.jackson.databind.introspect.AnnotatedClass.resolveMemberMethods(AnnotatedClass.java:416)
at com.fasterxml.jackson.databind.introspect.AnnotatedClass.memberMethods(AnnotatedClass.java:243)
at com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector._addMethods(POJOPropertiesCollector.java:457)
at com.fasterxml.jackson.databind.introspect.POJOPropertiesCollector.collect(POJOPropertiesCollector.java:233)
at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.collectProperties(BasicClassIntrospector.java:142)
at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forDeserialization(BasicClassIntrospector.java:81)
at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forDeserialization(BasicClassIntrospector.java:11)
at com.fasterxml.jackson.databind.DeserializationConfig.introspect(DeserializationConfig.java:507)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:329)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:267)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:247)
at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:146)
at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:305)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.findDeserializer(StdDeserializer.java:634)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:438)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:298)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:247)
at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:146)
at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:305)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:151)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:23)
at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:309)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.findDeserializer(StdDeserializer.java:634)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:438)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:298)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:247)
at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:146)
at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:305)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.findDeserializer(StdDeserializer.java:634)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:438)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:298)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:247)
at com.fasterxml.jackson.databind.deser.DeserializerCache.hasValueDeserializerFor(DeserializerCache.java:194)
at com.fasterxml.jackson.databind.DeserializationContext.hasValueDeserializerFor(DeserializationContext.java:293)
at com.fasterxml.jackson.databind.ObjectMapper.canDeserialize(ObjectMapper.java:1971)
at org.springframework.http.converter.json.MappingJackson2HttpMessageConverter.canRead(MappingJackson2HttpMessageConverter.java:103)
at org.springframework.web.client.RestTemplate$AcceptHeaderRequestCallback.doWithRequest(RestTemplate.java:542)
at org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.doWithRequest(RestTemplate.java:593)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:474)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:453)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:429)
at org.mythtv.services.api.v026.impl.ContentTemplate.getLiveStreamList(ContentTemplate.java:355)
at org.mythtv.service.content.v26.LiveStreamHelperV26.load(LiveStreamHelperV26.java:178)
at org.mythtv.service.content.v26.LiveStreamHelperV26.load(LiveStreamHelperV26.java:493)
at org.mythtv.service.content.v26.LiveStreamHelperV26.load(LiveStreamHelperV26.java:188)
at org.mythtv.service.content.v26.LiveStreamHelperV26.load(LiveStreamHelperV26.java:493)
at org.mythtv.service.content.v26.LiveStreamHelperV26.load(LiveStreamHelperV26.java:188)
at org.mythtv.service.content.v26.LiveStreamHelperV26.load(LiveStreamHelperV26.java:493)
dbadia commented 11 years ago

Adding debug info as requested:

dave@jj ~ $ curl -X GET -H "accept: application/json" http://192.168.1.101:6544/Content/GetLiveStreamList -o GetLiveStreamList.json % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2357 100 2357 0 0 692k 0 --:--:-- --:--:-- --:--:-- 767k dave@jj ~ $ more GetLiveStreamList.json

{"LiveStreamInfoList": {"LiveStreamInfos": [{"Id": "50", "Width": "720", "Height": "544", "Bitrate": "1000000", "AudioBitrate": "128000", "SegmentSize": "10", "MaxSegme
nts": "0", "StartSegment": "1", "CurrentSegment": "212", "SegmentCount": "212", "PercentComplete": "100", "Created": "2013-10-28T01:16:54Z", "LastModified": "2013-10-28
T01:16:54Z", "RelativeURL": "\/StorageGroup\/Streaming\/1423_20130428135900.mpg.720x544_1000kV_128kA.m3u8", "FullURL": "http:\/\/192.168.1.101:6544\/StorageGroup\/Strea
ming\/1423_20130428135900.mpg.720x544_1000kV_128kA.m3u8", "StatusStr": "Completed", "StatusInt": "3", "StatusMessage": "Transcoding Completed", "SourceFile": "\/mnt\/jj
\/single1\/media\/tv\/1423_20130428135900.mpg", "SourceHost": "jj", "SourceWidth": "704", "SourceHeight": "480", "AudioOnlyBitrate": "32000"},{"Id": "49", "Width": "720
", "Height": "544", "Bitrate": "1000000", "AudioBitrate": "128000", "SegmentSize": "10", "MaxSegments": "0", "StartSegment": "1", "CurrentSegment": "212", "SegmentCount
": "212", "PercentComplete": "100", "Created": "2013-10-27T23:04:56Z", "LastModified": "2013-10-27T23:04:56Z", "RelativeURL": "\/StorageGroup\/Streaming\/1423_201304281
35900.mpg.720x544_1000kV_128kA.m3u8", "FullURL": "http:\/\/192.168.1.101:6544\/StorageGroup\/Streaming\/1423_20130428135900.mpg.720x544_1000kV_128kA.m3u8", "StatusStr":
 "Completed", "StatusInt": "3", "StatusMessage": "Transcoding Completed", "SourceFile": "\/mnt\/jj\/single1\/media\/tv\/1423_20130428135900.mpg", "SourceHost": "jj", "S
ourceWidth": "704", "SourceHeight": "480", "AudioOnlyBitrate": "32000"},{"Id": "48", "Width": "960", "Height": "544", "Bitrate": "1000000", "AudioBitrate": "128000", "S
egmentSize": "10", "MaxSegments": "0", "StartSegment": "1", "CurrentSegment": "390", "SegmentCount": "390", "PercentComplete": "100", "Created": "2013-10-26T19:48:25Z",
 "LastModified": "2013-10-26T19:48:25Z", "RelativeURL": "\/StorageGroup\/Streaming\/1091_20131012020000.mpg.960x544_1000kV_128kA.m3u8", "FullURL": "http:\/\/192.168.1.1
01:6544\/StorageGroup\/Streaming\/1091_20131012020000.mpg.960x544_1000kV_128kA.m3u8", "StatusStr": "Completed", "StatusInt": "3", "StatusMessage": "Transcoding Complete
d", "SourceFile": "\/mnt\/jj\/single1\/media\/tv\/1091_20131012020000.mpg", "SourceHost": "jj", "SourceWidth": "1280", "SourceHeight": "720", "AudioOnlyBitrate": "32000
"}]}}