Skip to Content
avatar image
Former Member

Saving Global Variable

Hi

We are using MII 12.1 Sp 05 version.

Every time when i try to save any global property we are getting error as

"Sting index out of Range -1 "

At the server end it records as Catelog service exception .

No other clues.

Any body have experienced this error before.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Oct 14, 2010 at 06:29 AM

    Hi,

    I faced that error with string functions of link editor.

    for example my string length is 3 and i am trying to get 4th character of same than such type of error will comes.

    check your link which you have assigned to your global variable evaluate same in workbench.

    Regards,

    Manoj Bilthare

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 14, 2010 at 06:36 AM

    Hi,

    please check the [SAP Note 1463182 - Global Properties not being saved properly - MII 12.1 SP06|https://service.sap.com/sap/support/notes/1463182]. Maybe it applies to your problem.

    Michael

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2010 at 06:35 AM

    Thanks for your replies.

    I could not save even a single variable of any type integer, string or any data type

    I have checked the SAP note and tried the temporary patch and still same error .

    My server is patched with SP07 last week

    Not sure any pre setup is required like creating globals.xml file before start using the Globals properties.

    Any clues please

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 10, 2010 at 03:46 PM

    I have the exact same error on 12.1 SP07. When I try to add a global variable I get "String Index out of range: -1" Unfortutnatly, the workaround in Note 1463182 - "Global properties not being saved properly" does not work either.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Did you make sure to clear out the Java WS cache as well so a new version of the workbench will load. If you open the WB go to Help Settings and it will tell you your MII and WB version. If they are not the same and the WB is lower make sure to clear out the java ws cache and try again. Depending on your version of Java WS it will be different so do a web search.