Error: 'bobj.crv.params.FlexParameterUI' is null or not an object
Hi,
can someone tell me how to fix the following error when i try to open a RPT file using crjava-runtime in Apache. i believe this error is javascript related.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 2.0.50727)
Timestamp: Mon, 17 Aug 2009 06:08:44 UTC
Message: 'bobj.crv.params.FlexParameterUI' is null or not an object
Line: 50
Char: 1
Code: 0
URI: http://localhost:8084/WebCrystalReport/CrystalReportViewer.jsp
much appreciate,
Kenny
Note that the new CR4E web viewer uses Adobe Flex to display the parameter selection dialog. The error is indicating issues with accessing this particular component via client-side JavaScript.
I would:
1. Trace JavaScript using a web browser JavaScript debugger.
2. Trace HTTP communication using [Fiddler|http://www.fiddlertool.com]
to find what's missing.
Sincerely,
Ted Ueda
Similar Messages
-
'bobj.crv.params.FlexParameterUI' is null or not an object
I'm having a problem getting my report to display in the DHTML viewer.<br>
<br>
My test environment:<br>
- Windows XP SP3<br>
- Tomcat 5.5 with JDK 1.6.0_17<br>
- PostgreSQL 8.4 (Windows version)<br>
- Report designed using JDBC driver - postgresql-8.4-701.jdbc3.jar<br>
- I'm not using Eclipse or the reporting tag libraries (just Notepad)<br>
<br>
I can get my report with saved data to work just fine in the DHTML viewer but I keep getting the following error every time I try to view it in the viewer:<br>
<br>
'bobj.crv.params.FlexParameterUI' is null or not an object<br>
<br>
For testing purposes, I tried the samples available and this is what my results were:<br>
<br>
1. Java_CRJ12_Web_Set_DB_Logon sample works fine. I edited the index.html to include my report (without saved data) and it successfully generates a PDF export which it prompts me to open or save. So this works fine and I verified the data in the PDF document.<br>
<br><br>
2. Java_CRJ12_Web_View sample fails with the error I've mentioned above.<br>
<br>
This is code I'm using<br>
jrc_view_report.jsp<br>
<%@page contentType="text/html"%>
<%//Crystal Java Reporting Component (JRC) imports.%>
<%@page import="com.crystaldecisions.sdk.occa.report.application.*" %>
<%@page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
<%@page import="com.crystaldecisions.sdk.occa.report.application.DatabaseController" %>
<%
//Report can be opened from the relative location specified in the CRConfig.xml, or the report location
//tag can be removed to open the reports as Java resources or using an absolute path (absolute path not recommended
//for Web applications).
final String REPORT_NAME = "PP30_DupPayments.rpt";
%>
<%
try {
//Open report.
ReportClientDocument reportClientDoc = new ReportClientDocument();
reportClientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
reportClientDoc.open(REPORT_NAME, 0);
reportClientDoc.getDatabaseController().logon("postgres", "sa");
//Store the report source in session, will be used by the CrystalReportViewer.
session.setAttribute("reportSource", reportClientDoc.getReportSource());
//Launch CrystalReportViewer page that contains the report viewer.
response.sendRedirect("CrystalReportViewer.jsp");
catch(ReportSDKException ex) {
out.println(ex);
catch(Exception ex) {
out.println(ex);
%>
<br>
<br>
CrystalReportViewer.jsp<br>
<%@ page contentType="text/html; charset=utf-8"
import="com.crystaldecisions.report.web.viewer.CrystalImageCleaner,
com.crystaldecisions.report.web.viewer.CrystalReportViewer,
com.crystaldecisions.report.web.viewer.CrPrintMode"
%><%
Object reportSource;
CrystalReportViewer crystalReportViewer;
* Retrieve ReportSource from HTTP Session and pass to CrystalReportViewer.
reportSource = session.getAttribute("ReportSource");
crystalReportViewer = new CrystalReportViewer();
crystalReportViewer.setOwnPage(true);
crystalReportViewer.setPrintMode(CrPrintMode.ACTIVEX);
crystalReportViewer.setReportSource(reportSource);
crystalReportViewer.processHttpRequest(request, response, getServletContext(), null);
%><%!
* Start image clieanup thread on JSP load.
* Scan temp folder every 10 minutes to delete viewer-generated images 20 minutes or older.
public void jspInit() {
CrystalImageCleaner.start(getServletContext(), 10 * (60 * 1000), 20 * (60 * 1000));
* Stop the image cleanup thread on JSP unload.
public void jspDestroy() {
CrystalImageCleaner.stop(getServletContext());
%>
<br><br>
Things I know:<br>
- web.xml appears to be configured correctly<br>
- CRconfig.xml appears to be working as well (as my PDF document looked good<br>
I'm using these crjava libraries:<br>
http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/crjava-runtime_12.2.204.zip<br>
<br>
I don't think my markup formatting came through correctly - sorry about the code format.Hi Ted!
Thanks for the reply and suggestions. I don't know if there is a different version of the viewers folder that I should be using but I am using the ones from this folder:
C:\Program Files\Business Objects\Common\4.0\crystalreportviewers12
That said, I didn't see anything amiss in Fiddler and when I looked in Firebug at the script portion where it was constructing the FlexParameterUI panel, I could see where it was capturing the report parameter names and prompts. I decided to rip out all the parameters out of my report and voila, it loaded up fine in the viewer.
I then added a new string parameter giving it a simple short name (Test1) and, initially, I did not use this parameter in the report. It loaded up in the viewer just fine too.
I then added the parameter to the report header and I was back to the same problem - it would not load in the viewer and the error was the same as the subject line shows.
For the record, I am using Crystal Reports 2008 v12.2.0.290
So is there some other crystalreportviewers12 that I should be using?
Kind regards,
Evan -
I am using coldfusion 10. cfmenu not working. Error is 'this.body.firstChild' is null or not an object in menu-min.js file.
Error in line oNode=this.body.firstChild.
Any body faced same issue? What is the fix of this error.I have used the same code.
<cfmenu name="menu" type="horizontal" fontsize="14" bgcolor="##CCFFFF">
<cfmenuitem name="acrobat" href="http://www.adobe.com/acrobat" display="Acrobat"/>
<cfmenuitem name="aftereffects" href="http://www.adobe.com/aftereffects"
display="After Effects"/>
<!--- The ColdFusion menu item has a pop-up menu. --->
<cfmenuitem name="coldfusion"
href="http://www.adobe.com/products/coldfusion" display="ColdFusion">
<cfmenuitem name="buy"
href="http://www.adobe.com/products/coldfusion/buy/" display="Buy"/>
<cfmenuitem name="devcenter"
href="http://www.adobe.com/devnet/coldfusion/" display="Developer Center"/>
<cfmenuitem name="documentation"
href="http://www.adobe.com/support/documentation/en/coldfusion/"
display="Documentation"/>
<cfmenuitem name="support" href="http://www.adobe.com/support/coldfusion/"
display="Support"/>
</cfmenuitem>
<cfmenuitem name="flex" href="http://www.adobe.com/flex" display="Flex"/>
</cfmenu> -
Button error - document.wwv_flow.p_request is null or not an object
Hello
I currently seem to be getting a page error with Internet explorer, whenever I click a button, the error is 'document.wwv_flow.p_request' is null or not an object, the button then stays disabled.
The error doesn't seem to occur on all the pages I have created, but on most.
Any ideas?
Cheers ianI have just noticed that the problem seems to be related to the submit rather than the button itself, as the redirect buttons work, but anything that uses a submit does not work i.e select lists (with submit).
Is this something that I can fix? -
Trying to create a Photomerge in Bridge, when the files open in Photoshop ( small jegs ) , I get a error message of " Unable to process latte files " / " null is not an object "
Please helpWait a second, Photoshop can make lattes now? Personally I prefer my coffee black, but man have I been under-utilizing this program.
-
I want to show a status bar that needs to be persistent on a page. for this I used the following in my master page
function ShowStatusBarMessage(title, message)
var statusId = SP.UI.Status.addStatus(title, message, true);
SP.UI.Status.setStatusPriColor(statusId, 'yellow'); /* Set a status-color */
HTML, call the JS method:
<a onclick="ShowStatusBarMessage('Title'!','Awesome message!')">
Display Status Bar message!
</a>
ref:
http://www.zimmergren.net/archive/2010/03/17/sp-2010-dynamically-displaying-messages-to-your-users-with-the-notification-and-status-bar-areas-in-sharepoint-2010.aspx
But what I want is
to call the function on load. So I used pushed ny function to _spBodyOnLoadWrapper using _spBodyOnLoadFunctionNames.push("YourFunctionName");,
it throws an error 'SP.UI.Status' is null or not an object
Next I created and
deployed a webcontrol and did a registerclientscript, that too gives me 'SP.UI.Status' is null or not an object
// Define the name and type of the client scripts on the page.
String csname1 = "AlertScript";
Type cstype = this.GetType();
// Get a ClientScriptManager reference from the Page class.
ClientScriptManager cs = Page.ClientScript;
// Check to see if the startup script is already registered.
if (!cs.IsStartupScriptRegistered(cstype, csname1))
StringBuilder cstext1 = new StringBuilder();
cstext1.Append("<script type=text/javascript> alert('Hello World!');");
cstext1.Append("var statusId = SP.UI.Status.addStatus('title', 'message', true);");
cstext1.Append("SP.UI.Status.setStatusPriColor(statusId, 'yellow'); </");
cstext1.Append("script>");
cs.RegisterStartupScript(cstype, csname1, cstext1.ToString());
What am I missing ?
How can I get to show a status bar on load of any page, just as you get a health analyzer message when you get into the Central Admin?
Thanks, Mano
Mano Mangaldas | Blog : http://howtosharepoint.blogspot.comOk, for some reason, it is not working for me. Below are the code that didnt work for me
<script type="text/javascript">
function ShowStatusBarMessage(title, message)
var statusId = SP.UI.Status.addStatus(title, message, true);
SP.UI.Status.setStatusPriColor(statusId, 'red');
ShowStatusBarMessage('Title!','Awesome message!');
</script>
This too didnt work
<script type="text/javascript">
function ShowStatusBarMessage()
var statusId = SP.UI.Status.addStatus('Some title', 'Some message', true);
SP.UI.Status.setStatusPriColor(statusId, 'red');
_spBodyOnLoadFunctionNames.push("ShowStatusBarMessage");
</script>
I did try to register client script block programatically, that too didnt work
String csname1 = "AlertScript";
Type cstype = this.GetType();
// Get a ClientScriptManager reference from the Page class.
ClientScriptManager cs = Page.ClientScript;
// Check to see if the startup script is already registered.
if (!cs.IsStartupScriptRegistered(cstype, csname1))
StringBuilder cstext1 = new StringBuilder();
cstext1.Append("<script type=text/javascript>");
cstext1.Append("var statusId = SP.UI.Status.addStatus('title', 'message', true);");
cstext1.Append("SP.UI.Status.setStatusPriColor(statusId, 'yellow'); </");
cstext1.Append("script>");
cs.RegisterStartupScript(cstype, csname1, cstext1.ToString());
Any help appreciated.
But the below code works..
<script type="text/javascript">
function ShowStatusBarMessage(title, message)
var statusId = SP.UI.Status.addStatus(title, message, true);
SP.UI.Status.setStatusPriColor(statusId, 'yellow'); /* Set a status-color */
</script>
<a onclick="ShowStatusBarMessage('Title!','Awesome message!')" href="#">
Display Status Bar message!
</a>
Thanks
mano
Mano Mangaldas | Blog : http://howtosharepoint.blogspot.com -
Context Menu error: 'length' is null or not an object
When we run some of our reports (BI 7.0) and right click on the table to display the context menu we get a javascript error in the bottom left of Internet Explorer. The context menu doesn't appear.
Once you expand the error is 'length' is null or not an object. It doesn't affect all the reports in fact so far we've only discovered 2 reports with this problem although there may be more.
The reports with problems have had their own individual web templates developed. We haven't developed much of our own Javascript via the script web item and definitely none that would affect the context menu. The only code we have opens help pages/useful web pages/other apps etc. via buttons.
None of the reports shows an error when you validate in the WAD software.
We are currently using IE6 (upgrading to IE8 soon) and we have recently applied SP21 on the Java Stack.Hi Fred
Did SAP come back with an OSS note to correct this issue. I am not finding anything in the Service marketplace.
Thanks
Adrian -
'schInternalColumn' is null or not an object - Error in DIS
Hi all..
When I am going to paste any document in DIS, " 'schInternalColumn' is null or not an object " this error comes with check in page...
What is the issue behind this...Please help me..
Regards
YogitaHi Yogita ,
This issue has got introduced from 0717 patchset that is provided for UCM server , it is already fixed and a patch will be released for the same soon .
You can select OK (I think it shows up around 7 times) and continue with the operations on DIS . It does not break any functionality .
Thanks
Srinath
Edited by: Srinath Menon on Sep 5, 2012 12:54 PM -
Please help!! error: __EventTarget is null or not an object
Hi,
I am developing the business charts with dropdownlist in ASP.NET for our new plumtree portal.
The portlets are working perfectly in the VS.NET dev environment, However, whenever I change the selection in the dropdownlist, it doesn't post back but I got an IE error which appears with a little yellow warning sign on the lower left corner of the IE window, which means, the error is on client side.
The error : '_EVENTTARGET' is null or not an object .
I have a feeling that there's something wrong with the javascript behind the sceen when ASP.NET controls try to plug in Plumtree web pages. Since I don't know how to access those Plumtree javascripts, can someone help me out here!!
(If I right click on the web page to get the source code, here's what I found :
<input type="hidden" name="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" value="...................." />
<script language="javascript" type="text/javascript">
<!--
function __doPostBack(eventTarget, eventArgument) {
var theform;
if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) {
theform = document.Form1;
else {
theform = document.forms["Form1"];
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
// -->
</script>
Thank you in advance.I was also running in the same issue with slightly different settings/environment.
I had couple of portlets written in .Net on one page. One was written in .Net 1.1 and other one was .Net 3.5 with Ajax Extender controls. (Both the apps run fine without portal - ALUI 6.1 environment)
Couple of the link buttons were generating the same error '__EVENTTARGET' is null or not an object , these link buttons were trigger to an update panel.
I tried registering the __EVENTTARGET with the link buttons from the code behind, making the form names same ... .. but nothing helped.
In my case I had to change the asp:LinkButton to asp:Button to avoid __EVENTTARGET generation for the controls.
__EVENTTARGET is only generated for autopostback controls (or in other words controls that do not have submit behavior by default). It is not required for asp:Button.
HTH!
Avinash
Edited by asolvent at 03/12/2008 4:08 PM -
APEX 4.0.2 Error on Master Detail Pages - 'length' is null or not an object
Greetings,
We just upgraded to APEX 4.0.2.00.07 this past weekend. Now a JavaScript error occurs when Master Detail pages are opened in IE 8. The error is - 'length' is null or not an object. I do not have a page item named length on any of these pages.
The error does not occur in Chrome or Firefox, but the Add button on the detail portion of the page simply doesn't work.
The page works when creating the master portion of the page. After the master row is created the region to add detail rows appears and the error occurs. So, the error appears to be with that part of the page.
We use an Inactive Date column to soft delete rows in the detail portion of the page, so the detail regions have a date column, just in case this column is the problem.
Does anyone have an idea what the problem might be?
Thanks, TonyI too had this same problem and determined that the problem was due to a missing underscore character between the literal "report" and the report Id in the report template.
I guess some themes include this underscore and some don't.
I had to debug the apex_4.0.js to determine this - not easy as it's not nicely formatted.
It only seems to stop Pagination working in an Updatable Tabular Form Report.
Edit the Report Template. Go to the "Before Rows" region and edit the Before Rows text box. Locate where it defines the report id and insert an underscore between report#REGION_ID#
Previous
<div id="report#REGION_ID#">
Fixed
<div id="report_#REGION_ID#"> -
Error Spry.Data.XMLDataSet is null or not an object
Hi
I try to use a dataset and a repeat list on a site
But it wont show the list in top. There are two javascript
errors. One of them says Spry.Data.XMLDataSet is null or not an
object
Whats wrongThis one was solved. I copied the files in SpryAsset from a
new one, into the folder on this site. Then the problem was
solved -
Unexpected generation error: 'window' is null or not an object
Hi All, when I want to deploy a model (my first one, I'm new in this) I'm getting this error unexpected generation error: 'window' is null or not an object.
The other Question is, how can I see the App?
Thank you very muchHi Dimitry,
please open a message regarding this problem. There needs to be something corrected in the model. If you like you may refer to my name so I can take over.
Best regards
Anja -
goto
http://www.afas.nl/profithelp/2_8_2/SE/index.htm
Click 'zoeken' (search)
Be sure that 'Zoekresultaten markeren' (search highlight) is
checked
Type 'activa'
Click the topic 'activa'
An error is displayed in the bottom left corner:
'this.node.parentNode is null or not an object'
If search highlight is not used, the error is not displayed.
Any ideas?I think I have it, but it's almost unbelieveable.
In the activa topic, the word is highlighted up to a point.
Coming to the next instance of activa, you have this code:
<li class=p-BulletedList><p
class=BulletedList><b><span style="font-weight:
normal;">V:</b> v</span>aste activa waarop wordt
afgeschreven (Dit is de standaard waarde) . . . </p>
Note the superfluous <b> and </b> tags,
especially with the <span> calling for normal font-weight.
Suppose this is a valid string. Because the opening tags are
<b><span . . .>,
the closing sequence should be
</span>...</b>
I'm not sure exactly why the error does what it does.
Perhaps this is a simple html error that happens to come in
an awkward place, or
Because the browser expects </span> first, it treats
</b> as text, so the <b> never gets closed, which
confuses the search highlight script.
I've run into something like this before. Repeated
application, changes and deletion of font attributes in
approximately the same place sometimes results in confused tags.
Similarly, when you apply a build tag to styled text, and perhaps
change the font attribute, opening and closing tags get confused.
It may depend on the precise locations where you started and ended
your highlights during editing.
You'd expect this to be a harmless html error, but in this
case, it breaks the highlight code, I believe.
You're in a better position to test this than I am, so I
await your results.
Harvey -
BPELConsole error message: 0.prettyDate is null or not an object
We have successfully deployed the sample approval workflow. We modified that workflow and added an email task. The workflow was deployed and it launches and completes successfully. Via the BPELConsole, we can view the "audit" for that instance. However, when we view the "flow" for that instance, we get the error message:
Error: Internal Bug (# 81)
'0.prettyDate' is null or not an object
I can't find any reference to "prettyDate" (i even searched for Julia Roberts, Jessica Biel, etc) to no avail. Any ideas on what the heck this means?
To reiterate - all we changed was to add an Email task and the process otherwise behaves as usual.
Our BPEL install is in its own Application Server instance. It is version 10.1.3.3.
thank you,
iggy.This is a bug - I know it happend on 10.1.2.
You need to apply patch...I don't remember the number sorry.
Try to find it in metalink. -
JavaScript Error with Tree2: NAV_COMMAND is null or not an object
ello all,
I am getting the following javascript error when I click on the + image to expand the root node:
'serverTree:org.apache.myfaces.tree.NAV_COMMAND' is null or not an object
Following is my jsp code
<f:view>
<h:form id="foo">
<t:tree2 id="serverTree" value="#{productBrowser.treeData}" var="node" varNodeToggler="t" clientSideToggle="false">
<f:facet name="productsRoot">
<h:panelGroup>
<t:graphicImage value="images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
<t:graphicImage value="images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
<h:outputText value="#{node.description}" styleClass="nodeFolder"/>
<h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
</h:panelGroup>
</f:facet>
</t:tree2>
</h:form>
</f:view>
I looked at the source code of HtmlTreeRenderer.java and NAV_COMMAND is defined as follows:
private static final String NAV_COMMAND = "org.apache.myfaces.tree.NAV_COMMAND";
I looked in the myfaces.jar and did not find anything inside this path.
What am I missing?
Thanks in advance.Dean,
Can you be a bit more specific? What it the difference between "my Application" and "my test application"? What are you doing differently when you are creating these buttons?
Maybe you are looking for
-
My FaceTime camera don't working what can I do guys ??\
I have that problem with my face time camera and photo Booth what can I do ? file://localhost/Users/RamonPerez/Desktop/Screen%20Shot%202013-04-21%20at%205.48 .36%20PM.png
-
Hi I have numerous files on my C drive all with the same basic file name but with different numbers at the end - 2.3.4, 2.1.7 etc etc they take up a huge amount of memory...is it ok to delete them? thanks
-
Hi, i want to install one AirPort Extreme and one AirPort Express to create (a better) or to extend my current wifi. All i want to know is whether the setup which i created with my incredible paint-skillz is possible or if i have do put it as Apple d
-
Question about problem using arrays...
Hey guys, thanks a bunch for the help - I always really appreciate how you guys can take the time to help us people still learning about this amazing language. Anyway the problem goes like this: Given an int array, return a new array with double the
-
Best exporting setting for web
What will be the best exporting setting from FILE>EXPORT> to share a HD projet on the web. Jean