cannot access files

The worst monsters in the Hearthlands warp the fabric of space and time...
S1lv3rSurf3r
Posts: 5
Joined: Thu May 31, 2018 5:26 pm

cannot access files

Post by S1lv3rSurf3r »

I have been booted out of game 3 times since I update today 5/31/18 and this is the message I get every time it boots me.

1.67.10.304bf3d0
Windows 10 10.0 x64, 1.8.0_171 amd64
Intel (Intel(R) HD Graphics 405) - 4.4.0 - Build 20.19.15.4835

haven.StreamMessage$IOError: java.nio.file.FileSystemException: C:\Users\jaspe\AppData\Roaming\Haven and Hearth\data\cache3004876426806306722.new -> C:\Users\jaspe\AppData\Roaming\Haven and Hearth\data\67d9501310a7fe1c.0: The process cannot access the file because it is being used by another process.

at haven.StreamMessage.close(StreamMessage.java:127)
at haven.MapFile$Grid.save(MapFile.java:457)
at haven.MapFile.update(MapFile.java:758)
at haven.MapFile$Processor.lambda$run$0(MapFile.java:214)
at haven.MapFile$Processor.run(MapFile.java:230)
Caused by: java.nio.file.FileSystemException: C:\Users\jaspe\AppData\Roaming\Haven and Hearth\data\cache3004876426806306722.new -> C:\Users\jaspe\AppData\Roaming\Haven and Hearth\data\67d9501310a7fe1c.0: The process cannot access the file because it is being used by another process.

at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsFileCopy.move(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.move(Unknown Source)
at java.nio.file.Files.move(Unknown Source)
at haven.HashDirCache$2.close(HashDirCache.java:279)
at haven.StreamMessage.close(StreamMessage.java:122)
... 4 more
User avatar
vatas
Posts: 5255
Joined: Fri Apr 05, 2013 8:34 am
Location: Suomi Finland Perkele

Re: Intel driver crashes: ig4icd32.dll

Post by vatas »

Are you playing on up-to-date client?
Haven and Hearth Wiki (Maintained by volunteers - test/verify when practical. Forum thread

Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)

Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: cannot access files

Post by MagicManICT »

Split off to its own thread as it is not a driver crash; renamed thread.

First off, this is the biggest key to the problem:
S1lv3rSurf3r wrote:The process cannot access the file because it is being used by another process
This indicates that something else is holding that file open and locked from access by other processes. Make sure your Haven client is up to date, especially if you're using a modded client*. Make sure Java is up to date. Make sure that any instances of Java that have been running has completely closed: Open Task Manager, look for any running Java apps (java.exe, javaw.exe, or javaws.exe) and force close them. Try again and see if this resolves the issue.

*If you are using a modded client, always make sure your bug is with the default client first. If it isn't, take the issue up with the person that modded the client in their thread in The Wizards' Tower or by other means (such as in game or via dropbox, skype, or discord).
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: cannot access files

Post by loftar »

Just for the record, are you running several clients simultaneously, and, if so, does the error still happen if you don't do that?
"Object-oriented design is the roman numerals of computing." -- Rob Pike

Return to “Bugs”