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

Quartz scheduler performance tuning/overhead

I am new to Quartz Scheduler Framework. We are using quartz 2.3.2 for scheduling jobs. I have around million scheduled jobs, which has different frequencies. But mostly I get 6000-7000 triggers every ...
KaustubhK's user avatar
  • 765
0 votes
0 answers
21 views

Can't reproduce virtual thread pinning (jdk 21), yet mysql not as parallel as should be

The jdk 21 doc about virtual threads (hereafter "VT") (https://docs.oracle.com/en/java/javase/21/core/virtual-threads.html) is pretty clear about a synchronized block causing a thread to be ...
user2023577's user avatar
  • 1,948
0 votes
0 answers
6 views

How do you change the clickable region around a label in Java FX?

In Java FX, you can change the padding around a label with CSS. In doing so with negative values, you can remove some space between the border of the label and the text inside it, like the images ...
George Economou's user avatar
1 vote
0 answers
18 views

Connection between Mockito spy object and original object

In short, somehow a mockito spy object got mixed up with original object. Here is the class definition (pseudo code) public class MyClass { private String m_name = "origin name"; ...
hua liang's user avatar
0 votes
0 answers
11 views

Aeron ConcurrentPublication vs ExclusivePublication. Is this managing concurrency at the Object level, or at the LogBuffer level?

In Java Aeron, at the Object level, I understand that if I have multiple threads writing to a single Publication instance, it had better be a ConcurrentPublication. But what if each thread has its own ...
D Capra's user avatar
-4 votes
1 answer
38 views

Spring Boot java: cannot find symbol

i am in new learner Can someone help me .. i followed this tutorial but still I am getting the error. i followed the each step gave the same file names , variables still the same. what mistake I am ...
Learner's user avatar
  • 939
-1 votes
0 answers
24 views

How to include multiple classifiers in a WAR?

I have a situation where I need to download all the classifiers in a GAV as part of my WAR bundle. However, when I add the dependencies they don't show up in the final build product. You'll notice ...
Christian Bongiorno's user avatar
1 vote
1 answer
10 views

james not adding the dkim header

i have been trying to setup James email server from Apache today and my problem with it has been that it refuses to add the dkim headers to my emails although i thought that i have configured for it. ...
kerem akti's user avatar
1 vote
1 answer
25 views

How to configure maven with fallback repository

My situation: I basically need clientside implementation Artifactory virtual repos. We are being forced to use GitLab (self-hosted) for package management for each project, and an entirely different ...
Christian Bongiorno's user avatar
0 votes
0 answers
12 views

Cloudinary asking for env variable I provided: A Cloudinary Cloud name is required, please make sure NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME is set

I've uploaded my nextjs app to vercel, cloudinary doesn't seem to throw any errors at me and is storing my images just and I can display them on the app just fine. When I push my commit to github/...
cudnn_account's user avatar
-3 votes
0 answers
19 views

Flutter Error: JAVA_HOME is set to an invalid directory despite correct configuration

Flutter Error: JAVA_HOME is set to an invalid directory despite correct configuration I'm facing an issue while running my Flutter project where I keep encountering the error: "JAVA_HOME is set ...
Siva Nandu S's user avatar
-1 votes
0 answers
12 views

how can I create a delay for text to disappear after showing up? processing java [duplicate]

void drawMessage() { textAlign(CENTER, CENTER); textSize(64); fill(255); // White for "Pokemon" text("Pokemon", width / 2, height / 2 - 40); fill(color(255, 165, 0)); // ...
Henglin Xu's user avatar
0 votes
0 answers
28 views

How to properly add multiple canvas into a PDF?

I wrote a Java program with iText 9.0.0 to create a PDF file. I need to add external PDFs as XObjects to every page of a PDF. Everything goes fine if the number of the PDF pages is 1 or 2. However, if ...
user27326776's user avatar
0 votes
0 answers
19 views

<nulltype> cannot be represented as a Class<?> SDK 35 in Android

I was using compile 34 as the target SDK in my project and it gave me a warning that I should now make it 35. So I made the compile SDK 35 and then when I did the rebuild it gave me an error like this....
user27245664's user avatar
0 votes
0 answers
25 views

Java Runtime.getRuntime().exec is frozen and only continues running when the starting program is closed [duplicate]

I have a problem with a Java application (program1) starting another Java application (program2). If program2.jar has to process a large amount of data, the program2 freezes and only continues running ...
user1878143's user avatar
0 votes
0 answers
12 views

How to disable android studio code box showing on scroll [duplicate]

https://i.sstatic.net/65Jg9j5B.jpg How can I disable this feature of android studio in It's editor. I'm beginner in using android studio and this feature of android studio is getting on my nerves. I ...
Ali Habibi's user avatar
2 votes
1 answer
33 views

How to get terminal background color in Jansi?

Could anyone say how to get terminal background color using Jansi, if it is possible. I need it because it is difficult/impossible to provide good contrast if you don't know background color. There is ...
Stefman1987's user avatar
1 vote
4 answers
90 views

Using equals to compare map values returns false even when values and insertion order are the same

I have two Map objects: one HashMap and one LinkedHashMap. Both contain the same values (e.g., [1, 2]), and for the LinkedHashMap, the insertion order is preserved. However, when I compare the ...
Samrudh S's user avatar
1 vote
0 answers
16 views

Manually run Flyway migration using gradle flyway plugin in Micronaut

I am trying to run flyway migration manually instead of running when the application start, using the following reference - https://documentation.red-gate.com/fd/gradle-task-184127407.html In the ...
San Jaisy's user avatar
  • 16.9k
-3 votes
0 answers
18 views

repeate subreport horizontaly in jasper java

I have this java class your text public class Product { private String productName; private List<Category> categories; } Requirement is to display productname on top then list categories ...
ashish rajak's user avatar
0 votes
0 answers
15 views

How to send Push Notifications from Android to Raspberry Pi

So I have connected my Raspberry Pi to my Android phone without the need of any passkey and no interacation in terms of the Raspberry Pi, because the Pi will be headless (not able to be changed). So ...
CodePlague's user avatar
0 votes
2 answers
75 views

JDBC Connectivity issue (jar file) [duplicate]

Java code not working despite adding JAR file to referenced libraries. I'm trying to connect to a MySQL database using Java, but my code isn't working despite adding the MySQL Connector/J JAR file to ...
Nidhi Kalouni's user avatar
-2 votes
0 answers
16 views

java.lang.UnsatisfiedLinkError: no otmcjni in java.library.path while connecting DigitalPersona fingerprint device

java.lang.UnsatisfiedLinkError: no otmcjni in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System....
Anandh's user avatar
  • 7
-3 votes
0 answers
44 views

ant build fails with eclipse but succeeds directly

I am facing below issue while trying build using ANT in eclispse Apache Ant(TM) version 1.10.15 compiled on August 25 2024 Setting ro project property: ant.file -> C:\Install\eclipse-workspace\pf-...
Jahanzaib's user avatar
-2 votes
0 answers
40 views

Accessing "csv" file [duplicate]

I'm trying to read a "CSV" file but I'm facing severall problems. The first one is I can't only select "csv" files with the file system. I try to do it this way : private final ...
Zelig's user avatar
  • 1,804
1 vote
0 answers
17 views

A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable Resource compilation failed

Helo, I'm trying to compile my app in Android Studio, but when i press the play button I get the following error: Execution failed for task ':app:mergeDebugResources'. A failure occurred while ...
ubik41's user avatar
  • 35
0 votes
0 answers
18 views

All possible Introduction advise exhausted and no implementation found for method: HttpResponse post(TagRequest arg0)

I have the below interface as the common Http action for GET, PUT, POST and DELETE @Validated @ExecuteOn(TaskExecutors.BLOCKING) public interface IHttpAction<T, R> { @Get(value = "/{?...
San Jaisy's user avatar
  • 16.9k
1 vote
0 answers
15 views

VSC gradle environment variables

Do you know why environment variables doesn't work with Gradle for java extension ? There is no way to set them in e.g. launch.json or settings.json files. Gradle Version: 8.10.2. VSC Version: 1.96.0 (...
Krzysztof Bończak's user avatar
0 votes
0 answers
48 views

JavaFX Button set to disable on click causes StackOverflowError

I have a ComboBox in which I store a list of labels and I've added an extra row in which i allow the user to write their own label and add it to the list. Described combobox with the edition row on ...
cheily's user avatar
  • 1
0 votes
0 answers
22 views

Micronaut declarative HTTP client not working for the HTTP verbs

I have the below interface as the common Http action for GET, PUT, POST and DELETE @Validated @ExecuteOn(TaskExecutors.BLOCKING) public interface IHttpAction<T, R> { @Get(value = "/{?...
San Jaisy's user avatar
  • 16.9k
1 vote
0 answers
37 views

How to make Windows (Screen) Magnifier follow text as it is being typed?

My eyesite is getting a lot worse, so I am using Window Magnifier (on Windows 11) to make things easier to read on my computer screen. Using my keyboard, I simply press the Windows button and (+) or (-...
davidalayachew's user avatar
0 votes
0 answers
20 views

Bluetooth connection issue when pairing Android app with Raspberry Pi

I'm working on an Android app that pairs with a Raspberry Pi-based Bluetooth device using the Bluetooth serial connection. I'm attempting to send notifications to the device once it's paired, but I am ...
CodePlague's user avatar
3 votes
1 answer
123 views

Can Virtual Threads improve querying a database in Java?

I wanted to try power of virtual threads in Java in a simple application which consists of many tasks. Each task executes a query agains a database which takes around 10 seconds. My expectation was ...
CodeGrinder's user avatar
-4 votes
2 answers
108 views

Why java.util.Date object does not update itself at runtime? [duplicate]

I need to save the date while program is running but the date object does not update itself at runtime how can I update date object. public static void main(String[] args) { try { Scanner ...
Ali Fuat Akyemiş's user avatar
-4 votes
0 answers
31 views

Unable to deploy spring boot 3.x to weblogic 14.1.1

I'm trying to deploy Spring Boot 3.x on WebLogic 14.1.1 then it's throwing an error as shown in the screenshot below. But when I downgraded Spring version to 2.x, the deployment works as expected. ...
Vutha Sothea's user avatar
0 votes
0 answers
50 views

Swing JButton text encoding

I was playing around with Swing, and faced following problem with text encoding with JButton class So would be grateful for explanation or some links explaining why this code display broken text - 'Р'...
momopoi's user avatar
  • 19
0 votes
0 answers
91 views

When are the coder and value set when I give a string constant in my java code, for example "ë" or "π"? [closed]

When I have a string constant in a java program, for example "ë", I see in the debugger that the coder=latin1 and the value is the byte -21. When I have the string "π", I see that ...
ericj's user avatar
  • 2,291
-3 votes
0 answers
53 views

How to Dynamically update UI in javaFX? [closed]

I am sorry if this is a dumb question it is my first time using javafx i am trying to learn. I am making a JavaFX project that involves updating the contents of a pane by clicking an item. The way it ...
Floppa Flopz's user avatar
1 vote
2 answers
49 views

Z-Order problem while displaying isometric tiles

I have a little problem while displaying isometric tiles in my school game. The fact is that I suppose everything is ok with my code... Here is how it's organised: architecture: MVC + ECS everything ...
Pax's user avatar
  • 21
0 votes
0 answers
26 views

org.junit.jupiter.api.extension.ParameterResolutionException: Weld has failed to resolve test parameter [int arg0] in method

Issue with JUnit 5.9.1 @ParameterizedTest and Weld (JDK 17) Hello, I am using JUnit 5.9.1 for testing with JDK 17, and when I try to run a test with @ParameterizedTest, I encounter the following error:...
Storg's user avatar
  • 33
1 vote
2 answers
83 views

Print a sequence of numbers adding one number each time

I need to write a programm that, when inserted a number, it print a sequence of numbers from 1 to that number, in separate lines adding a number each time. Example: if you insert 8, it print 1 1 2 1 2 ...
matteo panaro's user avatar
0 votes
0 answers
17 views

JNI Issue: Passing Java Runnable Object to JNI in Custom Gluon Attach Plugin

I am developing a custom Gluon Attach plugin and encountering issues with passing a Java Runnable object from Java to JNI. Despite reviewing the Gluon Attach plugin source code (which unfortunately ...
CTO - Abid Maqbool's user avatar
1 vote
0 answers
36 views

What arrows to use in component diagrams to show relations between JPMS layers?

JPMS supports multiple layers. For example boot layer and its two child layers. And I need to show these layers on UML diagram. For this I selected component diagram where every layer is a component. ...
Stefman1987's user avatar
0 votes
0 answers
42 views

I can't find openjdk-21-jdk package in Debian disto [closed]

E: Unable to locate package openjdk-21-jdk mkaksoy@MehmetKaanAksoy ~ % sudo apt install openjdk-21-jdk Reading package lists... Done Building dependency tree... Done Reading state information... Done ...
Mehmet Kaan Aksoy's user avatar
1 vote
0 answers
37 views

Looking for a Memory-Efficient Alternative to Awaitility for Handling Asynchronous Tasks in Tests

I frequently use Awaitility in my tests to handle asynchronous operations. However, each Awaitility call spawns threads, which results in high memory consumption when running large tests. I’m ...
Sal-laS's user avatar
  • 11.6k
0 votes
0 answers
39 views

Augmenting the calendar widget in ZK Studio 5.0

In an acquired RESTful Spring Boot Web application, there are some restrictions I currently cannot change. The code partly uses Java 1.6, the rest is Java 17. And the ZK Studio has the version 5.0 and ...
Sae1962's user avatar
  • 1,162
0 votes
0 answers
16 views

Export Eclipse Scout table rows as a CSV file and let user download the file

I would like to export the rows (all rows, as well as just filtered rows) of an Eclipse Scout table as a CSV file. And after creation of this file, I would like the user to be able to download it. I ...
JDaniel's user avatar
  • 100
-2 votes
0 answers
27 views

I am currently creating a JSF application. I have completed the authentication, but when I log in, it says "undefined" [closed]

I have added two classes: one (connectDB) that helps me connect to the database, and another (User) that sends requests to the database, along with the file with the .xhtml extension. I was hoping ...
Kim Chretien INTSINZI's user avatar
0 votes
0 answers
37 views

How to embed plugins from classpath to elasticsearch node [closed]

I am trying to upgrade the elastic search from 7.10.2 to 8.9.2 in the app and facing an issue while embedding the plugins from the classpath. I was using like class NodeWithPlugins(settings: Settings, ...
Mayank's user avatar
  • 55
0 votes
0 answers
11 views

android Task :app:connectedDebugAndroidTest fails with error : caused by: org.bouncycastle.openssl.PEMException: malformed sequence in RSA private key

i'm trying to run basic instrumented test on my android app , to test room database , when i lunch the test , the task :app:connectedDebugAndroidTest always fails and throws the following error ...
kamal douma's user avatar

1
2 3 4 5
38392