Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.5.22294: DownloadFileParser#parse:38 - org.snakeyaml.engine.v2.exceptions.ScannerException #13093

Closed
tripleabuilderbot opened this issue Jan 2, 2025 · 2 comments
Labels
Error Report Issue reported via the in-game error reporter

Comments

@tripleabuilderbot
Copy link
Contributor

User Description

error when clicking download maps

Log Message

Error while downloading file

TripleA Version

2.5.22294

Java Version

11.0.6

Operating System

Windows 10

Memory

Heap utilization statistics [MB]
Used Memory: 32
Free memory: 1947
Total memory: 1979
Max memory: 1979

Stack Trace

Exception: java.io.IOExceptionmapping values are not allowed here
 in reader, line 2967, column 18:
    - mapName: Hellas: Athens vs. Sparta (beta)
                     ^

java.lang.Exception
	at games.strategy.engine.framework.map.download.DownloadFileParser.parse(DownloadFileParser.java:38)
	at games.strategy.engine.framework.map.download.ContentReader.downloadAndApplyAction(ContentReader.java:51)
	at games.strategy.engine.framework.map.download.ContentReader.download(ContentReader.java:39)
	at games.strategy.engine.framework.map.download.DownloadRunnable.download(DownloadRunnable.java:26)
	at games.strategy.engine.framework.map.listing.MapListingFetcher.lambda$getMapDownloadList$1(MapListingFetcher.java:39)
	at java.base/java.util.Optional.orElseGet(Optional.java:369)
	at games.strategy.engine.framework.map.listing.MapListingFetcher.getMapDownloadList(MapListingFetcher.java:39)
	at games.strategy.engine.framework.ui.background.BackgroundTaskRunner$1.doInBackground(BackgroundTaskRunner.java:108)
	at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)


Exception: org.snakeyaml.engine.v2.exceptions.ScannerExceptionmapping values are not allowed here
 in reader, line 2967, column 18:
    - mapName: Hellas: Athens vs. Sparta (beta)
                     ^

java.lang.Exception
	at org.snakeyaml.engine.v2.scanner.ScannerImpl.fetchValue(ScannerImpl.java:780)
	at org.snakeyaml.engine.v2.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:291)
	at org.snakeyaml.engine.v2.scanner.ScannerImpl.checkToken(ScannerImpl.java:150)
	at org.snakeyaml.engine.v2.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:565)
	at org.snakeyaml.engine.v2.parser.ParserImpl.lambda$produce$0(ParserImpl.java:164)
	at java.base/java.util.Optional.ifPresent(Optional.java:183)
	at org.snakeyaml.engine.v2.parser.ParserImpl.produce(ParserImpl.java:164)
	at org.snakeyaml.engine.v2.parser.ParserImpl.peekEvent(ParserImpl.java:172)
	at org.snakeyaml.engine.v2.parser.ParserImpl.checkEvent(ParserImpl.java:158)
	at org.snakeyaml.engine.v2.composer.Composer.composeMappingNode(Composer.java:229)
	at org.snakeyaml.engine.v2.composer.Composer.composeNode(Composer.java:163)
	at org.snakeyaml.engine.v2.composer.Composer.composeSequenceNode(Composer.java:207)
	at org.snakeyaml.engine.v2.composer.Composer.composeNode(Composer.java:161)
	at org.snakeyaml.engine.v2.composer.Composer.next(Composer.java:125)
	at org.snakeyaml.engine.v2.composer.Composer.getSingleNode(Composer.java:101)
	at org.snakeyaml.engine.v2.api.Load.loadOne(Load.java:82)
	at org.snakeyaml.engine.v2.api.Load.loadFromInputStream(Load.java:95)
	at games.strategy.engine.framework.map.download.DownloadFileParser.parseImpl(DownloadFileParser.java:44)
	at games.strategy.engine.framework.map.download.DownloadFileParser.parse(DownloadFileParser.java:36)
	at games.strategy.engine.framework.map.download.ContentReader.downloadAndApplyAction(ContentReader.java:51)
	at games.strategy.engine.framework.map.download.ContentReader.download(ContentReader.java:39)
	at games.strategy.engine.framework.map.download.DownloadRunnable.download(DownloadRunnable.java:26)
	at games.strategy.engine.framework.map.listing.MapListingFetcher.lambda$getMapDownloadList$1(MapListingFetcher.java:39)
	at java.base/java.util.Optional.orElseGet(Optional.java:369)
	at games.strategy.engine.framework.map.listing.MapListingFetcher.getMapDownloadList(MapListingFetcher.java:39)
	at games.strategy.engine.framework.ui.background.BackgroundTaskRunner$1.doInBackground(BackgroundTaskRunner.java:108)
	at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)


@tripleabuilderbot tripleabuilderbot added the Error Report Issue reported via the in-game error reporter label Jan 2, 2025
@beelee1
Copy link
Contributor

beelee1 commented Jan 3, 2025

I think this is your map @RogerCooper ? If so, are you able to DL ?

@beelee1
Copy link
Contributor

beelee1 commented Jan 3, 2025

#13092 fixes this

@beelee1 beelee1 closed this as completed Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Report Issue reported via the in-game error reporter
Projects
None yet
Development

No branches or pull requests

2 participants