View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000053 | MAIDENS | Core Application | public | 2020-04-28 23:09 | 2021-02-01 19:14 |
Reporter | administrator | Assigned To | administrator | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | All | OS | Windows & macOS | OS Version | all supported |
Product Version | 1.4.9 | ||||
Target Version | 1.4.9 | Fixed in Version | 1.4.9 | ||
Summary | 0000053: Runtime Exception when adding a Part to a score with a shifted Part | ||||
Description | If I change a two staves Part into a a one staff Part, and then, in the same score, I try to add another Part, a Runtime Exception occurs in the Abc2Svg library. This likely has to do with the voices that were left orphaned by the part switch. They likely overflow the voice counters and/or confuse the voice handling logic, since the library probably does not have a way to respond to voices that do not show on any staff. The easiest fix would probably be not to send these voices in Abc2Svg in the first place, but more research is needed. | ||||
Steps To Reproduce | 1. Load attached MAID file. It has a one line Piano tune. 2. Select the piano Part and change its "Instrument" to "Flute" in the Editor. 3. Select the first section of the score and add a new Part. Set the new Part's "Instrument" to, e.g., "Harpsichord". The expected result is for a two staves harpsichord Part to be added to the score. The actual result is a RTE in class Abc2Svg.as (see "Additional Information"). | ||||
Additional Information | RangeError: Error #1125: The index 1 is out of range 1. at Abc2Svg/init_music_line()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\abc2svg-as3-library\src\Abc2Svg.as:11788] at Abc2Svg/set_piece()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\abc2svg-as3-library\src\Abc2Svg.as:13414] at Abc2Svg/output_music()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\abc2svg-as3-library\src\Abc2Svg.as:13713] at Abc2Svg/generate()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\abc2svg-as3-library\src\Abc2Svg.as:19865] at Abc2Svg/end_tune()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\abc2svg-as3-library\src\Abc2Svg.as:8282] at Abc2Svg/tosvg()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\abc2svg-as3-library\src\Abc2Svg.as:8863] at Abc2Svg/getSvg()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\abc2svg-as3-library\src\Abc2Svg.as:8425] at ro.ciacob.maidens.view.components::MusicScoreViewer/_onAbcMarkupReady()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\maidens\core-application\app\src\ro\ciacob\maidens\view\components\MusicScoreViewer.mxml:515] at Function/http://adobe.com/AS3/2006/builtin::apply() at ro.ciacob.desktop.signals::Observer/notifyChange()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\observer-library\src\ro\ciacob\desktop\signals\Observer.as:40] at ro.ciacob.desktop.signals::PTT/send()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\observer-library\src\ro\ciacob\desktop\signals\PTT.as:116] at ro.ciacob.maidens.controller::Controller/_sendScoreABC()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\maidens\core-application\app\src\ro\ciacob\maidens\controller\Controller.as:3262] at ro.ciacob.maidens.controller::Controller/_updateProjectScore()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\maidens\core-application\app\src\ro\ciacob\maidens\controller\Controller.as:3574] at ro.ciacob.maidens.controller::Controller/_updateAllViews()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\maidens\core-application\app\src\ro\ciacob\maidens\controller\Controller.as:3533] at ro.ciacob.maidens.controller::Controller/_commitPartData()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\maidens\core-application\app\src\ro\ciacob\maidens\controller\Controller.as:521] at ro.ciacob.maidens.controller::Controller/_onUserCommit()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\maidens\core-application\app\src\ro\ciacob\maidens\controller\Controller.as:2817] at Function/http://adobe.com/AS3/2006/builtin::apply() at ro.ciacob.desktop.signals::Observer/notifyChange()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\observer-library\src\ro\ciacob\desktop\signals\Observer.as:40] at ro.ciacob.desktop.signals::PTT/send()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\observer-library\src\ro\ciacob\desktop\signals\PTT.as:116] at ro.ciacob.maidens.view.components::UIBase/_applyChanges()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\maidens\core-application\app\src\ro\ciacob\maidens\view\components\UIBase.mxml:256] at Function/http://adobe.com/AS3/2006/builtin::apply() at ro.ciacob.desktop.operation::Procrastinator/_performAction()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\procrastinator-library\src\ro\ciacob\desktop\operation\Procrastinator.as:133] at ro.ciacob.desktop.operation::Procrastinator/_onTimerComplete()[K:\DATA\RW\PROJECTS\_PROGRAMMING_\claudius-iacob-eu--home-claudiusiacob-git\procrastinator-library\src\ro\ciacob\desktop\operation\Procrastinator.as:128] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.utils::Timer/tick() | ||||
Tags | OSX, score editing, Windows | ||||
|
|
|
There were several unrelated issues, actually. One of them made the program randomly crash when adding a new Part to a Section, even without shifting any of the existing Parts (like in the bug description). |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-04-28 23:09 | administrator | New Issue | |
2020-04-28 23:09 | administrator | Status | new => assigned |
2020-04-28 23:09 | administrator | Assigned To | => administrator |
2020-04-28 23:09 | administrator | Tag Attached: OSX | |
2020-04-28 23:09 | administrator | Tag Attached: score editing | |
2020-04-28 23:09 | administrator | Tag Attached: Windows | |
2020-04-28 23:09 | administrator | File Added: Der Pastrav.maid | |
2020-04-29 19:16 | administrator | Status | assigned => resolved |
2020-04-29 19:16 | administrator | Resolution | open => fixed |
2020-04-29 19:16 | administrator | Fixed in Version | => 1.4.9 |
2020-04-29 19:16 | administrator | Note Added: 0000015 | |
2021-02-01 19:14 | administrator | Status | resolved => closed |