Delivery Manager Tool - Source Code Scan - Error - String index out of range -1

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

ReleaseYes/No
8.3.x
8.2.x
8.1.x
8.0.x
7.3.x

Observed on RDBMS

RDBMSYes/No
Oracle Server
Microsoft SQL Server
CSS2
CSS3

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