Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Turkiye Finans Kat?l?m Bankas?
TR
Last activity: 15 Apr 2016 13:38 EDT
Filepath too long
hi
we are using 7.1.7 Pega version.
when I uploading a file I am getting below error.
Status | fail |
Message | java.lang.StringIndexOutOfBoundsException: String index out of range: 203 |
Operator ID | Unauthenticated or not available |
Requestor ID | No ID available |
Timestamp | Fri Apr 15 10:44:41 EEST 2016 |
Engine Version | PegaRULES Web Tier 7.10 ML7 (coreAssemblyCached_717_644) |
my file path is V:\BEDDÄ° BEY VE MMMXX BEY'Ä°N ÅUBE YETKÄ°SÄ°NDEKÄ° KRDÄ°LERE AÄ°T FARKLILIKLAR HK UYGUNLUK
I think problem is that file path is too long and contains Turkish character.
when I used short path is working well.
how can I solve this problem
Message was edited by: Lochan to add Category
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
JP
I guess the culprit is the SPACE in the file name.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Turkiye Finans Kat?l?m Bankas?
TR
No space is not problem.
I used another file path that includes space it is work.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
JP
Are there any stack traces in the log files, which may shed more light on the issue?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Turkiye Finans Kat?l?m Bankas?
TR
my stack traces
java.lang.StringIndexOutOfBoundsException: String index out of range: 203
at java.lang.String.substring(String.java:1907)
at com.pega.pegarules.web.fileupload.MultipartParser.extractDispositionInfo(MultipartParser.java:385)
at com.pega.pegarules.web.fileupload.MultipartParser.readNextPart(MultipartParser.java:275)
at com.pega.pegarules.web.fileupload.MultipartRequest.<init>(MultipartRequest.java:178)
at com.pega.pegarules.web.impl.HttpUtilities.fileUpload(HttpUtilities.java:450)
at com.pega.pegarules.web.impl.HttpUtilities.extractRequest(HttpUtilities.java:316)
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:434)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:290)
at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:338)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:379)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:216)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:265)
my stack traces
java.lang.StringIndexOutOfBoundsException: String index out of range: 203
at java.lang.String.substring(String.java:1907)
at com.pega.pegarules.web.fileupload.MultipartParser.extractDispositionInfo(MultipartParser.java:385)
at com.pega.pegarules.web.fileupload.MultipartParser.readNextPart(MultipartParser.java:275)
at com.pega.pegarules.web.fileupload.MultipartRequest.<init>(MultipartRequest.java:178)
at com.pega.pegarules.web.impl.HttpUtilities.fileUpload(HttpUtilities.java:450)
at com.pega.pegarules.web.impl.HttpUtilities.extractRequest(HttpUtilities.java:316)
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:434)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:290)
at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:338)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:379)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:216)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:265)
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:118)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3432)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
JP
I guess the issue is worth to raise an SR.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Turkiye Finans Kat?l?m Bankas?
TR
maybe problem is that pxTextUploadEncoding is UTF
![](/themes/custom/pegacc_theme/images/user-icon.png)
![](/themes/custom/pegacc_theme/images/user-icon.png)
Hello,
Please let us know here if you end up raising an SR.
Thanks!
Lochan
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Turkiye Finans Kat?l?m Bankas?
TR
I don't understand.
What is SR ?
![](/themes/custom/pegacc_theme/images/user-icon.png)
![](/themes/custom/pegacc_theme/images/user-icon.png)
SR is a Support Request that you raise with Pega Global Customer Support (https://collaborate.pega.com/question/how-raise-sr-my-support-portal-how-question) for detailed investigation of a product defect.
Please check with your Account Executive for more details!
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Turkiye Finans Kat?l?m Bankas?
TR
hım Ok.
We don't create SR for this issue now
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
Hi Harun,
I came across a similar issue in one of the PDN articles. Please go through it to see if it helps. I've pasted the link below.
https://community.pega.com/support/support-articles/data-import-fails-when-fields-contain-crlf-chars
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Turkiye Finans Kat?l?m Bankas?
TR
No Parthasarathy
I removed spaces from my file path(V:\BEDDÄ°BEYVEMMMXXBEYÄ°NÅUBEYETKÄ°SÄ°NDEKÄ°KRDÄ°LEREAÄ°TFARKLILIKLARHKUYGUNLUK) still I am getting same error.