Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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: 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)

0 votes



One answer

Permanent link

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".
https://jazz.net/forum/questions/52173/exception-with-web-ui-plugin
https://jazz.net/forum/questions/175113/after-deploying-plugin-to-rtc-ccmlog-errors

0 votes

Comments

 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!"],

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

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,941

Question asked: Jan 19 '17, 4:34 p.m.

Question was seen: 1,851 times

Last updated: Jan 23 '17, 8:25 p.m.

Confirmation Cancel Confirm