dsheirer / radio-reference-api Goto Github PK
View Code? Open in Web Editor NEWRadio Reference Web Service Library
Radio Reference Web Service Library
Remove debug logging in the radio reference service class.
The system information type currently contains a single bandplan member variable, but this structure can provide an array of bandplans.
Voice map is loading voice objects by type id instead of voice id.
It appears that we're randomly getting a null value in the Tags map response message and this is causing an NPE when populating the tags map.
Add code to handle NPEs when processing the get tags response message.
07:35:02.950 ERROR i.g.d.r.RadioReferenceService - Error parsing response:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>503 Backend fetch failed</title>
</head>
<body>
<h1>Error 503 Backend fetch failed</h1>
<p>Backend fetch failed</p>
<h3>Guru Meditation:</h3>
<p>XID: 11533766</p>
<hr>
<p>Varnish cache server</p>
</body>
</html>
The service-provide flavor map is loading the flavors by type id instead of flavor id.
The Site class should support an array of bandplan objects. It currently only supports a single bandplan.
20200804 203705.146 [sdrtrunk pool-1-thread-11] ERROR i.g.d.g.p.r.SystemEditor - Error retrieving system information [97MB/150MB 64%]
io.github.dsheirer.rrapi.RadioReferenceException: Error deserializing XML response: [SOAP envelope snipped]
at io.github.dsheirer.rrapi.RadioReferenceService.submitSync(RadioReferenceService.java:1208)
at io.github.dsheirer.rrapi.RadioReferenceService.getSites(RadioReferenceService.java:456)
at io.github.dsheirer.service.radioreference.CachingRadioReferenceService.access$1101(CachingRadioReferenceService.java:44)
at io.github.dsheirer.service.radioreference.CachingRadioReferenceService.getSites(CachingRadioReferenceService.java:203)
at io.github.dsheirer.gui.playlist.radioreference.SystemEditor.lambda$setSystem$5(SystemEditor.java:282)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "item" (class io.github.dsheirer.rrapi.type.Bandplan), not marked as ignorable (3 known properties: "base", "offset", "spacing"])
at [Source: (StringReader); line: 1, column: 4282] (through reference chain: io.github.dsheirer.rrapi.response.ResponseEnvelope["Body"]->io.github.dsheirer.rrapi.response.GetSitesResponse["return"]->java.util.ArrayList[2]->io.github.dsheirer.rrapi.type.Site["bandplan"]->io.github.dsheirer.rrapi.type.Bandplan["item"])
at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61)
at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:823)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1153)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1589)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1567)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:294)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:286)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.jsontype.impl.AsWrapperTypeDeserializer._deserialize(AsWrapperTypeDeserializer.java:121)
at com.fasterxml.jackson.databind.jsontype.impl.AsWrapperTypeDeserializer.deserializeTypedFromObject(AsWrapperTypeDeserializer.java:52)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeWithType(BeanDeserializerBase.java:1178)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:136)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4013)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3004)
at io.github.dsheirer.rrapi.RadioReferenceService.deserialize(RadioReferenceService.java:1227)
at io.github.dsheirer.rrapi.RadioReferenceService.submitSync(RadioReferenceService.java:1193)
... 10 common frames omitted
Site object currently exposes the 'siteCt' field as County name, but it is the Motorola Type II Connect Tone (per Lindsay B).
Update the library to support API version 18
Cannot query for agency info objects.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.