cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.StringIndexOutOfBoundsException: String index out of range: -40

Former Member
0 Kudos

Hi Team,

I am getting error

java.lang.StringIndexOutOfBoundsException: String index out of range: -40

when i am clicking on particular Workset created in specified Workset  folder to add Iviews to Workset.

Before this i have updated a Iview to update some parameter of that iview.

So issue is only with that workset which was related to this iview.

All other Worksets are working fine.

Log trace details:

Please let me know if anyone has any hint on this.

Thanks,

Vijay

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member197472
Active Participant
0 Kudos

It is error in convertURLtoGPAR() function/method.. Some string is shorter/null, so it is giving error while calling its substring().

--

Regards,

Amey

Former Member
0 Kudos

Can you elaborate where should i look for this in Development component

If there is any step to do it please let me know,it would be very helpful.

Former Member
0 Kudos

Can you check or share the changes that made in XML file

vijay_kumar49
Active Contributor
0 Kudos

that iView is related WD-JAVA application iView.

Former Member
0 Kudos

Where can i actually find this iView?

Is there any document or post which can help me on this?

I am new to it not that much aware of it.

vijay_kumar49
Active Contributor
0 Kudos

Do you know WD-JAVA and Portal Administration?

if Yes, Please check where ever you are getting this issues in that iView. is it related to WD-JAVA iView or Portal Standard iView.

If you give this information we will sort-out the issue.

Former Member
0 Kudos

I am getting this error in Workset.

I am explaining what exactly happened.

I have updated my iView using XML file.

In System administration-->Transport--->XML content and Actions.

And uploaded my XML file over there.

I think something was wrongly mention in XML file so it didn't got iView updated properly and iView deleted(Dont know the reason).

So i created a new iView using XML file and tried to add it to the WORKSET.

But the specific workset i wanted to add was displaying below error:

Maybe you would have got some idea.

If you need any more information please let me know.

vijay_kumar49
Active Contributor
0 Kudos

it seems some think wrong in XML file. is it possible to share the XML file what you upload


mean while check this document and SAP Notes Note 1995899  and Note 1964807

Former Member
0 Kudos

I will not be able not share XML file.

But i know what was wrong in the xml file was the Path where iView to be created.

But error i am encountering is in WORKSET.

I dont even knows where this xml files goes or hits the system and creates iView.

If you can help me to identify that also maybe something positive can i get from there.

vijay_kumar49
Active Contributor
0 Kudos

Did you check the those SAP Notes. if not please check

Former Member
0 Kudos

I have gone through the above two SAP Notes and tried some trial and error.

But no outcome from that.

Is there any more documents?

Former Member
0 Kudos

Does anybody has any suggestion or help on this.

Thanks,

Vijay

former_member197472
Active Participant
0 Kudos

Were you passing anything to iView via URL parameters ?