Modify

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#22316 closed defect (fixed)

CancellationException in MapWithAI

Reported by: taylor.smock Owned by: taylor.smock
Priority: normal Milestone:
Component: Plugin mapwithai Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

What is the expected result?

What happens instead?

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

Build-Date:2022-08-24 15:42:12
Revision:18542
Is-Local-Build:true

Identification: JOSM/1.5 (18542 SVN en) Mac OS X 10.16
OS Build number: macOS 12.5.1 (21G83)
Memory Usage: 1490 MB / 3641 MB (442 MB allocated, but free)
Java version: 1.8.0_345-b01, Temurin, 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 1.00×1.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:58021,suspend=y,server=n, -javaagent:/Users/tsmock/Library/Caches/JetBrains/IntelliJIdea2022.2/captureAgent/debugger-agent.jar, -Dfile.encoding=UTF-8]
Program arguments: [--download, 39.064115,-108.566401,39.0656228,-108.5624528, --set=josm.version=18530, --set=pluginmanager.version=18530]
Dataset consistency test: No problems found

Plugins:
+ ImportImagePlugin (36013)
+ Lanes (${version.entry.commit.revision})
+ Mapillary (2.0.0-beta.17)
+ PicLayer (1.0.2)
+ apache-commons (36003)
+ apache-http (35924)
+ changeset-viewer (v0.0.4)
+ ejml (35924)
+ geotools (36015)
+ jackson (36006)
+ jaxb (35952)
+ jna (36005)
+ jts (36004)
+ mapwithai (1.9.16)
+ osmwiki-dataitem (0.0.5)
+ utilsplugin2 (36011)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss

Last errors/warnings:
- 00003.573 W: Update plugins - You updated your JOSM software. To prevent problems the plugins should be updated as well.  Update plugins now?
- 00039.897 E: Failed to locate image 'MapWithAI'
- 00131.246 E: Exception raised in EDT: java.lang.reflect.InvocationTargetException. Cause: java.lang.IllegalMonitorStateException
- 00135.039 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>
- 00135.052 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>
- 00137.620 E: Handled by bug report queue: java.util.concurrent.CancellationException



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (22) of main
java.util.concurrent.CancellationException
	at java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:675)
	at java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:720)
	at org.openstreetmap.josm.plugins.mapwithai.backend.DownloadMapWithAITask$DownloadTask.lambda$realRun$2(DownloadMapWithAITask.java:146)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at org.openstreetmap.josm.plugins.mapwithai.backend.DownloadMapWithAITask$DownloadTask.realRun(DownloadMapWithAITask.java:146)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:94)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:142)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)
	at java.util.concurrent.FutureTask.run(FutureTask.java)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)

Attachments (0)

Change History (3)

comment:1 by taylor.smock, 2 years ago

Resolution: fixed
Status: newclosed

comment:2 by taylor.smock, 2 years ago

Fixed in 207161b6.

comment:3 by taylor.smock, 2 years ago

Ticket #22577 has been marked as a duplicate of this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain taylor.smock.
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.