Crux regression in release mode
- Dominant language
- ActionScript
- Stars
- 380
- Forks
- 120
- PR merge metrics
- No merged PRs in 30d
Description
Hi @greg-dove,
I'm getting the following error in some Crux applications. Only release, debug is working ok. I guess is something related to latest changes.
For example, "CruxQuickStart" is working ok, but "todomvc-jewel-crux" is showing the problem.
This is the RTE from example "todomvc-jewel-crux" in release mode.
> getDefinitionByName.js:59 Uncaught ReferenceError: Error #1065: Variable org.apache.royale.jewel.View is not defined.
> at $q (getDefinitionByName.js:59)
> at br.L.Sk (TypeDefinition.as:389)
> at Iz.fromTypeDefinition (TypeDescriptor.as:167)
> at Uu (TypeCache.as:60)
> at nw (BeanFactory.as:616)
> at qw (CruxManager.as:107)
> at st.L.setUpEventHandler (BeanFactory.as:517)
> at oB.Mq.fireListeners (EventDispatcher.as:131)
> at qp (eventtarget.js:372)
> at Mx.L.Kp (JSStageEvents.as:209)
> ...(hidden in the browser)...
> $q @ ContainerDataBinding.as:177
> L.Sk @ TypeDefinition.js:513
> Iz.fromTypeDefinition @ TypeDescriptor.as:139
> Uu @ ArrayListView.js:1088
> nw @ BeanFactory.as:577
> qw @ CruxManager.as:69
> L.setUpEventHandler @ BeanFactory.as:493
> Mq.fireListeners @ EventDispatcher.as:110
> qp @ eventtarget.js:349
> L.Kp @ JSStageEvents.as:155
> childList (async)
> ez.addElement @ TextPrompt.js:177
> L.initialize @ Application.as:706
> ez.start @ Application.as:668
> (anonymous) @ index.html:37
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure in the todomvc-jewel-crux example in release mode and compare it with CruxQuickStart and debug mode. Start with getDefinitionByName.js and the TypeDefinition.as, TypeDescriptor.as, TypeCache.as, BeanFactory.as, and CruxManager.as stack entries; done means the release application starts without the missing org.apache.royale.jewel.View ReferenceError.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100