neoflying

Results issues of neoflying

场景: os: cpu: all usage: 76.98% all idle: 23.02% process: 602.65% net: send(Bps) recv(Bps) send(pps) recv(pps) interface 35 35 0 0 lo 19.448M 14.379M 5.721K 11.214K eth0 vertx: instances: name...

代码 Object jsonObject = JSON.parse("{\"path\":\"\"}"); Object readResult = JSONPath.compile("$.path.docExt.a").eval(jsonObject); 错误 Exception in thread "main" java.lang.NullPointerException at com.alibaba.fastjson.JSONPath.getPropertyValue(JSONPath.java:3868) at com.alibaba.fastjson.JSONPath$PropertySegment.eval(JSONPath.java:2354) at com.alibaba.fastjson.JSONPath.eval(JSONPath.java:121) 源码: 这个地方是否需要增加判空 https://github.com/alibaba/fastjson/blob/7abc84fc2c208f148970ca854f2f6a59466e47ae/src/main/java/com/alibaba/fastjson/JSONPath.java#L3868 ![image](https://user-images.githubusercontent.com/22628664/171355820-e30fd59d-8c3d-4830-8543-034c8400727d.png)