Bug #10803
Updated by Viktoria Kopach over 3 years ago
1. Синхронизировать проект с GIT.
2. Создать несколько новых требований.
3. Создать настройки отчета о проверке правил. Поставить галочку для смежного проекта. Сгенерировать отчет.
4. Попробовать еще раз сгенерировать отчет.
Ничего не происходит, новый отчет не генерируется.
В Requality Explorer контекстное меню на узлах не полное, пример:
!13.04.21_14_39.png!
В log ошибка:
<pre>
E[2021/04/13 14:39:33]: null
java.lang.NullPointerException
at com.unitesk.requality_git.core.GitManipulator.getLastRevisionAfter(GitManipulator.java:545)
at com.unitesk.requality_git.GitRevisionProvider.getTypedValue(GitRevisionProvider.java:51)
at com.unitesk.requality.core.attribute.AttributeDefinition.getTValue(AttributeDefinition.java:117)
at com.unitesk.requality.core.attribute.Attribute.<init>(Attribute.java:145)
at com.unitesk.requality.core.attribute.AttributeDefinition.toAttribute(AttributeDefinition.java:173)
at com.unitesk.requality.core.attribute.AttributeDefinition.toAttribute(AttributeDefinition.java:170)
at com.unitesk.requality.core.attribute.AttributeStorage.getAttribute(AttributeStorage.java:345)
at com.unitesk.requality.eclipse.views.panels.AttributesPanel$AttributeTableContentProvider.getElements(AttributesPanel.java:335)
at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:1001)
at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:701)
at org.eclipse.jface.viewers.AbstractTableViewer.getRawChildren(AbstractTableViewer.java:1037)
at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:907)
at org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:1084)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:666)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:614)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:606)
at org.eclipse.jface.viewers.AbstractTableViewer.lambda$0(AbstractTableViewer.java:568)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1458)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1419)
at org.eclipse.jface.viewers.AbstractTableViewer.inputChanged(AbstractTableViewer.java:568)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:286)
at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1696)
at com.unitesk.requality.eclipse.views.panels.AttributesPanel.setNode(AttributesPanel.java:1852)
at com.unitesk.requality.eclipse.views.properties.MainPropertySection.setTreeNode(MainPropertySection.java:270)
at com.unitesk.requality.eclipse.views.properties.TreeNodePropertiesTab$2.run(TreeNodePropertiesTab.java:260)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4211)
at org.eclipse.swt.widgets.Display.msgFilterProc(Display.java:3541)
at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:262)
at org.eclipse.swt.widgets.Display.runPopups(Display.java:4277)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3818)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
вот пример трейса
источники разные но место одно
E[2021/04/13 14:39:33]: null
java.lang.NullPointerException
at com.unitesk.requality_git.core.GitManipulator.getLastRevisionAfter(GitManipulator.java:545)
at com.unitesk.requality_git.GitRevisionProvider.getTypedValue(GitRevisionProvider.java:51)
</pre>