How to Debug Standard class in an AEM Bundle | Community
Skip to main content
January 15, 2016
Solved

How to Debug Standard class in an AEM Bundle

  • January 15, 2016
  • 2 replies
  • 1190 views

I'm getting the Following log noise by thousands

com.adobe.granite.ui.clientlibs.impl.CompilerProviderImpl no compiler found for txt

it comes up during install and startup of AEM and it looks to be paired with ClientLibrary viz

com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl detected [JS, CSS] library: /libs/granite/contexthub/components/modules/location/clientlib, sourced from 6 files.

So far, what i've found is that the following log message related to txt is from the following file

Bundle : com.adobe.granite.ui.clientlibsClassName: com.adobe.granite.ui.clientlibs.impl.CompilerProviderImplMethodName: findCompiler(String extension)

but, i'm can't debug the class as such because it is something provided by AEM and not included in the build.
How do i debug this class or atleast know from where this error is originating.(Though this question is not related to AEM per say, sharing how to debug any standard JavaSE class will suffice)

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jitendra_S_Toma

@Shashi,

Here is the doc which could help you, debugging this issue.

http://aempodcast.com/2013/debugging/remote-debugging-aem-projects-using-intellij-or-netbeans/

If logs get filled with these useless messages, I would recommend to change logger mode (info to debug/error). And, To get rid of these log messages permanently, I would suggest to raise daycare ticket and get the fix from adobe.

Jitendra

2 replies

Jitendra_S_Toma
Jitendra_S_TomaAccepted solution
Level 10
January 15, 2016

@Shashi,

Here is the doc which could help you, debugging this issue.

http://aempodcast.com/2013/debugging/remote-debugging-aem-projects-using-intellij-or-netbeans/

If logs get filled with these useless messages, I would recommend to change logger mode (info to debug/error). And, To get rid of these log messages permanently, I would suggest to raise daycare ticket and get the fix from adobe.

Jitendra

kautuk_sahni
Community Manager
Community Manager
January 15, 2016

Hi

Adding to Jitendra's reply. Please find more reference article to help you.

Link:- http://www.tothenew.com/blog/debugging-in-aem/

Link:- http://experience-aem.blogspot.in/2015/01/aem-cq-6-debugging-aem-jsps-with-intellij-idea.html

I hope this would help you.

Thanks and Regards

Kautuk Sahni

Kautuk Sahni