Modify

Opened 4 years ago

Closed 3 years ago

#21175 closed defect (fixed)

NPE after loading wikimedia commons images and selecting an image icon on the map

Reported by: anonymous Owned by: Don-vip
Priority: normal Milestone: 21.07
Component: Core image mapping Version: tested
Keywords: template_report wikimedia commons Cc:

Description

What steps will reproduce the problem?

  1. loading wikimedia commons images
  2. click an image icon on the map
  3. geotagged image window opens, error is given

What is the expected result?

What happens instead?

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

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-07-12 02:41:41 +0200 (Mon, 12 Jul 2021)
Build-Date:2021-07-12 00:42:49
Revision:18004
Relative:URL: ^/trunk

Identification: JOSM/1.5 (18004 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19043)
Memory Usage: 697 MB / 1820 MB (430 MB allocated, but free)
Java version: 1.8.0_301-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1366×768 (scaling 1.00×1.00)
Maximum Screen Size: 1366×768
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890

Plugins:
+ imagery_offset_db (35640)
+ turnrestrictions (35640)

Last errors/warnings:
- 00150.401 W: org.openstreetmap.josm.io.OsmTransferCanceledException: Operation canceled. Cause: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: javax.net.ssl.SSLException: java.net.SocketException: Socket Closed. Cause: javax.net.ssl.SSLException: java.net.SocketException: Socket Closed. Cause: java.net.SocketException: Socket Closed
- 00197.913 W: java.net.SocketTimeoutException: Read timed out. Cause: java.net.SocketTimeoutException: Read timed out
- 00233.765 W: java.net.SocketTimeoutException: Read timed out. Cause: java.net.SocketTimeoutException: Read timed out
- 00234.911 W: java.net.SocketTimeoutException: Read timed out. Cause: java.net.SocketTimeoutException: Read timed out
- 00264.940 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<You requested too many nodes (limit is 50000). Either request a smaller area, or use planet.osm>
- 00264.953 E: Bad Request - <html>The OSM server 'api.openstreetmap.org' reported a bad request.<br><br>The area you tried to download is too big or your request was too large.<br>Either request a smaller area or use an export file provided by the OSM community.</html>
- 01019.564 E: Failed to locate image '[[Image(pond.png)]]'
- 01019.584 E: Failed to locate image '[[Image(oil-palm.png)]]'
- 01600.122 E: Thread main-worker-0 raised java.lang.NullPointerException
- 01600.126 E: Handled by bug report queue: java.lang.NullPointerException



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main-worker-0 (18)
java.lang.NullPointerException
	at org.openstreetmap.josm.gui.layer.geoimage.ImageEntry.read(ImageEntry.java:150)
	at org.openstreetmap.josm.gui.layer.geoimage.ImageDisplay$LoadImageRunnable.run(ImageDisplay.java:256)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Attachments (0)

Change History (3)

comment:1 by skyper, 4 years ago

Component: CoreCore image mapping
Keywords: wikimedia commons added
Version: tested

comment:2 by Don-vip, 3 years ago

Milestone: 21.07
Owner: changed from team to Don-vip
Status: newassigned
Summary: After loading wikimedia commons images, when I click an image icon on the map, it gives me the errorNPE after loading wikimedia commons images and selecting an image icon on the map

comment:3 by Don-vip, 3 years ago

Resolution: fixed
Status: assignedclosed

In 18108/josm:

fix #21175 - fix NPE

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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