on 12-20-2013 7:35 PM
Running 4.1 SP1 Patch 2 (on Windows, with Tomcat) and we run into an error
"This error occurred: org.apache.jasper.JasperException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 [CRCAF00000030]"
when opening Crystals via OpenDocument links. The issue appears to be that OD is expecting prompt parameters and fails if it does not get them. I have found that by appending "&lsS" anywhere in the existing link query parameters it will work as intended, but there is nothing in the documentation that indicates the prompt parameters are required. The same works fine in XI3.1.
My only possible workaround right now is to use a URLRewriteFilter to correct the URL, but it's a bit brutish, and I'm wondering if anyone else has encountered this issue? If so how did you resolve it?
(Yes, I have an open support case, but they are "not able to reproduce the issue")
Hey Brian,
We have that exact issue in 4.1 SP2 Patch 1 (happened when we upgraded from 4.0 to 4.1 SP1). We found that a user preference setting in the BI launch pad causes the error for crystal reports with parameters of the DateTime data type (steps to recreate below). Can you try these steps in your environment? Please keep us posted with any updates.
1. Log into http://<BOE_SERVER>/BOE/BI and open the user's preferences
2. Click on 'Crystal Reports' in the left panel
3. Under 'Select printing control (for Web):' select the option for 'PDF one-click printing' and Save
4. Attempt to open a crystal report with at least one date parameter through it's OpenDocument URL using the same user as in step 1
5. Verify CRCAF00000030 error message
6. Repeat steps 1 and 2
7. Under 'Select printing control (for Web):' select the option for 'ActiveX one-click printing' and Save
8. Repeat step 4 with the same OpenDocument URL
9. Verify the report parameter form opens (no error)
By the way, appending "&lsS" to the OpenDoc URL works in our environment as well. However, we have a custom Java SDK component that this workaround may not work for.
Regards,
Justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Wallie,
We upgraded our 4.0 server to SP08 FP03 from SP07 FP02 this weekend and have found that the upgrade is causing this issue in that environment now. Is there any schedule for a fix?
I ask because the '&lsS' and user print preference workarounds do not help us with our custom Java apps accessing the environment through the BOE Java API.
Hi Justin,
The fix for this issue should be available in BI 4.1 SP2 Patch 4 which is expected to be released by 3rd week of March.
Thanks,
Rahul
Did the FIX for this BUG make it into BI 4.1 SP3 release..?
We are having the same issue with the Users preference set to 'PDF one-click printing' when calling the RPT from the BOE 4.1 SP2 platform via an iView CUID call from the SAP Portal.
We prefer to use the 'PDF one-click printing' as it is easier for end-users that don't use IE browsers - or who have locked-down IE and can't install ActiveX plug-ins.
Hello,
We are on BI 4.1 SP3, we went live 2 weeks ago with this version and everything was working fine until today that we start experiencing this error.
The proposed solution appending the "lsS" works, but just wanted to let everyone know that still on BI 4.1 SP3 has not been resolved.
Thanks,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This post has been helpful, but I have a question. Using the below URL, if I want to test the work around of adding the &IsS where in this URL would I put this?
thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brian,
I've encountered this message before, however I was unable to reproduce this in-house with my own systems. It seems to be be environment specific.
The discovered workaround is to append the end of the OpenDoc URL with:
&lsS
For reasons unknown it's been successful. Give it a try and let me know.
Regards,
Wallie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I managed to resolve this issue but unfortunately I still don't know the exact cause of the problem, however I will add that it would appear to relate to an issue in the system database rather than the web application deployment.
The fix below is good enough for a scratch environment but I might need to do some comparisons against the before and after system databases to see if I can identify the root cause. I'd like to avoid carrying out the the below post deployment of 4.1 in production.
Rebuilding the system database via the properties of the SIA in the CCM, followed by a reimport of the content using UMT resolved the issue. This fixed the problem in Chrome and Firefox however I was still seeing an issue in IE. After a bit of troubleshooting I spotted an issue with the cookies being sent back in the POST of view.do, flushing the winINET cache and winINET cookies using Fiddler fixed the residual problem in IE - hence the earlier questioning.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brian,
I've replicated this issue in 4.1 SP2 Patch 1. Did you have any luck in finding the cause of this issue? Let me know as it might save me some investigative work.
Cheers
James
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, I have not been able to determine where the issue is occurring. Using Firebug and comparing output from when it works vs. when it doesn't, it appears to go wrong somewhere after the POST to view.do, but I've no idea beyond that. SAP seems to have stopped troubleshooting it since they can't reproduce it.
I have a few environments with this version and not all of them are showing the issue.
Couple questions:
Are you seeing this issue across all browsers?
If you look at cookie info for OpenDocumentPLATFORMSVC_COOKIE_CMS, does it list the correct CMS?
If you look at the POST body sent with view.do, note the &objIds=??? &containerId=??? ids, do they match the id of the object and the parent folder of the object in enterprise for which you specified a CUID?
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.