12th December 2024 07:38

Stackoverflow - Number of High Scored Java Questions

Top Monthly Stackoverflow Java Questions

Question Score Views Answers Answered
Compare two different java collection objects with a common attribute using java streams api 2 67 3 True
Worth it to access data by blocks on modern OS/hardware? 2 93 2 True
How to style rounded corners of a TextArea in JavaFX 2 84 2 True
In MongoDB, how do I create a custom role using Java? 1 18 0 False
Basic Spring Boot application always giving 404/Whitelabel error 1 30 1 False
FloatingActionButton doesnt change EditText item in the LIstView 1 5 0 False
Left join in Hibernate on the same entity and having other conditions 1 24 1 False
How to "optimize" a object-creation IF 1 64 5 True
Java Stream, Need to update list of list objects 1 54 1 True
Apache atlas UI not showing up 1 11 0 False
How to convert "Tue Feb 27 2024 16:35:30 GMT+0800" String to ZonedDateTime type 1 28 1 True
Remove JTable cell truncation 1 16 0 False
SQlite for Android not working with json_group_array/json_object 1 15 1 True
Run java program 1 42 1 False
How to convert DoubleVector to IntVector in Java Vector API? 1 23 0 False
How to get the label specified in spring retryable annotation at class level in a MethodInvocationRetryListenerSupport? 1 11 0 False
How to print a value by comparing 2 fields inside JSON - RestAssured 1 64 2 True
i have intergrated daraja api with by booking app coded in java but in payments page it toasts an error message Error:Failed to initiate payment 1 6 0 False
Setting up MongoDB with JavaFX in Intellij, MongoDB external Jar files throwing errors 1 13 0 False
Java get objects elements from List<Objects> and add to new ArrayList 1 21 0 False
Java cancel task running Oracle query through JDBC - connection broken because of SQLSTATE(08006), ErrorCode(17002) IO Error: Socket read interrupted 1 10 1 True
JavaFX resize ImageView in center of BorderPane 1 48 1 True
Incrementing variable count in AnyLogic 1 25 1 True
Why does 'instanceof' work with generics instead of resulting in an error? 4 55 0 False
Abnormal CPU usage of virtual thread 3 55 0 False
Choosing a sequence of bitwise operations 2 63 1 True
Java custom ThreadPool - pause task submission and cancel current queued tasks 2 30 1 True
Spring JPA with nested relation but just need 1 depth relation 1 34 2 True
Android Studio, java, onActivityResult is not being triggered using Intent 1 74 1 True
Supabase with Android Studio Java 1 55 1 True
Call requires permission which may be rejected by user code should explicitly check to see if permission is available 1 23 0 False
How to import newly added fields into an AppFlow with an API created flow 1 6 0 False
Java WireMock defining stubs fail in multithreaded tests with Cucumber parallel execution 1 80 1 True
Why do we still need to implement 'noArgsConstructor' if Java gives a non-parameterized constructor by default? 1 72 3 True
Simple communicating Java and Python processes freezes after a while 1 45 1 False
SSL Handshake issue on Android 7.0 1 40 1 False
Spring Integration open a new ssh connection after each SftpException 1 25 0 False
why does Java’s JIT compilation happen within user threads? 1 44 0 False
Itext pdf deferred signing with invalid signature 1 75 1 True
How to link custom lexer with ANTLR generated parser 1 26 0 False
How do I use "Before Scenario" in mock server? 1 18 1 False
ConcurrentHashMap check then act flow 1 46 2 True
What is the standard way of declaring sets of constants in Java? 1 41 0 False
How to map table and column names to human readable using jooq generator? 1 24 1 True
How to use default Gradle file? 1 33 1 False
Interacting with Dataproc Serverless using Dataproc Client Library 1 24 1 False
PKIX failed when using custom SSLcontext with custom keyStore and trustStore 1 13 0 False
alternative for @DisallowConcurrentExecution 1 22 0 False
How does instanceof with generics work in Java despite type erasure? 4 61 1 True
Add item to a TableView that the user sorted by a certain column while respecting the sort 3 30 1 True
Java Regular Expression for Masked Alphanumeric Codes 3 72 4 True
Rename metrics in Dropwizard MetricsRegistry in a Spring Boot application 3 75 1 True
Is there a way to pause and resume virtual threads in Java? 1 82 1 True
Can I use this Spotify wrapper without Maven/Gradle? 1 9 1 False
How to glue (merge) files Lucene? 1 27 1 True
How to Build a Recursive Descent Parser and Correctly Implement a Nestable Function? 1 14 0 False
Can't do more one query in Camunda Java delegate 1 17 0 False
quarkus smallrye reactive messaging - unittest 1 24 0 False
In Android Studio, I am attempting to create a home page resembling the layout of Instagram's feed, where posts are displayed 1 28 1 True
maven clean install and mvn spring-boot:run gives me on POST request 401 (Unauthorized) error 1 35 1 False
Application on using JavaFX keeps on freezing even though I'm using Concurrent methods 1 55 1 True
Is there a JDK for Mac OS that you can debug with LLDB? 1 39 1 True
Issue with Spring Cloud Function on AWS Lambda using Gradle 1 13 0 False
If the value of the subscription node changes, the log displays that the check is performed every four seconds. Can the check time be shortened? 1 23 1 False
Issue with simple java app that removes background from one image and overlays it onto another image and downloads the processed image 1 25 1 False
How to exclude a weaved property from an entity in Spring Data? 1 14 0 False
Spring Data Jdbc 3.1.3 Dialect SyBase : Haw provide a Dialect Sybase? 1 22 0 False
How to efficiently concatenate strings in Java? 1 30 0 False
Pluck from a Java Collection using stream 1 53 1 True
How to switch encoding of LibreOffice strings in Java UNO API? 1 26 1 False
Locking PDF after filling out text field 1 22 1 True
Jooq foreign key relation 1 17 1 True
How to delete SQLite database table in android java 1 52 1 False
Correct way to notify http client of error after partial response has been sent in Java http 1 25 0 False
When I empty my Cart entity Order emptied 1 38 2 True
HQL - Validation failed for query - Operand of 'by' 1 15 0 False
Guidelines in layouts in android studio 1 22 2 False
Error uplifting OGNL from 3.3.4 to 3.4.2 with struts2(6.3.0.2) 1 34 1 True
Convert coordinates in android 1 11 0 False
How to set the JDK compile and target class version in maven pom file? 1 23 0 False
Regex to match: Every word must have NO capitalized letters after first letter. First letter can be capitalized OR not capitalized 3 81 3 True
Will a Comparator.comparing… in a `compareTo` method be optimized by the compiler in modern Java? 2 103 1 True
How declare in Java unused variable? 2 142 1 True
Hadoop MapReduce WordPairsCount produces inconsistent results 1 31 1 False
Understanding debugger output in Android Studio 1 14 1 True
BsonMaximumSizeExceededException thrown despite having no large documents 1 24 1 True
java: for-each not applicable to expression type required: array or java.lang.Iterable found: org.json.JSONArray 1 27 1 False
SQLRecoverableException while getting bytes from BLOB field 1 6 0 False
H2 spring boot test drop table 1 31 1 True
Wrong MimeType when sending file on AWS AS2 1 33 0 False
RxJava PublishSubject buffer elements with timeout 1 33 1 True
How to extract the information of an xml file in a zip to a Java String 1 29 1 True
Why would a java function return an object that has been passed to it as a parameter? 1 91 2 True
Is Spring Boot emptying "password" fields in the request? 1 31 0 False
can't import com.jogamp in visual studio code 1 9 0 False
What is the difference between using Stream.ofNullable() and stream()? 1 113 3 True
How to get all tables from .accdb file and parse it to return in Java Spring Boot MVC 1 32 1 True
How do I design different kinds of adapters that share a lot of code? 1 26 1 False
Issues with Concurrent Execution and Synchronization in a Custom Java Caching Mechanism 1 39 1 True
KeyEvent in java does not work for alphabets or numerics but works fine for control, alt,up and down.but was not working for alphabets or numbers 1 37 1 True

Top Weekly Stackoverflow Java Questions

Question Score Views Answers Answered
Compare two different java collection objects with a common attribute using java streams api 2 67 3 True
How to style rounded corners of a TextArea in JavaFX 2 84 2 True
Worth it to access data by blocks on modern OS/hardware? 2 93 2 True
FloatingActionButton doesnt change EditText item in the LIstView 1 5 0 False
Remove JTable cell truncation 1 16 0 False
i have intergrated daraja api with by booking app coded in java but in payments page it toasts an error message Error:Failed to initiate payment 1 6 0 False
Java get objects elements from List<Objects> and add to new ArrayList 1 21 0 False
Apache atlas UI not showing up 1 11 0 False
Incrementing variable count in AnyLogic 1 25 1 True
Left join in Hibernate on the same entity and having other conditions 1 24 1 False
Java Stream, Need to update list of list objects 1 54 1 True
JavaFX resize ImageView in center of BorderPane 1 48 1 True
Java cancel task running Oracle query through JDBC - connection broken because of SQLSTATE(08006), ErrorCode(17002) IO Error: Socket read interrupted 1 10 1 True
How to "optimize" a object-creation IF 1 64 5 True
In MongoDB, how do I create a custom role using Java? 1 18 0 False
Run java program 1 42 1 False
How to get the label specified in spring retryable annotation at class level in a MethodInvocationRetryListenerSupport? 1 11 0 False
How to sort this list of strings along with the strings and output the result as expected? 1 67 1 False
Setting up MongoDB with JavaFX in Intellij, MongoDB external Jar files throwing errors 1 13 0 False
How to convert "Tue Feb 27 2024 16:35:30 GMT+0800" String to ZonedDateTime type 1 28 1 True
How to convert DoubleVector to IntVector in Java Vector API? 1 23 0 False
Basic Spring Boot application always giving 404/Whitelabel error 1 30 1 False
SQlite for Android not working with json_group_array/json_object 1 15 1 True
How to print a value by comparing 2 fields inside JSON - RestAssured 1 64 2 True
Why does 'instanceof' work with generics instead of resulting in an error? 4 55 0 False
Abnormal CPU usage of virtual thread 3 55 0 False
Java custom ThreadPool - pause task submission and cancel current queued tasks 2 30 1 True
Choosing a sequence of bitwise operations 2 63 1 True
ConcurrentHashMap check then act flow 1 46 2 True
How to link custom lexer with ANTLR generated parser 1 26 0 False
What is the standard way of declaring sets of constants in Java? 1 41 0 False
Spring Integration open a new ssh connection after each SftpException 1 25 0 False
PKIX failed when using custom SSLcontext with custom keyStore and trustStore 1 13 0 False
Why do we still need to implement 'noArgsConstructor' if Java gives a non-parameterized constructor by default? 1 72 3 True
alternative for @DisallowConcurrentExecution 1 22 0 False
why does Java’s JIT compilation happen within user threads? 1 44 0 False
Itext pdf deferred signing with invalid signature 1 75 1 True
How to map table and column names to human readable using jooq generator? 1 24 1 True
SSL Handshake issue on Android 7.0 1 40 1 False
Spring JPA with nested relation but just need 1 depth relation 1 34 2 True
Java WireMock defining stubs fail in multithreaded tests with Cucumber parallel execution 1 80 1 True
Call requires permission which may be rejected by user code should explicitly check to see if permission is available 1 23 0 False
How to import newly added fields into an AppFlow with an API created flow 1 6 0 False
How do I use "Before Scenario" in mock server? 1 18 1 False
How does instanceof with generics work in Java despite type erasure? 4 61 1 True
Java Regular Expression for Masked Alphanumeric Codes 3 72 4 True
Add item to a TableView that the user sorted by a certain column while respecting the sort 3 30 1 True
Application on using JavaFX keeps on freezing even though I'm using Concurrent methods 1 55 1 True
Spring Data Jdbc 3.1.3 Dialect SyBase : Haw provide a Dialect Sybase? 1 22 0 False
Guidelines in layouts in android studio 1 22 2 False

Top Daily Stackoverflow Java Questions

Question Score Views Answers Answered
Worth it to access data by blocks on modern OS/hardware? 2 93 2 True
Compare two different java collection objects with a common attribute using java streams api 2 67 3 True
SQlite for Android not working with json_group_array/json_object 1 15 1 True
How to convert DoubleVector to IntVector in Java Vector API? 1 23 0 False
Run java program 1 42 1 False
Left join in Hibernate on the same entity and having other conditions 1 24 1 False
How to get the label specified in spring retryable annotation at class level in a MethodInvocationRetryListenerSupport? 1 11 0 False
Apache atlas UI not showing up 1 11 0 False
Incrementing variable count in AnyLogic 1 25 1 True
FloatingActionButton doesnt change EditText item in the LIstView 1 5 0 False
Java cancel task running Oracle query through JDBC - connection broken because of SQLSTATE(08006), ErrorCode(17002) IO Error: Socket read interrupted 1 10 1 True
JavaFX resize ImageView in center of BorderPane 1 48 1 True
How to convert "Tue Feb 27 2024 16:35:30 GMT+0800" String to ZonedDateTime type 1 28 1 True
Setting up MongoDB with JavaFX in Intellij, MongoDB external Jar files throwing errors 1 13 0 False
How to sort this list of strings along with the strings and output the result as expected? 1 67 1 False
Basic Spring Boot application always giving 404/Whitelabel error 1 30 1 False
Java get objects elements from List<Objects> and add to new ArrayList 1 21 0 False
How to "optimize" a object-creation IF 1 60 5 True
In MongoDB, how do I create a custom role using Java? 1 18 0 False
Java Stream, Need to update list of list objects 1 52 1 True
Why does 'instanceof' work with generics instead of resulting in an error? 4 55 0 False
Abnormal CPU usage of virtual thread 3 51 0 False
Choosing a sequence of bitwise operations 2 61 1 True
Java custom ThreadPool - pause task submission and cancel current queued tasks 2 29 1 True
Why do we still need to implement 'noArgsConstructor' if Java gives a non-parameterized constructor by default? 1 66 3 True
What is the standard way of declaring sets of constants in Java? 1 40 0 False
alternative for @DisallowConcurrentExecution 1 21 0 False
Spring JPA with nested relation but just need 1 depth relation 1 32 2 True
How to map table and column names to human readable using jooq generator? 1 21 1 True
why does Java’s JIT compilation happen within user threads? 1 39 0 False
How to import newly added fields into an AppFlow with an API created flow 1 6 0 False
How to link custom lexer with ANTLR generated parser 1 26 0 False
How do I use "Before Scenario" in mock server? 1 17 1 False
ConcurrentHashMap check then act flow 1 46 2 True
PKIX failed when using custom SSLcontext with custom keyStore and trustStore 1 13 0 False
Spring Integration open a new ssh connection after each SftpException 1 24 0 False
How does instanceof with generics work in Java despite type erasure? 4 52 1 True
Add item to a TableView that the user sorted by a certain column while respecting the sort 3 28 1 True
Java Regular Expression for Masked Alphanumeric Codes 2 53 3 True
How to set the JDK compile and target class version in maven pom file? 1 21 0 False
Correct way to notify http client of error after partial response has been sent in Java http 1 18 0 False
Issue with Spring Cloud Function on AWS Lambda using Gradle 1 11 0 False
Application on using JavaFX keeps on freezing even though I'm using Concurrent methods 1 50 1 True
How to exclude a weaved property from an entity in Spring Data? 1 14 0 False
maven clean install and mvn spring-boot:run gives me on POST request 401 (Unauthorized) error 1 32 1 False
HQL - Validation failed for query - Operand of 'by' 1 15 0 False
In Android Studio, I am attempting to create a home page resembling the layout of Instagram's feed, where posts are displayed 1 26 1 True
quarkus smallrye reactive messaging - unittest 1 17 0 False
How to switch encoding of LibreOffice strings in Java UNO API? 1 24 1 False
How to efficiently concatenate strings in Java? 1 28 0 False

Top Yearly Stackoverflow Java Questions

Question Score Views Answers Answered
Confusion of a code snippet in a interview 3 107 3 True
Why does 'instanceof' work with generics instead of resulting in an error? 4 55 0 False
Source root is duplicated in module ... error in IntelliJ Idea 4 2303 0 False
Sonar warning S6857: Correct this malformed property placeholder - is this a false positive? 4 231 0 False
How does instanceof with generics work in Java despite type erasure? 4 61 1 True
How can I configure VS Code to allow wildcard imports? 3 504 1 True
What is the difference between using Stream.ofNullable() and stream()? 4 59 3 True
<a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>. getting this errors after adding mapbox_gl and its sdk 3 4269 2 True
Unable to compile java 21 3 478 1 True
'com.google.android.exoplayer2.ui.StyledPlayerView' is deprecated 3 4769 1 True
Spring boot 3 upgrade error : 'org.springframework.http.HttpStatus org.springframework.http.ResponseEntity.getStatusCode()' 5 2764 3 True
Proper way of concatenating lists with single elements in a single logical line in Java? 3 156 2 True
Are there any drawbacks in merging collections with Stream.concat()? 3 66 2 True
Elasticsearch cannot be started (Could not load codec 'Lucene95'.) 4 3082 3 True
Dynamic url value in spring 6 httpexchanges 4 504 1 True
Custom ObjectMapper with Spring RestClient (migrating from WebClient) 4 189 1 False
After updating to java 17 started to receive [error] target level should be in '1.1'...'1.8','9'...'14': 17 4 1767 1 True
Spring Cloud Gateway Server MVC- Can we use spring mvc with spring cloud gateway 4 2957 4 True
Missing @WithSession with quarkus-resteasy-reactive causes java.lang.IllegalStateException: No current Mutiny.Session found 4 254 1 False
Spring Boot 3.0.4 webflux having 415 UNSUPPORTED_MEDIA_TYPE 3 5856 1 True
Virtual threads in Java with backwards compatibility 5 95 1 True
Getting a java agent has been loaded warning in intelliJ after upgrading JDK 17 to 21 4 1433 2 True
Unable to make itext5 pdf watermark non removable in VMware Workspace ONE Boxer email 4 164 3 True
How to update a jpackage installed application? 4 199 2 True
Generate unused model classes with openapi 4 195 0 False
How to use Ed25519 / Curve25519 with SpringBoot for JWK, JWE, JWS and JWT security? 5 165 1 True
How to update threadContext with Spring Webflux Webclient wiretap logging 3 1778 2 True
openapi springboot - Error 'swaggerWelcome' threw exception 3 3351 1 True
Character::IsEmoji not working for Characters with numbers in them? 3 73 1 True
why can't we implement two interfaces that have methods with identical signature which one of them has a default implementation in java? 3 73 1 True
Convert a Map<T, Value> to a List<T> based on parameter of the object and value 4 54 1 True
OutOfMemoryError after migrating to spring 6 / hibernate 6 / spring boot 3 with multiple datasources, caused by TransactionManagement 4 488 1 False
How to return a slice in Java 4 89 1 True
ISO-8601 week data representation for basic temporal operations 5 116 2 True
Using deprecated 'credentials' format in JSON representation error shown during Keycloak user creation 4 134 0 False
How to fix NoSuchFieldError 'com.sun.tools.javac.tree.JCTree 4 10413 0 False
Generating code for an annotation using Java Poet 8 154 1 True
Given java enum class, find enum by value 4 111 3 True
Cannot sign in user to Firebase in Android app 4 6012 3 True
Java 21 suppress compiler "preview feature" warnings - how? 4 47 1 True
Spring Security 6 - Use JWT Tokens instead of JSESSIONID after OAuth2 Login 3 780 2 True
When should we use @Transactional annotation? 5 151 3 True
How would you print the nth term of this series y = -(1)-(1+2)+(1+2+3)+(1+2+3+4)-(1+2+3+4+5) .... (1+2+3+4...+n) in java 4 109 3 True
Using Generational ZGC for JavaFX application running with GraalVM-21 takes warning about not supporting JVMCI, why? 4 76 1 True
java.lang.IllegalStateException: Must register a callback before starting capture, to manage resources in response to MediaProjection states 4 246 0 False
Towers of hanoi game in javafx - nothing is shown until the games is fully solved 4 76 2 True
Java 21 structured concurrency, need predictable subtask exception ordering 5 224 3 True
How to inspect Virtual Threads on a running JVM? 5 438 0 False
Determining the Upper Limit of Math.random() Output in Java 5 68 1 True
Ordering is not correct in TreeSet 4 163 3 True