Category "java"

Java selenium - timed out waiting for driver server to start

i need help , how to fix this bug , " timed out waiting for driver server to start " enter image description here i have tried many ways like changing google ve

Eclipse-Selenium-Extract the value from the table

I am relatively new to the Test Automation and in particular to the Selenium. I am using Selenium Web-driver, Eclipse. I can not extract the value from the colu

How to fix a null object reference on document snapshot

I have an program where the MainActivity display the name and the email of the user on top of the screen by using document snapshot that been stored in firestor

org.apache.commons.mail.util.MimeMessageParser never ends parsing

I have some code to parse incoming mails. I use org.apache.commons.mail.util.MimeMessageParser for this.The problem occurs in the following method: private Stri

Java selenium - timed out waiting for driver server to start

i need help , how to fix this bug , " timed out waiting for driver server to start " enter image description here i have tried many ways like changing google ve

How to parse date from year and quarter using java.time

I am trying to parse strings in the format of "<year> <quarter>" ("2022 1", "2022 2") into java.time.LocalDate objects. The closest related question

What is a NumberFormatException and how can I fix it?

Error Message: Exception in thread "main" java.lang.NumberFormatException: For input string: "Ace of Clubs" at java.lang.NumberFormatException.forInputStrin

Java queryForStream use cases

What are the functionalities in using Java queryForStream? I generally use jbdcTemplate.query to obtain data from a database. I'm trying to understand the speci

Difference between += and = 1+ in Java

Me and my friend have been working on a problem for school. We are traversing a graph with DFS and are counting the number of nodes in each given component. We

Why can't I declare object in my local class in Java?

I started learning programming recently. I know it can look meaningless, but I want to know reason why I can't declare my object in my local class. I can declar

Drawing with drawString doesn't look good

The result of drawString with the same font and size in java The appearance is different when drawn with the same font and size in a painter (or word). Drawing

Program ends after entering a string in Java

I've been looking for different solutions out here but on my code they won't work. I'm getting an input from a user but then it doesn't display what's inside th

Fixing green YUYV frame format being streamed using OpenGlView

I am using a library to do RTMP streaming from an USB/UVC camera in android. The library I am using is this one. This library works just fine for android USB ca

Decrypting encrypted encoded string containing SAML assertion using OpenSAML in java

I'm trying to build utility that accepts an encrypted/encoded string containing a SAML 2 assertion string and spits out a decrypted/decoded assertion as plainte

Why does webapp specific context in tomcat 10 no longer work?

My application (SimpleWebApp) needs some context parameters defined. I have a SimpleWebApp.xml context file with the following content: <Context>

Seek method for javafx MediaPlayer does not seek correctly for 1.5 hr+ long audio files

I recently fixed a bug where the javafx MediaPlayer would break whenever I disconnected my bluetooth headphones. I fixed that by doing this. mediaPlayer.set

Can you listen for SpringCamelContext status?

Using EventNotifierSupport, I can listen for CamelContextStartedEvent. However, I need to add one more root to the context, after all the other routes have alre

Do I need this many blocks in my launch.json file?

I have had this launch.json file look this way for most of the time I have had my project. I am not entirely sure what the file's purpose is or what the specifi

XmlMapper: read XML values without assigning a class for the created objects

I am trying to implement a multi language interface for my project and for this I want to load the data for the 3 languages from XML file. The problem is that w

Is there a way to configure the memory resources for Spark using Pyspark

I'm working on an ETL job with an SageMaker notebook that uses spark 2.4.0. After joining a couple of tables I keep getting the following errors: Update-- I was