Project

General

Profile

Bug #13315

Updated by Natalia Gorelits 13 days ago

При попытке перетаскивания между папками документа, имеющего привязки фрагментов к требованиям, падают ошибки. Количество отображаемых документов в дереве Requality Explorer множится, хотя документ как был один, так и оставался один. 

 Такая ошибка появляется при каждом перетаскивании документа: 
 <pre><code class="java"> 
 eclipse.buildId=4.26.0.20241102-1422 
 java.version=21.0.5 
 java.vendor=Eclipse Adoptium 
 BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=ru_RU 
 Framework arguments:    -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective 
 Command-line arguments:    -os win32 -ws win32 -arch x86_64 -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective 

 org.eclipse.e4.ui.workbench 
 Error 
 Fri Nov 08 18:02:14 MSK 2024 
 E[2024/11/08 18:02:14]: Cannot invoke "com.unitesk.requality.core.service.WSServer.sendCloseMessage(java.util.Collection, String, boolean)" because the return value of "com.unitesk.requality.core.service.DocumentsSocketService.getWSProvider()" is null 
 java.lang.NullPointerException: Cannot invoke "com.unitesk.requality.core.service.WSServer.sendCloseMessage(java.util.Collection, String, boolean)" because the return value of "com.unitesk.requality.core.service.DocumentsSocketService.getWSProvider()" is null 
	 at com.unitesk.requality.core.service.DocumentsSocketService.beforeDeleted(DocumentsSocketService.java:373) 
	 at com.unitesk.requality.core.service.DocumentsSocketService$2.reactMoved(DocumentsSocketService.java:314) 
	 at com.unitesk.requality.core.service.DocumentsSocketService$2.changed(DocumentsSocketService.java:354) 
	 at com.unitesk.requality.core.model.TreeDB.stopChangeRow(TreeDB.java:721) 
	 at com.unitesk.requality.core.model.TreeDB.commit(TreeDB.java:1760) 
	 at com.unitesk.requality.core.model.TreeDB.commit(TreeDB.java:1710) 
	 at com.unitesk.requality.core.operation.DropNodeOperation.execute(DropNodeOperation.java:260) 
	 at com.unitesk.requality.eclipse.ui.cnf.CNFDropAssistant$1.runInWorkspace(CNFDropAssistant.java:106) 
	 at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:43) 
	 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) 
 </code></pre> 

 Такие ошибки появились только при первом перетаскивании: 
 <pre><code class="java"> 
 eclipse.buildId=4.26.0.20241102-1422 
 java.version=21.0.5 
 java.vendor=Eclipse Adoptium 
 BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=ru_RU 
 Framework arguments:    -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective 
 Command-line arguments:    -os win32 -ws win32 -arch x86_64 -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective 

 org.eclipse.core.jobs 
 Error 
 Fri Nov 08 18:02:14 MSK 2024 
 An internal error occurred during: "Drop node to Documents/new_folder_002". 

 java.lang.IllegalStateException: transaction not started 
	 at com.unitesk.requality.core.model.TreeDB.rollback(TreeDB.java:1788) 
	 at com.unitesk.requality.core.operation.DropNodeOperation.execute(DropNodeOperation.java:269) 
	 at com.unitesk.requality.eclipse.ui.cnf.CNFDropAssistant$1.runInWorkspace(CNFDropAssistant.java:106) 
	 at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:43) 
	 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) 
 </code></pre> 

 <pre><code class="java"> 
 eclipse.buildId=4.26.0.20241102-1422 
 java.version=21.0.5 
 java.vendor=Eclipse Adoptium 
 BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=ru_RU 
 Framework arguments:    -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective 
 Command-line arguments:    -os win32 -ws win32 -arch x86_64 -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective 

 org.eclipse.e4.ui.workbench 
 Error 
 Fri Nov 08 18:02:13 MSK 2024 
 Socket    waits for test0811editors to be ready for 5 minutes but failed 
 </code></pre> 

 P.S. После закрытия-открытия проекта документ отображается 1 шт, поведение не воспроизводится (ошибки тоже не). 

Back