IBM Support

"java.lang.NullPointerException java.util.Calendar.setTime, Error fetching project area data" while accessing an RQM project area

Troubleshooting


Problem

An error "Error fetching project area data" is reported while accessing an IBM Rational Quality Manager (RQM) project area, along with details showing the following stack trace, if an expired IBM Rational Team Concert (RTC) Contributor license is assigned to a user: [] An error response was received from the Jazz Team Server. Status=500. Message: null java.lang.NullPointerException java.util.Calendar.setTime(Calendar.java:1087) java.text.SimpleDateFormat.format(SimpleDateFormat.java:893) java.text.SimpleDateFormat.format(SimpleDateFormat.java:886) java.text.DateFormat.format(DateFormat.java:327) com.ibm.team.repository.service.internal.license.LicenseState.assertLicenseImpl(LicenseState.java:942) com.ibm.team.repository.service.internal.license.LicenseState.assertLicense(LicenseState.java:857) com.ibm.team.repository.service.internal.license.LicenseService.internalAssertLicense(LicenseService.java:1440) com.ibm.team.repository.service.internal.license.LicenseService.internalAssertLicense(LicenseService.java:1358) com.ibm.team.repository.service.internal.license.LicenseService.assertLicenseForContributor(LicenseService.java:3066) com.ibm.team.repository.service.internal.license.LicenseService.assertLicenseForContributor(LicenseService.java:1221) com.ibm.team.repository.service.internal.license.LicenseService.checkLicensesForContributor(LicenseService.java:1201) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) java.lang.reflect.Method.invoke(Method.java:611) []

Symptom

You can log into IBM Rational Jazz Team Server (JTS) Admin and view repository permission and license information but cannot log into RQM project areas. You may get the following warning:

You have successfully logged into Jazz Team Server but you are not authorized to access Rational Quality Manager. An error response was received from the Jazz Team Server. Status=400. Message: CRAJ09721 the "com.ibm.rqm.login" operation was forbidden because the "Contributor" license is currently deactivated.


When the link is clicked in Return to login, the java.lang.NullPointerException is reported.

Cause

You may have an active Quality Manager Professional CAL or floating license along with an expired Rational Team Concert Contributor license.

The expired RTC Contributor license should not prevent logging into RQM if you have a valid RQM floating or CAL license. This issue is under investigation.

Resolving The Problem


The current workaround is to remove the expired RTC Contributor license for each impacted user:

  1. Log into JTS Administration.

  2. Go to Users.

  3. Access a user who is unable to log into RQM

  4. Remove (uncheck) the expired Rational Team Concert Contributor license.

  5. Save the change to the user.
    Ensure the user logs out of any CLM application, clears their browser cache and logs back into RQM.


Leverage the Jazz Community

The Jazz based products have an active community that can provide you with additional resources. Browse and contribute to the User forums, contribute to the Team Blog and review the Team wiki.
Refer to technote 1319600 for details and links.

[{"Product":{"code":"SSUVV6","label":"IBM Engineering Test Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"RQM Server","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"4.0.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Quality Manager

Document Information

Modified date:
16 June 2018

UID

swg21671414