DelfiSpace / PQ9EGSE

The PQ9 EGSE is the Electric Ground Support Equipment used to connect the PQ9 bus to a computer for testing.
GNU General Public License v3.0
3 stars 1 forks source link

Bug in PQ9DataClient #16

Open StefanoSperetta opened 4 years ago

StefanoSperetta commented 4 years ago

Exception in thread "main" java.lang.ClassCastException: class org.json.simple.JSONArray cannot be cast to class org.json.simple.JSONObject (org.json.simple.JSONArray and org.json.simple.JSONObject are in unnamed module of loader 'app') at org.delfispace.pq9debugger.PQ9DataSocket.PQ9DataClient.lambda$getFrame2$1(PQ9DataClient.java:131) at java.base/java.util.HashMap.forEach(HashMap.java:1336) at org.delfispace.pq9debugger.PQ9DataSocket.PQ9DataClient.getFrame2(PQ9DataClient.java:125) at org.delfispace.pq9debugger.PQ9DataSocket.TestEPS.main(TestEPS.java:80) Command execution failed.