Actions
Bug #13266
openОшибки при генерации отчета "Сравнение версий"
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/24/2024
Due date:
% Done:
0%
Estimated time:
Detected in build:
1.4.884v2
Platform:
Windows x64
Published in build:
Description
При генерации отчета Сравнение версий на arch появляются ошибки, при этом отчёт создается и открывается:
1.
eclipse.buildId=4.26.0.20241023-1143
java.version=21.0.4
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
Thu Oct 24 16:46:52 MSK 2024
FreeMarker template error:
The following has evaluated to null or missing:
==> comporator.getAlternativeMultPartRoots() [in template "revision/revision.ftl" at line 600, column 29]
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign alternativeParts = comporator... [in template "revision/revision.ftl" at line 600, column 1]
----
Java stack trace (for programmers):
----
freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
at freemarker.core.Assignment.accept(Assignment.java:139)
at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.visit(Environment.java:336)
at freemarker.core.Environment.process(Environment.java:309)
at freemarker.template.Template.process(Template.java:384)
at com.unitesk.requality.report.ReportGenerator$1.process(ReportGenerator.java:409)
at com.unitesk.requality.report.ReportGenerator.generateReport(ReportGenerator.java:190)
at com.unitesk.requality.core.operation.GenerateReportHandler.generateReportBySettings(GenerateReportHandler.java:269)
at com.unitesk.requality.core.operation.GenerateReportHandler.execute(GenerateReportHandler.java:123)
at com.unitesk.requality.core.operation.GenerateReportHandler.execute(GenerateReportHandler.java:133)
at com.unitesk.requality.core.operation.GenerateReportHandler.execute(GenerateReportHandler.java:99)
at com.unitesk.requality.eclipse.handlers.report.GenerateReportHandler$3.runInWorkspace(GenerateReportHandler.java:174)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:43)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
2.
eclipse.buildId=4.26.0.20241023-1143
java.version=21.0.4
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
Thu Oct 24 16:46:53 MSK 2024
E[2024/10/24 16:46:53]: The following has evaluated to null or missing:
==> comporator.getAlternativeMultPartRoots() [in template "revision/revision.ftl" at line 600, column 29]
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign alternativeParts = comporator... [in template "revision/revision.ftl" at line 600, column 1]
----
FreeMarker template error:
The following has evaluated to null or missing:
==> comporator.getAlternativeMultPartRoots() [in template "revision/revision.ftl" at line 600, column 29]
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign alternativeParts = comporator... [in template "revision/revision.ftl" at line 600, column 1]
----
Java stack trace (for programmers):
----
freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
at freemarker.core.Assignment.accept(Assignment.java:139)
at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.visit(Environment.java:336)
at freemarker.core.Environment.process(Environment.java:309)
at freemarker.template.Template.process(Template.java:384)
at com.unitesk.requality.report.ReportGenerator$1.process(ReportGenerator.java:409)
at com.unitesk.requality.report.ReportGenerator.generateReport(ReportGenerator.java:190)
at com.unitesk.requality.core.operation.GenerateReportHandler.generateReportBySettings(GenerateReportHandler.java:269)
at com.unitesk.requality.core.operation.GenerateReportHandler.execute(GenerateReportHandler.java:123)
at com.unitesk.requality.core.operation.GenerateReportHandler.execute(GenerateReportHandler.java:133)
at com.unitesk.requality.core.operation.GenerateReportHandler.execute(GenerateReportHandler.java:99)
at com.unitesk.requality.eclipse.handlers.report.GenerateReportHandler$3.runInWorkspace(GenerateReportHandler.java:174)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:43)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
3.
eclipse.buildId=4.26.0.20241023-1143
java.version=21.0.4
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
Thu Oct 24 16:46:40 MSK 2024
E[2024/10/24 16:46:40]: Cannot invoke "java.util.Collection.iterator()" because the return value of "com.unitesk.requality.repo.DBSlice.getTreeDBs()" is null
java.lang.NullPointerException: Cannot invoke "java.util.Collection.iterator()" because the return value of "com.unitesk.requality.repo.DBSlice.getTreeDBs()" is null
at com.unitesk.gosniias.core.RevisionComparator.gatherReportRelatedData(RevisionComparator.java:243)
at com.unitesk.gosniias.core.ComparatorDataProvider.getMultiPart(ComparatorDataProvider.java:49)
at com.unitesk.requality.report.template.Template.getMultiPartProvider(Template.java:857)
at com.unitesk.requality.report.ReportGenerator.initMpartAndRelatedVariables(ReportGenerator.java:245)
at com.unitesk.requality.core.operation.GenerateReportHandler.generateReportBySettings(GenerateReportHandler.java:229)
at com.unitesk.requality.core.operation.GenerateReportHandler.execute(GenerateReportHandler.java:123)
at com.unitesk.requality.core.operation.GenerateReportHandler.execute(GenerateReportHandler.java:133)
at com.unitesk.requality.core.operation.GenerateReportHandler.execute(GenerateReportHandler.java:99)
at com.unitesk.requality.eclipse.handlers.report.GenerateReportHandler$3.runInWorkspace(GenerateReportHandler.java:174)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:43)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
No data to display
Actions