New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buffer cannot be null. [DNET674] #628
Comments
Commented by: @cincuranet Provide a test case. Using straightforward code: |
Modified by: @cincuranetstatus: Open [ 1 ] => In Progress [ 3 ] |
Commented by: fish (fishcodelib) while (reader.Read()) { |
Commented by: @cincuranet There's no `Item` method on `FbDataReader`. I suppose you meant first column from reader. But even the `reader[0]` does not fail. Even the first item from the array does not fail (`((string[])reader[0])[0]`). |
Commented by: fish (fishcodelib) while (reader.Read()) |
Commented by: @cincuranet OK, so the interesting part is the charset, not the code (which will in this case result in invalid casting). Why it was not included in first place? And stack trace? |
Commented by: fish (fishcodelib) at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable) |
Modified by: @cincuranetstatus: In Progress [ 3 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: vNext [ 10760 ] |
Submitted by: fish (fishcodelib)
The JOB table in the employee.fdb database can not be queried when executing the statement:
SELECT "LANGUAGE_REQ" FROM "JOB" WHERE "MAX_SALARY"=46900
Got the exception: Buffer cannot be null.
You can get the example file from:
'Firebird-2.5.5.26952-0_x64\examples\empbuild\employee.fdb'
The text was updated successfully, but these errors were encountered: