As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
How does one debug a web page that triggers this error?
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; BTRS129830; MS-RTC LM 8)
Timestamp: Thu, 11 Oct 2012 01:49:58 UTC
Message: 'null' is null or not an object
Line: 12853
Char: 8
Code: 0
URI: http://localhost:8080/ibi_html...i/html/js/ibirls3.js
This message has been edited. Last edited by: Francis Mariani,
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
3 Calendar Controls; 1 Radio Button set; 1 Double List Box controlling the report dimensions; 1 Double List Box controlling the report measures; 7 List boxes for filters; 3 Double List boxes for filters;
I don't know where to start. You cannot disable all controls and then enable them one at a time until you trigger the error.
You cannot play around with the code because that is forbidden.
What to do?
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Most Amusing, Gentlemen. But you are doing what needs to be done regardless.
Since you are willing to delve deep into the IBI code as Indiana Jones - I'm sure you will resolve the issue. And when you grow weary of that please add a line of <script> www.jquery.xxx and become productive once again.
I notice you're using IE8, which has a builtin debugger (F12). By default it doesn't trigger on errors, but you can uncheck the option that disables it (sigh...) in the Advanced Internet Settings.
Looking at that particular bit of code it probably only triggers in IE to begin with, if we are indeed looking at the same version of the file. Here the line you mentioned is in the method Ib_dataInfoObject.prototype.updateInfoData and the lines in question are:
12849 var xmlDoc = getXml(request, false, false, true);
12850
12851 if (typeof (xmlDoc) == 'object' && xmlDoc2String(xmlDoc))
12852 return getSingleNode(xmlDoc, '//report');
12853 else if (xmlDoc.search('<fxf ') != -1)
12854 {
12855 var index = xmlDoc.search('<fxf ');
12856 var fxf = xmlDoc.substr(index, xmlDoc.length - index);
Apparently xmlDoc is a null-value and hence doesn't have a search()-method. That could be traced back to getXml failing to parse the received XML. In my experience that probably means that what's being returned isn't actually XML but an IBI error message.
I would appreciate if IBI wouldn't return an HTTP-200 status (OK) on errors in procedures, as that makes it unnecessarily difficult to check HTTP-responses for success or failure. Your problem seems to indicate that IBI is struggling with that very same issue as well...
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
You should open a case with Support Services so it can be fixed.
David Glick Director WebFOCUS App Studio and WebFOCUS Developer Studio WebFOCUS Division Information Builders, Inc. Direct (917) 339-5560 Voice Mail (212) 736-6250 x3560 Fax (212) 947-5168 Email david_glick@ibi.com