Re: block[ 0 ] already removed - does your POIFS have circular or duplicate block references?

2010-11-08 Thread David Fisher
Permissions? On Nov 8, 2010, at 12:07 PM, epezhman wrote: > > I fixed it like this : I changed this > > file = new File("C:\\Users\\ePezhman\\Desktop\\try\\beta.doc"); > > to this > > file = new File("beta.doc"); > > I moved the beta.doc from desktop to the project folder, and now it's > wor

Re: block[ 0 ] already removed - does your POIFS have circular or duplicate block references?

2010-11-08 Thread epezhman
I fixed it like this : I changed this file = new File("C:\\Users\\ePezhman\\Desktop\\try\\beta.doc"); to this file = new File("beta.doc"); I moved the beta.doc from desktop to the project folder, and now it's working again, any Idea why it stop working and I got those bugs? -- View this mess

Re: Change paper-format for Word

2010-11-08 Thread Nick Burch
On Wed, 3 Nov 2010, gipsy wrote: I have to create doc-files - not docx-Files. So I need to use HWPF - same problem, other api. How can I solve this problem now? First up, I'd suggest you figure out how to do it with .docx - work out which bit of the file holds that information. Armed with that

block[ 0 ] already removed - does your POIFS have circular or duplicate block references?

2010-11-08 Thread epezhman
I wrote the code below to extract word , It was working well until I restarted eclipse , afterward I got these exceptions, I googled them and found out it's a library bug so I downloaded the last version of POI, but I still this error, any Idea how to fix that, thanks in advance