Re: [api-dev] EOF exception when exectuing code the second time

2010-02-19 Thread Mathias Bauer
Hi Steffen, sorry, I haven't any idea what might cause the problem. Perhaps you can attach a debugger to the server and get a call stack. Regards, Mathias steb wrote: > Hi Mathias, > > most of the time there is no real printing involved. Instead OO is opend > locally with the generated docume

Re: [api-dev] EOF exception when exectuing code the second time

2010-02-15 Thread steb
Hi Mathias, most of the time there is no real printing involved. Instead OO is opend locally with the generated document loaded. But the error occurs way before that. The generated document should be stored with the XStorable.storeAsURL() method before displaying to the user, but it seems like

Re: [api-dev] EOF exception when exectuing code the second time

2010-02-15 Thread Mathias Bauer
Steffen Boersig wrote: > Sorry for the previous mail, just ignore it. I missclicked :/ > > Hi, > > I encountered a problem today while executing my code several times. > I'm connecting to an remote OOServer which is started in invisible and > headless mode. From a GUI application the user can e

Re: [api-dev] EOF exception when exectuing code the second time

2010-02-12 Thread Steffen Boersig
After further investigation I nailed the problem to the XStorable.storeAsUrl() method. It seems, that the method ist not executing properly but isn't throwing an exception either. The debugging messages are exactly the same for all executes , except for the crashing one where logger.debug("Stor

[api-dev] EOF exception when exectuing code the second time

2010-02-12 Thread Steffen Boersig
Sorry for the previous mail, just ignore it. I missclicked :/ Hi, I encountered a problem today while executing my code several times. I'm connecting to an remote OOServer which is started in invisible and headless mode. From a GUI application the user can execute a printing job to create an o