Skip to main content
0 votes
1 answer
64 views

Post 2.5 versions of commons-io:commons-io crashes apps on Android devices lower than Android 8

This is related to an earlier question regarding commons-io:commons-io. Everything is fine if version 2.5 is used. implementation 'commons-io:commons-io:2.5' If I use any newer version, such as the ...
Hong's user avatar
  • 18.7k
2 votes
2 answers
75 views

Apache commons-io get directory size - mismatch with du

I try to find out the size of a directory in Java. I check it by Linux bash. POM <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> ...
chris01's user avatar
  • 12.7k
0 votes
0 answers
24 views

Plugin Management: Unable to get desired dependency version

I'm trying to build a spring-boot project, in my plugin management i want the plugin to override it's base dependency and take and upgraded dependency, but i'm unable to do it, this is the plugin ...
Akash Jain's user avatar
1 vote
2 answers
437 views

Is there a Jakarta namespace version of Apache Commons IO?

Our system uses the latest version of Apache Commons IO (2.17.0). But this version uses the javax namespace instead of Jakarta. Our system uses Spring Boot 3 and therefore requires the Jakarta ...
Eyvind Almqvist's user avatar
-1 votes
1 answer
422 views

error reading excel file java.lang.NoSuchMethodError: 'byte[] org.apache.commons.io.IOUtils.byteArray[int]' in AnyLogic

I am developing simulation models in AnyLogic and need to read data from an external excel sheet. I created the project on Win11 OS and used Connectivity's Excel File module and successfully ...
Fitz's user avatar
  • 59
1 vote
2 answers
910 views

How to solve commons-io dependency clash between poi-ooxml & jersery-server?

In one our projects, we use the following packages: jersey-server (2.28) & poi-ooxml(5.2.5). Both these packages have commons-io as sub-dependencies. While poi-ooxml uses 2.15 version of commons-...
some_programmer's user avatar
-2 votes
1 answer
153 views

Prevent recursion in Apache Commons FileAlterationObserver

I'm hoping to use Apache Commons directory monitoring, but in my first attempts I've discovered that it's checking recursively through subdirectories. That's way more than I want (and presumably lots ...
mstoreysmith's user avatar
1 vote
0 answers
495 views

Is it possible to use newer versions of commons-io for older Android devices?

The latest version of Apache Commons IO for Android is 2.13.0. However, I have been using 2.5 for many years: implementation 'commons-io:commons-io:2.5' This is because I found commons-io 2.6 would ...
Hong's user avatar
  • 18.7k
1 vote
1 answer
154 views

Minimal JRE gets PDFBOX 3.0.1 Loader Exception - What Module is Missing

I am getting the following exception for PDFBOX 3.0.1: java.lang.ExceptionInInitializerError at org.apache.pdfbox.Loader.loadPDF(Loader.java:369) I only get this when running on a Minimal JRE with the ...
mediocre man's user avatar
0 votes
1 answer
93 views

How to prevent OOM from a Collection array object

My application is trying to list all files from an NFS drive based on a regex pattern. I am using the apache commons-io fileutils to list the files. I am successfully able to do so, although the ...
Ashish Ranjan's user avatar
0 votes
1 answer
95 views

File Downloader with Java Commons IO stuck at 1MB/s+

Lately I've been experimenting with Java and Commons IO trying to create a web file downloader, however I've encountered a problem, in fact it seems that the file download speed does not exceed 1MB/s ...
Mattia Mc Roll's user avatar
0 votes
1 answer
307 views

NoSuchMethodError exception on line "WebDriverManager.chromedriver().setup();

I am receiving this error: java.lang.NoSuchMethodError: 'java.lang.String org.apache.commons.io.IOUtils.toString(java.io.InputStream, java.nio.charset.Charset)'** on line "WebDriverManager....
Sai Krishna's user avatar
1 vote
1 answer
2k views

BOMInputStream needs to be wrapped in another BOMInputStream to work

Pretty much what the title says. I'm writing code that needs to be able to work both with BOM'ed and non-BOM'ed files. Different parsing options need to be implemented, for now I'm implementing ...
TheMessik's user avatar
0 votes
1 answer
548 views

FileUtils.copyURLToFile Getting Stuck

I'm using a Jave program to get NSE share price data from NSE's website like this for example: url = new URL("https://archives.nseindia.com/archives/equities/bhavcopy/pr/PR071122.zip"); f = ...
Vebby's user avatar
  • 99
0 votes
2 answers
1k views

No static method ThreadLocal.withInitial() : commons-io dependency

I am using commons-io dependency in my Android Studio project. implementation 'commons-io:commons-io:2.11.0' But I am seeing these weird crashes in Crashlytics. These crashes are showing up on Android ...
Ali Asjad's user avatar
  • 2,185

15 30 50 per page
1
2 3 4 5
13