Task #2221
closedFeature #564: Поддержка undo/redo для действий по разметке требований
Ошибка при ctrl+z
0%
Description
Создала из документа требование. Потом добавила к нему еще два фрагмента. Нажала ctrl+z. В окне Error log получила три исключения (см.ниже). Теперь в Requality Explorer висит требование с пометкой об ошибке. И в окне Problems висят ошибки про отсутствие нужных фрагментов, которые я пока не смогла поправить.
Содержимое Error log:
eclipse.buildId=M20110909-1335
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product
Error
Mon Jan 16 17:08:17 MSK 2012
java.lang.NullPointerException
java.lang.NullPointerException
at org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.isMappedToCVS(CVSLightweightDecorator.java:189)
at org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.decorate(CVSLightweightDecorator.java:147)
at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:370)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:330)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
eclipse.buildId=M20110909-1335
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product
Error
Mon Jan 16 17:08:17 MSK 2012
Exception in Decorator. The 'CVS' decorator will be disabled.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
eclipse.buildId=M20110909-1335
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product
Error
Mon Jan 16 17:08:17 MSK 2012
Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
java.lang.NullPointerException
at org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.isMappedToCVS(CVSLightweightDecorator.java:189)
at org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.decorate(CVSLightweightDecorator.java:147)
at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:370)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:330)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Содержимое Problems:
Description Resource Path Location Type
Location with QId: /Documents/DOORSProcessor/DOORS Update Processor.xhtml/210296ee-5854-4a86-ac17-129687c5ae70 not found DOORS_Document_Processor.json /requaity-rqt/root/Requirements/DOORS_Processor DOORS_Document_Processor(cbd3ac31-e94a-492e-98c2-1df51e27112b) Requality Problem
Description Resource Path Location Type
Location with QId: /Documents/DOORSProcessor/DOORS Update Processor.xhtml/9dc73177-2d4c-499d-80fb-399d5cbaf57c not found DOORS_Document_Processor.json /requaity-rqt/root/Requirements/DOORS_Processor DOORS_Document_Processor(cbd3ac31-e94a-492e-98c2-1df51e27112b) Requality Problem