#21265 closed defect (fixed)
NPE in mapillary plugin
Reported by: | Polarbear-j | Owned by: | Polarbear-j |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin mapillary | Version: | |
Keywords: | NPE | Cc: |
Description
This happened while I had the mapillary filter set to 'not older than 1 year' and had trouble selecting images in the trace.
(dump follows)
Attachments (1)
Change History (8)
comment:2 by , 4 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
I fixed this today. :)
The problem was in JOSM core (my fault), and was due to me misreading a math equation.
I have been intending to release a workaround for older JOSM versions (currently blocked behind a failing test -- I need to debug that).
I do need the json line.
- json: {"data":[{"altitude":75.864,"thumb_2048_url":"https://scontent-ber1-1.xx.fbcdn.net/m1/v/t6/An_2FVQ_oXXPE-65YvkjFJVlMQ7jcTEzk5V00oYTqrMBF6mO017_3y90x4rWZWz4IxiATDH30CqW8Bbf8OBAtA5N6WANkL_vb25bWJ6wUxGP5CiY3T7FhaZCIc-SxmQOdHKEp7eXAsnTttFwiqwJJA?stp=s2048x1536&ccb=10-5&oh=df4aa3e8d5d2197801b0e86e4e5b9bfd&oe=6132A7B9&_nc_sid=122ab1","captured_at":1622825444500,"compass_angle":0,"exif_orientation":1,"geometry":
The problem is that the geometry (probably computed?) had a null value.
by , 4 years ago
Attachment: | debug-josm-log.gz added |
---|
comment:5 by , 4 years ago
Replying to Polarbear-j:
so the fix will be in today's daily JOSM, or in the plugin?
The fix for #21254 will be in the JOSM-latest.jar (whenever that is generated), and I'm hoping to have the workaround for earlier versions in the plugin today.
For this ticket, I'll try to get the fix out in the plugin today.
comment:6 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | needinfo → closed |
Fixed in cd8b3fdc830495fce6a4fffdee1d012a7180e3a9. Not yet released -- depends upon pipeline passing, and there is a flaky test I need to debug.
I'll try to get it out today, and I'll come back and update this ticket when that happens.
comment:7 by , 4 years ago
I've done a release. Please wait ~10 minutes before updating (that is about how long it takes for the JOSM servers to parse the updated jar file and get the new version number).