Issue Details (XML | Word | Printable)

Key: JDBC-147
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Roman Rokytskyy
Reporter: Oleg Matveyev
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jaybird JCA/JDBC Driver

gbak: ERROR:Invalid clumplet buffer structure: buffer end before end of clumplet - no length component

Created: 26/Sep/09 10:25 AM   Updated: 11/Mar/11 05:05 PM
Component/s: Services API
Affects Version/s: Jaybird 2.1.6
Fix Version/s: Jaybird 2.2

File Attachments: 1. Java Source File CBackup.java (4 kB)

Environment: Firebird 2.5beta2, and latest snapshot Firebird-2.5.0.25563-0_Win32.7z


 Description  « Hide
On the FB2.5b2 (and Firebird-2.5.0.25563) following code raise error:

(Code bases on the TestServicesAPI.java from Jaybird-2.1.6-src\client-java.sources\src\test\org\firebirdsql\gds\impl\jni)
...
final ServiceRequestBuffer serviceRequestBuffer = gds.createServiceRequestBuffer(ISCConstants.isc_info_svc_to_eof);
final byte[] buffer = new byte[1024];
boolean finished = false;
final FileOutputStream file = new FileOutputStream("c:/1.log");
while(!finished)
{
       gds.iscServiceQuery(handle, null, serviceRequestBuffer, buffer);
...

in the c:\1.log:
gbak: ERROR:Invalid clumplet buffer structure: buffer end before end of clumplet - no length component
gbak:Exiting before completion due to errors

Same code on the FB2.1.1.17910 work fine.


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Oleg Matveyev added a comment - 27/Sep/09 05:15 AM - edited
trouble 2:

In this testcase jaybird do not send op_connect and op_disconnect. Only op_service_attach and op_service_detach.