Questions tagged [filesystemexception]

20 questions
4
votes
3 answers

Build fails after 2 times build of the application in flutter

After building my flutter application in VS code, I successfully run the app, everything works fine. But after 2 or more times of restart of the application, whenever I run my code again, the build gets failed. This is the error pops up. Target…
2
votes
1 answer

Flutter - how to catch FileSystemExceptions?

My flutter app saves screenshots to disk (on Flutter desktop Mac and Windows). If writing fails due to whatever reason catch and error handling does not work. Statements after "catch" will never be executed despite debug output…
gundrabur
  • 843
  • 10
  • 12
2
votes
0 answers

ERROR Failed to clean up log for __consumer_offsets-9 in dir C:\kafka\temp\kafka-logs due to IOException (kafka.server.LogDirFailureChannel)

We are running with Kafka 2.12-2.4.1 on Windows 2012 R2 OS and using in our application as messaging source. We found that after exact at 38hrs the Kafka Broker is getting down with below error message. We found that deleting all Kakfa temp logs and…
Hrushi
  • 163
  • 1
  • 10
1
vote
0 answers

How to avoid fs::directory_iterator exceptions

I'm using the following loop to extract names of files and directories from a root path. for (const auto& entry : fs::directory_iterator(dirToList, fs::directory_options::skip_permission_denied, ec)) { . Doing some work . } I've use ec in order to…
noob_user
  • 87
  • 7
1
vote
0 answers

Isar Database - Access denied by Windows. Cannot open file, path = '\isar.dll'

I am trying to run CRUD tests in Flutter application. The local database that I am using is Isar database. It seems that application does not have rights to use Isar in Windows. However, example test runs smoothly with MacOS. Does anyone have had a…
1
vote
0 answers

Cannot create a directory in application folder using Flutter after upgrading to Android 11

I have a couple of directories that need to be created if they do not exist on the app's first run. These directories have to be created within the application's support directories. I do not need to use external directories for this app. So, I am…
flutternoob
  • 296
  • 5
  • 8
1
vote
2 answers

My Java program has a FileSystemException error

I have a project that is supposed to read a file for lines of code, detects those lines of code and then gives the user the option to delete the code if it exists. However, my code is running into some issues. It is unable to delete the file but…
1
vote
2 answers

Create a directory and save file in a network location from Servlet

I have deployed a webApplication in a Tomcat Server (v8), which runs a service in a Windows 2008 R2 PC. In this webApplication, the user uses a form to upload files (photos). What I want is to store these photos in a NAS disk in my network (both…
yaylitzis
  • 5,354
  • 17
  • 62
  • 107
0
votes
1 answer

FileSystemException error in flutter: Flutter app not running at all

Oops; flutter has exited unexpectedly: "FileSystemException: Cannot retrieve modification time, path = 'C:\Administrative\Projects\mics_function12\pubspec.yaml' (OS Error: The operation completed successfully. , errno = 0)". A crash report has been…
0
votes
0 answers

flutter - FileSystemException: Exists failed, OS Error: The device is not ready., errno = 21

I had a windows 8.1 and now upgraded to windows 10 and i copied my flutter sdk from the windows 8.1 with path (D:\flutter\Sdk\flutter\) to the new windows 10 and changed the path to (C:\Programming\Flutter\Sdk\flutter) and i installed android…
brightcode
  • 39
  • 4
0
votes
1 answer

What does it mean when Java could not read the lastModifiedTime attribute on Windows?

A customer has lots of following stacktraces appearing in the logs of my application. It runs on WildFly 18 and JDK 11 on Windows Server. 2022-10-14 14:36:19,382 ERROR [io.undertow.request] (default I/O-2) UT005071: Undertow request failed…
ksclfanatic
  • 122
  • 1
  • 10
0
votes
0 answers

Getting java.nio.file.FileSystemException: "": Too many open files

Thread from where the method gets called warmStandbyModeUtil.getWarmStandbyMode() public void executeJob(JobExecutionContext context) throws JobExecutionException { ApplicationContext applicationContext =…
Vaibhav Singh
  • 177
  • 10
0
votes
1 answer

Me and Eclipse do not agree on how many processes are using my files

Seems a bizarre question, but me and Eclipse have divergent opinions about it. I continue to get the error message java.nio.file.FileSystemException: The process cannot access the file because it is being used by another process even if the main()…
Asghabard
  • 191
  • 13
0
votes
1 answer

Trouble renaming file in directory without error: "The process cannot access the file because it is being used by another process."

import java.io.File; import java.io.IOException; import java.util.*; //import java.lang.Object; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.StandardCopyOption; public class AppendTool…
0
votes
0 answers

java.nio.file.FileSystemException error on a program that copies .CR2 images from one folder to another

The goal of the program is to organize the images based on the date they were taken on. I got everything to work but moving is giving me a lot of issues. when I move it, it always works for the firs 2 image files and then starts giving the error…
Tsion
  • 1
  • 2
1
2