Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

We have been using wildfly 20 with the old jtds driver for jdbc connection pooling. Any many of our customers have been as well.We just upgraded from jdk 8-265 to jdk 8-462. After the upgrade, nothing ...
user26533539's user avatar
0 votes
0 answers
62 views

As the title states, my Netbeans refuses to open; it has the opening loading prompt but it closes as soon as the text says "Done loading modules". I currently have the newest versions of ...
juan miguel quilantang's user avatar
1 vote
1 answer
152 views

I am experiencing build failure when trying to compile and execute Java programs using JDK 8 (1.8.0_432). I keep getting the following error from IntelliJ idea: java: invalid flag: --add-modules Not ...
JOE 's user avatar
  • 11
0 votes
0 answers
50 views

My application runs on Java 8 and Springboot 2.2.5.RELEASE and I am using below dependencies to expose a GraphQL service. <dependency> <groupId>com.graphql-java-kickstart</...
Saravananand Krishnamani's user avatar
0 votes
1 answer
78 views

I'm trying to run a .jnlp file on my Mac, but I keep getting the error: DYLD_LIBRARY_PATH is null java.lang.UnsatisfiedLinkError: Can't load /Users/setupuser/Library/Application Support/Oracle/Java/...
karthik oggu's user avatar
0 votes
1 answer
55 views

I am trying to add a simple text paragraph with text ""Hello from Java test!" in an existing simple docx file (contains only one dummy line of text already) using docx4j. But when I am ...
ipapag's user avatar
  • 95
2 votes
0 answers
101 views

Hello I've been facing a weird problem the past few days. I send out a demo of my app to a few people. however for around 75% of the people the demo didn't work, while for the other 25% it works great....
Christian2B's user avatar
0 votes
1 answer
50 views

I am using SpringBoot 3.5, PostgreSQL and Hibernate/JPA as ORM. While using JSONB column from DB I am having this error. org.springframework.dao.InvalidDataAccessResourceUsageException: could not ...
Atul's user avatar
  • 3,457
2 votes
1 answer
156 views

Issue can be found in version Java8 onwards. A CharsetDecoder is explicitly configured with CodingErrorAction.REPLACE ; I would expect the replacement character \uFFFD to be applied when decoding ...
George's user avatar
  • 521
1 vote
1 answer
110 views

I am trying to mock a constructor method. But failed with messages said unnecessary stubbings. What modify should I make to succesfully run this unit test? Plus, Better not to modify the version of ...
Django47's user avatar
-2 votes
1 answer
365 views

I wanted to upgrade my spring version from 5.3.39 to the 6 series. But when I tried to do that, it didn't compile and threw an error. This is the error that I'm getting: Failed to execute goal org....
Nishanth SR's user avatar
-4 votes
1 answer
123 views

I'm trying to understand Java generics better. Suppose I have a generic base class like this: class Base<T> { T data; } Now, if I create a subclass, do I need to mention the parameter type ...
Gokul Krishnan J's user avatar
0 votes
0 answers
49 views

Facing issue with RMI Registry. Inititally my code was developed using java 6 or lower version but recently we have upgrade our java to java 8 and came to understand that it has some tighter Security ...
XERVIS's user avatar
  • 1
0 votes
0 answers
63 views

Running Oracle 19c with Java 1.8.0_451 and JavaMail 1.6.7. I'm attempting to send emails via SendGrid from a stored procedure on the database referring the the following Java class: CREATE OR REPLACE ...
Nathan Russell's user avatar
0 votes
0 answers
30 views

we use OpenEJB 7.0.9 for Unit-Testing with Java 8. Now we switch our Application to Java 11 and tried to Upgrade OpenEJB to 8.0.16. But since Version 7.1.4 and 8.0.0 (org.apache.tomee -> openejb-...
Martin Schlesier's user avatar
1 vote
0 answers
4k views

I'm facing an issue with a JavaFX application written for JDK 8. My company recently updated to JRE 8u451, and the application no longer runs because JavaFX has been removed from this release. I have ...
Edward Northwind's user avatar
2 votes
1 answer
122 views

EDIT: As one of the people commenting mentioned, this question only concerns this specific implementation: https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/util/HashMap.java#...
Sebastian's user avatar
0 votes
0 answers
143 views

I have a java application running heavily groovy scripts. After running for weeks, the system encountered Full GC in every day, every time it cost about one second which is not acceptable. How can I ...
atealxt's user avatar
  • 346
0 votes
1 answer
63 views

I developed a RESTfull API with Jersey (2.25.1) and my goal is to always return the same JSON even in case of errors. I then configured a series of exception mappers including one for handling the com....
Charles's user avatar
  • 65
0 votes
0 answers
116 views

Do Swing modal dialogs gain focus on opening? They should. However, no log message is ever printed if you execute the demo below. Why? import javax.swing.JButton; import javax.swing.JDialog; import ...
Sergey Zolotarev's user avatar
1 vote
2 answers
97 views

I have a json for students with marks . I need to get the total marks for maths and english per standard . I could do it for each subject like below , but here the list is iterated twice. Is there a ...
astar's user avatar
  • 347
1 vote
0 answers
881 views

As announced, Oracle removed JavaFX from the latest JRE (8u451 released on 4/15). As a result our customers are not able to start it. Is there any possible workaround for this problem? We have ...
tucoramirez37's user avatar
0 votes
1 answer
47 views

I had made a list of Parent Class (as Employee) having a parameter of child class (as Department) class Employee { Integer empId; String empName; Long salary; String email; ...
Ankit's user avatar
  • 2,276
4 votes
1 answer
116 views

I am using Java 8 and facing some weird error. The compiler gives the following error: error: reference to [method] is ambiguous Here's my code StringBuilder sb = new StringBuilder(); Stack<...
bloop's user avatar
  • 43
0 votes
0 answers
44 views

I have a class which has Include.NON_EMPTY configuration on class level. @JsonInclude(value = JsonInclude.Include.NON_EMPTY) public class Item extends ExtraInfo { String id; List<String> ...
Jaydip Bari's user avatar
0 votes
0 answers
57 views

I have a jsonString which is a list of key value pairs. [ {"id": "123", "url": "ghi"} : 2, {"id": "456", "url": "def"} ...
Tanya Bhandari's user avatar
0 votes
0 answers
22 views

I'm trying to deploy to Java8 and I keep getting below exception. I'm trying cglib 3.2.5 and ASM 5.2 jars but has not worked. I have checked ASM classwriter does not have a Boolean constructor ...
826dna's user avatar
  • 185
0 votes
2 answers
141 views

I have a Java application doing SOAP requests to a WebService (which I have no control of). It is currently running on Java8 and I need to make it compatible for both, Java8 and Java21 (not only ...
Jokkeri's user avatar
  • 1,055
-1 votes
1 answer
78 views

I tried running few flutter projects but it gives me this same error - ashvinstech@Ashvins-MacBook-Air untitled1 % flutter run Launching lib/main.dart on Redmi Note 7 in debug mode... FAILURE: Build ...
Ashvin Bhagat's user avatar
1 vote
0 answers
59 views

I am developing a Java 8 servlet to download a zipped resource. The file size can vary significantly, sometimes reaching up to 700MB. For testing, I am using a 350MB ZIP file. The expected behavior is ...
Salvatore Montagna's user avatar
0 votes
1 answer
71 views

List<String> l1 = Arrays.asList("ab", "cd", "ef"); long count = l1.stream().count(); System.out.println(count); I want to use lambda expression instead ...
Mayur Kandalkar's user avatar
0 votes
0 answers
26 views

I was writing my plugin and during one of the changes, my radius stopped working, that is, all messages are sent both local and global, but if player_1 writes messages in the local chat, then player_2 ...
Reizi's user avatar
  • 1
0 votes
0 answers
127 views

I have to correct an existing Java Backend application implemented in Java 8 with no Framework, and deployed on Tomcat server under Linux Virtual Machine. This application is connected to an Oracle ...
Thomas Campos's user avatar
0 votes
1 answer
128 views

I am trying to mock a method and want to execute the internal logic as is when called. The method returns void so When I am using when(MockedObject.methodReturingVoid(any())).callRealMethod(); It ...
Jef's user avatar
  • 144
-7 votes
1 answer
73 views

We are getting list of AssetValue from database, After getting the list I need to group by id and sort by year and month. Based on the grouping I need to print on reports. Public Class AssestValue{ ...
Michael Prabhu's user avatar
0 votes
1 answer
71 views

I'm trying to create an API where I'm updating a set of data into database. While updating, there is data that comes the same as what's already present in the DB. I want to check this and avoid ...
User1512's user avatar
0 votes
0 answers
84 views

i have downloaded jdk8 and the environment variables is set correctly java -version java version "1.8.0_431" Java(TM) SE Runtime Environment (build 1.8.0_431-b10) Java HotSpot(TM) 64-Bit ...
Mohamed Khaled's user avatar
0 votes
0 answers
76 views

I am writing an application for digital signature using PKCS#11. The Certum token works on JRE 1.8.0_333 (32-bit) and JRE 1.8.0_441 (32-bit). The CenCertum token works on JRE 1.8.0_333 (32-bit), but ...
Mateusz's user avatar
  • 83
0 votes
0 answers
41 views

Intellij 2024.2.1 Gradle 8.2 JDK 1.8 Got a gradle build error groovy.lang.MissingMethodException: no signature found. org.gradle.api.internal.artifacts.ivyservice.dependencysubstitution....
Raymond YY's user avatar
0 votes
1 answer
105 views

I am trying to convert the below null check of legacy java 7 code to modern java using Streams and Optional. if (person != null) { System.out.println(person.getName()); System.out.println(person....
purbarunc's user avatar
1 vote
1 answer
164 views

I'm working on several projects with java and Intellij Idea 2024.3.1.1, because of the academic licence. I regularly work on a computer with a 10th generation i3 processor with 18 GB of RAM, and ...
Daniel Alejandro's user avatar
2 votes
1 answer
104 views

I'm in the scenario where I am stuck on Java 8. I have a program that creates and resolves URIs using java.net.URI. These are generally always going to be http scheme, but we will potentially get ...
mkobit's user avatar
  • 47.8k
0 votes
0 answers
63 views

I have same java 1.8_171 application with same server type redhat 7 running in 2 servers in one server when it hits the external api it works fine but from another server when hitting the same api it ...
Subha's user avatar
  • 59
0 votes
2 answers
80 views

In an application I developed with Java 8, I am trying to convert a .wav audio file received in Base64 format to PCM_SIGNED format. The code works fine in the local environment, but I get the ...
Mustafa's user avatar
  • 43
1 vote
0 answers
153 views

I am trying to setup PIRANHA BY UBER on my local for a demo java (Java 8) application. I am not able to perform a remove the stale code by building it. Demo Application: @Controller public class ...
Ankit Kumar's user avatar
0 votes
0 answers
46 views

Oracle Java Version: 1.8.0_192 HttpClient JAR: 5.4 Upon using ClosableHttpClient with try with resource try(ClosableHttpClient clinet = ......){ //... } I am getting this error: The method ...
Prashant Rustagi's user avatar
0 votes
0 answers
33 views

I have a Java method that uses HTMLCleaner version 2.4. Due to high CVE vulnerabilities, I need to update HTMLCleaner to version 2.29. However, the generated HTML output from version 2.29 contains ...
BillalT's user avatar
  • 33
0 votes
0 answers
32 views

I'm encountering an issue while restarting my WebLogic server, and I need some guidance. Specifically, I'm getting the following error: weblogic.application.ModuleException: javax.xml.bind....
Venkatesh Maryala's user avatar
5 votes
1 answer
135 views

In Java 8, the following script prints true import java.util.regex.Matcher; import java.util.regex.Pattern; public class Main { public static void main(String[] args) { String regex = &...
powerful_clouds's user avatar
0 votes
0 answers
53 views

We are looking to upgrade JBoss EAP(JBoss Enterprise Application Platform) 7.4.2 to 7.4.3. Currently, Application is running in java-11-openjdk-11.0.10-1 jboss-eap-7.4.2. java version "1.8.0_301 ...
Maka's user avatar
  • 1

1
2 3 4 5
465