Bug #1025
closedПроект с русским именем
100%
Description
Создаю проект с русским именем "проект". Импортирую документ. Возникает сообщение об ошибке "unknown protocol: d". Содержимое consoleLog:
java.net.MalformedURLException: unknown protocol: d
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
ocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unk
nown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at com.unitesk.requality.nodetypes.Document.getDOM(Document.java:266)
at com.unitesk.requality.nodetypes.Document.setMetaCharset(Document.java
:53)
at com.unitesk.requality.documents.DocumentImporter.importDocument(Docum
entImporter.java:110)
at com.unitesk.requality.eclipse.wizards.DocumentImportWizard.performFin
ish(DocumentImportWizard.java:74)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java
:811)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java
:430)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
234)
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:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.unitesk.requality.eclipse.views.actions.documents.ImportAction.ru
n(ImportAction.java:51)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContri
butionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionC
ontributionItem.java:411)
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:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.ja
va:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.jav
a:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEAppli
cation.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandl
e.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli
cation(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec
lipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va: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:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
При этом документ все-таки добавляется. Но апдейт документа не работает.
Проблема еще в том, что просто так удалить этот проект не получается. Из него исчезает все содержимое, но папка проекта остается.
В consoleLog вот что:
Contains: Could not delete '/яЁюхъЄ/root'.
org.eclipse.core.internal.resources.ResourceException: Problems encountered whil
e deleting resources.
at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete
(FileSystemResourceManager.java:270)
at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder
(ResourceTree.java:352)
at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProjec
t(ResourceTree.java:387)
at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProjec
t(ResourceTree.java:837)
at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resour
ce.java:1944)
at org.eclipse.core.internal.resources.Resource.delete(Resource.java:786
)
at org.eclipse.core.internal.resources.Project.delete(Project.java:339)
at com.unitesk.requality.eclipse.handlers.DeleteProjectHandler.execute(D
eleteProjectHandler.java:26)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.ja
va:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(Para
meterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(Handle
rService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(S
laveHandlerService.java:241)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(S
laveHandlerService.java:241)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(Co
mmandContributionItem.java:820)
at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContrib
utionItem.java:806)
at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandCon
tributionItem.java:796)
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:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.ja
va:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.jav
a:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEAppli
cation.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandl
e.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli
cation(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec
lipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va: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:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Contains: Resource is out of sync with the file system: '/яЁюхъЄ/root/Documents/
ReqDoc.xhtml_resources/ReqDoc.xhtml'.
Contains: Could not delete 'D:\Work\Eclipse Workspaces\workspace32\яЁюхъЄ'.