Uploaded image for project: 'XWiki Eclipse'
  1. XWiki Eclipse
  2. XECLIPSE-154

Grab space operation fails on Spaces named in cyrillic

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.0 M1
    • 1.2 RC1
    • XEclipse
    • None
    • eclipse, space, grab, cyrillic

    Description

      Everything works fine, until the attempt to grab space.

      Error during space grabbing
      
      eclipse.buildId=I20110805-1200
      java.version=1.6.0_17
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=uk_UA
      Command-line arguments:  -os win32 -ws win32 -arch x86_64
      
      Error
      Sun Sep 18 14:15:14 EEST 2011
      Error during space grabbing
      
      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:293)
      	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:68)
      	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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:228)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:209)
      	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:123)
      	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:142)
      	at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:455)
      	at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:824)
      	at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:810)
      	at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:800)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:969)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:885)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:90)
      	at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:539)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:519)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	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:344)
      	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:622)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
      Caused by: com.thoughtworks.xstream.io.StreamException:  : Invalid byte 2 of 2-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 2 of 2-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.peekChar(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)
      	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
      	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      	at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:79)
      	... 7 more
      

      Also it refuses to open pages with cyrillic names. It says:

      org.eclipse.e4.core.di.InjectionException: com.thoughtworks.xstream.io.StreamException:  : Invalid byte 2 of 2-byte UTF-8 sequence.
      com.thoughtworks.xstream.io.StreamException:  : Invalid byte 2 of 2-byte UTF-8 sequence.
      

      Attachments

        1. XECLIPSE-154_1.png
          31 kB
          Jun Han
        2. XECLIPSE-154_2.png
          33 kB
          Jun Han

        Activity

          People

            fmancinelli Fabio Mancinelli
            haru Dmitry Bakbardin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: