Getting exception on the ITeamRepository.login method
When I issue the ITeamRepository.login method I am getting the following exception
com.ibm.team.repository.common
.TeamRepositoryException: org.eclipse.emf.ecore.resource
.Resource$IOWrappedException: http://apache.org/xml/features/disallow-doctype-decl
This is a Windows 2008 server. The same code is running fine on my Windows XP system.
Full exception ...
com.ibm.team.repository.common
.TeamRepositoryException: org.eclipse.emf.ecore.resource
.Resource$IOWrappedException: http://apache.org/xml/features/disallow-doctype-decl
at sun.reflect.NativeConstructorA
ccessorImpl.newInstance0(Nativ
e Method)
at sun.reflect.NativeConstructorA
ccessorImpl.newInstance(Unknow
n Source)
at sun.reflect.DelegatingConstruc
torAccessorImpl.newInstance(Un
known Source)
at java.lang.reflect.Constructor.
newInstance(Unknown Source)
at com.ibm.team.repository.transp
ort.client.RemoteTeamService.g
etAppropriateException(RemoteT
eamService.java:704)
at com.ibm.team.repository.transp
ort.client.RemoteTeamService.e
xecuteMethod(RemoteTeamService
.java:506)
at com.ibm.team.repository.transp
ort.client.RemoteTeamService.i
nvoke(RemoteTeamService.java:1
94)
at com.ibm.team.repository.transp
ort.client.ServiceInvocationHa
ndler.invoke(ServiceInvocation
Handler.java:43)
at $Proxy0.describe(Unknown Source)
at sun.reflect.NativeMethodAccess
orImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccess
orImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAc
cessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invok
e(Unknown Source)
at com.ibm.team.repository.client
.internal.ServiceInterfaceProx
y.invokeServiceCall(ServiceInt
erfaceProxy.java:164)
at com.ibm.team.repository.client
.internal.ServiceInterfaceProx
y.invoke(ServiceInterfaceProxy
.java:88)
at $Proxy0.describe(Unknown Source)
at com.ibm.team.repository.client
.internal.TeamRepository$4.run
(TeamRepository.java:1514)
at com.ibm.team.repository.client
.internal.TeamRepository$4.run
(TeamRepository.java:1)
at com.ibm.team.repository.client
.internal.TeamRepository$3.run
(TeamRepository.java:1288)
at com.ibm.team.repository.common
.transport.CancelableCaller.ca
ll(CancelableCaller.java:79)
at com.ibm.team.repository.client
.internal.TeamRepository.callC
ancelableService(TeamRepositor
y.java:1281)
at com.ibm.team.repository.client
.internal.TeamRepository.inter
nalLogin(TeamRepository.java:1
507)
at com.ibm.team.repository.client
.internal.TeamRepository.login
(TeamRepository.java:640)
com.ibm.team.repository.common
This is a Windows 2008 server. The same code is running fine on my Windows XP system.
Full exception ...
com.ibm.team.repository.common
at sun.reflect.NativeConstructorA
at sun.reflect.NativeConstructorA
at sun.reflect.DelegatingConstruc
at java.lang.reflect.Constructor.
at com.ibm.team.repository.transp
at com.ibm.team.repository.transp
at com.ibm.team.repository.transp
at com.ibm.team.repository.transp
at $Proxy0.describe(Unknown Source)
at sun.reflect.NativeMethodAccess
at sun.reflect.NativeMethodAccess
at sun.reflect.DelegatingMethodAc
at java.lang.reflect.Method.invok
at com.ibm.team.repository.client
at com.ibm.team.repository.client
at $Proxy0.describe(Unknown Source)
at com.ibm.team.repository.client
at com.ibm.team.repository.client
at com.ibm.team.repository.client
at com.ibm.team.repository.common
at com.ibm.team.repository.client
at com.ibm.team.repository.client
at com.ibm.team.repository.client
2 answers
Ralph - thanks for the quick response. I don't know the cause but when I switched from the Oracle JRE to the IBM JRE the problem went away. Hopefully this information will help others that experience the same issue.