CMS Snapshot Analysis - Run Analyzer - Warnings - PHP with extension - UA Plugin operation failed
Purpose (problem description)
This page is a troubleshooting guide for the warning - UA Plugin : Plugin operation failed. Please check log for details. Plugin command line: ‘“C:\ProgramData\CAST\CAST\Extensions\com.castsoftware.php.3.0.2-funcrel\configuration\Languages\PHP\plugin\launch.bat” “I:\IMPLEMENTATION\LargeStorageArea\LISA\1669e0242aed45ebba3fe04067bfa8dd\Scrc264bd6a37494df9aec9908726414714\source_PHP_164186\863826529_PHP\project\Test\Service\Web\Client\Testservice\Fagup\Result\UnifiedParty\Party\PartyRole\DefaultRightContainer\EntityWithRights\EntityWithRightsType.php” “I:\IMPLEMENTATION\Logs\SAVI\Take_a_snapshot_of_6005\source_PHP_164186-20191030-125854.castlog”’.
Observed in CAST AIP
| Release | Yes/No |
|---|---|
| 8.3.x | ✅ |
| 8.2.x | ✅ |
Observed on RDBMS
| RDBMS | Yes/No |
|---|---|
| Oracle Server | ✅ |
| Microsoft SQL Server | ✅ |
| CSS3 | ✅ |
| CSS2 | ✅ |
Step by Step scenario
- Configure a UA PHP analysis
- Run analysis
- Open Log and see warning messages - UA Plugin : Plugin operation failed. Please check log for details. Plugin command line: ‘“C:\ProgramData\CAST\CAST\Extensions\com.castsoftware.php.3.0.2-funcrel\configuration\Languages\PHP\plugin\launch.bat” “I:\IMPLEMENTATION\LargeStorageArea\LISA\1669e0242aed45ebba3fe04067bfa8dd\Scrc264bd6a37494df9aec9908726414714\source_PHP_164186\863826529_PHP\project\Test\Service\Web\Client\Testservice\Fagup\Result\UnifiedParty\Party\PartyRole\DefaultRightContainer\EntityWithRights\EntityWithRightsType.php” “I:\IMPLEMENTATION\Logs\SAVI\Take_a_snapshot_of_6005\source_PHP_164186-20191030-125854.castlog”’.
Action Plan
This warning occurs if the analyzed source file path is longer than 256 characters which is a known limitation.
- Check full path of the source file in the mentioned warning message
- Copy the path in notepad++ or any text editor and check if the size of the path is more that 256 characters, if yes it is a known limitation of any analyzer, so you have to configure the files size in such a way that it should not exceed the limit.
- Else if the size of path is not more that 256 characters then contact CAST Technical Support with the Relevant Input to reproduce the issue.
Notes/comments
Related Pages