Skip to Content
avatar image
Former Member

JSPM Throws on error during JSPM_MAIN phase.

Hello ALL

I am in the midst of upgrading our sandbox PI 7.1 system to PI 7.3. After JSPM and SAPJVM upgraded to 7.3 version, I am not able to login into JSPM. It always fail in JSPM_MAIN phase with the following error:

java.lang.StringIndexOutOfBoundsException: String index out of range: 21 java.lang.StringIndexOutOfBoundsException: String index out of range: 21

The JSPM log:

grrapi20:t06adm> tail -200 JSPM_MAIN_1_01.LOG

<!--LOGHEADER[START]/-->

<!--HELP[Manual modification of the header may cause parsing problem!]/-->

<!--LOGGINGVERSION[2.0.7.1006]/-->

<!--NAME[/usr/sap/T06/DVEBMGS89/j2ee/JSPM/log/log_2012_07_31_02_16_23/JSPM_MAIN_1_01.LOG]/-->

<!--PATTERN[JSPM_MAIN_1_01.LOG]/-->

<!--FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%s]: %m)]/-->

<!--ENCODING[UTF8]/-->

<!--LOGHEADER[END]/-->

Jul 31, 2012 2:17:48 AM [Info]: Phase JSPM/JSPMPhases/JSPM_MAIN has been started.

Jul 31, 2012 2:17:48 AM [Info]: Phase type is com.sap.sdt.jspm.phases.PhaseTypeJSPM.

Jul 31, 2012 2:17:48 AM [Error]: Error while creating time recording objects.

Jul 31, 2012 2:17:48 AM [Error]: java.lang.StringIndexOutOfBoundsException: String index out of range: 21

Jul 31, 2012 2:17:48 AM [Error]: java.lang.StringIndexOutOfBoundsException: String index out of range: 21

Jul 31, 2012 2:17:48 AM [Info]: Starting Initialize dialog...

Jul 31, 2012 2:17:48 AM [Info]: Detecting system parameters...

Jul 31, 2012 2:17:48 AM [Info]: You can find additional information in log file /usr/sap/T06/DVEBMGS89/j2ee/JSPM/log/log_2012_07_31_02_16_23/DETECT_SYSTEM_PARAMETERS_01.LOG.

Jul 31, 2012 2:17:52 AM [Info]: Detection of system parameters has finished.

Jul 31, 2012 2:17:52 AM [Info]: Initialize dialog has been processed.

Jul 31, 2012 2:17:52 AM [Info]: Checking connectivity to AS Java...

Jul 31, 2012 2:17:53 AM [Info]: Connecting to Deploy Controller on host sapt06ci port 58904 with user test.

Jul 31, 2012 2:17:54 AM [Info]: Starting LogIn dialog...

Jul 31, 2012 2:18:15 AM [Info]: Dialog LogIn has been confirmed by the user.

Jul 31, 2012 2:18:15 AM [Info]: Connecting to Deploy Controller on host sapt06ci port 58904 with user rkupusa2.

Jul 31, 2012 2:18:16 AM [Info]: Connection to AS Java on host sapt06ci, port 58904 is valid.

Jul 31, 2012 2:18:16 AM [Info]: Logging on to application...

Jul 31, 2012 2:18:16 AM [Info]: Detecting system components...

Jul 31, 2012 2:18:17 AM [Info]: You can find additional information in log file /usr/sap/T06/DVEBMGS89/j2ee/JSPM/log/log_2012_07_31_02_16_23/DETECT_SYSTEM_COMPONENTS_01.LOG.

Jul 31, 2012 2:18:32 AM [Info]: Loaded usage type data from data source jdbc/pool/T06.

Jul 31, 2012 2:18:32 AM [Info]: Detected system products and usage types.

Jul 31, 2012 2:18:34 AM [Info]: DeployController release is 7.10. Component version rule UPDATE_LOWER_ONLY will be used.

Jul 31, 2012 2:20:43 AM [Info]: Zip file /usr/sap/T06/DVEBMGS89/j2ee/JSPM/log/errorReport.zip with collected logs created succesfully.

Jul 31, 2012 2:20:43 AM [Error]: Zip file /usr/sap/T06/DVEBMGS89/j2ee/JSPM/log/errorReport.zip with collected logs created succesfully.

Jul 31, 2012 2:20:43 AM [Error]: Exception has occurred during the execution of the phase.

Jul 31, 2012 2:20:43 AM [Error]: java.lang.StringIndexOutOfBoundsException: String index out of range: 21

Jul 31, 2012 2:20:43 AM [Error]: java.lang.StringIndexOutOfBoundsException: String index out of range: 21

Jul 31, 2012 2:20:43 AM [Info]: Phase JSPM/JSPMPhases/JSPM_MAIN has been completed.

Jul 31, 2012 2:20:43 AM [Info]: Start time: 2012/07/31 02:17:48.

Jul 31, 2012 2:20:43 AM [Info]: End time: 2012/07/31 02:20:43.

Jul 31, 2012 2:20:43 AM [Info]: Duration: 0:02:55.446.

Jul 31, 2012 2:20:43 AM [Info]: Phase status is error.

I checked everywhere and not able to find the solution for this problem. Seeking your advice desperately.

Thanks

Best Regards

Ramesh Kupusamy

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Jul 31, 2012 at 08:20 AM

    Can you please generate the stack file again and place it in the EPS inbox and remove any old xml files from EPS inbox.

    Also check the content of the file

    /usr/sap/T06/DVEBMGS89/j2ee/JSPM/log/errorReport.zip


    Then retry starting JSPM.

    Regards

    Ratnajit

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 31, 2012 at 08:40 AM

    Hi Ramesh,

    Could you check the notes 1124030 and 1550448.

    Regards,

    Renu

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 31, 2012 at 02:58 PM

    Dear Ramesh

    I have seen this problem solved by:

    - removing backup profile files from SYS/profiles directory i.e. files with extensions .1, .2 etc., .bak.

    - removing stack xml file and generating new stack xml file

    Hope these suggestions help you also.

    Regards,

    Tapan

    Add comment
    10|10000 characters needed characters exceeded