Expand my Community achievements bar.

SOLVED

How to Debug Standard class in an AEM Bundle

Avatar

Former Community Member

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

1 Accepted Solution

Avatar

Correct answer by
Level 9

@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

View solution in original post

2 Replies

Avatar

Correct answer by
Level 9

@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

Avatar

Administrator

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