It's all about the answers!

Ask a question

Internal server error NullPointerException Licensing problem


Yusuf Erdogan (1611) | asked Jan 30 '12, 11:19 p.m.
(RTC 3.0.0, we use JTS and CCM)
We have been using RTC without any problem until recently. Everything was working as expected. We are an internal IBM team and we have required licenses.
Just recently we started having some problems:
- Web interface is getting stuck during logon process. During login when credentials are wrong, the login page successfully says credentials are not correct; but when credentials are correct it simply gets stuck and page remains showing 'Loading...'. But with eclipse client we can successfully login to project area; but then later certain actions fail and we get internal server error message. The stack trace we get is same; (we get this in jts.log after setting log4j log level to debug)

Thanks in advance. A quick reply from someone would be very appreciated.


2012-01-31 12:08:00,546 WARN .team.repository.servlet.AbstractTeamServerServlet - CRJAZ1163I NullPointerException processing GET request for com.ibm.team.repository.service.internal.license.ILicenseRestService.getAssertLicense(). CRJAZ1170I The request was made by user "ccm_user" from "samesso-rtc.sg.ibm.com". CRJAZ1166I The stack trace hash is 0B9A3D39BFD1A157D102AC39B4E8F2F9B571CFC4.
java.lang.NullPointerException
at java.util.Calendar.setTime(Calendar.java:1087)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:883)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:876)
at java.text.DateFormat.format(DateFormat.java:328)
at com.ibm.team.repository.service.internal.license.LicenseState.assertLicense(LicenseState.java:825)
at com.ibm.team.repository.service.internal.license.LicenseService.internalAssertLicense(LicenseService.java:866)
at com.ibm.team.repository.service.internal.license.LicenseService.assertLicenseForContributor(LicenseService.java:2179)
at com.ibm.team.repository.service.internal.license.LicenseService.assertLicenseAndAssignForContributor(LicenseService.java:2115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy650.assertLicenseAndAssignForContributor(Unknown Source)
at com.ibm.team.repository.service.internal.license.jts.JtsLicenseService.assertLicenseAndAssignForContributor(JtsLicenseService.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy654.assertLicenseAndAssignForContributor(Unknown Source)
at com.ibm.team.repository.service.internal.license.LicenseRestService.getAssertLicense(LicenseRestService.java:107)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy663.getAssertLicense(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:501)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:1832)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1688)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.access$0(AbstractTeamServerServlet.java:1673)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet$1.service(AbstractTeamServerServlet.java:195)
at com.ibm.team.repository.service.internal.oauth.OAuthServiceProvider.handleProxiedRequest(OAuthServiceProvider.java:454)
at com.ibm.team.repository.service.internal.oauth.OAuthServiceProvider.handleOAuthRequest(OAuthServiceProvider.java:210)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy673.handleOAuthRequest(Unknown Source)
at com.ibm.team.repository.service.internal.oauth.OAuthHandler.handledRequest(OAuthHandler.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy783.handledRequest(Unknown Source)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1545)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1655)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:937)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1772)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)

5 answers



permanent link
Yusuf Erdogan (1611) | answered Feb 02 '12, 1:20 a.m.
I found how to solve the problem:

I unassigned my developer license and assigned a build system license, (fortunately eclipse client was successfully logging in) then web login started working for me. After that I was able to upload new license file.

So at some point if you are reading this post and your web login is getting stuck, it could be due to licensing (unfortunately there is no message due to this), u can enable log4j logging for JTS and/or CCM, and using eclipse client would help to change your license to something else temporarily.

permanent link
Yusuf Erdogan (1611) | answered Jan 31 '12, 5:42 a.m.
Do you have the same problem while logging to JTS Server. You didn't mention in your porst if you tried to log in to JTS. Try logging to JTS not CCM, may be this way you 'll be able to load your new licenses.


I tried both; JTS and CCM, login page gets stuck for both.

permanent link
Canberk Akduygu (99237371) | answered Jan 31 '12, 5:00 a.m.
Do you have the same problem while logging to JTS Server. You didn't mention in your porst if you tried to log in to JTS. Try logging to JTS not CCM, may be this way you 'll be able to load your new licenses.

permanent link
Yusuf Erdogan (1611) | answered Jan 31 '12, 3:52 a.m.
Check to see that your licence(s) haven't expired. It may also be a password has expired for a user like "ccm_user" "JazzUser", "JazzAdmin" or "JazzDWAdmin"


Well, checking license again I realized client access license is deactivated.
I am not sure if the text on edition field (50 included 2012-01-15) means it was going to expire on 2012-01-15. Anyway looking at that page it seems they are deactivated.

I quickly checked how I can I renew the licenses but it seems I need to login to web client and upload license file. But as I mentioned web login doesn't work, and seems like I can't manage licenses using IBM installation manager. So what can I do?

http://i40.tinypic.com/2v9vepf.png
http://i43.tinypic.com/2mebepf.png

permanent link
Brad Veitch (11078) | answered Jan 31 '12, 12:16 a.m.
Check to see that your licence(s) haven't expired. It may also be a password has expired for a user like "ccm_user" "JazzUser", "JazzAdmin" or "JazzDWAdmin"

Your answer


Register or to post your answer.