• Register

Recent questions tagged exception

0 votes
1 answer 2 views
Problem: I am beginner to Python programming. I am trying to do some very simple PySide and PyQt tutorials in the IPython. In one of the tasks I simply needs to create the window with some of the sliders to exhibit the slots and signals.But as soon as I close a window of my ... /scratch/<ipython-input-1-88966dcfb499> in main() 29 w.show() 30 app.exec_() ---> 31 sys.exit(0) 32 33 SystemExit: 0
asked 4 days ago Raphael Pacheco 3k points
1 vote
1 answer 22 views
Problem : I am a Computer Science student. I am trying to learn Java Programming in this Covid19 lockdown period. I want to write a program which should perform the below task. “Write a java program to count number of characters in given string”. Please let me know the exact procedure to write the above mentioned program.
asked May 19 Martin K 6.6k points
1 vote
2 answers 41 views
Problem: I am able to login through webservices api to particular account on 'Oracle on demand'. When i tries to call 'accountQueryPage' method of the stub class (Stub class is generated with help Account.wsdl file), i got the following exception java.net.SocketException: Software caused connection abort: recv failed Can anyone give me some pointers.
asked Mar 27 LizzyM 6.1k points
2 votes
1 answer 24 views
Problem: I am able to login through webservices api to particular account on 'Oracle on demand'. When i tries to call 'accountQueryPage' method of the stub class (Stub class is generated with help Account.wsdl file), i got the following exception java.net.SocketException: Software caused connection abort: recv failed Can anyone give me some pointers.
asked Mar 24 LizzyM 6.1k points
0 votes
1 answer 23 views
Problem : I am new to C#. I want to know how can I get the value of a given key in a following exception which I am currently facing in C# in a way it affects all the generic classes? Below is the exception which I am currently facing. "The given key was not present in the dictionary." How to fix above exception.
asked Feb 24 mphil 2.3k points
0 votes
1 answer 17 views
Problem : I have recently started to learn the Swift Programming. I have written one swift program. But my Swift program is always crashing with the below error. &ldquo;Fatal error: Unexpectedly found nil while unwrapping an Optional value&rdquo; I am unable to understand above error and I want to know how can I fix it?
asked Feb 22 mphil 2.3k points
0 votes
2 answers 70 views
Problem : Currently I am working on my app for Android but I am getting following error while working with the SharedPreferences. I am very new to Android App Programming. I am trying to debug it from past 2 days but unable to find the solution ... " android:inputType="number" android:key="capitalownership" android:title="@string/capitalownership" /> Can somebody help me in resolving this error?
asked Feb 17 mphil 2.3k points
0 votes
1 answer 340 views
Problem : I want to input some of the details about student to my program. But when I press a save button its giving me the below listed exception error: "Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedOperationException: Not supported yet."
asked Jan 31 jwilliam 3.9k points
1 vote
1 answer 28 views
Problem : My Swift program is always crashing with the EXC_BAD_INSTRUCTION and with the below error. What does this error mean in detail? And how can I fix this error? Fatal error: Unexpectedly found nil while unwrapping an Optional value
asked Dec 27, 2019 alecxe 7.5k points
0 votes
1 answer 825 views
Problem : When I try to run the below code: j=0 while j<5: j=j+1; try: MySellSta=client.get_order(symbol=MySymb,orderId=MySellOrderNum,recvWindow=MyDelay) except client.get_order as mye: print ("This is the error message!{}".format(j)) #End while I got the following error ... #End while The result is that it ignores my error and go to my next while but I want to catch my error and print my error.
asked Dec 27, 2019 alecxe 7.5k points
0 votes
1 answer 365 views
Problem : I am facing a problem with the exception handling in Java, following is my code. I am facing compiler error when I try to execute my code. The error is as below: exception MojException is never thrown in body of corresponding try ... MyMojException: public class MyMojException extends Exception{ MyMojException(String str){ super(str); } } Can anyone suggest solution on my issue?
asked Dec 5, 2019 alecxe 7.5k points
0 votes
1 answer 71 views
Problem : I am facing following c# socket issue the i/o operation has been aborted because of either a thread exit or an application request
asked Nov 16, 2019 peterlaw 6.9k points
0 votes
1 answer 24 views
Problem : Strange windows error is shown repeatedly unhandled exception has occurred in your application. if you click continue the application will
asked Nov 12, 2019 peterlaw 6.9k points
0 votes
2 answers 57 views
Problem : I got bellow message from my code Exception in thread "main" java.lang.ArithmeticException: / by zero
asked Nov 1, 2019 peterlaw 6.9k points
0 votes
1 answer 152 views
Problem : In my code have main method in it. The program compiles on jgrasp with no errors but it keeps giving me a message as bellow: "no main methods, applets, or Midlets found in file jgrasp"
asked Nov 1, 2019 peterlaw 6.9k points
0 votes
2 answers 136 views
Problem : I am new to string handling & getting below error while trying to execute a program java.lang.stringindexoutofboundsexception: string index out of range: 0
asked Oct 23, 2019 peterlaw 6.9k points
0 votes
1 answer 113 views
Problem : I am trying to implement password based encryption algorithm, but I get this javax.crypto.badpaddingexception: given final block not properly padded
asked Oct 23, 2019 peterlaw 6.9k points
0 votes
1 answer 210 views
Problem : I am getting bellow error while using Sockets java.net.socketexception: software caused connection abort: socket write error
asked Oct 19, 2019 peterlaw 6.9k points
0 votes
1 answer 292 views
Problem : I am getting bellow error while I try to connect MySql database with Java using connector 8.0.11 java.sql.sqlnontransientconnectionexception: public key retrieval is not allowed
asked Oct 19, 2019 peterlaw 6.9k points
To see more, click for the full list of questions or popular tags.