Код: Выделить всё
m_monitor = (IProgressMonitor) new NullProgressMonitor();
TeamPlatform.startup();
if(TeamPlatform.isStarted())
{
try
{
m_iTeamRepository = TeamPlatform.getTeamRepositoryService().getTeamRepository(repoUri);
m_iTeamRepository.registerLoginHandler(new DefaultLoginHandler(l_userTID, l_userPassword));
m_iTeamRepository.login(m_monitor);
}
catch(Exception e)
{
m_rhapsodyActiveApplication.writeToOutputWindow("Log", "\nException occurred while logging in User:"+l_userTID+"!");
e.printStackTrace();
}
}
[2024-09-13 02:24:51 Proc=28524 Thr=15928 Приложение =0xf8dde68] ПЛАГИН
СООБЩЕНИЕ: Исключение при вызове метода плагина:
Плагин:exportFeatureLineUp.ExportFeatureLineUpPlugin
Метод:RhpPluginInvokeItem
java.lang.reflect.IndictionTargetException в sun.reflect.NativeMethodAccessorImpl.invoke0(собственный метод) в
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
at
sun.reflect.DelegatingMethodAccessorImpl. вызвать(DelegatingMethodAccessorImpl.java:55)
в java.lang.reflect.Method.invoke(Method.java:508) в
com.telelogic.rhapsody.core.JavaPluginsManager.callPluginMethod(Unknown
Источник)
Вызвано: java.lang.ExceptionInInitializerError в java.lang.J9VMInternals.ensureError(J9VMInternals.java:148) в
java .lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:137)
at
com.ibm.team.repository.client.internal.TeamRepository.(TeamRepository.java:446)
at
com.ibm.team.repository.client.internal.TeamRepositoryService.createSharedTeamRepository(TeamRepositoryService.java:526)
at
com.ibm.team.repository.client.internal.TeamRepositoryService.getTeamRepository(TeamRepositoryService .java:113)
at
com.ibm.team.repository.client.internal.TeamRepositoryService.getTeamRepository(TeamRepositoryService.java:132)
at ExportFeatureLineUp.ExportFeatureLineUp.loginToRTC(XYZ.java) :942)
at ExportFeatureLineUp.ExportFeatureLineUp.runPlugin(XYZ.java:1031)
at
exportFeatureLineUp.ExportFeatureLineUpPlugin.RhpPluginInvokeItem(ExportFeatureLineUpPlugin.java:25)
Вызвано: java.lang.IllegalArgumentException: имя типа Contributor и URI пространства имен com.ibm.team.repository не
разрешаются в IItemType.
at
com.ibm.team.repository.common.internal.querypath.AbstractQueryPathModel$Implementation.getItemType(AbstractQueryPathModel.java:197)
at
com.ibm.team .repository.common.query.IQuery$Factory.newInstance(IQuery.java:129)
at
com.ibm.team.repository.client.internal.ContributorManager.createAllContributorsQuery(ContributorManager.java:72)
at
com.ibm.team.repository.client.internal.ContributorManager.(ContributorManager.java:60)
Подробнее здесь: https://stackoverflow.com/questions/789 ... n-rhapsody
Мобильная версия