Skip to main content
0 votes
0 answers
12 views

I'm working on an Android app where users can add and remove restaurants from their favourites via the RestaurantPage activity. When I access the RestaurantPage activity from the UserFavourites ...
999's user avatar
  • 21
0 votes
0 answers
14 views

i recently migrated from java17 to 21. I use logback MDC to log http request and response. each http request may lead to execute several resttemplate sync call. i use mdc to generate UUID as traceId ...
Bashir Zamani's user avatar
0 votes
0 answers
34 views

I cannot get a list of files ending with .pdf, I have tried everything, it lists everything else in the folder, except for the pdf's, what is wrong with this. The program then displays the list in a ...
Roy's user avatar
  • 9
1 vote
0 answers
24 views

I'm using Spring WebClient in my Java application to authenticate with Keycloak. The issue I'm facing is: The first WebClient request takes a long time (5-9 seconds), but all subsequent requests are ...
Anish's user avatar
  • 27
-1 votes
0 answers
49 views

When upgrading H2 to the latest 2.4.240, the H2 specific tests failed with the following errors: insert into posts (content,created_at,slug,status,title,version,id) values (?,?,?,?,?,?,?) [23514-240] ...
Hantsy's user avatar
  • 9,609
-1 votes
0 answers
30 views

I'm designing custom automation report(Playwright with Java using Junit). Encountering issue where I'm unable to implement "auto focus" when I click on the scenario in the table. Focus ...
ShivaShankar163's user avatar
0 votes
0 answers
37 views

I am trying out way to install JRecord and CB2XML in my spring boot application. I tried to use the package through POM xml by mentioning the dependencies. <dependency> <...
ramakrishnar's user avatar
0 votes
0 answers
47 views

Let's assume I have the string "F%c3%bcr%20alle" in a xml file. It should translate to "Für alle". I can do the unescaping with JavaScript: let decoded = decodeURIComponent("F%...
PrfctByDsgn's user avatar
  • 1,062
0 votes
0 answers
58 views

There is a class with an EmbeddedId. @Entity @Getter @Setter @Table(name = "indicator_values") public class IndicatorValue { @EmbeddedId public IndicatorValueId id; @Column(...
Сергей Потапчук's user avatar
2 votes
0 answers
65 views

I use JavaFX 26-ea+6 on Ubuntu 20.04 and it seems that WebView can't show webp images. This is my code: public class TestFx extends Application { @Override public void start(Stage ...
SilverCube's user avatar
  • 1,148
1 vote
0 answers
59 views

I'm working on an Android app where users can add and remove restaurants from their favourites via the RestaurantPage activity. When I access the RestaurantPage activity from the UserFavourites ...
999's user avatar
  • 21
0 votes
1 answer
36 views

In https://github.com/enola-dev/enola/pull/1927 I attempted to add signature validation for WebSocket authentication security to my https://github.com/enola-dev/twilio-conversation-relay-java Java ...
vorburger's user avatar
  • 4,078
Best practices
0 votes
4 replies
80 views

I have a Java library (FIHR) where there are conventions in a bean class hierarchy that were NOT formalized as an interface. For example many subclasses have a getStatus() property but there is no ...
DaBlick's user avatar
  • 988
2 votes
1 answer
54 views

The program below never ends: void main() { try (Fibonacci fibonacci = new Fibonacci()) { IO.println(fibonacci.calculate(9)); } } public static class Fibonacci implements ...
Piotr Walkusz's user avatar
1 vote
1 answer
45 views

When handling user input through Scanner(System.in), you can use System.setIn() to automate user input. Like this: package edu.ntnu.idi.idat; import java.io.ByteArrayInputStream; import java.io....
Lucy's user avatar
  • 95

15 30 50 per page
1
2 3 4 5
127886