Verhás Péter wrote:
Hi Peter,
first of all thank you for your feedback.
After starting it gives a warning:
A conflict occurred for CTRL+P:Binding(CTRL+P,
ParameterizedCommand(Command(org.eclipse.ui.file.print,Print,
Print,
but this seems to be fairly harmless.
This is strange since the command is bound to M1+CTRL+P. Anyway I'll
check it.
When I tried to edit an object and to alter a
"select list" value it
only listed the current value and did not display the possible values.
When I pressed 'Add' and then 'Cancel' on the pop-up window it gave
another error:
java.lang.ClassCastException: java.lang.String cannot be cast to
java.util.List
at
org.xwiki.eclipse.ui.editors.propertyeditors.ListPropertyEditor$2.widgetSelected(Unknown
Source)
This is bad actually. What was the class of the object you were trying
to edit and the type of the field?
This is harmless, but this also happens when I try to
add a value. This
time it is not that harmless, because it prevents me to add a new value
to the object. The format of the fields is nice and neat, but it has
nothing to do with the ordering that I defined in the class the object
belongs to.
Ok will fix this.
Then I double-click on a page to open it in wiki
editing mode. It opens
fine. Then I double click on the page again and I get the error:
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
com.thoughtworks.xstream.io.StreamException: : Invalid byte 2 of 3-byte
UTF-8 sequence.
at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:88)
at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:70)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:869)
at org.xwiki.eclipse.core.utils.CoreUtils.readDataFromXML(Unknown Source)
at org.xwiki.eclipse.core.storage.LocalXWikiDataStorage.getPage(Unknown
Source)
at org.xwiki.eclipse.core.DataManager.getPage(Unknown Source)
This looks like some kind of encoding problem that XStream is not able
to handle. It's strange because I delegate XStream all the
serialization/deserialization work so I don't want that this is due to
an XStream bug. Could you please send me the page that creates the issue?
Next time I try to connect to our external
installation. This time the
url is:
https://myserver//xwiki/xmlrpc/confluence
It opens fine and when I click on the '+' in front of the connection it
shows the spaces. When I try to open a space it gives me an error:
An internal error occurred during: "Fetching children of Main".
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:3777)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at org.eclipse.swt.SWT.error(SWT.java:3666)
at org.eclipse.swt.widgets.Display.error(Display.java:1180)
at org.eclipse.swt.widgets.Display.checkDevice(Display.java:703)
at org.eclipse.swt.widgets.Display.getActiveShell(Display.java:1349)
at
org.xwiki.eclipse.ui.adapters.XWikiEclipseSpaceSummaryAdapter.getChildren(Unknown
Source)
at
org.xwiki.eclipse.ui.adapters.XWikiEclipseSpaceSummaryAdapter.fetchDeferredChildren(Unknown
Source)
at
org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
This is hard :(
It looks like the interaction between the DeferredTreeContentManager and
the Viewer has some issues. But this is an eclipse provided class... It
will take some time to investigate this because AFAIU it's not easily
reproducible as well.
Thank you for your feedback. I will try to address these problems asap.
-Fabio