insertXMLFragment fails when code run from IDE
Posted: Fri Jan 27, 2012 3:55 pm
Hi,
I have a simple application which uses authorAccess.insertXMLFragment(insertedXml, caretPosition); and works fine when built and deployed to oxygen framework. However, when I try to run the code from eclipse (as per these instructions, http://www.oxygenxml.com/forum/topic3789.html#p14949) which generally works fine, I get the following when the code attempts to insert an xml fragment:
java.io.IOException
at ro.sync.io.z.f(Unknown Source)
at ro.sync.io.z.d(Unknown Source)
at ro.sync.io.z$2.read(Unknown Source)
at ro.sync.io.n.read(Unknown Source)
at ro.sync.io.ib.d(Unknown Source)
at ro.sync.io.ib.b(Unknown Source)
at ro.sync.io.ib.c(Unknown Source)
at ro.sync.io.c.g(Unknown Source)
at ro.sync.io.c.j(Unknown Source)
at ro.sync.io.c.ab(Unknown Source)
at ro.sync.ecss.e.u.j(Unknown Source)
at ro.sync.ecss.e.u.o(Unknown Source)
at ro.sync.ecss.e.z.ec(Unknown Source)
at ro.sync.ecss.e.z.fc(Unknown Source)
at ro.sync.ecss.e.z.insertXMLFragment(Unknown Source)
at ro.sync.ecss.extensions.l.insertXMLFragment(Unknown Source)
Any tips how to fix this very much appreciated, Im using Oxygen 11.2 + Ganymede.
steve
I have a simple application which uses authorAccess.insertXMLFragment(insertedXml, caretPosition); and works fine when built and deployed to oxygen framework. However, when I try to run the code from eclipse (as per these instructions, http://www.oxygenxml.com/forum/topic3789.html#p14949) which generally works fine, I get the following when the code attempts to insert an xml fragment:
java.io.IOException
at ro.sync.io.z.f(Unknown Source)
at ro.sync.io.z.d(Unknown Source)
at ro.sync.io.z$2.read(Unknown Source)
at ro.sync.io.n.read(Unknown Source)
at ro.sync.io.ib.d(Unknown Source)
at ro.sync.io.ib.b(Unknown Source)
at ro.sync.io.ib.c(Unknown Source)
at ro.sync.io.c.g(Unknown Source)
at ro.sync.io.c.j(Unknown Source)
at ro.sync.io.c.ab(Unknown Source)
at ro.sync.ecss.e.u.j(Unknown Source)
at ro.sync.ecss.e.u.o(Unknown Source)
at ro.sync.ecss.e.z.ec(Unknown Source)
at ro.sync.ecss.e.z.fc(Unknown Source)
at ro.sync.ecss.e.z.insertXMLFragment(Unknown Source)
at ro.sync.ecss.extensions.l.insertXMLFragment(Unknown Source)
Any tips how to fix this very much appreciated, Im using Oxygen 11.2 + Ganymede.
steve