Skip to main content
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Java java.util.NoSuchElementException: No line found in catch block [duplicate]

I want to make ability to input again in case there would be an exception, but when it reaches catch block there is Exception in thread "main" java.util.NoSuchElementException: No line ...
salmonSteak's user avatar
-1 votes
0 answers
60 views

I'm trying to create a new YML file in my config

I'm working on making a config file for my plugin and to make my test file to make sure it works but I can't seem to use getDataFolder. From what I found it's still a thing in docs. Here is what I ...
Gamez's user avatar
  • 27
Best practices
0 votes
4 replies
79 views

How do I generate random words from two different lists and combine them into one search?

I haven't been able to find the information for this specific issue (only random word generators and unscramblers). I'm mainly looking for best practices related to the problem. I want to generate ...
Aurora Lane's user avatar
Advice
0 votes
9 replies
111 views

Started LeetCode late in career, any particular question for must practice

I have started my LeetCode journey late in my college, and I regret it, but it is what it is. I want to cover all the major LeetCode problems but dont know where to start, please anyone guide me with ...
Manas Maheshwari's user avatar
Best practices
0 votes
4 replies
50 views

AIX 7.1 to 7.2 migration experience with WebSphere Application Server 7.0.0.23 running on Java 6

We are assessing the feasibility of upgrading an IBM Power9 environment from AIX 7.1 TL5 to AIX 7.2. Current stack: IBM WebSphere Application Server ND 7.0.0.23 Java 6 IBM MQ 7.5.0.8 IBM ...
anusha t's user avatar
0 votes
0 answers
69 views

Getting 401 instead of 200 as HTTP response

So I have created a REST API. Some of it protected and some are not. Strang thing is, even if I use permitAll() for these endpoints, I'm getting 401 response, instead of 200. SecurityConfig: public ...
SAF SAF's user avatar
  • 11
-1 votes
0 answers
55 views

Session token won't be accepted

So im currently self learning and building a fullstack project. I built my Backend with Springboot and I am using Session based auth. The cors config already got all of the possible accepted origins I ...
joel.'s user avatar
  • 11
-1 votes
0 answers
62 views

Why do I get "403 Forbidden" error when trying to use Google YouTube API Library in Java? [closed]

I was recently coding a Java app which could allow me to see latest videos from my friend's YouTube channel, including his livestreams. Checking for latest videos wasn't a big deal, but checking for ...
kimor's user avatar
  • 1
-3 votes
0 answers
52 views

Storing list using JPA [closed]

I'm working on a Springboot project. Trying to store a list in table column using JPA, but it is always failing. I have tried in various ways. The list is not of primitives, but a java class. Always ...
SAF SAF's user avatar
  • 11
0 votes
0 answers
41 views

How to share Avro scheme between projects in Kafka Java Spring

I have an Avro scheme, something like: { "type": "record", "name": "NotificationEventAvro", "namespace": "io.company.project1.dto....
user32508599's user avatar
-1 votes
1 answer
80 views

Android Capture Wi-Fi Channel utilization but always return stale/cache value [closed]

How to capture wi-fi channel utilization for system application which has carrier privilleged and also foreground service ? AOSP ref : AOSP Wi-Fi Channel Utlization These are the steps follow to ...
Subhankar's user avatar
  • 523
Tooling
1 vote
7 replies
141 views

Check if String only contains latin letters including accents

I want to check if a String only has latin letters (a-z / A-Z), but it may also contain letters with accents (á, à, ã, â, é, è, etc). What is the best way to do this? If possible, I'd prefer to use ...
rain's user avatar
  • 1
1 vote
0 answers
78 views

Spring Repository giving "ORA-02289: sequence does not exist" on an existent sequence, but shows lowercase name in error

I have a sequence with a schema name which does work manually in a SQL tool such as SqlDeveloper: select CRI_API."ISEQ$$_159767".nextval from dual; => 22 The Java application connects to ...
gene b.'s user avatar
  • 12.9k
4 votes
2 answers
155 views

JavaFX Clipboard.getImage() returns a fully transparent image when copying from Firefox on Windows 10

I'm reading images from the system clipboard using JavaFX: Clipboard clipboard = Clipboard.getSystemClipboard(); if (clipboard.hasImage()) { Image image = clipboard.getImage(); System.out....
GGA1729's user avatar
  • 181
1 vote
2 answers
156 views

With Spring Boot, a kafkaTemplate.send(topic, msg).join() returns a producer record and its metadata, but no message is in the topic

I'm using Apache Kafka 4.1.2 for a test. It has to send a message in a local-health-status-v0 topic. The topic is created from a Spring Boot 4.0.6 @Config: @Bean public NewTopic healthStatusTopic() { ...
Marc Le Bihan's user avatar

15 30 50 per page
1
2 3 4 5
127712
Morty Proxy This is a proxified and sanitized view of the page, visit original site.