[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[smila-dev] Blackboard inconsistency!?
|
Dear all,
I am having some problems using the blackboard for saving attachments.
Namely, I am trying to save and Excel file and having it read back, but
there seem to be some inconsistencies with the stream:
" java.io.IOException: Invalid header signature; read 0x0005060000100809,
expected 0xE11AB1A1E011CFD0"
The code looks like this:
...
blackboard.setAttachment(message.getQuery(), "workbook", wb.getBytes());
HSSFWorkbook wb_test = new HSSFWorkbook(new
ByteArrayInputStream(blackboard.getAttachment(message.getQuery(),
"workbook")));
...
Any idea what goes wrong at this point!?
Kind regards,
Bogdan Sacaleanu.
#######################################################################
Bogdan Eugen Sacaleanu, Researcher & Software Engineer
LT-Lab DFKI
Stuhlsatzenhausweg 3
66123 Saarbruecken, Germany
bogdan@xxxxxxx Phone: +49 681 302 5261
http://www.dfki.de/~bogdan Fax : +49 681 302 5338
#######################################################################
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH Trippstadter
Strasse 122,
D-67663 Kaiserslautern, Germany
Geschaeftsfuehrung:
Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender) Dr. Walter´Olthoff
Vorsitzender des Aufsichtsrats:
Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
#######################################################################