apache / apache/royale-compiler

Error: Generated byte code contains an operand stack underflow.

Open
#111 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
113
Forks
54
PR merge metrics
No merged PRs in 30d

Description

I discovered a situation which results in the error above. It had me scratching my head for quite some time until I found the problem:

I had some markup which can be distilled to the following:
````






````
A Spectrum Card has a member called `quickActions` which is assigned a `QuickActions` component. It can also be assigned a `Footer` element. Specifying the element (`sp:CardFooter`) before the `quickActions` setter, caused the stack underflow.

The following modification fixes the error:
````






````
I don't know if the order of the declarations is a hard requirement, but if it is, we need a better error message...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.