cancel
Showing results for 
Search instead for 
Did you mean: 

StringIndexOutOfBoundsException while server startup

sharada1234
Explorer
0 Kudos
479

Hi All,

We are currently upgrading from SAP hybirs 6.1 to hybirs 6.2.We replaced custom and build the custom code.It was successful. But when we are trying to start the server it is giving "java.lang.StringIndexOutOfBoundsException: String index out of range: -1",

We can see the issue is happening in one of the jar files of Spring.In Hybris 6.2 we have Spring version is 4.3.

I added the stack trace below. Can someone please help on the issue

Accepted Solutions (0)

Answers (2)

Answers (2)

gaurav11
Participant
0 Kudos

Hi sharada1234

Please follow below SAP document and check if you have missed something.

6.1_To_6.2

Thanks,

Gauarv

vinod_singh
Participant
0 Kudos

Hi sharada1234

Could you please check if your tomcat.generaloptions in local.properties is set according to OOTB property?

If not, please try to use this OOTB property and check if issue is resolved.

Note: It is always recommended to use the updated version of SAP Commerce (2205) to get support from SAP. You could also follow the steps mentioned here to upgrade to 2205.

https://blogs.sap.com/2022/08/26/migration-steps-for-sap-commerce-2205/

Thanks,

Vinod