exception tag

51 questions


1 answers
74 views
0
Can a VM die when a catch exception occurs consecutively?

Could a VM die because of an estimated 5 catches exceptions per second?Since it is a caught exception, it is a code covered by try-catch, and all you do in catch is to log at the error level. There's ...

2 years ago

2 answers
77 views
0
java.lang.NullPointerException: Attempt to invoke virtual method 'LegacyCameraConnectionFragment.openCamera()' on a null object reference

java.lang.NullPointerException: Attempt to invoke virtual method 'void kr.co.kpst.mec_digtwin.activity.LegacyCameraConnectionFragment.openCamera()' on a null object referenceIf you press the curren...


1 answers
93 views
0
cLanguage Exception Occurred

#include <stdio.h>int main(){ int n1 = 0, n2 = 0; char c = 0; int val = 0; printf (Enter an expression: ); scanf_s(%d%c%d, &n1, &c, &n2); switch (c) { case '+': val = n1 + n2; pri...

2 years ago

1 answers
140 views
0
[java] I keep getting ClassNotFoundException...

Hello, I'm coding through eclipse with java... My own object (specifically MyButton) is defined and used in code, as shown in the picture.The following error states that class cannot be found even tho...


1 answers
116 views
0
Android will be forced to shut down. NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference

When you run Android and log in, the map screen appears, and it is forced to end immediately after the screen appears. Can anyone tell me what the problem is because I don't know how to watch logcat?0...


1 answers
93 views
0
Android studio is forced to shut down 'java.lang.Stringjava.lang.Object.toString()' on a null object reference

When you press a button on a map map, an error occurs.I used the threadI don't know which part is wrong.I'm just copying what someone else didPlease help me because I am not good at interpreting logca...


1 answers
116 views
0
Question about Android studio error! Attempt to invoke virtual method 'void android.widget.ListView.setAdapter(android.widget.ListAdapter)' on a null object reference

I'm making a simple note app with Android studio.However, I try to run it on the emulator, but it keeps turning off and not running.There was no problem in the build window, so I faced a difficulty in...


1 answers
92 views
0
Exception thrown: read access violation. Head was nullptr.

typedef struct node { int value; struct node* next;} } node;int ll_has_cycle(node* first) { node* head = first; while (head->next) { head = head->next; if (head == first) return 1; } return ...


1 answers
55 views
0
Python exception handling question

num1, num2 = input().split() created a code that receives num1 and num2 as this code.I'm leaving a question because I don't know how to make a condition when I try to print out the phrase error if I t...

2 years ago

1 answers
56 views
0
Java) Exception processing and filtering out conditions in the if statement

It's nothing much, but I had to delete items from List<> specific indexes while making the code.This code is applicable.public boolean removeDetails(int index) { if(routineDetailModels == null ...

2 years ago
« - 5 - »

© 2024 OneMinuteCode. All rights reserved.