Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Dragosche
Community profile Dragosche Level 1
Job title here
Location here
2 BADGES
Level 1

Level 1

Learn more
Joined the community 07-11-2008 1:41:57 AM
Offline
Top badges earned by Dragosche
Customize the badges you want to showcase on your profile
Re: Invoke Graphql query from Adobe IO
Avatar
Give Back
Level 1
Dragosche
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile
Dragosche
- Adobe I/O Runtime
@Nikhil-Kumar it seems to me like a javascript/Promise (miss)handling in the code. Using "return" directly won't wait for the Promise to complete. Using Promise's "resolve" is the right way to return a response. Please also make sure that your action returns a Promise. If it doesn't return a Promise, while invoking another javascript module which uses Promises, then javascript finishes your action before the other Promise finishes, hence returning a null object. Hoping this helps !

Views

486

Like

1

Replies

1
Re: CQ5.6.1 osgi bundle no longer running activate method
Avatar
Give Back
Level 1
Dragosche
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile
Dragosche
- Adobe Experience Manager
I solved this problem without using the "-XX:UseSplitVerifier" workaround. I noticed that SCR is the one that caused problems b/c I was using an older version compiled probably only with 1.6.My working version as of today uses: org.apache.felix org.apache.felix.scr.annotations 1.9.8 provided org.apache.felix maven-scr-plugin 1.15.0 ....

Views

190

Likes

0

Replies

0
Likes from