Category "java"

Gradle override subprojects property from CLI

I'm trying to override a setting in a certain project by using the command line in a Linux environment. I would like to avoid to change the build.gradle file. H

How can one execute Java code using Gatling load testing framework?

I am evaluating different load testing tools. After trying JMeter and having two exceptions when running and viewing the test result, I would like to give Gatli

Store redux data that can be accessible with swift and java

I want to rewrite my React Native application with Java for Android and Swift for iOS. The thing is, I don't want to lose application data so that the user has

I cant create h2 database before tests, but after first test other tests work fine

i am trying to make my tests on h2 database. But my first test always falling with error nested exception is io.r2dbc.spi.R2dbcBadGrammarException: [90079] [900

Passing quarkus.hibernate-orm.proc.param_null_passing" - dont work : Call Stored Procedure

Thanks a lot for the opportunity.. I will try to pass 2 parameters in my Quarkus rest code, using Hibernate call stored Procedure at oracle database. Unfortunat

Java interface loose coupling advantages in realworld?

Can someone help me out, I read some Java tight and loose coupling article. I had certain doubts in loose coupling watched several YouTube videos and articles,

app crash due to android.content.res.Resources$NotFoundException:

I made my app and it work well in emulator and many actual device. Recently, I checked crash report on Google play console and found crash report "Caused by:

Flutter Unable to instantiate activity ComponentInfo Main Activity

I'm using vs code (to code) and android studio (to get virtual device). I just merged and pulled the project I'm working on this morning, and first, have a very

Convert ByteArray to Base64 in Kotlin

I am trying to convert a ByteArray to Base64 in a Spring project, written in Kotlin. I have checked existing posts but they didnt help me. Actually I am trying

Mockito mockStatic cannot resolve symbol

I'm using Spring Boot and in a unit test, I'm trying to mock the Files.delete(myFile.toPath()) method. To do so I'm trying to use the Mockito.mockStatic() metho

Proguard plugin is giving error: Failed to execute goal: proguard (default) on project X: Obfuscation failed (result=1)

I am working on an open source Java Maven project which is using proguard-maven-plugin to obfuscate the application code. It is working fine until I have added

How to wrap the return of @FindBy into another class

The usage of the annotation @FindBy of selenium is: @FindBy(xpath='//xpath/selector') private WebElement element; public void setText(String te

How to Update JSON value using Java

I have below json, i want to update each and every value of that json but sometimes only one value { "msgType": "NEW", "code": "205", "plid": "PLB52145", } I'

How to access images within a .Jar File

I've been trying for a couple of days to access an image within a .Jar file. I've taken a look at several solutions on this site and nothing seems to be working

Given a rectangular matrix of characters, add a border of asterisks(*) to it

Example For picture = ["abc", "ded"] the output should be addBorder(picture) = ["*****", "*abc*", "*ded*

Swing: Intercept click on a JRadiobutton

I want to intercept the click on a JRadioButton in a button group. More precise: When JRadioButton A is chosen and the user clicks on JRadioButton B, I want to

How to capture nullpointerexception,ftp connection issues via a log/output file talend job

My talend job is working perfectly now,but i would like to induce some basic quality validation checks and put them in place to capture the error right away wit

Firebase dynamic link doesn't invoke dynamic link on first launch after install

I have read a lot of question on stackoverflow but none of them answer the question. I am trying to set up dynamic links so that a link will deep link the user

Object created for another class opening as new web driver window

public class ListPage extends BaseTest {private ListPageManage Object; private Test Object1; public void getList() throws InterruptedException { this.Obje

Problem with java classes generation from wsdl

I am trying to generate Java classes from this WSDL https://sedo.fss.ru/sedo-gateway/api/soap/SedoGateway?wsdl. I tried to do it with wsdl2java util, wsimport u