[MGNLUI-4932] CT based app fails to start with NPE (on cloud) Created: 04/Jan/19 Updated: 19/Mar/19 Resolved: 07/Feb/19 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 6.0 |
| Fix Version/s: | 6.1 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Christoph Meier | Assignee: | Robert Šiška |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 2h 14m | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Cloud; |
||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Epic Link: | Content Types finalization | ||||||||||||||||
| Sprint: | Foundation 2, Foundation 3, Foundation 4 | ||||||||||||||||
| Story Points: | 8 | ||||||||||||||||
| Description |
Observation and errorAttempts to launch CT-based apps on cloud fail with a nullpointer exception. The definitions app does not indicate errors neither for the CT definitions nor for the CT-based app definitions. See the attached file appLaunch-failure-stackTrace.txt for the complete stackTrace as shown in the messages app as problem.
Used examplecontent-type-examples light module (GIT). More resources
|
| Comments |
| Comment by Christoph Meier [ 08/Jan/19 ] |
|
I have just confirmed with mdrapela - all the symptoms which I have described in this ticket and on the WIKI page (https://wiki.magnolia-cms.com/display/~cmeier/Using+content+types+and+CT+based+apps+on+6.0-SNAPSHOT+at+cloud) are fully identical to what Martin has observed and described in Hence - we can mark either this ticket or |
| Comment by Mikaël Geljić [ 08/Jan/19 ] |
|
Actually, we use the YAML-file dependency mechanism between the app file & the contentType file; so in theory, the app should have been reloaded after contentType was registered. Two main problems here:
|
| Comment by Mikaël Geljić [ 20/Feb/19 ] |
|
No problem in definitions app indeed, since app is re-resolved. |
| Comment by Martin Drápela [ 19/Mar/19 ] |
|
Just an observation in the context of this and the original |