triplea-game / triplea

TripleA is a turn based strategy game and board game engine, similar to Axis & Allies or Risk.
https://triplea-game.org/
GNU General Public License v3.0
1.33k stars 391 forks source link

2.5.22294: UrlStreams#newStream:87 - java.nio.file.NoSuchFileException #8545

Closed tripleabuilderbot closed 1 year ago

tripleabuilderbot commented 3 years ago

Log Message

Unable to open: jar:file:/Users/dpci/Documents/triplea/downloadedMaps/domination-master.zip!/domination-master/map/games/Domination_1900.xml, /Users/dpci/Documents/triplea/downloadedMaps/domination-master.zip

TripleA Version

2.5.22294

Java Version

11.0.6

Operating System

Mac OS X

Memory

Heap utilization statistics [MB] Used Memory: 38 Free memory: 2009 Total memory: 2048 Max memory: 2048

Stack Trace

Exception: java.nio.file.NoSuchFileException/Users/dpci/Documents/triplea/downloadedMaps/domination-master.zip
java.lang.Exception
    at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
    at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
    at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
    at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
    at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:149)
    at java.base/java.nio.file.Files.readAttributes(Files.java:1763)
    at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1225)
    at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:825)
    at java.base/java.util.zip.ZipFile$CleanableResource$FinalizableResource.<init>(ZipFile.java:851)
    at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:840)
    at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:247)
    at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:177)
    at java.base/java.util.jar.JarFile.<init>(JarFile.java:346)
    at java.base/sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:103)
    at java.base/sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:72)
    at java.base/sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:99)
    at java.base/sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:125)
    at java.base/sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:155)
    at org.triplea.java.UrlStreams.newStream(UrlStreams.java:87)
    at org.triplea.java.UrlStreams.openStream(UrlStreams.java:45)
    at org.triplea.java.UrlStreams.openStream(UrlStreams.java:57)
    at org.triplea.java.UrlStreams.openStream(UrlStreams.java:70)
    at games.strategy.engine.data.gameparser.GameParser.parse(GameParser.java:105)
    at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorModel.lambda$new$0(GameSelectorModel.java:59)
    at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorModel.parseAndValidate(GameSelectorModel.java:126)
    at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorModel.load(GameSelectorModel.java:99)
    at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorPanel.lambda$selectGameFile$8(GameSelectorPanel.java:399)
    at games.strategy.engine.framework.ui.background.BackgroundTaskRunner.lambda$runInBackground$0(BackgroundTaskRunner.java:45)
    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)
stale[bot] commented 3 years ago

I noticed there has not been much activity on this issue. Please check this issue and close it if it no longer applies. Otherwise to help move this issue move forward, please add a comment summarizing any further actions that need to be taken in order to resolve this issue.

beelee1 commented 1 year ago

closing v 2.5