Modify

Opened 18 months ago

#23299 new defect

Update to API v2

Reported by: taylor.smock Owned by: jBeata
Priority: normal Milestone:
Component: Plugin Kartaview/openstreetcam Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Attempt to view https://kartaview.org/details/1593853/1 in JOSM (look for the images without a direction, this particular image is at 39.06441, -108.5648817)
  2. Error loading image.
    2023-11-13 14:55:54.110 SEVERE: EDT violation detected
    2023-11-13 14:55:54.110 SEVERE: javax.swing.JLabel[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,horizontalAlignment=LEADING,horizontalTextPosition=TRAILING,iconTextGap=4,labelFor=,text=Error loading image.,verticalAlignment=CENTER,verticalTextPosition=CENTER]
    2023-11-13 14:55:54.110 SEVERE: 	at java.base/java.lang.Thread.getStackTrace(Thread.java:2450)
    2023-11-13 14:55:54.110 SEVERE: 	at org.openstreetmap.josm.gui.util.CheckThreadViolationRepaintManager.checkThreadViolations(CheckThreadViolationRepaintManager.java:54)
    2023-11-13 14:55:54.110 SEVERE: 	at org.openstreetmap.josm.gui.util.CheckThreadViolationRepaintManager.addDirtyRegion(CheckThreadViolationRepaintManager.java:45)
    2023-11-13 14:55:54.110 SEVERE: 	at java.desktop/javax.swing.JComponent.repaint(JComponent.java:4899)
    2023-11-13 14:55:54.110 SEVERE: 	at java.desktop/java.awt.Component.repaint(Component.java:3395)
    2023-11-13 14:55:54.110 SEVERE: 	at java.desktop/javax.swing.JLabel.setText(JLabel.java:356)
    2023-11-13 14:55:54.111 SEVERE: 	at java.desktop/javax.swing.JLabel.<init>(JLabel.java:177)
    2023-11-13 14:55:54.111 SEVERE: 	at java.desktop/javax.swing.JLabel.<init>(JLabel.java:210)
    2023-11-13 14:55:54.111 SEVERE: 	at com.grab.josm.common.gui.builder.LabelBuilder.build(LabelBuilder.java:37)
    2023-11-13 14:55:54.111 SEVERE: 	at com.grab.josm.common.gui.builder.LabelBuilder.build(LabelBuilder.java:51)
    2023-11-13 14:55:54.111 SEVERE: 	at org.openstreetmap.josm.plugins.kartaview.gui.details.photo.PhotoPanel.displayErrorMessage(PhotoPanel.java:127)
    2023-11-13 14:55:54.112 SEVERE: 	at org.openstreetmap.josm.plugins.kartaview.gui.details.photo.PhotoDetailsDialog.loadPhoto(PhotoDetailsDialog.java:207)
    2023-11-13 14:55:54.112 SEVERE: 	at org.openstreetmap.josm.plugins.kartaview.gui.details.photo.PhotoDetailsDialog.lambda$updateUI$0(PhotoDetailsDialog.java:176)
    2023-11-13 14:55:54.112 SEVERE: 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    2023-11-13 14:55:54.112 SEVERE: 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    2023-11-13 14:55:54.112 SEVERE: 	at java.base/java.lang.Thread.run(Thread.java:1583)
    

Additional note: You should probably fix the EDT violation at the same time.

Please provide any additional information below. Attach a screenshot if possible.

Revision:18895
Is-Local-Build:true
Build-Date:2023-11-10 05:26:21

Identification: JOSM/1.5 (18895 SVN en) Mac OS X 13.6.1
OS Build number: macOS 13.6.1 (22G313)
Memory Usage: 584 MB / 4096 MB (113 MB allocated, but free)
Java version: 21.0.1+12-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 188945233 1920×1080 (scaling 1.00×1.00) Display 188945231 1920×1080 (scaling 1.00×1.00) Display 69733382 1680×1050 (scaling 2.00×2.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-agentlib:jdwp=transport=dt_socket,address=127.0.0.1:52320,suspend=y,server=n, -javaagent:${HOME}/Library/Caches/JetBrains/IntelliJIdea2023.3/captureAgent/debugger-agent.jar, -Dfile.encoding=UTF-8, -Dsun.stdout.encoding=UTF-8, -Dsun.stderr.encoding=UTF-8]
Program arguments: [--download, 39.064115,-108.566401,39.0656228,-108.5624528]
Dataset consistency test: No problems found

Plugins:
+ KartaView (413)

Tagging presets:
+ <josm.userdata>/EasyPresets.xml

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Potlatch2&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Last errors/warnings:
- 00038.440 E: 	at java.desktop/javax.swing.JLabel.<init>(JLabel.java:177)
- 00038.440 E: 	at java.desktop/javax.swing.JLabel.<init>(JLabel.java:210)
- 00038.440 E: 	at com.grab.josm.common.gui.builder.LabelBuilder.build(LabelBuilder.java:37)
- 00038.440 E: 	at com.grab.josm.common.gui.builder.LabelBuilder.build(LabelBuilder.java:51)
- 00038.441 E: 	at org.openstreetmap.josm.plugins.kartaview.gui.details.photo.PhotoPanel.displayErrorMessage(PhotoPanel.java:127)
- 00038.441 E: 	at org.openstreetmap.josm.plugins.kartaview.gui.details.photo.PhotoDetailsDialog.loadPhoto(PhotoDetailsDialog.java:207)
- 00038.441 E: 	at org.openstreetmap.josm.plugins.kartaview.gui.details.photo.PhotoDetailsDialog.lambda$updateUI$0(PhotoDetailsDialog.java:176)
- 00038.441 E: 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
- 00038.441 E: 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
- 00038.441 E: 	at java.base/java.lang.Thread.run(Thread.java:1583)

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain jBeata.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from jBeata to the specified user.
Next status will be 'needinfo'. The owner will be changed from jBeata to taylor.smock.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from jBeata to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.