What’s the cause and how to fix an error from Java Application?

Asked By 30 points N/A Posted on -
qa-featured

Hello all,

I always get this error from a Java Application.

Dice Rolls

Unhandled exception has occurred in your application. If you
click Continue, the application will ignore this error and attempt
to customer. If you click Quit, the application will close
immediately.
 
Value was either too large or too small for a Decimal.
 
Details                                          Continue            Quit

Can someone please tell me what’s the cause and how do I fix it? 

Thanks.

SHARE
Best Answer by Sharath Reddy
Answered By 0 points N/A #135169

What’s the cause and how to fix an error from Java Application?

qa-featured

Hi,

I think and I'm almost sure that your problem is a registry issue. Because it happens nine times out of ten. 

My suggestion for you is to fix the problem:

Collect a registry cleaning program. 

Have you collected it?

Run the program and follow instruction. It will do everything.

I think your problem will be solved.

Hathy

Best Answer
Best Answer
Answered By 565895 points N/A #135170

What’s the cause and how to fix an error from Java Application?

qa-featured

 

If this error you are having right now frequently happens every time you use the Java program, check first as to how and when the error would start to appear. This will help you analyze whether the problem is from within the application or with the value or values you enter and use in the program. Try opening the program again then see if the error will appear again after it has finished loading. If the error appeared immediately while the program is loading or after loading the program, then we can assume here that it is the software that is in error.

If the problem is from within the program then you may try reinstalling it to replace all the present installation files with a fresh one. Uninstall the program first then restart your computer when asked. After booting, check your computer for any possible errors. Use a disk utility application to check the system. Install the software again then see if this fixes the problem.

But if the program loads perfectly and the error only appeared after entering a specific value on some field maybe, then you should only change it since the error you are receiving has something to do with the size of the value that is used in the program. Try to increase or decrease it whichever is applicable in the program.

Answered By 0 points N/A #196284

What’s the cause and how to fix an error from Java Application?

qa-featured

 

Hi Aditya Derick,
 
It is seen in the screen shot that the exception we are getting is "System.OverflowException : Value was either too large or too small for a Decimal"
 
Decimal value ranges from +79,228,162,514,264,337,593,543,950,335 to -79,228,162,514,264,337,593,543,950,335.
 
The issue may be that while running the program, the value used for a decimal variable may be exceeding the default range limit of decimal.
 
Inorder to fix it, there should be made changes in the program code itself it seems.
 
Hope it helps

Login/Register to Answer

Related Questions