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

ant build fails with eclipse but succeeds directly

I am facing below issue while trying build using ANT in eclispse build.xml:49: java.lang.NullPointerException: Cannot read the array length because "<local3>" is null I am ...
Jahanzaib's user avatar
  • 101
-1 votes
0 answers
23 views

Accessing "csv" file

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,806
0 votes
0 answers
9 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
  • 25
0 votes
0 answers
12 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
9 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
12 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
14 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
0 votes
0 answers
15 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
14 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
-4 votes
1 answer
62 views

Are there Java application models that don't use the concept of dependency injection? [closed]

I write applications using Spring and I'm also aware of other Java frameworks existing. It seems that all of them utilize the concept of objects (beans in Spring) being placed in a container to be ...
vasseugs's user avatar
0 votes
0 answers
68 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
-3 votes
2 answers
72 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
1 answer
44 views

Parse JSON java Android [duplicate]

After decrypt of encoded API response got the json string as follow."{\"result\":\"SUCCESS\",\"ts\":\"2024-12-12T13:18:07+05:30\"}". In this above ...
Rajendra's user avatar
  • 195
-4 votes
0 answers
23 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
43 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
84 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
42 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
38 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
77 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
13 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
27 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
36 views

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

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
0 votes
0 answers
30 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
23 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
24 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
27 views

How to embed plugins from classpath to elasticsearch node

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
10 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
0 votes
1 answer
16 views

Following redirects on Service creation with Apache CXF

I'm creating a Service passing an URL that may return 301 Redirect. How can I instruct CXF to follow the redirects at the Service creation? Already tried setting a HTTPClientPolicy as an extension on ...
Anderson Gomes's user avatar
2 votes
1 answer
37 views

Fetching characters from a Buffer while reading Ints

I am building a language interpreter and needs to have two functions, one to input an integer and another to input a character (from System.in). For instance, inputting integer - character - integer - ...
Sny's user avatar
  • 121
0 votes
1 answer
41 views

Configuring ssl in springboot3

I am trying to configure SSL in my springboot3 app. I referred to spring documentation mentioned here: https://docs.spring.io/spring-boot/reference/features/ssl.html#:~:text=to%20lowercase.-,...
extractor's user avatar
0 votes
0 answers
27 views

Catching CompletionException from kotlin function

My ultimate goal is to find the number of partitions for a Pulsar topic (Getting number of partitions of a Pulsar topic: could not be parsed into a proper Uri, missing scheme) but in the process of an ...
dmonopoly's user avatar
  • 3,321
0 votes
0 answers
19 views

Getting number of partitions of a Pulsar topic: could not be parsed into a proper Uri, missing scheme

I'm unable to get the number of partitions from a topic via the PulsarAdmin API: val admin: PulsarAdmin = PulsarAdmin .builder() ....
dmonopoly's user avatar
  • 3,321
0 votes
2 answers
53 views

Problem to return content of join from two tables [closed]

Trying to made a join of two mysql tables I created a query in workbench to test, the query work fine this query is part of my login page so the table A has columns that must be returned to my login ...
Cezar Apulchro's user avatar
0 votes
0 answers
30 views

How to manage Azure AD authentication with private endpoints and WAF in a Spring Boot application?

I have configured Azure AD credentials in my Spring Boot project's application.properties file using the dependency spring-cloud-azure-starter-active-directory. Here is the configuration: spring.cloud....
Venkatesh's user avatar
-3 votes
0 answers
49 views

Easy way to extract data from Map<String,Set<String>> [closed]

I have Set inputAssetIds. An Asset can have a parent asset or a child asset (we call it being part of a budle, but thats irrelevant), or none of those (its a standalone asset). For each of those ...
user2957592's user avatar
0 votes
0 answers
16 views

WFLYCTL0180: Services with missing/unavailable dependencies when deploying on jboss

I'm trying to configure a datasource in my application, I'm using jboss abd ojdbc7, and this is the current relevant configuration: jboss-web.xml <resource-ref> <res-ref-name>jdbc/...
rekotc's user avatar
  • 555
0 votes
1 answer
48 views

How do I make two test roots with the same package name?

I'm trying to implement the following structure in my module. It's a gradle project. ./src/main/java/mypackage ./src/test/java/mypackage ./src/testfx/java/mypackage --I want to add this! I'd like ...
James Rice's user avatar
0 votes
0 answers
28 views

Services using MongoDB are working without issues, but services using PostgreSQL cannot access the database [closed]

I have three containers on my server: one running my backend code, one with MongoDB, and one with PostgreSQL. Services using MongoDB are working without issues, but services using PostgreSQL cannot ...
kubraucar's user avatar
0 votes
0 answers
18 views

Eclipse RCP login session timeout

We have an Eclipse RCP based application that uses Eclipse 3.6 plug-ins and Java 1.8. I have a need to implement a login session timeout for the application. I am not too familiar with RCP. I googled ...
user2125853's user avatar
  • 1,315
0 votes
3 answers
62 views

How to pass two curly braces as json value (not a string) for a json object in java?

I currently have a graphQL endpoint that has a request body with two json objects, variables and query. The request body should look like below: { "variables": {}, "query":...
wheelerlc64's user avatar
0 votes
1 answer
36 views

Spring JPA not saving to Postgres DB

I'm trying to setup a system to pull data from a Neo4J database and push it into a Postgres database. The connection to the Neo4J database is longstanding, and the Postgres connection is new. I'm able ...
Bill L's user avatar
  • 2,816
1 vote
0 answers
26 views

Ignoring specific library for a module in Gradle

I have migrated our multi-module Gradle project from Mockito v1 to Mockito v3. As part of the migration, the following libraries were upgraded or added: mockito-core from 1.10.19 to 3.12.4 (and added ...
seened's user avatar
  • 43
0 votes
2 answers
47 views

Configuring Java Spring boot for testing w/ H2 and running w/ MySQL

I am setting up a microservice using Java Spring Boot. The application runs in a Docker container and connects to a MySQL database on the local machine. For testing purposes, I want to avoid the ...
Sam Carleton's user avatar
  • 1,398
1 vote
1 answer
37 views

Listening to text trims/shows of JTextField

Here's what the user wants: if text is too long for a text field to hold, set it as a tooltip. Otherwise, there should be no tooltip. The problem: Swing doesn't tell us if it trims a field's text. ...
Cagepi's user avatar
  • 163
0 votes
1 answer
46 views

Spring cant see lombok constructors

When I'm trying to run my application I get an error: java: variable userRepository not initialized in the default constructor Here is the config file in which the problem occurs (as it turned out, ...
Nicolas2099's user avatar
0 votes
1 answer
31 views

Transaction JDBC Java Insert does not Insert/Update entrys in table

For my work i need to create several PrepareStatements which are inserted in my table. Normally i have no problem with this, but this problem don't make any sense to me. I work in a give environment ...
Troublezero's user avatar
0 votes
0 answers
17 views

No data from Firestore displayed in the recycler view

I started with Firestore and I created a collection MealsDev containing one element. I cannot display it in a recycler view. May you help with it? In the meantime I have already checked other posts, ...
Krzychu's user avatar
  • 121
-2 votes
0 answers
26 views

How to select texture size for STB Truetype? [closed]

Now I want to draw text using OpenGL with STB. I use LWJGL, but the question is about texture size in general. To create a texture I use the stbtt_PackBegin method (then I transfer data from a ttf ...
Stanley Wintergreen's user avatar

1
2 3 4 5
38391