Project

General

Profile

Actions

Bug #4359

closed

Model Reference causes String index out of range error in variable setter

Added by Oliver Soong over 15 years ago. Updated about 15 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
provenance
Target version:
Start date:
08/31/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4359

Description

I wanted to use the model reference actor. It was suggested to use the Variable Setter actor to put port data into a workflow parameter to output data from the model reference actor. I produce a string index out of range error under certain circumstances but not others. The example below depends on 4 attached workflows:

1. CalledModelNoVariableSetter.xml: trivial workflow called by Model Reference.
2. CalledModel.xml: problematic workflow called by Model Reference.
3. CalledModelCopy.xml: File system copy of CalledModel.xml.
4. ModelReferenceStringError.xml: problematic Model Reference workflow.

These steps should highlight the weird behavior:

1. Open and run CalledModelNoVariableSetter.xml, CalledModel.xml, and CalledModelCopy.xml to confirm they all work. Leave them all open.
2. Open ModelReferenceStringError.xml and point the Model Reference actor at CalledModelNoVariableSetter.xml to confirm it works.
3. Change ModelReferenceStringError.xml to point at CalledModel.xml and run. This should fail with the string error on all platforms.
4. Run CalledModel.xml to confirm it now fails with the same string error.
5. Run CalledModelCopy.xml to confirm it still works.
6. Close, re-open, and re-run CalledModel.xml to confirm it now works again.
7. Run ModelReferenceStringError.xml again. It should throw the same error.
8. Run CalledModel.xml. It should run without error this time.
9. Close and re-open ModelReferenceStringError.xml. Confirm it's pointing at CalledModel.xml. Run and it should still throw the error.
10. Run CalledModel.xml. Now it should throw the error again.

In addition, I noticed a few other things. The error can't be saved with the workflow, so whatever is causing the workflow interactions is transient. I also noticed Kepler getting very slow when running all these steps under XP, but the slowing doesn't seem to show up on other OSes, including Windows 7.


Files

CalledModel.xml (24.9 KB) CalledModel.xml Oliver Soong, 08/31/2009 04:23 PM
CalledModelCopy.xml (24.9 KB) CalledModelCopy.xml Oliver Soong, 08/31/2009 04:24 PM
CalledModelNoVariableSetter.xml (16.7 KB) CalledModelNoVariableSetter.xml Oliver Soong, 08/31/2009 04:24 PM
ModelReferenceStringError.xml (36.6 KB) ModelReferenceStringError.xml Oliver Soong, 08/31/2009 04:24 PM
Actions #5

Updated by Daniel Crawl about 15 years ago

The exception is from the provenance recorder.

Actions #6

Updated by Oliver Soong about 15 years ago

I think this actually got fixed sometime back around r21137.

Actions #7

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 4359

Actions

Also available in: Atom PDF