Description

This page explain how to solve the source code scan issue when the step is failing with the following error :

java.lang.StringIndexOutOfBoundsException:String index out of range: -1

Observed in CAST AIP
Release
Yes/No
8.3.x (tick)
8.2.x (tick)
8.1.x (tick)
8.0.x(tick)
7.3.x(tick)
Observed on RDBMS
RDBMS
Yes/No
Oracle Server (tick)
Microsoft SQL Server (tick)
CSS2 (tick)
CSS3 (tick)
Step by Step Scenario
  • Package a J2EE application.
  • The Source code scan is failing as shown below :

 

Action Plan
  1. One issue for this error is fixed with J2EE file discoverer 1.2.0.  If you have not used this extension or a version greater than 1.2.0 then download the latest J2EE File Discoverer extension and install it.  Once installed, open the delivery Manager tool, and package again.
  2. Another issue encountered for this error is due to files which need to be excluded from the delivery.  To identify the files, the dichotomy method should be used.  This method is documented here:  CMS Snapshot Analysis - Information - Overview of the Dichotomy process.  Once the files have been identified, exclude them and redo the packaging.
  3. If the below section does not resolve the issue, contact CAST Technical Support with Delivery Manager Tool - Relevant Input for Support to reproduce.
Notes/comments

 Ticket 14050

Related Pages