Project

General

Profile

Actions

Bug #6199

closed

Окно с ошибкой из-за некорректной формулы генератора

Added by Viktoria Kopach over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
07/15/2015
Due date:
% Done:

100%

Estimated time:
Detected in build:
0.18.225
Platform:
Windows x64
Published in build:
0.18.225

Description

У генератора указываем формулу "ее" + i.
Причем атрибута i у узла нет.
В Preview появляетя сообщение об ошибке. Нажимаем кнопку ОК, чтобы закрыть окно генератора. Появляется окно с сообщением об ошибке (неинформативное).
В Error log ошибка такая:
eclipse.buildId=4.4.1.M20140925-0400
java.version=1.7.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
Framework arguments: -product org.eclipse.epp.package.standard.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.standard.product

org.eclipse.jface
Error
Wed Jul 15 19:35:05 MSK 2015
Problems occurred when invoking code from plug-in: "org.eclipse.jface".

java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List
at com.unitesk.requality.core.nodeiterators.ReuseRequalityChildIterator.getCount(ReuseRequalityChildIterator.java:148)
at com.unitesk.requality.core.nodeiterators.RequalityChildIterator.getItemsCount(RequalityChildIterator.java:75)
at com.unitesk.requality.core.nodeiterators.ReuseRequalityChildIterator.updateChildren(ReuseRequalityChildIterator.java:214)
at com.unitesk.requality.nodetypes.VirtualNode.updateChildrenIfNeeded(VirtualNode.java:483)
at com.unitesk.requality.nodetypes.VirtualNode.updateChildrenIfNeeded(VirtualNode.java:427)
at com.unitesk.requality.nodetypes.VirtualNode.reactOnAttributeChange(VirtualNode.java:174)
at com.unitesk.requality.core.TreeDB.applyNodeAttributes(TreeDB.java:1247)
at com.unitesk.requality.core.TreeDB.loadNodeAttributes(TreeDB.java:1187)
at com.unitesk.requality.core.TreeDB.access$800(TreeDB.java:50)
at com.unitesk.requality.core.TreeDB$2.changed(TreeDB.java:1144)
at com.unitesk.requality.core.instancer.TreeInstancer.saveAttributes(TreeInstancer.java:543)
at com.unitesk.requality.core.instancer.TreeInstancer.saveAttributes(TreeInstancer.java:488)
at com.unitesk.requality.core.TreeDB.saveAttributes(TreeDB.java:581)
at com.unitesk.requality.core.TreeNode.rawSaveAttributes(TreeNode.java:843)
at com.unitesk.requality.core.TreeNode.saveAttributes(TreeNode.java:1127)
at com.unitesk.requality.nodetypes.VirtualNode.updateClonesAttributes(VirtualNode.java:721)
at com.unitesk.requality.core.TreeNode.saveAttributes(TreeNode.java:1136)
at com.unitesk.requality.eclipse.views.properties.AttributesPanel$9.setValue(AttributesPanel.java:481)
at org.eclipse.jface.viewers.EditingSupport.saveCellEditorValue(EditingSupport.java:113)
at org.eclipse.jface.viewers.ColumnViewerEditor.saveEditorValue(ColumnViewerEditor.java:463)
at org.eclipse.jface.viewers.ColumnViewerEditor.applyEditorValue(ColumnViewerEditor.java:319)
at org.eclipse.jface.viewers.ColumnViewerEditor$2.applyEditorValue(ColumnViewerEditor.java:158)
at org.eclipse.jface.viewers.CellEditor$1.run(CellEditor.java:336)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
at org.eclipse.jface.viewers.CellEditor.fireApplyEditorValue(CellEditor.java:333)
at org.eclipse.jface.viewers.DialogCellEditor$2.widgetSelected(DialogCellEditor.java:257)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
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:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)


Files

bb.zip (7.8 KB) bb.zip Viktoria Kopach, 07/15/2015 06:39 PM
Actions #1

Updated by Viktoria Kopach over 9 years ago

Вообще какая-то проблема с атрибутом i. Проект прилагаю.

Actions #2

Updated by Denis Kildishev over 9 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r4342.

Actions #3

Updated by Denis Kildishev over 9 years ago

  • Published in build set to 0.18.225
Actions #4

Updated by Alexey Khoroshilov over 9 years ago

  • Target version set to 0.18
Actions #5

Updated by Anastasia Tugaenko over 9 years ago

  • Status changed from Resolved to Verified
Actions #6

Updated by Anastasia Tugaenko over 8 years ago

  • Status changed from Verified to Closed
Actions

Also available in: Atom PDF