Fabio,
A bit more to the issue: I just renamed the strange page from Panels.Recently Modified* to
Panels.Recently Modified2 and the grabbing finished without an error. Still there is no
list of pages under the Panels node in the Xwiki Eclipse Navigator.
In another space I have "-- Glossary --" and "-- Views --" as page
names. I sort the pages using "$sorttool.sort()", but I wanted these to be at
the top although they would not be alphabetically sorted there. So I added the
"--" before and after. Of course I could just manually enter them into the
panel, but now the panel space seems to be correctly "grabbed" despite the
unusual name that occurs there.
The error message here is somewhat different:
=========== ERROR MESSAGE ============
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
at org.xwiki.eclipse.ui.utils.UIUtils.runWithProgress(UIUtils.java:80)
at org.xwiki.eclipse.ui.handlers.GrabSpaceHandler.execute(GrabSpaceHandler.java:52)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at
org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at
org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at
org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:770)
at
org.eclipse.ui.menus.CommandContributionItem.access$10(CommandContributionItem.java:756)
at
org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:746)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: com.thoughtworks.xstream.io.StreamException: : Invalid byte 1 of 1-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(CoreUtils.java:122)
at
org.xwiki.eclipse.core.storage.LocalXWikiDataStorage.getPage(LocalXWikiDataStorage.java:123)
at org.xwiki.eclipse.core.DataManager.getPage(DataManager.java:326)
at org.xwiki.eclipse.ui.handlers.GrabSpaceHandler$1.run(GrabSpaceHandler.java:71)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException:
Invalid byte 1 of 1-byte UTF-8 sequence.
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
=========== END OF ERROR MESSAGE ============
Greetings,
Steven Calkins
-----Ursprüngliche Nachricht-----
Von: Steven Calkins
Gesendet: Freitag, 27. November 2009 15:55
An: 'XWiki Users'
Betreff: AW: [xwiki-users] Xeclipse plugin
Hi Fabio,
Here is the message when I try to grab the Panels space:
==================
Message: Error during space grabbing
java.lang.reflect.InvocationTargetException
at
org.xwiki.eclipse.ui.handlers.GrabSpaceHandler$1.run(GrabSpace
Handler.java:80)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.ru
n(ModalContext.java:121)
Caused by:
org.xwiki.eclipse.core.XWikiEclipseException:
org.eclipse.core.internal.resources.ResourceException: * is
an invalid character in resource name 'Panels.Recently Modified*'.
at
org.xwiki.eclipse.core.storage.LocalXWikiDataStorage.storePage
(LocalXWikiDataStorage.java:295)
at
org.xwiki.eclipse.core.DataManager.getPage(DataManager.java:342)
at
org.xwiki.eclipse.ui.handlers.GrabSpaceHandler$1.run(GrabSpace
Handler.java:71)
... 1 more
Caused by:
org.eclipse.core.internal.resources.ResourceException: * is
an invalid character in resource name 'Panels.Recently Modified*'.
at
org.eclipse.core.internal.resources.Resource.checkValidPath(Re
source.java:422)
at
org.eclipse.core.internal.resources.Folder.create(Folder.java:82)
at
org.eclipse.core.internal.resources.Folder.create(Folder.java:118)
at
org.xwiki.eclipse.core.utils.CoreUtils.createFolder(CoreUtils.java:67)
at
org.xwiki.eclipse.core.utils.CoreUtils.writeDataToXML(CoreUtil
s.java:91)
at
org.xwiki.eclipse.core.storage.LocalXWikiDataStorage$2.run(Loc
alXWikiDataStorage.java:284)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1782)
at
org.xwiki.eclipse.core.storage.LocalXWikiDataStorage.storePage
(LocalXWikiDataStorage.java:271)
... 3 more
=====================
I have included the panels space for your inspection (called
package.xar here). I hope you can reproduce the error. Thanks.
Greetings,
Steven Calkins
-----Ursprüngliche Nachricht-----
Von: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
Im Auftrag von Fabio Mancinelli
Gesendet: Freitag, 27. November 2009 15:01
An: XWiki Users
Betreff: Re: [xwiki-users] Xeclipse plugin
On Nov 27, 2009, at 1:32 PM, Steven Calkins wrote:
Caused by:
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequen
ceException: Invalid byte 2 of 3-byte UTF-8 sequence.
at
com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidB
yte(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unk
nown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(
Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipC
har(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
nnerImpl$FragmentContentDriver.next(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl
.next(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
nnerImpl.scanDocument(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.
parse(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.
parse(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unk
nown Source)
at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unk
nown Source)
at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.pa
rse(Unknown Source)
at
com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriv
er.java:79)
... 7 more
--------------------------------
Hi Steven,
apparently there is some encoding problem that makes the XML
parser explode. Probably some pages that have strange
characters in the title/id.
Do you have such a kind of pages in the space you were trying to open?
Could you give us them so that we can reproduce and fix what
apparently is a bug?
Thanks,
Fabio
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users