NullPointerException upon loading the /rm application
As the title says, I am getting the NullPointerException error (partial stack trace below). The application is installed fresh and the first time I attempted to load the /rm context in the browser I got this problem.
Any ideas? What should I be looking for?
Thank you,
Dan
================================
2012-02-16 03:30:44,204 ERROR er.services.contextRoot.ContextRootRedirectService - Server Error: Entry
java.lang.NullPointerException
at com.ibm.rdm.fronting.server.util.ConfigImpl.getJFSServiceFor(ConfigImpl.java:2056)
at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.service(RRSRestServiceBase.java:110)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.dispatchRequest(AppContainerServlet.java:152)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:295)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
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:59)
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:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
Any ideas? What should I be looking for?
Thank you,
Dan
================================
2012-02-16 03:30:44,204 ERROR er.services.contextRoot.ContextRootRedirectService - Server Error: Entry
java.lang.NullPointerException
at com.ibm.rdm.fronting.server.util.ConfigImpl.getJFSServiceFor(ConfigImpl.java:2056)
at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.service(RRSRestServiceBase.java:110)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.dispatchRequest(AppContainerServlet.java:152)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:295)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
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:59)
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:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
5 answers
As the title says, I am getting the NullPointerException error (partial stack trace below). The application is installed fresh and the first time I attempted to load the /rm context in the browser I got this problem.
Any ideas? What should I be looking for?
Thank you,
Dan
================================
2012-02-16 03:30:44,204 ERROR er.services.contextRoot.ContextRootRedirectService - Server Error: Entry
java.lang.NullPointerException
at com.ibm.rdm.fronting.server.util.ConfigImpl.getJFSServiceFor(ConfigImpl.java:2056)
at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.service(RRSRestServiceBase.java:110)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.dispatchRequest(AppContainerServlet.java:152)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:295)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
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:59)
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:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
Hi Dan
Has this error been resolved? Which version of the application are you using?
Hello
I am also getting the same error. Please confirm whether the code will work with version 2.x if yes. The where can I get the updated code for 3.x
I have got Code from
https://jazz.net/wiki/bin/view/Main/RationalRequirementsComposer2SampleCode
My server details
RRC 3.0.1.1
Basic Authentication
test.properties
I have provided the details as below
repository.url=https://xxx.xxx.com/rm
repository.userId=<name>
repository.password=<Pwd>
project.name=<Project>
artifacts.delete=false
=====ERROR LOG==============
java.lang.NullPointerException
at com.ibm.rdm.client.api.Repository.getJFSBaseUrl(Repository.java:360)
at com.ibm.rdm.client.api.Repository.getJfsRepository(Repository.java:349)
at com.ibm.rdm.client.api.Repository.getUserUrl(Repository.java:319)
at com.ibm.rdm.client.api.Repository.getProjectsUrl(Repository.java:342)
at com.ibm.rdm.client.api.Repository.getProjectsWithException(Repository.java:242)
at com.ibm.rdm.client.api.Repository.getProjects(Repository.java:229)
at com.ibm.rdm.client.api.Repository.getProject(Repository.java:367)
at com.ibm.rdm.sample.service.NativeArtifactCreationService.executeService(NativeArtifactCreationService.java:46)
at com.ibm.rdm.sample.service.BaseService.execute(BaseService.java:68)
at com.ibm.rdm.sample.tests.RequirementExample.main(RequirementExample.java:91)
java.lang.RuntimeException: com.ibm.rdm.client.api.util.AuthenticationException
at com.ibm.rdm.client.api.Repository.getUserUrl(Repository.java:335)
at com.ibm.rdm.client.api.Repository.getProjectsUrl(Repository.java:342)
at com.ibm.rdm.client.api.Repository.getProjectsWithException(Repository.java:242)
at com.ibm.rdm.client.api.Repository.getProjects(Repository.java:229)
at com.ibm.rdm.client.api.Repository.getProject(Repository.java:367)
at com.ibm.rdm.sample.service.NativeArtifactCreationService.executeService(NativeArtifactCreationService.java:46)
at com.ibm.rdm.sample.service.BaseService.execute(BaseService.java:68)
at com.ibm.rdm.sample.tests.RequirementExample.main(RequirementExample.java:91)
Caused by: com.ibm.rdm.client.api.util.AuthenticationException
... 8 more
Exception in thread "main" java.lang.NullPointerException
at com.ibm.rdm.sample.service.NativeArtifactCreationService.executeService(NativeArtifactCreationService.java:48)
at com.ibm.rdm.sample.service.BaseService.execute(BaseService.java:68)
at com.ibm.rdm.sample.tests.RequirementExample.main(RequirementExample.java:91)
I am also getting the same error. Please confirm whether the code will work with version 2.x if yes. The where can I get the updated code for 3.x
I have got Code from
https://jazz.net/wiki/bin/view/Main/RationalRequirementsComposer2SampleCode
My server details
RRC 3.0.1.1
Basic Authentication
test.properties
I have provided the details as below
repository.url=https://xxx.xxx.com/rm
repository.userId=<name>
repository.password=<Pwd>
project.name=<Project>
artifacts.delete=false
=====ERROR LOG==============
java.lang.NullPointerException
at com.ibm.rdm.client.api.Repository.getJFSBaseUrl(Repository.java:360)
at com.ibm.rdm.client.api.Repository.getJfsRepository(Repository.java:349)
at com.ibm.rdm.client.api.Repository.getUserUrl(Repository.java:319)
at com.ibm.rdm.client.api.Repository.getProjectsUrl(Repository.java:342)
at com.ibm.rdm.client.api.Repository.getProjectsWithException(Repository.java:242)
at com.ibm.rdm.client.api.Repository.getProjects(Repository.java:229)
at com.ibm.rdm.client.api.Repository.getProject(Repository.java:367)
at com.ibm.rdm.sample.service.NativeArtifactCreationService.executeService(NativeArtifactCreationService.java:46)
at com.ibm.rdm.sample.service.BaseService.execute(BaseService.java:68)
at com.ibm.rdm.sample.tests.RequirementExample.main(RequirementExample.java:91)
java.lang.RuntimeException: com.ibm.rdm.client.api.util.AuthenticationException
at com.ibm.rdm.client.api.Repository.getUserUrl(Repository.java:335)
at com.ibm.rdm.client.api.Repository.getProjectsUrl(Repository.java:342)
at com.ibm.rdm.client.api.Repository.getProjectsWithException(Repository.java:242)
at com.ibm.rdm.client.api.Repository.getProjects(Repository.java:229)
at com.ibm.rdm.client.api.Repository.getProject(Repository.java:367)
at com.ibm.rdm.sample.service.NativeArtifactCreationService.executeService(NativeArtifactCreationService.java:46)
at com.ibm.rdm.sample.service.BaseService.execute(BaseService.java:68)
at com.ibm.rdm.sample.tests.RequirementExample.main(RequirementExample.java:91)
Caused by: com.ibm.rdm.client.api.util.AuthenticationException
... 8 more
Exception in thread "main" java.lang.NullPointerException
at com.ibm.rdm.sample.service.NativeArtifactCreationService.executeService(NativeArtifactCreationService.java:48)
at com.ibm.rdm.sample.service.BaseService.execute(BaseService.java:68)
at com.ibm.rdm.sample.tests.RequirementExample.main(RequirementExample.java:91)
Praveen
Please see Jared's reply in this thread: https://jazz.net/forums/viewtopic.php?p=58856#58856
There is no 301x version of the 2x sample code. The only API published for RRC 301x is the OSLC-RM v2 API.
Please see Jared's reply in this thread: https://jazz.net/forums/viewtopic.php?p=58856#58856
There is no 301x version of the 2x sample code. The only API published for RRC 301x is the OSLC-RM v2 API.
Hello
I am also getting the same error. Please confirm whether the code will work with version 2.x if yes. The where can I get the updated code for 3.x
I have got Code from
https://jazz.net/wiki/bin/view/Main/RationalRequirementsComposer2SampleCode
My server details
RRC 3.0.1.1
Basic Authentication
test.properties
I have provided the details as below
repository.url=https://*.*.com/rm
repository.userId=<name>
repository.password=<Pwd>
project.name=<Project>
artifacts.delete=false
=====ERROR LOG==============
java.lang.NullPointerException
at com.ibm.rdm.client.api.Repository.getJFSBaseUrl(Repository.java:360)
at com.ibm.rdm.client.api.Repository.getJfsRepository(Repository.java:349)
at com.ibm.rdm.client.api.Repository.getUserUrl(Repository.java:319)
at com.ibm.rdm.client.api.Repository.getProjectsUrl(Repository.java:342)
at com.ibm.rdm.client.api.Repository.getProjectsWithException(Repository.java:242)
at com.ibm.rdm.client.api.Repository.getProjects(Repository.java:229)
at com.ibm.rdm.client.api.Repository.getProject(Repository.java:367)
at com.ibm.rdm.sample.service.NativeArtifactCreationService.executeService(NativeArtifactCreationService.java:46)
at com.ibm.rdm.sample.service.BaseService.execute(BaseService.java:68)
at com.ibm.rdm.sample.tests.RequirementExample.main(RequirementExample.java:91)
java.lang.RuntimeException: com.ibm.rdm.client.api.util.AuthenticationException
at com.ibm.rdm.client.api.Repository.getUserUrl(Repository.java:335)
at com.ibm.rdm.client.api.Repository.getProjectsUrl(Repository.java:342)
at com.ibm.rdm.client.api.Repository.getProjectsWithException(Repository.java:242)
at com.ibm.rdm.client.api.Repository.getProjects(Repository.java:229)
at com.ibm.rdm.client.api.Repository.getProject(Repository.java:367)
at com.ibm.rdm.sample.service.NativeArtifactCreationService.executeService(NativeArtifactCreationService.java:46)
at com.ibm.rdm.sample.service.BaseService.execute(BaseService.java:68)
at com.ibm.rdm.sample.tests.RequirementExample.main(RequirementExample.java:91)
Caused by: com.ibm.rdm.client.api.util.AuthenticationException
... 8 more
Exception in thread "main" java.lang.NullPointerException
at com.ibm.rdm.sample.service.NativeArtifactCreationService.executeService(NativeArtifactCreationService.java:48)
at com.ibm.rdm.sample.service.BaseService.execute(BaseService.java:68)
at com.ibm.rdm.sample.tests.RequirementExample.main(RequirementExample.java:91)
As the title says, I am getting the NullPointerException error (partial stack trace below). The application is installed fresh and the first time I attempted to load the /rm context in the browser I got this problem.
Any ideas? What should I be looking for?
Thank you,
Dan
================================
2012-02-16 03:30:44,204 ERROR er.services.contextRoot.ContextRootRedirectService - Server Error: Entry
java.lang.NullPointerException
at com.ibm.rdm.fronting.server.util.ConfigImpl.getJFSServiceFor(ConfigImpl.java:2056)
at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.service(RRSRestServiceBase.java:110)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.dispatchRequest(AppContainerServlet.java:152)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:295)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
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:59)
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:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
I got this error after RRC 2.x migration with Oracle Database. Everything seems to be fine. No problem occured during export and import but after tomcat is started. I had this message while navigation the online migration page.
I am using CLM 3.0.1.2
I also want to say that I had this problem after my customer has created a keystore for SSL and I didn't know that. So during the migration the keystore parameter also propagated to my new server.xml but there's no keystore file in my new installation.
During the server startup server had an error message about this issue and I had this message on UI, I corrected the keystore issue and solved the problem.
During the server startup server had an error message about this issue and I had this message on UI, I corrected the keystore issue and solved the problem.