Global AI and Data Science

 View Only
  • 1.  Cognos Analytics - java.lang.stringindexoutofboundsexception start cognos

    Posted Mon June 15, 2020 08:05 AM

    Hi,

    When a start a Cognos Configuration (Cognos Analytics 11.1.5) i receive this error "java.lang.stringindexoutofboundsexception", any ideas?

    Thank!



    ------------------------------
    Felipe Moura
    ------------------------------

    #GlobalAIandDataScience
    #GlobalDataScience


  • 2.  RE: Cognos Analytics - java.lang.stringindexoutofboundsexception start cognos

    Posted Thu May 18, 2023 01:38 PM

    How to access Cognos Analytic in course "Data Visualization and Dashboards with Excel and Cognos"?



    ------------------------------
    Bareera Akbar
    ------------------------------



  • 3.  RE: Cognos Analytics - java.lang.stringindexoutofboundsexception start cognos

    IBM Champion
    Posted Wed June 21, 2023 06:32 AM

    The error "java.lang.stringindexoutofboundsexception" means that a string has been indexed beyond its length. This can happen for a number of reasons, such as a typo in the code, a corrupt file, or a memory issue.

    In the case of Cognos Analytics 11.1.5, the most likely cause of this error is a typo in the configuration file. The configuration file is a text file that contains the settings for Cognos Analytics. If there is a typo in the configuration file, it can cause Cognos Analytics to crash.

    To fix this error, you will need to edit the configuration file and correct the typo. You can find the configuration file in the following location:

    The error "java.lang.stringindexoutofboundsexception" means that a string has been indexed beyond its length. This can happen for a number of reasons, such as a typo in the code, a corrupt file, or a memory issue.

    In the case of Cognos Analytics 11.1.5, the most likely cause of this error is a typo in the configuration file. This can cause Cognos Analytics to crash.

    To fix this error, you will need to edit the configuration file and correct the typo. You can find the configuration file in the following location:

    <Cognos Analytics installation directory>/configuration/cognos.conf

    Once you have found the configuration file, open it in a text editor and look for the line that contains the typo.
    Find the typo, correct it and save the file. The restart Cognos Analytics and the error should be gone.

    Hope this solves your issue



    ------------------------------
    Youssef Sbai Idrissi
    Software Engineer
    ------------------------------