Bug #101
closedОшибка при импорте
100%
Description
Импортирую приложенный документ. Save To не указываю.
В дереве он не появляется. В папке Documents появляется xhtml файл с таким же именем, но нулевого рразмера.
В .log такое исключение:
!ENTRY org.eclipse.ui 4 0 2009-12-23 11:12:54.859
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.RuntimeException: java.lang.IllegalStateException: Can't overwrite cause
at com.unitesk.reqeditor.views.actions.ImportAction.convertFile(ImportAction.java:97)
at com.unitesk.reqeditor.views.actions.ImportAction.runAction(ImportAction.java:81)
at com.unitesk.reqeditor.views.actions.ImportAction.run(ImportAction.java:53)
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: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(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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: java.lang.IllegalStateException: Can't overwrite cause
at java.lang.Throwable.initCause(Throwable.java:320)
at com.ctc.wstx.compat.Jdk14Impl.setInitCause(Jdk14Impl.java:59)
at com.ctc.wstx.exc.WstxException.<init>(WstxException.java:46)
at com.ctc.wstx.exc.WstxIOException.<init>(WstxIOException.java:16)
at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:581)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1016)
at com.ctc.wstx.evt.WstxEventReader.nextEvent(WstxEventReader.java:194)
at com.unitesk.reqdb.converter.format.Formatter.setXmlEventList(Formatter.java:103)
at com.unitesk.reqdb.converter.format.FormatterImpl.format(FormatterImpl.java:64)
at com.unitesk.reqdb.converter.writers.Converter.write(Converter.java:178)
at com.unitesk.reqdb.converter.writers.Converter.convertFile(Converter.java:96)
at com.unitesk.reqeditor.views.actions.ImportAction.convertFile(ImportAction.java:95)
... 30 more
Files