Re: [xwiki-users] WG: Xeclipse plugin

2009-12-01 Thread Steven Calkins
Fabio,

The  Xeclipse plugin that I installed did not install 2 of the views 
shown on website: The XWiki Page Editor and the XWiki Object Editor are 
missing. I have only the XWiki Navigator and the XWiki preview available in 
Eclipse. 

I also installed the full version of Xeclipse as a separate application 
and it works fine. All the elements are there, and the syntax highlighting in 
Xwiki syntax is available. 

Greetings,

Steven Calkins

-Ursprüngliche Nachricht-
Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von 
Fabio Mancinelli
Gesendet: Freitag, 27. November 2009 16:43
An: XWiki Users
Betreff: Re: [xwiki-users] WG: Xeclipse plugin


On Nov 27, 2009, at 4:24 PM, Steven Calkins wrote:

> 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. 
> 
Steven,

Yes. I see two different kinds of exceptions in the stack trace: 

Caused by: 
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 
Invalid byte 1 of 1-byte UTF-8 sequence.

and

Caused by: org.eclipse.core.internal.resources.ResourceException: * is an 
invalid character in resource name 'Panels.Recently Modified*'.

But I cannot tell more without having a debugger in front of me.

Thanks.
Fabio
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] WG: Xeclipse plugin

2009-11-27 Thread Fabio Mancinelli

On Nov 27, 2009, at 4:24 PM, Steven Calkins wrote:

> 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. 
> 
Steven,

Yes. I see two different kinds of exceptions in the stack trace: 

Caused by: 
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 
Invalid byte 1 of 1-byte UTF-8 sequence.

and

Caused by: org.eclipse.core.internal.resources.ResourceException: * is an 
invalid character in resource name 'Panels.Recently Modified*'.

But I cannot tell more without having a debugger in front of me.
Send me the xar you tried to attach in your previous mail via a private mail 
(mailing lists strip away attachments) so that I can debug the whole thing.

Thanks.
Fabio
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] WG: Xeclipse plugin

2009-11-27 Thread Steven Calkins
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 
c