Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

cpptest failing on command line but working with Eclipse

Kevin
Kevin Posts: 1

Using the Parasoft plugin for Eclipse, I am able to run Parasoft test configurations successfully. Trying to run the same test configuration using cpptestcli results in a error message and a stack trace in the error log. The Parasoft version is C++test Professional 2020.2.0 (10.5.0.20201022B1126). The error output is below. Any ideas?

Output on the command line:
"""
cpptestcli -config "builtin://Flow Analysis"
Parasoft C/C++test Professional 2020.2.0 (10.5.0.20201022B1126) -- Copyright (C) 2020 Parasoft Corporation

Using default workspace "C:\test\workspace"
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
An error has occurred. See the log file
C:\test\workspace.metadata.log.
"""

Output in the log file:
"""
!ENTRY org.eclipse.osgi 4 0 2023-04-06 14:07:04.995
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in com.parasoft.ptest.checkers.eclipse.core was unable to load class com.parasoft.ptest.checkers.eclipse.core.cli8.EclipseCliRunnable.
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:212)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:198)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:920)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:246)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:63)
"""

Tagged:

Tagged