80 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
28
views
VB.NET 3.5 OdbcDataAdapter.Fill causes OverflowException after moving from Windows 10 x86 to Windows 11 x64
I’m maintaining a legacy VB.NET 3.5 Windows Forms app that worked perfectly on Windows 10 32-bit using MySQL ODBC Connector 5.1/5.3.
Recently, we migrated to a Windows 11 64-bit machine. Without ...
0
votes
1
answer
12
views
Need to understand OverflowException exception
Can someone please help me to know why below piece of code giving me Overflow exception even if I use long and double datatype of variable numValue:
tring[] inputValues = new string[] { "3", ...
1
vote
2
answers
687
views
CSharp: Failed to read LARGE .npy file. Exception is "NumSharp.dll Arithmetic operation resulted in an overflow."
I am trying to read a large .npy file in CSharp.
In order to do that i am trying to use the NumSharp nuget.
The file is 7GB jagged float array (float[][]). It has ~1 million vectors, each vector is a ...
0
votes
1
answer
1k
views
How to handle int and int64 when parsing json
I have a program that loops through json and grabs the values. This works find until it gets to an integer that is above what int32 handles.
2021年09月10日 08:00:02.7576|ERROR|System.OverflowException: ...
0
votes
3
answers
112
views
how to handle the right overflowed
I created 3 three containers in row, it is working perfectly on emulator but when i run app on my andriod phone it is giving me right overflowed by 20 pixels error.
i found the solution to wrap it in ...
1
vote
2
answers
79
views
getting OverflowError in python
I need to express and use the following equation in Python code. However, I am getting an OverflowError when I substitute X = 340.15 in:
Y = [e^(-989)] * (X^171)
I did a quick search on Google but ...
0
votes
2
answers
898
views
Does C# throw OverflowException for floating point numbers?
Does C# compiler throw OverflowException for floating-point numeric types?
I tried this to figure it out:
try
{
checked
{
double d = Convert.ToDouble(Math.Pow(double.MaxValue, double....
-2
votes
1
answer
818
views
Overflow exception during sum of all the values of integer array in C#
Hi I was solving a very basic problem on Hackerrank about determining Mini-Max Sum of all the values in an integer array. Basically given an array of 5 values like [1, 2, 3, 4, 5], the minimum sum ...
1
vote
1
answer
230
views
How to calculate and write a very, very large number to a file in python?
This may seem like a duplicate question, and maybe it is, but I've checked many other sources and none of the solutions seem to work. The number I'm trying to calculate is 999,999^999,999, and it's ...
0
votes
1
answer
257
views
SQLiteDataReader OverflowException using SQLiteDataReader on decimal.MaxValue
Problem
This is partially me being my own worst enemy. I have unit tests that verify my ability to write and then retrieve all different base data types to/from a SQLite database. Among my tests I ...
1
vote
0
answers
428
views
java.lang.StackOverflowError: null JsonWriter.writeDeferredName but not using Json?
I know the title isn't the best, but the error is not clear at all to me. The error I have is this:
019-04-15 14:28:45.270 ERROR 12644 --- [nio-9090-exec-6] o.a.c.c.C.[.[.[/].[dispatcherServlet] : ...
-4
votes
2
answers
2k
views
System.OverflowException when casting a System.IntPtr to a uint
I tried to save the MaximumApplicationAddress from SystemInfo into an uint, but I get a System Overflow Exception:
System.OverflowException: The arithmetic operation caused an overflow
I tried a lot ...
2
votes
1
answer
87
views
VB.NET OverflowException on very small operation
I'm trying to merge 2 colors and to do so I created a very simple function:
Public Function MixColors(color1 As Color, color2 As Color) As Color
Dim a, r, g, b As Byte
a = (color1.A + color2....
1
vote
1
answer
153
views
uwp NeighbourFilesQuery sometimes gives System.OverflowException
I use FileActivatedEventArgs args to do the file association in my video player app. So I when user double clicks a video file it opens and plays the file in my app, also it gets all the ...
2
votes
1
answer
2k
views
Catching OverflowError
In Python 3 I have a class representing a range [x,y] of values and computing the length of such range.
If the length is too large, I'm not sure how to catch the OverflowError exception inside the ...