It's all about the answers!

Ask a question

IBM RTC 602 Developing an extension: ERROR net.jazz.ajax.servlets.StyleSheetServlet

Rafael Rodriguez Montes (23013114225) | asked Jan 19 '17, 4:34 p.m.
edited Jan 19 '17, 4:35 p.m.


I'm getting an error, even when I have all my extensions referenced in my css, and my widget is not working
ERROR net.jazz.ajax.servlets.StyleSheetServlet            - GET https://cmempire:9443/ccm/web/_style/
?exclude=C~D~E~F~G~H~I~J~K~L~M~N~O~P~Q~R~S~T~U~V~W~X~Y~Z~a~b~c&include=com.testviewlet.web.resources.customCalendar&ss=KFNJf&_proxyURL=%2Fccm&locale=en-usHEADER: Host = cmempire:9443
HEADER: Connection = keep-alive
HEADER: User-Agent = Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
HEADER: Accept = text/css,/;q=0.1
HEADER: Accept-Encoding = gzip, deflate, sdch, br
HEADER: Accept-Language = en-US,en;q=0.8
HEADER: Cookie = LtpaToken2=IaF...g==; JSESSIONID=000...:-1;
Parameter: locale = [en-us]
Parameter: include = [com.test.viewlet.web.resources.customCalendar]
Parameter: _proxyURL = [/ccm]
Parameter: exclude = [C~D~E~F~G~H~I~J~K~L~M~N~O~P~Q~R~S~T~U~V~W~X~Y~Z~a~b~c]
Parameter: ss = [KFNJf]

at net.jazz.ajax.servlets.ResourceGraph.process(
at net.jazz.ajax.servlets.ResourceGraph.add(
at net.jazz.ajax.servlets.ResourceGraph.<init>(
at net.jazz.ajax.servlets.ResourceGraphOperation.getResult(
at net.jazz.ajax.internal.util.Cache.execute(
at net.jazz.ajax.servlets.AbstractResourceServlet.doGet(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at net.jazz.ajax.servlets.LoggingHttpServlet.service(

One answer

permanent link
Donald Nong (14.5k414) | answered Jan 19 '17, 10:04 p.m.

The error may have nothing to do with CSS. If the NullPointerException tells us anything, you may hit the same problem as the below two posts - the keyword there is "dependency".

Rafael Rodriguez Montes commented Jan 20 '17, 12:16 p.m.

 here are my dependencies, using ADM format, is this valid for RTC? 

define(["dojo/_base/declare","dijit/_WidgetBase", "dijit/_TemplatedMixin", "dojo/text!./templates/CalendarViewlet.html", 
        "dojo/dom-style", "dijit/Calendar", "dojo/dom-construct", "dijit/form/Button", "dojo/on", 
        "dojo/date/locale","dojo/date", "dojo/_base/lang", "dojo/_base/connect", "dojo/domReady!"],

Donald Nong commented Jan 23 '17, 8:25 p.m.

Where do you have this code? Is your "extension" developed in Java or JavaScript?

Your answer

Register or to post your answer.