Project

General

Profile

Actions

Bug #478

closed

При импортировании документа в проект не срабатывает ручное копирование пути к документу

Added by Viktoria Kopach about 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Yuriy Shekochihin
Category:
-
Target version:
Start date:
10/11/2010
Due date:
% Done:

100%

Estimated time:
Detected in build:
0.7.38-alfa
Platform:
Published in build:
0.7.50

Description

Импортирую документ с требованиями в проект. В окошке Import не нажимаю кнопку Import, а в строку Import file вставляю путь к документу (например C:\Documents and Settings\User\Desktop\tptp\10.html). Документ не импортируется.
Error log:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at com.unitesk.requality.eclipse.views.actions.documents.ImportAction.runAction(ImportAction.java:89)
at com.unitesk.requality.eclipse.views.actions.documents.ImportAction.run(ImportAction.java:62)
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(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.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.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
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:369)
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:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

Actions #1

Updated by Yuriy Shekochihin about 14 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

поправил

Actions #2

Updated by Alexey Khoroshilov about 14 years ago

  • Target version set to 0.7
Actions #3

Updated by Yuriy Shekochihin about 14 years ago

  • Published in build set to 39
Actions #4

Updated by Viktoria Kopach almost 14 years ago

  • Status changed from Resolved to Closed
  • Published in build changed from 39 to 0.7.50

При ручном копировании пути к документу документ импортируется.

Actions

Also available in: Atom PDF