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
BedrockMission!

Learn More

View all

Sign in to view all badges

mark_julianp181
Community profile mark_julianp181 Level 2
Job title here
Location here
5 BADGES
Level 2

Level 2

Learn more
Joined the community 24-04-2017 12:12:15 AM
Offline
Top badges earned by mark_julianp181
Customize the badges you want to showcase on your profile
Re: DefautSlingScript
Avatar
Validate 1
Level 2
mark_julianp181
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
mark_julianp181
- Adobe Experience Manager
Hi Arun,Seems like the problem is a known bug​ which causes a null pointer exception on this part of our breadcrumbs . It was fixed in 6.3 SP2 update and the instances were out of sync since the publish instance hasn't gotten the update yet. Thanks for all the help!Mark

Views

678

Like

1

Replies

0
Re: DefautSlingScript
Avatar
Validate 1
Level 2
mark_julianp181
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
mark_julianp181
- Adobe Experience Manager
Hi Arun,The icon-articlelist-page.html is working on our author instance, I'm not really sure why the logger is outputting icon__002d__articlelist__002__page_html. Could this be the problem and do you have any idea what config is doing this rewrite? Thank you,Mark

Views

653

Like

1

Replies

0
Re: DefautSlingScript
Avatar
Validate 1
Level 2
mark_julianp181
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
mark_julianp181
- Adobe Experience Manager
Arun,I was mistaken, seems like there was an entry on the error log.full stack trace beloworg.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingExceptionorg.apache.sling.scripting.sightly.SightlyException: org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: nullat com.adobe.cq.sightly.WCMScriptHelper.includeResource(WCMScriptHelper.java:184)at com.adobe.cq.sightly.internal.extensions.ResourceExtension.call(ResourceExtension.java:139)at org.apache.sling.scr...

Views

655

Like

1

Replies

0
Re: DefautSlingScript
Avatar
Validate 1
Level 2
mark_julianp181
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
mark_julianp181
- Adobe Experience Manager
The request.log forwards the request to the proper URL. I will check tomorrow with the Adobe personnel in regards to the resource resolver factory configs and the mapping rules as we do not have access to the publish instance. Will update with the results. Thank you for the help!

Views

656

Like

1

Replies

0
Re: DefautSlingScript
Avatar
Validate 1
Level 2
mark_julianp181
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
mark_julianp181
- Adobe Experience Manager
Hi Arun,There are no entries on the error.log and the response is below: 500 org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: null org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: null Cannot serve request to /***/***/***.html on this server ApacheSling/2.6 (jetty/9.2.19.v20160908, Java HotSpot(TM) 64-Bit Server VM 1.8.0_121, Linux 3.10.0-693.11.1.el7.x86_64 amd64)

Views

655

Like

1

Replies

0
DefautSlingScript
Avatar
Validate 1
Level 2
mark_julianp181
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
mark_julianp181
- Adobe Experience Manager
Hey Everyone,We have installed our project to a publish instance but some of the redirection to the pages are not working with error (500 org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: null). Everything is working fine in the author instance and this is only happening in the publish instance.

Views

2.3K

Likes

0

Replies

9
Run Java Class on Bundle Start
Avatar
Validate 1
Level 2
mark_julianp181
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
mark_julianp181
- Adobe Experience Manager
Hi,Is there a way to run a java class on a bundle start up like a main class?

Views

965

Likes

0

Replies

2
AEM 6.3 Java 1.8 Make Query Builder Case Insensitive
Avatar
Validate 1
Level 2
mark_julianp181
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
mark_julianp181
- Adobe Experience Manager
Hi Everyone,I have been searching for the whole day now how to make the query builder case insensitive but all previous answers I have found are not working for me.I have tried fn:lower-case but it is no longer working, I have also tried making my own Predicate but I am having problems with the obfuscated jar.Regards,Mark Julian Pukias

Views

339

Likes

0

Replies

0
Re: Adding Experience Fragment to Page
Avatar
Validate 1
Level 2
mark_julianp181
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
mark_julianp181
- Adobe Experience Manager
I have access to the experience fragments and I am not having the same problems with content fragments.

Views

618

Likes

0

Replies

0
Adding Experience Fragment to Page
Avatar
Validate 1
Level 2
mark_julianp181
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
mark_julianp181
- Adobe Experience Manager
Hi,Is there any way to add an experience fragment to a page dynamically using HTL or get requests?I keep getting forbidden when trying to access experience fragments using get requests like in the code below : function getFragment(path) { $.ajax({ type: 'GET', url: path, success: function(xf) { $("#article-container") .append(xf); } }); }Regards,Mark

Views

736

Likes

0

Replies

3
NoClassDefFound for HttpServletRequest
Avatar
Validate 1
Level 2
mark_julianp181
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
mark_julianp181
- Adobe Experience Manager
Hi,I'm encountering java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest in AEM 6.3 even after Maven Repository: javax.servlet » javax.servlet-api » 4.0.0 to my dependencies.Is there something I am doing wrong?Thanks!

Views

441

Likes

0

Replies

1
Re: AEM with google drive API integration
Avatar
Validate 1
Level 2
mark_julianp181
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
mark_julianp181
- Adobe Experience Manager
It does work outside AEM with the google API jars, changing the getFileList method to a main method and removing the loggers allows me to run it as a working java app.

Views

699

Likes

0

Replies

0
Re: AEM with google drive API integration
Avatar
Validate 1
Level 2
mark_julianp181
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
mark_julianp181
- Adobe Experience Manager
Hi Scott,Yes, I've tried looking for it on maven with no results.

Views

699

Likes

0

Replies

2
AEM with google drive API integration
Avatar
Validate 1
Level 2
mark_julianp181
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
mark_julianp181
- Adobe Experience Manager
Hi Everyone,Does anyone have any experience using the google drive API in AEM? I already made and tested the Java code to make the necessary calls to the API but I'm having trouble integrating it with AEM. I already have the google jars as an OSGi bundle and I have the code below to populate and return a list of custom DriveFile Objects.@Component@Service(value=DriveManager.class)public class DriveManager {static Logger logger = LoggerFactory.getLogger("DriveManager"); private static final Strin...

Views

1.1K

Likes

0

Replies

4
Re: setProperty not working as expected
Avatar
Validate 1
Level 2
mark_julianp181
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
mark_julianp181
- Adobe Experience Manager
Jörg, Thank you, changed my code to the following:Session session = workflowSession.adaptTo(Session.class);Node node = session.getNode(item.getContentPath()+"/jcr:content");node.setProperty("activated", "false");session.save();session.logout();

Views

447

Likes

0

Replies

0
setProperty not working as expected
Avatar
Validate 1
Level 2
mark_julianp181
Level 2

Likes

7 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
mark_julianp181
- Adobe Experience Manager
Hi,I have a process step in a workflow that launches when a content fragment is created. It calls a custom process with the following code:public void execute(WorkItem item, WorkflowSession session, MetaDataMap args) throws WorkflowException {try {Map serviceParams = new HashMap();serviceParams.put(ResourceResolverFactory.SUBSERVICE, "test"); ResourceResolver resourceResolver;resourceResolver = resolverFactory.getServiceResourceResolver(serviceParams);Node node = resourceResolver.getResource(ite...

Views

942

Likes

2

Replies

6