i am trying to create a program for string anagram that follows these conditions: method should allow only letters, white space, commas and dots in an anagram.
I'm getting NullPointerException when I use @Autowired in the @BeforeStep cucumber method in my step definition. What I'm doing wrong here? Please find my code
Here's the problem: I am reading an Excel file that has both strings and numeric values. In my method I parse the respective fields into either BigDecimal or St
I have changed my spring framework version from 4.1.4.RELEASE to 5.3.6 and spring security version from 3.2.5.RELEASE to 5.4.6. I'm facing problem when using &l
I am testing graalVM native image limitations with multiple different java features. I wrote a little program that performs canny edge detection and it loads in
I'm trying to understand working with Videos in android studio there's one problem, I didn't get why we use anchor method
I am currently creating a small project to mimic simple bank transactions. Currently there are two types of transactions. Request transaction Transaction is can
We are switching to new Java 17 and new WildFly 26. Using older Java, we had a custom login module class which extended org.jboss.security.auth.spi.DatabaseServ
I'm using these graphql dependencies: "com.graphql-java-kickstart:graphql-spring-boot-starter:12.0.0", "com.graphql-java-kickstart:graphql-java-tools:12
I am using a custom common class named APIHelper for Volley JsonObjectRequest for my all activities. I am handling all type of errors here. And setting positive
The problem happens when I'm trying to get children of a comment. If the child key is null, my application crashes and gives me this error: org.json.JSONExcept
In my assignment I have to use an enum to make an EnumSet of elements that fit the criteria given. So, the code needs to be as flexible as possible and allow an
When I run cucumber test from IntelliJ terminal commandline and get subject error: λ gradlew cucumber
I have this MultiValueMap with params which I would like to send as http link key-value values MultiValueMap<String, String> map = new LinkedMultiValueMap
I have a native Query that return a list of objects, i need to pass an array as parameter to the function getAllUsers. @Repository public interface UserReposito
I've been using an Accessibility service for a while now on my app. It used to work fine, but there's this message on the phone at the screen where you enable t
I installed JFormDesigner for IntelliJ with an evaluation license to convert some forms from NetBeans, and upon realizing that it put a huge ugly watermark on e
I have an Ajax POST call that uploads one or more files to a servlet. In my servlet, I use Commons FileUpload library to manage the uploading file process: priv
I have some problemi understanding spring @MockBean in complex api call: serviceCommunication.callAPI(HttpMethod.POST, Servi
So, if we want to run something only at Liferay startup, we can use the technique as described in some other answers here, like this. However, this offers, to e