Skip to content
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

Invalid BLOB ID when updating BLOB fields [CORE1342] #1761

Closed
firebird-automations opened this issue Jul 3, 2007 · 14 comments
Closed

Invalid BLOB ID when updating BLOB fields [CORE1342] #1761

firebird-automations opened this issue Jul 3, 2007 · 14 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Eduardo Gamboa (bestrafender)

I have an app that uses FBDataAdapter and FBCommandBuilder to update a table with a BLOB SUB_TYPE 1 field.
I was working fine with FB SS 2.0.1, but with FB SS 2.1.0 Beta 1 it throws the exception:

Invalid BLOB ID

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

We need a test case.
I run the .NET Provider test cases and it works.

@firebird-automations
Copy link
Collaborator Author

Commented by: Eduardo Gamboa (bestrafender)

Do you have a personal e-mail address so I can send the app without making it public?

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

You can send to mailto:adrianosf@uol.com.br.

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

Eduardo, did you received my mail sent on 03-jul?

I believe this is a real problem, and we need to fix it better early than later.

============
Can you please send-me binary debug version of your app and the provider?

In my environment (2.1 RC1 provider + one class from trunk) I get:
-------------
Database: localhost:c:\BASELINE.FDB is open.

Database: localhost:c:\MILESTONE.FDB is open.

Database: localhost:c:\t.fdb dropped.

Database: localhost:c:\t.fdb created.

Database: localhost:c:\t.fdb is open.

Creating schema-support tables...

Ok.

Processing dropped tables...

***** Exception *****
GetDBDifferences():
ProcessDroppedTables():
Object reference not set to an instance of an object.
***** ********* *****
-------------

@firebird-automations
Copy link
Collaborator Author

Commented by: Eduardo Gamboa (bestrafender)

Adriano,
The "Object reference not set to an instance of an object" exception is related to the DNET102 reported issue. So if you download and compile the last source code of the .net provider you can get to the point in where the BLOB SUB_TYPE 1 field update throws the exception.

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

Sorry, but I've not the tools to build it.
Can't you send the binary (debug, with SVN repository version number) to me, please?

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

Eduardo, I was able to reproduce the problem, but lost the executable and can't recompile anymore.

I'm not expert with .NET and don't have 2.0 SDK tools.

So, please, send-me the binary file of your application, as I request before, and I need a way to connect to the databases using the fbclient.dll or fbembed.dll too.

I'm near sure of what is the problem, and if I'm correctly, the problem should be fixed in the .NET provider.

Thanks.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

priority: Major [ 3 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

FWIW, the bug is not reproducable using .Net with fbclient...

I contacted Carlos Guzman, with a hint of what is going inside the .Net protocol implementation, but have no response yet.

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

Eduardo, can you please test with a snapshot build?

This bug should be already fixed.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.1 Beta 2 [ 10190 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 12491 ] => Firebird [ 15252 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant