on 10-14-2010 7:14 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
before going into more details, please try this:
- open the MII System Management > Configurations
- uncheck the Select All, only mark "Global"
- click export
Can you export the file (xmiibackup.xml)? Check the contents. Enter a value and import the file. Can you see the global property in the workbench?
Michael
Hi Michael,
i have tried to export and enter a value and again import. It is working fine and i am seeing the values in the Work bench.
But if i try edit the values (add/delete /change) i am getting string index outof bouds Exception.
The Logged error message is given below
Catalog Service Error
[EXCEPTION]
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1809)
at com.sap.xmii.system.FileManager.select(FileManager.java:723)
at com.sap.xmii.common.CatalogUtil.doSave(CatalogUtil.java:262)
at com.sap.xmii.servlet.Catalog.handleSave(Catalog.java:873)
at com.sap.xmii.servlet.Catalog.service(Catalog.java:147)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81)
at com.sap.xmii.system.SecurityFilter.doFilter(SecurityFilter.java:96)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:461)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:396)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:385)
at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:76)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:243)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:115)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:96)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
Any other clue pease
Hello,
Why are you writing to a Global variable? I thought that at Runtime these properties were read only.
From the help ([http://help.sap.com/saphelp_mii121/helpdata/en/46/1c82f9be635872e10000000a11466f/content.htm|http://help.sap.com/saphelp_mii121/helpdata/en/46/1c82f9be635872e10000000a11466f/content.htm]):
"Global Properties
You can define global property values and use them in multiple transactions. You can link them to transactions or subordinate action properties."
If you're looking to write to a value use a shared memory property available in 12.1 and newer.
Also, what specifically are you trying to accomplish by writing to a "Global"?
Regards,
Sam
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.