Page 1 of 1

Exceptions when saving a document

Posted: Fri Sep 05, 2008 12:49 pm
by vladdu
Hi!
Oxygen is a great product! :D

I'm using it with Eclipse 3.4, on Win2k, Java 1.5.12
I get some exceptions that are annoying because a dialog pops up, stacktrace is below.

best regards,
Vlad

Code: Select all

12:02:19,416 11420466 ERROR [ AutomaticallyValidation ] ro.sync.exml.editor.e - Automatically validation thread stopped because java.lang.ArrayIndexOutOfBoundsE
xception: 16
java.lang.ArrayIndexOutOfBoundsException: 16
at java.util.ArrayList.clear(Unknown Source)
at ro.sync.exml.editor.R.J.A(Unknown Source)
at ro.sync.exml.editor.R.J.A(Unknown Source)
at ro.sync.exml.editor.e.C(Unknown Source)
at ro.sync.exml.editor.e$1.?(Unknown Source)
at ro.sync.Q.D.A.run(Unknown Source)
12:02:19,416 11420466 ERROR [ main ] ro.sync.exml.editor.R.J - java.lang.ArrayIndexOutOfBoundsException: 16
java.lang.ArrayIndexOutOfBoundsException: 16
at java.util.ArrayList.clear(Unknown Source)
at ro.sync.exml.editor.R.J.A(Unknown Source)
at ro.sync.exml.editor.R.J.A(Unknown Source)
at ro.sync.exml.editor.R.J$2.A(Unknown Source)
at ro.sync.exml.editor.R.J.A(Unknown Source)
at com.oxygenxml.editor.editors.d.?(Unknown Source)
at com.oxygenxml.editor.editors.d.editorAbout2Save(Unknown Source)
at com.oxygenxml.editor.editors.xml.XMLGridEditor$1.editorAbout2Save(Unknown Source)
at com.oxygenxml.editor.editors.OxygenBaseEditor$20.aboutToChange(Unknown Source)
at org.eclipse.ui.texteditor.AbstractTextEditor.performSave(AbstractTextEditor.java:4788)
at org.eclipse.ui.texteditor.AbstractTextEditor.doSave(AbstractTextEditor.java:4579)
at com.oxygenxml.editor.editors.OxygenBaseEditor.doSave(Unknown Source)

Re: Exceptions when saving a document

Posted: Fri Sep 05, 2008 4:42 pm
by sorin_ristache
Hello,

Can you post a sample XML document for reproducing the error? The error is reported by the Validate as you type feature which validates the edited document in background as you edit it.


Regards,
Sorin

Re: Exceptions when saving a document

Posted: Fri Sep 05, 2008 9:55 pm
by vladdu
Hi,

I'll see what I can do to find a minimal document. I already converted it from Docbook 4 to 5, and the problem is gone.

regards,
Vlad