python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Java: Messager vs runtime exception
In annotation processing, I am looking for a general guide as to when to use Messager, with Diagnostic.Kind.ERROR and when to use runtime exception. I know that using Messager will raise an error in t...
Aria
Votes: 0
Answers: 1
when trying to upload a sign, getting this java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
getting crash trying to upload a sign
Caused by: java.io.IOException: No such file or directory
when clicking the submit button
error logs are shown below
class SignatureUploadFragment : BaseFr...

Nns_ninteyFIve
Votes: 0
Answers: 1
How To throw RuntimeExcpetions from CompletableFuture.whenComplete exception block?
I need to re-throw the runtime exception from the CompletableFuture Exception block to the parent method, but looks like the runtimeException is getting logged at the exception block itself and not pr...
m23
Votes: 0
Answers: 1
java.lang.RuntimeException: Unable to start activity ComponentInfo on a null object reference
Hello I have this error with my code :
java.lang.NullPointerException: Attempt to invoke virtual method 'double fr.uge.bluetoothle.MapsActivity.calculDistance(double, double, double, double)' on a nul...
Osika91
Votes: 0
Answers: 1