Why do I get a java.lang.reflect.InvocationTargetException error when uploading tests to SilkCentral Test Manager from the Manual Testing client?

0 Likes

Problem:

Why do I get a java.lang.reflect.InvocationTargetException error when uploading tests to SilkCentral Test Manager from the Manual Testing client?

Resolution:

QUESTION
----------------------------------

Why do I get a java.lang.reflect.InvocationTargetException error when uploading tests to SilkCentral Test Manager from the Manual Testing client?

The extended details of the error are:

java.lang.reflect.InvocationTargetException
  Error type: com.borland.hermes.common.HermesException
  Thread: Thread[main,6,main]
  Stack trace:
  com.borland.hermes.common.HermesException: com.borland.hermes.core.connectivity.ConnectivityException: An unknown error occurred (Index: 1, Size: 1).
      at com.borland.hermes.ui.commands.UploadAllPackagesProgress.run(UploadAllPackagesProgress.java:45)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
  Caused by: com.borland.hermes.core.connectivity.ConnectivityException: An unknown error occurred (Index: 1, Size: 1).
      at com.borland.hermes.core.connectivity.TMConnector.handleRemoteException(TMConnector.java:398)
      at com.borland.hermes.core.connectivity.TMConnector.callRemoteMethod(TMConnector.java:615)
      at com.borland.hermes.core.connectivity.TMConnector.store(TMConnector.java:463)
      at com.borland.hermes.core.pkg.PackageManager.uploadPackage(PackageManager.java:235)
      at com.borland.hermes.core.pkg.PackageManager.uploadPackage(PackageManager.java:250)
      at com.borland.hermes.core.pkg.Synchronizer.storePackagesImpl(Synchronizer.java:67)
      at com.borland.hermes.core.pkg.Synchronizer.uploadAllPackages(Synchronizer.java:94)
      at com.borland.hermes.ui.commands.UploadAllPackagesProgress.run(UploadAllPackagesProgress.java:39)



ANSWER
----------------------------------

This error occurs if you have changed your manual tests in SilkCentral Test Manager before uploading them from the Manual Testing client. If you download your tests to the Manual testing Client and then add or remove any steps of the downloaded Manual tests in SilkCentral Test Manager this error will be returned when uploading. This is because the Manaul Testing Client results no longer reflect the original Manual tests.

In order to stop this error you must delete the manual tests in the Manual Testing Client, by right clicking the test and selecting delete.

Old KB# 24558
Comment List
Anonymous
Related Discussions
Recommended