IBM RTC 602 Developing an extension: ERROR net.jazz.ajax.servlets.StyleSheetServlet
hello,
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: Referer = https://cmempire:9443/ccm/web/projects/test
HEADER: Accept-Encoding = gzip, deflate, sdch, br
HEADER: Accept-Language = en-US,en;q=0.8
HEADER: Cookie = LtpaToken2=IaF...g==; JSESSIONID=000...:-1; x-com-ibm-team-scenario=9ea2460f-1dda-4b9d-85ec-edf0a4d6537f%3Bname%3Dcom.ibm.team.dashboard.viewDashboard%2FAdd%20Widget%3Bextras%3D%2Fccm%2Fweb%2Fprojects%2Ftest
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]
java.lang.NullPointerException
at net.jazz.ajax.servlets.ResourceGraph.process(ResourceGraph.java:246)
at net.jazz.ajax.servlets.ResourceGraph.add(ResourceGraph.java:94)
at net.jazz.ajax.servlets.ResourceGraph.<init>(ResourceGraph.java:76)
at net.jazz.ajax.servlets.ResourceGraphOperation.getResult(ResourceGraphOperation.java:62)
at net.jazz.ajax.internal.util.Cache.execute(Cache.java:78)
at net.jazz.ajax.servlets.AbstractResourceServlet.doGet(AbstractResourceServlet.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at net.jazz.ajax.servlets.LoggingHttpServlet.service(LoggingHttpServlet.java:35)
|
One answer
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".
Comments
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
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.