Error update/insert with SAXObjectModel

Hi

I try to update or insert a Xml-Document with the SAX api and got the following Exception witch I do not understand at all. What does it mean?


The exception is:

com.softwareag.tamino.db.api.accessor.TInsertException
NestedException:Single part for multipart request could not be written.
NestedException:Problem during serialization to writer.

Document, i.e. the result of writeTo():

2002-10-24.dat2002-10-29

Stacktrace:

Nested Exception (com.softwareag.tamino.db.api.invocation.TInvocationRequestNotWritableException) stacktrace:

Nested Exception (java.io.IOException) stacktrace:

java.io.IOException: Problem during serialization to writer.
NestedException without message!
at com.softwareag.tamino.db.api.io.TOutputStreamWriter.write(TOutputStreamWriter.java:90)
at com.softwareag.tamino.db.api.invocation.http.THTTPInvocationRequestWriter.write(THTTPInvocationRequestWriter.java:130)
at com.softwareag.tamino.db.api.invocation.TInvocationRequestWriter$TCommandItemPairWriter.invokeRequestWriter(TInvocationRequestWriter.java:158)
at com.softwareag.tamino.db.api.invocation.TInvocationRequestWriter$TCommandItemPairWriter.write(TInvocationRequestWriter.java:119)
at com.softwareag.tamino.db.api.invocation.TInvocationRequestWriter.write(TInvocationRequestWriter.java:51)
at com.softwareag.tamino.db.api.invocation.http.THTTPInvocation.doInvoke(THTTPInvocation.java:147)
at com.softwareag.tamino.db.api.invocation.TAbstractInvocation.doTemplateInvoke(TAbstractInvocation.java:282)
at com.softwareag.tamino.db.api.invocation.TAbstractInvocation.invoke(TAbstractInvocation.java:156)
at com.softwareag.tamino.db.api.invocation.TAbstractInvocation.invoke(TAbstractInvocation.java:135)
at com.softwareag.tamino.db.api.accessor.TStreamAccessorImpl.process(TStreamAccessorImpl.java:619)
at com.softwareag.tamino.db.api.accessor.TStreamAccessorImpl.insert(TStreamAccessorImpl.java:99)
at com.softwareag.tamino.db.api.accessor.TXMLObjectAccessorImpl.insert(TXMLObjectAccessorImpl.java:77)
at com.novartis.pharma.enova.ftpfeeder.DownloadListManager.updateItem(DownloadListManager.java:215)
at com.novartis.pharma.enova.ftpfeeder.tamino.DownloadItem.setSuccessState(DownloadItem.java:145)
at com.novartis.pharma.enova.ftpfeeder.ENovaDataStream.setProcessState(ENovaDataStream.java:109)
at com.novartis.pharma.enova.ftpfeeder.scheduler.FtpFeederCommand.executeNow(FtpFeederCommand.java:150)
at com.softwareag.ch.scheduler.gui.ManualPanel.jRunButtonActionPerformed(ManualPanel.java:123)
at com.softwareag.ch.scheduler.gui.ManualPanel.access$000(ManualPanel.java:40)
at com.softwareag.ch.scheduler.gui.ManualPanel$1.actionPerformed(ManualPanel.java:93)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
at java.awt.Component.processMouseEvent(Component.java:3715)
at java.awt.Component.processEvent(Component.java:3544)
at java.awt.Container.processEvent(Container.java:1164)
at java.awt.Component.dispatchEventImpl(Component.java:2593)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Window.dispatchEventImpl(Window.java:926)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

Hi,

Please post the source code that is producing this exception.

Thanks,
Puny

hi Puny
I found the error. I called a static method in writeTo() of my TXMLElement. This leeds to the Exception.

Best Regards
Hans-Peter