﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
24396	error when i try to use plugin in josm	a.kissapov93@…	team	"==== What steps will reproduce the problem?
1. 
2. 
3. 

==== What is the expected result?

==== What happens instead?

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2025-06-02 16:42:20 +0200 (Mon, 02 Jun 2025)
Revision:19412
Build-Date:2025-06-03 01:30:55
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19412 ru) Windows 11 64-Bit
OS Build number: Windows 10 Pro 23H2 (22631)
Memory Usage: 888 MB / 4028 MB (500 MB allocated, but free)
Java version: 24.0.1+9-30, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1080x32bpp@144Hz (scaling 1.25×1.25)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: Cp1251
Locale info: ru_RU
Numbers with default locale: 1234567890 -> 1234567890
Dataset consistency test: No problems found

Plugins:
+ AddrInterpolation (36438)
+ HouseNumberTaggingTool (36438)
+ ImportImagePlugin (36438)
+ Mapillary (5bfecee)
+ PicLayer (266)
+ RoadSigns (36438)
+ apache-commons (36438)
+ buildings_tools (36438)
+ ejml (36438)
+ geotools (36438)
+ jackson (36438)
+ jaxb (36438)
+ jts (36438)
+ junctionchecking (36438)
+ mapwithai (839)
+ markseen (6b7f1cf)
+ measurement (36438)
+ merge-overlap (36438)
+ opendata (36440)
+ openvisible (36438)
+ photoadjust (36438)
+ pmtiles (36438)
+ reverter (36447)
+ utilsplugin2 (36438)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Last errors/warnings:
- 00465.995 W: java.io.IOException: Attribution is not loaded yet
- 00465.995 W: java.io.IOException: Attribution is not loaded yet
- 00465.996 W: java.io.IOException: Attribution is not loaded yet
- 00465.996 W: java.io.IOException: Attribution is not loaded yet
- 00465.996 W: java.io.IOException: Attribution is not loaded yet
- 00465.996 W: java.io.IOException: Attribution is not loaded yet
- 00465.996 W: java.io.IOException: Attribution is not loaded yet
- 00465.997 W: java.io.IOException: Attribution is not loaded yet
- 00484.192 E: Thread main-worker-0 raised java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Body=<Requested bounding box is too big. Max edge length allowed is 10000 meters along each direction.>
- 00484.195 E: Handled by bug report queue: java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Body=<Requested bounding box is too big. Max edge length allowed is 10000 meters along each direction.>. Причина: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Body=<Requested bounding box is too big. Max edge length allowed is 10000 meters along each direction.>. Причина: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Body=<Requested bounding box is too big. Max edge length allowed is 10000 meters along each direction.>



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main-worker-0 (38)
java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Body=<Requested bounding box is too big. Max edge length allowed is 10000 meters along each direction.>
	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
	at java.base/java.util.concurrent.ForkJoinTask.getException(ForkJoinTask.java:555)
	at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:573)
	at java.base/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:663)
	at org.openstreetmap.josm.plugins.mapwithai.actions.AddMapWithAILayerAction.realRun(AddMapWithAILayerAction.java:123)
	at org.openstreetmap.josm.plugins.mapwithai.actions.AddMapWithAILayerAction.lambda$actionPerformed$2(AddMapWithAILayerAction.java:88)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)
	at java.base/java.lang.Thread.run(Thread.java:1447)
Caused by: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Body=<Requested bounding box is too big. Max edge length allowed is 10000 meters along each direction.>
	at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1616)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1394)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1970)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
Caused by: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Body=<Requested bounding box is too big. Max edge length allowed is 10000 meters along each direction.>
	at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:220)
	at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:142)
	at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:126)
	at org.openstreetmap.josm.io.OsmServerReader.getInputStream(OsmServerReader.java:90)
	at org.openstreetmap.josm.io.OsmServerReader.getInputStream(OsmServerReader.java:73)
	at org.openstreetmap.josm.io.BoundingBoxDownloader.parseOsm(BoundingBoxDownloader.java:213)
	at org.openstreetmap.josm.plugins.mapwithai.backend.BoundingBoxMapWithAIDownloader.parseOsm(BoundingBoxMapWithAIDownloader.java:160)
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIDataUtils.lambda$download$6(MapWithAIDataUtils.java:178)
	at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1611)
	... 4 more
}}}
"	defect	closed	normal		Core		wontfix	template_report	
