Hello,
I started my Local AEM instance on 4502 today and all of the Icons are showing as squares? I've tried other browsers to see if the issue was Chrome and the page appears the same way? I've also run my instance in Debug Mode - java -XX:MaxPermSize=256m -Xmx1024M -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -jar aem-author-p4502.jar to see if it was an issue there and they show up as squares as well. How can I fix this?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @judahlow
Please access the below URL and click on the "Invalidate Caches" button.
http://localhost:4502/libs/granite/ui/content/dumplibs.rebuild.html?invalidate=true
Then click on the "Rebuild Libraries" and check if the issues are fixed.
What action was taken on the instance which caused this issue? Can you provide some more information.
Thanks!
Hi @judahlow
You must be getting some error on console. Can you check and confirm what error you are getting. Is it file not found? If yes, please check if the files requested are present at the location where it was supposed to be.
Thanks!
Hi Asutosh_jena,
This is what I'm getting in the console:
Refused to apply style from 'http://localhost:4502/etc.clientlibs/clientlibs/granite/typekit/resources/ruf7eed/c/ruf7eed-d.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
granite.min.js:259 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
XMLHttpRequest.open @ granite.min.js:259
self.getDictionary @ utils.min.js:999
self.get @ utils.min.js:1026
(anonymous) @ foundation.min.js:74
(anonymous) @ foundation.min.js:93
coralui3.min.css:1 GET http://localhost:4502/etc.clientlibs/clientlibs/granite/coralui3/resources/coralui-component-icon/Ad... net::ERR_ABORTED 500 (Server Error)
coralui3.min.css:1 GET http://localhost:4502/etc.clientlibs/clientlibs/granite/coralui3/resources/coralui-component-icon/Ad... 500 (Server Error)
coralui3.min.css:1 GET http://localhost:4502/etc.clientlibs/clientlibs/granite/coralui3/resources/coralui-component-icon/Ad... net::ERR_ABORTED 500 (Server Error)
coralui3.min.css:1 GET http://localhost:4502/etc.clientlibs/clientlibs/granite/coralui3/resources/coralui-component-icon/Ad... net::ERR_ABORTED 500 (Server Error)
coralui3.min.css:1 GET http://localhost:4502/etc.clientlibs/clientlibs/granite/coralui3/resources/coralui-component-icon/Ad... net::ERR_ABORTED 500 (Server Error)
coralui3.min.css:1 GET http://localhost:4502/etc.clientlibs/clientlibs/granite/coralui3/resources/coralui-component-icon/Ad... net::ERR_ABORTED 500 (Server Error)
Please see the link below with the solution:
https://stackoverflow.com/questions/48248832/stylesheet-not-loaded-because-of-mime-type
https://discourse.roots.io/t/mime-type-text-html-not-a-supported-stylesheet-mime-type/11636/11
Thanks!
Hi asutosh_jena,
I'm not sure where to start with the first stackoverflow link? There are several solutions in that post. Where can I find the CSS files in the AEM instance?
As for the second link (you provided), it doesn't look like it applies to AEM?
Any more assistance would be greatly appreciated.
Thanks!
Hi @judahlow
Please access the below URL and click on the "Invalidate Caches" button.
http://localhost:4502/libs/granite/ui/content/dumplibs.rebuild.html?invalidate=true
Then click on the "Rebuild Libraries" and check if the issues are fixed.
What action was taken on the instance which caused this issue? Can you provide some more information.
Thanks!
I tried rebuilding the libraries too, on rebuilding the following error is on lot of files, any idea on to fix this?
PS: I am on AEM 6.5.10.
I am having the same issue when i run the AEM(6.5.12) in debug mode. can anyone has solution to it.
Hi there,
I tried doing that, but it didn't work. Any other fix? Please let me know.
Top of that when I open some pages (ex: was trying to create an activity in Personalization) I got an empty blank page, both might be related. Please let me know if there's any fix, thanks a lot, cheers!
Can you please try to rebuild clientlibraries? Eg: http://host:port/libs/granite/ui/content/dumplibs.rebuild.html?invalidate=true
Also sometimes reinstalling the last service pack you installed helps. (Do NOT uninstall any SP as an attempt to fix)
Hi snbaem,
I tried the "rebuild clientlibraries" and I'm gettin several "java.io.IOException" errors. Quite a few in fact.
i also tried to reinstall the SP and I get this error:
java.io.IOException: java.io.IOException: org.apache.jackrabbit.core.data.DataStoreException: Record c6ffba3e2e02730307028d937282bbd5bc2817c4780340c030e31ed8a8bb74a1 does not exist
Did you see the java ioexceptions while running the clientlib rebuild? Usually there would be some js (or css) related failures.
I guess the error was seen during the reinstall. This seems to suggest something wrong has gone during the SP install itself. Is this a local instance? I am afraid if the instance is showing signs of being corrupted.
Just a question, how was SP installed initially, did you see something like "Starting System Components" after the installation on package manager? In that case usually we have to wait for that pop up to go away and make sure no new logs are being printed in error logs with respect to that. And then go about clicking links on the instance.. Just a basic check..
Hi there,
I got the same issue, please let me know if you were able to fix it(I'm using 6.5.0).Thanks a lot, cheers!
Please Upgrade to 6.5.8 or above service pack.
cool, let me check, thanks a lot!