function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kkaalkkaal 

Partner Portal Exception

I installed the sample Partner Portal on a Linux (Suse 9.0) server with Tomcat 5.0.28.

The registration and the first pages work fine. They show the lists and data they are supposed to show.

When I try to click on the name or action column in the list, or I click on the "New Lead" button, it will throw an unhandled Exception:

------------------------------------------------------------------------------------------------------------------------------

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: String index out of range: -1
	org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
	org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
	org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
	org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	java.lang.String.substring(String.java:1444)
	com.sforce.util.PageBuilder.getNames(Unknown Source)
	com.sforce.util.PageBuilder.buildHeader(Unknown Source)
	com.sforce.struts.action.SObjectDetailAction.execute(Unknown Source)
	org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
	org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
	org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
--------------------------------------------------------------------------
As these are my first step into the salesforce programming, could somebody give me a hint, what this exception could mean?
 
Thanks
Klaus
kkaalkkaal

I found the problem.

The portal works in the English language only. It was in the manual.

;-) Being able to read is clearly an advantage ;-)

mtbclimbermtbclimber
What language are you trying to use?
kkaalkkaal
I tried it in German. Changing it to English solved the problem definitely.
mtbclimbermtbclimber
Kkal,

FYI, updated version coming very soon with support for multi-language.
CLSCLS

Hi,

Could you, please, let us know when the new version supporting multi-language will be available?

It seems I get the same kind of error when I change the language from English to French in salesforce and then try to read or edit a lead record through the partner portal.

Many thx

CLS

 

 

 

Message Edited by CLS on 08-01-2005 05:43 AM