poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xavier Vanderstukken ...@ionicsoft.com>
Subject Re: OpenOffice 1.1.3 can not read a xls file generated with hssf
Date Mon, 03 Jan 2005 15:01:47 GMT
Yes. A few month ago I use POI for an other project under windows 
platform ad that works great.
I think to a charset problem or a os specific problem.
Are there a way to enable debug information during poi execution?

Here are the stack trace of openoffice crash :
Application Errorsh: line 1: crash_report: command not found
Application Error

Fatal exception: Signal 6
Stack:
/opt/OpenOffice.org/program/libsal.so.3[0x40c4851a]
/opt/OpenOffice.org/program/libsal.so.3[0x40c486bd]
/opt/OpenOffice.org/program/libsal.so.3[0x40c48768]
/lib/libpthread.so.0[0x411bcfc3]
[0xffffe420]
/lib/libpthread.so.0(raise+0x2b)[0x411ba15b]
/lib/libc.so.6(gsignal+0x44)[0x413dcfa4]
/lib/libc.so.6(abort+0x16d)[0x413de7bd]
/opt/OpenOffice.org/program/libvcl645li.so(_Z8SalAbortRK6String+0x44)[0x402e4db4]
/opt/OpenOffice.org/program/libvcl645li.so(_ZN11Application5AbortERK6String+0x1f)[0x400e898f]
/opt/OpenOffice.org/program/soffice.bin(_ZN7desktop7Desktop9ExceptionEt+0x4a)[0x806382a]
/opt/OpenOffice.org/program/libvcl645li.so(_ZN23ImplVCLExceptionHandler6signalEP13oslSignalInfo+0x99)[0x400edc39]
/opt/OpenOffice.org/program/libvos3gcc3.so(_ZN3vos28_cpp_OSignalHandler_FunctionEPvP13oslSignalInfo+0x18)[0x40ba9df8]
/opt/OpenOffice.org/program/libvos3gcc3.so(_Z24_OSignalHandler_FunctionPvP13oslSignalInfo+0x26)[0x40ba9dd6]
/opt/OpenOffice.org/program/libsal.so.3[0x40c485dc]
/opt/OpenOffice.org/program/libsal.so.3[0x40c48746]
/lib/libpthread.so.0[0x411bcfc3]
[0xffffe420]
/lib/libpthread.so.0(raise+0x2b)[0x411ba15b]
/lib/libc.so.6(gsignal+0x44)[0x413dcfa4]
/lib/libc.so.6(abort+0x16d)[0x413de7bd]
/opt/OpenOffice.org/program/libvcl645li.so(_Z8SalAbortRK6String+0x44)[0x402e4db4]
/opt/OpenOffice.org/program/libvcl645li.so(_ZN11Application5AbortERK6String+0x1f)[0x400e898f]
/opt/OpenOffice.org/program/soffice.bin(_ZN7desktop7Desktop9ExceptionEt+0x14b)[0x806392b]
/opt/OpenOffice.org/program/libsfx645li.so(_Z18SfxNewHandler_Implv+0x6c)[0x445ba19c]
/opt/OpenOffice.org/program/soffice.bin[0x8088b0c]
/opt/OpenOffice.org/program/soffice.bin(_Znaj+0x2f)[0x8088cff]
/opt/OpenOffice.org/program/libsfx645li.so(_ZN17SfxPSSection_Impl4LoadER8SvStream+0x8a)[0x443fd9aa]
/opt/OpenOffice.org/program/libsfx645li.so(_ZN10SfxPS_Impl4LoadER8SvStream+0xa9)[0x443fd8d9]
/opt/OpenOffice.org/program/libsfx645li.so(_ZN15SfxDocumentInfo15LoadPropertySetEP9SvStorage+0xf1)[0x443fec91]
/opt/OpenOffice.org/program/libsc645li.so[0x45aed422]
/opt/OpenOffice.org/program/libsc645li.so[0x45ade9d6]
/opt/OpenOffice.org/program/libsc645li.so[0x45aef59e]
/opt/OpenOffice.org/program/libsc645li.so[0x4561a3db]
/opt/OpenOffice.org/program/libsfx645li.so(_ZN14SfxObjectShell6DoLoadEP9SfxMedium+0x161a)[0x444139ba]
/opt/OpenOffice.org/program/libsfx645li.so(_ZN20LoadEnvironment_Impl4LoadEPK16SfxObjectFactory+0x407)[0x4438b927]
/opt/OpenOffice.org/program/libsfx645li.so(_ZN20LoadEnvironment_Impl17LoadDataAvailableEv+0x191)[0x4438d5d1]
/opt/OpenOffice.org/program/libsfx645li.so(_ZN20LoadEnvironment_Impl17LoadDataAvailableEv+0xf5)[0x4438d535]
/opt/OpenOffice.org/program/libsfx645li.so(_ZN20LoadEnvironment_Impl5StartEv+0x108)[0x4438a3f8]
/opt/OpenOffice.org/program/libsfx645li.so(_ZN19SfxFrameLoader_Impl4loadERKN3com3sun4star3uno8SequenceINS2_5beans13PropertyValueEEERKNS3_9ReferenceINS2_5frame6XFrameEEE+0xaf8)[0x44477ec8]
/opt/OpenOffice.org/program/libfwk645li.so[0x42ef650b]
/opt/OpenOffice.org/program/libfwk645li.so[0x42efd5ce]
/opt/OpenOffice.org/program/libfwk645li.so[0x42ef03c0]
/opt/OpenOffice.org/program/libfwk645li.so[0x42f0b90c]
/opt/OpenOffice.org/program/libsfx645li.so(_ZN14SfxApplication16OpenDocExec_ImplER10SfxRequest+0x1b01)[0x443440b1]
/opt/OpenOffice.org/program/libsfx645li.so(_Z37SfxStubSfxApplicationOpenDocExec_ImplP8SfxShellR10SfxRequest+0x26)[0x4435b436]
/opt/OpenOffice.org/program/libsfx645li.so(_ZN13SfxDispatcher9Call_ImplER8SfxShellRK7SfxSlotR10SfxRequesth+0x305)[0x444cdc65]
/opt/OpenOffice.org/program/libsfx645li.so(_ZN13SfxDispatcher8_ExecuteER8SfxShellRK7SfxSlotR10SfxRequestt+0x167)[0x444cf4e7]
/opt/OpenOffice.org/program/libsfx645li.so(_ZN13SfxDispatcher7ExecuteEttPPK11SfxPoolItemtS3_+0x115)[0x444d0415]
/opt/OpenOffice.org/program/libsfx645li.so(_ZN26SfxDispatchController_Impl8dispatchERKN3com3sun4star4util3URLERKNS2_3uno8SequenceINS2_5beans13PropertyValueEEERKNS7_9ReferenceINS2_5frame23XDispatchResultListenerEEE+0x6df)[0x444c704f]
/opt/OpenOffice.org/program/libsfx645li.so(_ZN17SfxOfficeDispatch8dispatchERKN3com3sun4star4util3URLERKNS2_3uno8SequenceINS2_5beans13PropertyValueEEE+0x54)[0x444c6034]
/opt/OpenOffice.org/program/libfwk645li.so[0x42f53d7f]
/opt/OpenOffice.org/program/libfwk645li.so[0x42f53b56]
/opt/OpenOffice.org/program/libvcl645li.so(_ZN4Menu6SelectEv+0x9f)[0x401f69bf]
/opt/OpenOffice.org/program/libvcl645li.so(_ZN4Menu14ImplCallSelectEPS_+0x18)[0x401fabf8]
/opt/OpenOffice.org/program/libvcl645li.so(_ZN4Menu22LinkStubImplCallSelectEPvS0_+0x26)[0x401fabd6]
/opt/OpenOffice.org/program/libvcl645li.so[0x40249005]
/opt/OpenOffice.org/program/libvcl645li.so(_Z19ImplWindowFrameProcPvP8SalFrametPKv+0x325)[0x40249795]
/opt/OpenOffice.org/program/libvcl645li.so(_ZN12SalFrameData19HandleClientMessageEP19XClientMessageEvent+0x1bf)[0x402b084f]
/opt/OpenOffice.org/program/libvcl645li.so(_ZN12SalFrameData8DispatchEP7_XEvent+0x56c)[0x402b0fec]
/opt/OpenOffice.org/program/libvcl645li.so(_ZN10SalDisplay8DispatchEP7_XEvent+0x17b)[0x402e196b]
/opt/OpenOffice.org/program/libvcl645li.so(_ZN10SalDisplay5YieldEh+0x107)[0x402e1737]
/opt/OpenOffice.org/program/libvcl645li.so[0x402dd1ee]
/opt/OpenOffice.org/program/libvcl645li.so(_ZN7SalXLib5YieldEh+0x50c)[0x402dba4c]
/opt/OpenOffice.org/program/libvcl645li.so(_ZN11SalInstance5YieldEh+0x34)[0x402e5504]
/opt/OpenOffice.org/program/libvcl645li.so(_ZN11Application5YieldEv+0x5a)[0x400e8bba]
/opt/OpenOffice.org/program/libvcl645li.so(_ZN11Application7ExecuteEv+0x47)[0x400e8ac7]
/opt/OpenOffice.org/program/soffice.bin(_ZN7desktop7Desktop4MainEv+0xda9)[0x8064739]
/opt/OpenOffice.org/program/libvcl645li.so(_Z6SVMainv+0x49)[0x400edcb9]
/opt/OpenOffice.org/program/libvcl645li.so(main+0x36)[0x402da1b6]
/lib/libc.so.6(__libc_start_main+0xb8)[0x413c9488]
/opt/OpenOffice.org/program/soffice.bin(_ZN6Window11RequestHelpERK9HelpEvent+0x39)[0x805e781]
Aborted


Ricardo Lopes wrote:

> Your code works fine on my machine.
>
> Windows XP SP 1
> OpenOffice 1.1.3 Portuguese
> POI-cvs-2004-12-14
>
> Probably is a linux OpenOffice issue.
> I can't test your attached file because it didn't came with the message.
>
> Xavier Vanderstukken wrote:
>
>> I use this very simple code to create an empty xls file.
>>
>> HSSFWorkbook wb = new HSSFWorkbook();
>> FileOutputStream fileOut = new FileOutputStream(path);
>> wb.write(fileOut);
>> fileOut.close();
>>
>> When I try to open it with OpenOffice 1.1.3 I receive the following 
>> message :
>>
>> An unrecoverable error has occured.
>>
>> An the file can not be opened.
>> However I have no problem to open it with Microsoft Excel.
>>
>> My operating system is Gentoo Linux.
>>
>> I attach the generated Excel file
>>
>>
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org


Mime
View raw message